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 epAngAtTarget, float epSep, float epDot, float epDotAtTarget, 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::array< float, 3 > recoilP, std::array< float, 3 > 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 |
bool | getTrackingFiducial () 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) |
void | setTrackingFiducial (bool tracking_fiducial) |
const std::vector< float > | getRecoilMomentum () const |
Return the momentum of the recoil at the Ecal face. | |
float | getRecoilX () const |
Return the x position of the recoil at the Ecal face. | |
float | 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 | getEPAngAtTarget () const |
float | getEPSep () const |
float | getEPDot () const |
float | getEPDotAtTarget () const |
Private Member Functions | |
ClassDef (EcalVetoResult, 9) | |
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 as projected at the ECAL. | |
float | epAngAtTarget_ {0} |
Angular separation between the projected photon and electron trajectories as projected at the target. | |
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 as at ECAL. | |
float | epDotAtTarget_ {0} |
Dot product of the photon and electron momenta unit vectors as at Target. | |
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? | |
bool | tracking_fiducial_ {false} |
is the recoil electron fiducial in Tracker? | |
float | recoilPx_ {-9999} |
px of recoil electron at the Ecal face. | |
float | recoilPy_ {-9999} |
py of recoil electron at the Ecal face. | |
float | 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 26 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_, epAngAtTarget_, epDot_, epDotAtTarget_, epSep_, firstNearPhLayer_, nLinregTracks_, nNearPhHits_, nStraightTracks_, passesVeto_, photonTerritoryHits_, recoilPx_, recoilPy_, recoilPz_, recoilX_, and recoilY_.
Referenced by ~EcalVetoResult().
|
inline |
Definition at line 110 of file EcalVetoResult.h.
|
inline |
Definition at line 91 of file EcalVetoResult.h.
|
inline |
Definition at line 87 of file EcalVetoResult.h.
|
inline |
Definition at line 114 of file EcalVetoResult.h.
|
inline |
Definition at line 140 of file EcalVetoResult.h.
|
inline |
Definition at line 158 of file EcalVetoResult.h.
|
inline |
Definition at line 162 of file EcalVetoResult.h.
|
inline |
Definition at line 166 of file EcalVetoResult.h.
|
inline |
Definition at line 116 of file EcalVetoResult.h.
|
inline |
Definition at line 144 of file EcalVetoResult.h.
|
inline |
Definition at line 247 of file EcalVetoResult.h.
|
inline |
Definition at line 248 of file EcalVetoResult.h.
|
inline |
Definition at line 250 of file EcalVetoResult.h.
|
inline |
Definition at line 251 of file EcalVetoResult.h.
|
inline |
Definition at line 249 of file EcalVetoResult.h.
|
inline |
Definition at line 89 of file EcalVetoResult.h.
|
inline |
Definition at line 244 of file EcalVetoResult.h.
|
inline |
Definition at line 154 of file EcalVetoResult.h.
|
inline |
Definition at line 156 of file EcalVetoResult.h.
|
inline |
Definition at line 102 of file EcalVetoResult.h.
|
inline |
Number of linear-regression tracks found.
Definition at line 242 of file EcalVetoResult.h.
References nLinregTracks_.
|
inline |
Definition at line 245 of file EcalVetoResult.h.
|
inline |
Definition at line 96 of file EcalVetoResult.h.
|
inline |
Number of straight tracks found.
Definition at line 239 of file EcalVetoResult.h.
References nStraightTracks_.
Referenced by ecal::EcalVetoProcessor::buildBDTFeatureVector().
|
inline |
Definition at line 186 of file EcalVetoResult.h.
|
inline |
Definition at line 210 of file EcalVetoResult.h.
|
inline |
Definition at line 214 of file EcalVetoResult.h.
|
inline |
Definition at line 190 of file EcalVetoResult.h.
|
inline |
Definition at line 194 of file EcalVetoResult.h.
|
inline |
Definition at line 202 of file EcalVetoResult.h.
|
inline |
Definition at line 198 of file EcalVetoResult.h.
|
inline |
Definition at line 206 of file EcalVetoResult.h.
|
inline |
Definition at line 124 of file EcalVetoResult.h.
|
inline |
Definition at line 128 of file EcalVetoResult.h.
|
inline |
Definition at line 132 of file EcalVetoResult.h.
|
inline |
Definition at line 136 of file EcalVetoResult.h.
|
inline |
Definition at line 170 of file EcalVetoResult.h.
|
inline |
Definition at line 174 of file EcalVetoResult.h.
|
inline |
Definition at line 178 of file EcalVetoResult.h.
|
inline |
Definition at line 182 of file EcalVetoResult.h.
|
inline |
Definition at line 120 of file EcalVetoResult.h.
|
inline |
Definition at line 246 of file EcalVetoResult.h.
|
inline |
|
inline |
Return the x position of the recoil at the Ecal face.
Definition at line 233 of file EcalVetoResult.h.
References recoilX_.
|
inline |
Return the y position of the recoil at the Ecal face.
Definition at line 236 of file EcalVetoResult.h.
References recoilY_.
|
inline |
Definition at line 104 of file EcalVetoResult.h.
|
inline |
Definition at line 112 of file EcalVetoResult.h.
|
inline |
Definition at line 98 of file EcalVetoResult.h.
|
inline |
Definition at line 100 of file EcalVetoResult.h.
|
inline |
Definition at line 94 of file EcalVetoResult.h.
|
inline |
Definition at line 146 of file EcalVetoResult.h.
|
inline |
Definition at line 106 of file EcalVetoResult.h.
|
inline |
Definition at line 150 of file EcalVetoResult.h.
|
inline |
Definition at line 148 of file EcalVetoResult.h.
|
inline |
Definition at line 108 of file EcalVetoResult.h.
|
inline |
Definition at line 152 of file EcalVetoResult.h.
|
inline |
Checks if the event passes the Ecal veto.
Definition at line 85 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 186 of file EcalVetoResult.cxx.
References passesVeto_.
|
inline |
Definition at line 219 of file EcalVetoResult.h.
|
inline |
Definition at line 220 of file EcalVetoResult.h.
|
inline |
Definition at line 223 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 | epAngAtTarget, | ||
float | epSep, | ||
float | epDot, | ||
float | epDotAtTarget, | ||
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::array< float, 3 > | recoilP, | ||
std::array< float, 3 > | recoilPos ) |
Set the sim particle and 'is findable' flag.
Definition at line 79 of file EcalVetoResult.cxx.
References epAng_, epAngAtTarget_, epDot_, epDotAtTarget_, epSep_, firstNearPhLayer_, nLinregTracks_, nNearPhHits_, nStraightTracks_, photonTerritoryHits_, recoilPx_, recoilPy_, recoilPz_, recoilX_, and recoilY_.
Referenced by ecal::EcalVetoProcessor::produce().
|
inline |
Definition at line 218 of file EcalVetoResult.h.
|
private |
Definition at line 266 of file EcalVetoResult.h.
|
private |
Definition at line 258 of file EcalVetoResult.h.
|
private |
discriminator value from the BDT
Definition at line 328 of file EcalVetoResult.h.
Referenced by Clear().
|
private |
Definition at line 268 of file EcalVetoResult.h.
|
private |
Definition at line 351 of file EcalVetoResult.h.
|
private |
Definition at line 311 of file EcalVetoResult.h.
|
private |
Definition at line 312 of file EcalVetoResult.h.
|
private |
Definition at line 313 of file EcalVetoResult.h.
|
private |
Definition at line 296 of file EcalVetoResult.h.
|
private |
Definition at line 303 of file EcalVetoResult.h.
|
private |
Angular separation between the projected photon and electron trajectories as projected at the ECAL.
Definition at line 283 of file EcalVetoResult.h.
Referenced by Clear(), and setVariables().
|
private |
Angular separation between the projected photon and electron trajectories as projected at the target.
Definition at line 286 of file EcalVetoResult.h.
Referenced by Clear(), and setVariables().
|
private |
Dot product of the photon and electron momenta unit vectors as at ECAL.
Definition at line 292 of file EcalVetoResult.h.
Referenced by Clear(), and setVariables().
|
private |
Dot product of the photon and electron momenta unit vectors as at Target.
Definition at line 294 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 290 of file EcalVetoResult.h.
Referenced by Clear(), and setVariables().
|
private |
is the recoil electron fiducial in ECAL?
Definition at line 331 of file EcalVetoResult.h.
|
private |
Earliest ECal layer in which a hit is found near the projected photon trajectory.
Definition at line 276 of file EcalVetoResult.h.
Referenced by Clear(), and setVariables().
|
private |
Definition at line 314 of file EcalVetoResult.h.
|
private |
Definition at line 315 of file EcalVetoResult.h.
|
private |
Definition at line 316 of file EcalVetoResult.h.
|
private |
Definition at line 317 of file EcalVetoResult.h.
|
private |
Definition at line 308 of file EcalVetoResult.h.
|
private |
Definition at line 309 of file EcalVetoResult.h.
|
private |
Definition at line 262 of file EcalVetoResult.h.
|
private |
Number of "linreg" tracks found in the event.
Definition at line 273 of file EcalVetoResult.h.
Referenced by Clear(), getNLinRegTracks(), and setVariables().
|
private |
Number of hits near the photon trajectory.
Definition at line 278 of file EcalVetoResult.h.
Referenced by Clear(), and setVariables().
|
private |
Definition at line 257 of file EcalVetoResult.h.
|
private |
Number of "straight" tracks found in the event.
Definition at line 271 of file EcalVetoResult.h.
Referenced by Clear(), getNStraightTracks(), and setVariables().
|
private |
Definition at line 318 of file EcalVetoResult.h.
|
private |
Definition at line 324 of file EcalVetoResult.h.
|
private |
Definition at line 325 of file EcalVetoResult.h.
|
private |
Definition at line 319 of file EcalVetoResult.h.
|
private |
Definition at line 320 of file EcalVetoResult.h.
|
private |
Definition at line 322 of file EcalVetoResult.h.
|
private |
Definition at line 321 of file EcalVetoResult.h.
|
private |
Definition at line 323 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 300 of file EcalVetoResult.h.
|
private |
Definition at line 301 of file EcalVetoResult.h.
|
private |
Flag indicating whether the event is vetoed by the Ecal.
Definition at line 255 of file EcalVetoResult.h.
Referenced by Clear(), passesVeto(), and Print().
|
private |
Definition at line 297 of file EcalVetoResult.h.
|
private |
Number of hits in the photon territory.
Definition at line 280 of file EcalVetoResult.h.
Referenced by Clear(), and setVariables().
|
private |
px of recoil electron at the Ecal face.
Definition at line 337 of file EcalVetoResult.h.
Referenced by Clear(), getRecoilMomentum(), and setVariables().
|
private |
py of recoil electron at the Ecal face.
Definition at line 340 of file EcalVetoResult.h.
Referenced by Clear(), getRecoilMomentum(), and setVariables().
|
private |
py of recoil electron at the Ecal face.
Definition at line 343 of file EcalVetoResult.h.
Referenced by Clear(), getRecoilMomentum(), and setVariables().
|
private |
x position of recoil electron at the Ecal face.
Definition at line 346 of file EcalVetoResult.h.
Referenced by Clear(), getRecoilX(), and setVariables().
|
private |
y position of recoil electron at the Ecal face.
Definition at line 349 of file EcalVetoResult.h.
Referenced by Clear(), getRecoilY(), and setVariables().
|
private |
Definition at line 263 of file EcalVetoResult.h.
|
private |
Definition at line 267 of file EcalVetoResult.h.
|
private |
Definition at line 260 of file EcalVetoResult.h.
|
private |
Definition at line 261 of file EcalVetoResult.h.
|
private |
is the recoil electron fiducial in Tracker?
Definition at line 334 of file EcalVetoResult.h.
|
private |
Definition at line 304 of file EcalVetoResult.h.
|
private |
Definition at line 264 of file EcalVetoResult.h.
|
private |
Definition at line 306 of file EcalVetoResult.h.
|
private |
Definition at line 305 of file EcalVetoResult.h.
|
private |
Definition at line 265 of file EcalVetoResult.h.
|
private |
Definition at line 307 of file EcalVetoResult.h.