LDMX Software
|
Public Member Functions | |
EcalVetoResult () | |
Constructor. | |
virtual | ~EcalVetoResult () |
Destructor. | |
void | setVariables (int nReadoutHits, int deepestLayerHit, float summedDet, float summedTightIso, float maxCellDep, float showerRMS, float xStd, float yStd, float avgLayerHit, float stdLayerHit, float ecalBackEnergy, int nStraightTracks, int nLinregTracks, int firstNearPhLayer, int nNearPhHits, int photonTerritoryHits, float epAng, float epSep, float epDot, std::vector< float > electronContainmentEnergy, std::vector< float > photonContainmentEnergy, std::vector< float > outsideContainmentEnergy, std::vector< int > outsideContainmentNHits, std::vector< float > outsideContainmentXStd, std::vector< float > outsideContainmentYStd, std::vector< float > energySeg, std::vector< float > xMeanSeg, std::vector< float > yMeanSeg, std::vector< float > xStdSeg, std::vector< float > yStdSeg, std::vector< float > layerMeanSeg, std::vector< float > layerStdSeg, std::vector< std::vector< float > > eContEnergy, std::vector< std::vector< float > > eContXMean, std::vector< std::vector< float > > eContYMean, std::vector< std::vector< float > > gContEnergy, std::vector< std::vector< int > > gContNHits, std::vector< std::vector< float > > gContXMean, std::vector< std::vector< float > > gContYMean, std::vector< std::vector< float > > oContEnergy, std::vector< std::vector< int > > oContNHits, std::vector< std::vector< float > > oContXMean, std::vector< std::vector< float > > oContYMean, std::vector< std::vector< float > > oContXStd, std::vector< std::vector< float > > oContYStd, std::vector< std::vector< float > > oContLayerMean, std::vector< std::vector< float > > oContLayerStd, std::vector< float > EcalLayerEdepReadout, std::vector< double > recoilP, std::vector< float > recoilPos) |
Set the sim particle and 'is findable' flag. | |
void | Clear () |
Reset the object. | |
void | Print () const |
Print the object. | |
bool | passesVeto () const |
Checks if the event passes the Ecal veto. | |
float | getDisc () const |
bool | getFiducial () const |
int | getDeepestLayerHit () const |
int | getNReadoutHits () const |
float | getSummedDet () const |
float | getSummedTightIso () const |
float | getMaxCellDep () const |
float | getShowerRMS () const |
float | getXStd () const |
float | getYStd () const |
float | getAvgLayerHit () const |
float | getStdLayerHit () const |
float | getEcalBackEnergy () const |
const std::vector< float > & | getElectronContainmentEnergy () const |
const std::vector< float > & | getPhotonContainmentEnergy () const |
const std::vector< float > & | getOutsideContainmentEnergy () const |
const std::vector< int > & | getOutsideContainmentNHits () const |
const std::vector< float > & | getOutsideContainmentXStd () const |
const std::vector< float > & | getOutsideContainmentYStd () const |
const std::vector< float > & | getEcalLayerEdepReadout () const |
const std::vector< float > & | getEnergySeg () const |
const std::vector< float > & | getXMeanSeg () const |
const std::vector< float > & | getYMeanSeg () const |
const std::vector< float > & | getXStdSeg () const |
const std::vector< float > & | getYStdSeg () const |
const std::vector< float > & | getLayerMeanSeg () const |
const std::vector< float > & | getLayerStdSeg () const |
const std::vector< std::vector< float > > & | getEleContEnergy () const |
const std::vector< std::vector< float > > & | getEleContXMean () const |
const std::vector< std::vector< float > > & | getEleContYMean () const |
const std::vector< std::vector< float > > & | getPhContEnergy () const |
const std::vector< std::vector< int > > & | getPhContNHits () const |
const std::vector< std::vector< float > > & | getPhContXMean () const |
const std::vector< std::vector< float > > & | getPhContYMean () const |
const std::vector< std::vector< float > > & | getOutContEnergy () const |
const std::vector< std::vector< int > > & | getOutContNHits () const |
const std::vector< std::vector< float > > & | getOutContXMean () const |
const std::vector< std::vector< float > > & | getOutContYMean () const |
const std::vector< std::vector< float > > & | getOutContXStd () const |
const std::vector< std::vector< float > > & | getOutContYStd () const |
const std::vector< std::vector< float > > & | getOutContLayerMean () const |
const std::vector< std::vector< float > > & | getOutContLayerStd () const |
void | setVetoResult (bool passesVeto) |
void | setDiscValue (float discValue) |
void | setFiducial (bool fiducial) |
const std::vector< double > | getRecoilMomentum () const |
Return the momentum of the recoil at the Ecal face. | |
double | getRecoilX () const |
Return the x position of the recoil at the Ecal face. | |
double | getRecoilY () const |
Return the y position of the recoil at the Ecal face. | |
int | getNStraightTracks () const |
Number of straight tracks found. | |
int | getNLinRegTracks () const |
Number of linear-regression tracks found. | |
int | getFirstNearPhLayer () const |
int | getNNearPhHits () const |
int | getPhotonTerritoryHits () const |
float | getEPAng () const |
float | getEPSep () const |
float | getEPDot () const |
Private Member Functions | |
ClassDef (EcalVetoResult, 7) | |
Private Attributes | |
bool | passesVeto_ {false} |
Flag indicating whether the event is vetoed by the Ecal. | |
int | nReadoutHits_ {0} |
int | deepestLayerHit_ {0} |
float | summedDet_ {0} |
float | summedTightIso_ {0} |
float | maxCellDep_ {0} |
float | showerRMS_ {0} |
float | xStd_ {0} |
float | yStd_ {0} |
float | avgLayerHit_ {0} |
float | stdLayerHit_ {0} |
float | ecalBackEnergy_ {0} |
int | nStraightTracks_ {0} |
Number of "straight" tracks found in the event. | |
int | nLinregTracks_ {0} |
Number of "linreg" tracks found in the event. | |
int | firstNearPhLayer_ {0} |
Earliest ECal layer in which a hit is found near the projected photon trajectory. | |
int | nNearPhHits_ {0} |
Number of hits near the photon trajectory. | |
int | photonTerritoryHits_ {0} |
Number of hits in the photon territory. | |
float | epAng_ {0} |
Angular separation between the projected photon and electron trajectories (currently unused) | |
float | epSep_ {0} |
Distance between the projected photon and electron trajectories at the ECal face. | |
float | epDot_ {0} |
Dot product of the photon and electron momenta unit vectors. | |
std::vector< float > | electronContainmentEnergy_ |
std::vector< float > | photonContainmentEnergy_ |
std::vector< float > | outsideContainmentEnergy_ |
std::vector< int > | outsideContainmentNHits_ |
std::vector< float > | outsideContainmentXStd_ |
std::vector< float > | outsideContainmentYStd_ |
std::vector< float > | energySeg_ |
std::vector< float > | xMeanSeg_ |
std::vector< float > | yMeanSeg_ |
std::vector< float > | xStdSeg_ |
std::vector< float > | yStdSeg_ |
std::vector< float > | layerMeanSeg_ |
std::vector< float > | layerStdSeg_ |
std::vector< std::vector< float > > | eContEnergy_ |
std::vector< std::vector< float > > | eContXMean_ |
std::vector< std::vector< float > > | eContYMean_ |
std::vector< std::vector< float > > | gContEnergy_ |
std::vector< std::vector< int > > | gContNHits_ |
std::vector< std::vector< float > > | gContXMean_ |
std::vector< std::vector< float > > | gContYMean_ |
std::vector< std::vector< float > > | oContEnergy_ |
std::vector< std::vector< int > > | oContNHits_ |
std::vector< std::vector< float > > | oContXMean_ |
std::vector< std::vector< float > > | oContYMean_ |
std::vector< std::vector< float > > | oContXStd_ |
std::vector< std::vector< float > > | oContYStd_ |
std::vector< std::vector< float > > | oContLayerMean_ |
std::vector< std::vector< float > > | oContLayerStd_ |
float | discValue_ {0} |
discriminator value from the BDT | |
bool | fiducial_ {false} |
is the recoil electron fiducial in ECAL? | |
double | recoilPx_ {-9999} |
px of recoil electron at the Ecal face. | |
double | recoilPy_ {-9999} |
py of recoil electron at the Ecal face. | |
double | recoilPz_ {-9999} |
py of recoil electron at the Ecal face. | |
float | recoilX_ {-9999} |
x position of recoil electron at the Ecal face. | |
float | recoilY_ {-9999} |
y position of recoil electron at the Ecal face. | |
std::vector< float > | ecalLayerEdepReadout_ |
Definition at line 25 of file EcalVetoResult.h.
ldmx::EcalVetoResult::EcalVetoResult | ( | ) |
|
virtual |
void ldmx::EcalVetoResult::Clear | ( | ) |
Reset the object.
Definition at line 11 of file EcalVetoResult.cxx.
References discValue_, epAng_, epDot_, epSep_, firstNearPhLayer_, nLinregTracks_, nNearPhHits_, nStraightTracks_, passesVeto_, photonTerritoryHits_, recoilPx_, recoilPy_, recoilPz_, recoilX_, and recoilY_.
Referenced by ~EcalVetoResult().
|
inline |
Definition at line 105 of file EcalVetoResult.h.
|
inline |
Definition at line 89 of file EcalVetoResult.h.
|
inline |
Definition at line 85 of file EcalVetoResult.h.
|
inline |
Definition at line 109 of file EcalVetoResult.h.
|
inline |
Definition at line 135 of file EcalVetoResult.h.
|
inline |
Definition at line 153 of file EcalVetoResult.h.
|
inline |
Definition at line 157 of file EcalVetoResult.h.
|
inline |
Definition at line 161 of file EcalVetoResult.h.
|
inline |
Definition at line 111 of file EcalVetoResult.h.
|
inline |
Definition at line 139 of file EcalVetoResult.h.
|
inline |
Definition at line 237 of file EcalVetoResult.h.
|
inline |
Definition at line 239 of file EcalVetoResult.h.
|
inline |
Definition at line 238 of file EcalVetoResult.h.
|
inline |
Definition at line 87 of file EcalVetoResult.h.
|
inline |
Definition at line 234 of file EcalVetoResult.h.
|
inline |
Definition at line 149 of file EcalVetoResult.h.
|
inline |
Definition at line 151 of file EcalVetoResult.h.
|
inline |
Definition at line 97 of file EcalVetoResult.h.
|
inline |
Number of linear-regression tracks found.
Definition at line 232 of file EcalVetoResult.h.
References nLinregTracks_.
|
inline |
Definition at line 235 of file EcalVetoResult.h.
|
inline |
Definition at line 91 of file EcalVetoResult.h.
|
inline |
Number of straight tracks found.
Definition at line 229 of file EcalVetoResult.h.
References nStraightTracks_.
Referenced by ecal::EcalVetoProcessor::buildBDTFeatureVector().
|
inline |
Definition at line 181 of file EcalVetoResult.h.
|
inline |
Definition at line 205 of file EcalVetoResult.h.
|
inline |
Definition at line 209 of file EcalVetoResult.h.
|
inline |
Definition at line 185 of file EcalVetoResult.h.
|
inline |
Definition at line 189 of file EcalVetoResult.h.
|
inline |
Definition at line 197 of file EcalVetoResult.h.
|
inline |
Definition at line 193 of file EcalVetoResult.h.
|
inline |
Definition at line 201 of file EcalVetoResult.h.
|
inline |
Definition at line 119 of file EcalVetoResult.h.
|
inline |
Definition at line 123 of file EcalVetoResult.h.
|
inline |
Definition at line 127 of file EcalVetoResult.h.
|
inline |
Definition at line 131 of file EcalVetoResult.h.
|
inline |
Definition at line 165 of file EcalVetoResult.h.
|
inline |
Definition at line 169 of file EcalVetoResult.h.
|
inline |
Definition at line 173 of file EcalVetoResult.h.
|
inline |
Definition at line 177 of file EcalVetoResult.h.
|
inline |
Definition at line 115 of file EcalVetoResult.h.
|
inline |
Definition at line 236 of file EcalVetoResult.h.
|
inline |
|
inline |
Return the x position of the recoil at the Ecal face.
Definition at line 223 of file EcalVetoResult.h.
References recoilX_.
|
inline |
Return the y position of the recoil at the Ecal face.
Definition at line 226 of file EcalVetoResult.h.
References recoilY_.
|
inline |
Definition at line 99 of file EcalVetoResult.h.
|
inline |
Definition at line 107 of file EcalVetoResult.h.
|
inline |
Definition at line 93 of file EcalVetoResult.h.
|
inline |
Definition at line 95 of file EcalVetoResult.h.
|
inline |
Definition at line 141 of file EcalVetoResult.h.
|
inline |
Definition at line 101 of file EcalVetoResult.h.
|
inline |
Definition at line 145 of file EcalVetoResult.h.
|
inline |
Definition at line 143 of file EcalVetoResult.h.
|
inline |
Definition at line 103 of file EcalVetoResult.h.
|
inline |
Definition at line 147 of file EcalVetoResult.h.
|
inline |
Checks if the event passes the Ecal veto.
Definition at line 83 of file EcalVetoResult.h.
References passesVeto_.
Referenced by ecal::DNNEcalVetoProcessor::produce(), and ecal::EcalVetoProcessor::produce().
void ldmx::EcalVetoResult::Print | ( | ) | const |
Print the object.
Definition at line 180 of file EcalVetoResult.cxx.
References passesVeto_.
|
inline |
Definition at line 214 of file EcalVetoResult.h.
|
inline |
Definition at line 215 of file EcalVetoResult.h.
void ldmx::EcalVetoResult::setVariables | ( | int | nReadoutHits, |
int | deepestLayerHit, | ||
float | summedDet, | ||
float | summedTightIso, | ||
float | maxCellDep, | ||
float | showerRMS, | ||
float | xStd, | ||
float | yStd, | ||
float | avgLayerHit, | ||
float | stdLayerHit, | ||
float | ecalBackEnergy, | ||
int | nStraightTracks, | ||
int | nLinregTracks, | ||
int | firstNearPhLayer, | ||
int | nNearPhHits, | ||
int | photonTerritoryHits, | ||
float | epAng, | ||
float | epSep, | ||
float | epDot, | ||
std::vector< float > | electronContainmentEnergy, | ||
std::vector< float > | photonContainmentEnergy, | ||
std::vector< float > | outsideContainmentEnergy, | ||
std::vector< int > | outsideContainmentNHits, | ||
std::vector< float > | outsideContainmentXStd, | ||
std::vector< float > | outsideContainmentYStd, | ||
std::vector< float > | energySeg, | ||
std::vector< float > | xMeanSeg, | ||
std::vector< float > | yMeanSeg, | ||
std::vector< float > | xStdSeg, | ||
std::vector< float > | yStdSeg, | ||
std::vector< float > | layerMeanSeg, | ||
std::vector< float > | layerStdSeg, | ||
std::vector< std::vector< float > > | eContEnergy, | ||
std::vector< std::vector< float > > | eContXMean, | ||
std::vector< std::vector< float > > | eContYMean, | ||
std::vector< std::vector< float > > | gContEnergy, | ||
std::vector< std::vector< int > > | gContNHits, | ||
std::vector< std::vector< float > > | gContXMean, | ||
std::vector< std::vector< float > > | gContYMean, | ||
std::vector< std::vector< float > > | oContEnergy, | ||
std::vector< std::vector< int > > | oContNHits, | ||
std::vector< std::vector< float > > | oContXMean, | ||
std::vector< std::vector< float > > | oContYMean, | ||
std::vector< std::vector< float > > | oContXStd, | ||
std::vector< std::vector< float > > | oContYStd, | ||
std::vector< std::vector< float > > | oContLayerMean, | ||
std::vector< std::vector< float > > | oContLayerStd, | ||
std::vector< float > | EcalLayerEdepReadout, | ||
std::vector< double > | recoilP, | ||
std::vector< float > | recoilPos | ||
) |
Set the sim particle and 'is findable' flag.
Definition at line 77 of file EcalVetoResult.cxx.
References epAng_, epDot_, epSep_, firstNearPhLayer_, nLinregTracks_, nNearPhHits_, nStraightTracks_, photonTerritoryHits_, recoilPx_, recoilPy_, recoilPz_, recoilX_, and recoilY_.
Referenced by ecal::EcalVetoProcessor::produce().
|
inline |
Definition at line 213 of file EcalVetoResult.h.
|
private |
Definition at line 254 of file EcalVetoResult.h.
|
private |
Definition at line 246 of file EcalVetoResult.h.
|
private |
discriminator value from the BDT
Definition at line 310 of file EcalVetoResult.h.
Referenced by Clear().
|
private |
Definition at line 256 of file EcalVetoResult.h.
|
private |
Definition at line 330 of file EcalVetoResult.h.
|
private |
Definition at line 293 of file EcalVetoResult.h.
|
private |
Definition at line 294 of file EcalVetoResult.h.
|
private |
Definition at line 295 of file EcalVetoResult.h.
|
private |
Definition at line 278 of file EcalVetoResult.h.
|
private |
Definition at line 285 of file EcalVetoResult.h.
|
private |
Angular separation between the projected photon and electron trajectories (currently unused)
Definition at line 271 of file EcalVetoResult.h.
Referenced by Clear(), and setVariables().
|
private |
Dot product of the photon and electron momenta unit vectors.
Definition at line 276 of file EcalVetoResult.h.
Referenced by Clear(), and setVariables().
|
private |
Distance between the projected photon and electron trajectories at the ECal face.
Definition at line 274 of file EcalVetoResult.h.
Referenced by Clear(), and setVariables().
|
private |
is the recoil electron fiducial in ECAL?
Definition at line 313 of file EcalVetoResult.h.
|
private |
Earliest ECal layer in which a hit is found near the projected photon trajectory.
Definition at line 264 of file EcalVetoResult.h.
Referenced by Clear(), and setVariables().
|
private |
Definition at line 296 of file EcalVetoResult.h.
|
private |
Definition at line 297 of file EcalVetoResult.h.
|
private |
Definition at line 298 of file EcalVetoResult.h.
|
private |
Definition at line 299 of file EcalVetoResult.h.
|
private |
Definition at line 290 of file EcalVetoResult.h.
|
private |
Definition at line 291 of file EcalVetoResult.h.
|
private |
Definition at line 250 of file EcalVetoResult.h.
|
private |
Number of "linreg" tracks found in the event.
Definition at line 261 of file EcalVetoResult.h.
Referenced by Clear(), getNLinRegTracks(), and setVariables().
|
private |
Number of hits near the photon trajectory.
Definition at line 266 of file EcalVetoResult.h.
Referenced by Clear(), and setVariables().
|
private |
Definition at line 245 of file EcalVetoResult.h.
|
private |
Number of "straight" tracks found in the event.
Definition at line 259 of file EcalVetoResult.h.
Referenced by Clear(), getNStraightTracks(), and setVariables().
|
private |
Definition at line 300 of file EcalVetoResult.h.
|
private |
Definition at line 306 of file EcalVetoResult.h.
|
private |
Definition at line 307 of file EcalVetoResult.h.
|
private |
Definition at line 301 of file EcalVetoResult.h.
|
private |
Definition at line 302 of file EcalVetoResult.h.
|
private |
Definition at line 304 of file EcalVetoResult.h.
|
private |
Definition at line 303 of file EcalVetoResult.h.
|
private |
Definition at line 305 of file EcalVetoResult.h.
|
private |
Definition at line 280 of file EcalVetoResult.h.
|
private |
Definition at line 281 of file EcalVetoResult.h.
|
private |
Definition at line 282 of file EcalVetoResult.h.
|
private |
Definition at line 283 of file EcalVetoResult.h.
|
private |
Flag indicating whether the event is vetoed by the Ecal.
Definition at line 243 of file EcalVetoResult.h.
Referenced by Clear(), passesVeto(), and Print().
|
private |
Definition at line 279 of file EcalVetoResult.h.
|
private |
Number of hits in the photon territory.
Definition at line 268 of file EcalVetoResult.h.
Referenced by Clear(), and setVariables().
|
private |
px of recoil electron at the Ecal face.
Definition at line 316 of file EcalVetoResult.h.
Referenced by Clear(), getRecoilMomentum(), and setVariables().
|
private |
py of recoil electron at the Ecal face.
Definition at line 319 of file EcalVetoResult.h.
Referenced by Clear(), getRecoilMomentum(), and setVariables().
|
private |
py of recoil electron at the Ecal face.
Definition at line 322 of file EcalVetoResult.h.
Referenced by Clear(), getRecoilMomentum(), and setVariables().
|
private |
x position of recoil electron at the Ecal face.
Definition at line 325 of file EcalVetoResult.h.
Referenced by Clear(), getRecoilX(), and setVariables().
|
private |
y position of recoil electron at the Ecal face.
Definition at line 328 of file EcalVetoResult.h.
Referenced by Clear(), getRecoilY(), and setVariables().
|
private |
Definition at line 251 of file EcalVetoResult.h.
|
private |
Definition at line 255 of file EcalVetoResult.h.
|
private |
Definition at line 248 of file EcalVetoResult.h.
|
private |
Definition at line 249 of file EcalVetoResult.h.
|
private |
Definition at line 286 of file EcalVetoResult.h.
|
private |
Definition at line 252 of file EcalVetoResult.h.
|
private |
Definition at line 288 of file EcalVetoResult.h.
|
private |
Definition at line 287 of file EcalVetoResult.h.
|
private |
Definition at line 253 of file EcalVetoResult.h.
|
private |
Definition at line 289 of file EcalVetoResult.h.