|
LDMX Software
|
Public Member Functions | |
| EcalVetoResult ()=default | |
| Constructor. | |
| virtual | ~EcalVetoResult () |
| Destructor. | |
| void | setVariables (int n_readout_hits, int deepest_layer_hit, int n_hits_in_photon_territory, float summed_det, float summed_tight_iso, float max_cell_dep, float shower_rms, float x_std, float y_std, float avg_layer_hit, float std_layer_hit, float ecal_back_energy, float ep_ang, float ep_ang_at_target, float ep_sep, float ep_dot, float ep_dot_at_target, std::vector< float > electron_containment_energy, std::vector< float > photon_containment_energy, std::vector< float > outside_containment_energy, std::vector< int > outside_containment_n_hits, std::vector< float > outside_containment_x_std, std::vector< float > outside_containment_y_std, std::vector< float > energy_seg, std::vector< float > x_mean_seg, std::vector< float > y_mean_seg, std::vector< float > x_std_seg, std::vector< float > y_std_seg, std::vector< float > layer_mean_seg, std::vector< float > layer_std_seg, std::vector< std::vector< float > > e_cont_energy, std::vector< std::vector< float > > e_cont_x_mean, std::vector< std::vector< float > > e_cont_y_mean, std::vector< std::vector< float > > g_cont_energy, std::vector< std::vector< int > > g_cont_n_hits, std::vector< std::vector< float > > g_cont_x_mean, std::vector< std::vector< float > > g_cont_y_mean, std::vector< std::vector< float > > o_cont_energy, std::vector< std::vector< int > > o_cont_n_hits, std::vector< std::vector< float > > o_cont_x_mean, std::vector< std::vector< float > > o_cont_y_mean, std::vector< std::vector< float > > o_cont_x_std, std::vector< std::vector< float > > o_cont_y_std, std::vector< std::vector< float > > o_cont_layer_mean, std::vector< std::vector< float > > o_cont_layer_std, std::vector< float > ecal_layer_edep_readout, std::array< float, 3 > recoil_p, std::array< float, 3 > recoil_pos) |
| Set the sim particle and 'is findable' flag. | |
| void | clear () |
| Reset 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 |
| int | getNHitsInPhotonTerritory () const |
| float | getEPAng () const |
| float | getEPAngAtTarget () const |
| float | getEPSep () const |
| float | getEPDot () const |
| float | getEPDotAtTarget () 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 passes_veto) |
| void | setDiscValue (float disc_value) |
| 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. | |
Private Member Functions | |
| ClassDef (EcalVetoResult, 13) | |
Private Attributes | |
| bool | passes_veto_ {false} |
| Flag indicating whether the event is vetoed by the Ecal. | |
| int | n_readout_hits_ {0} |
| int | deepest_layer_hit_ {0} |
| float | summed_det_ {0} |
| float | summed_tight_iso_ {0} |
| float | max_cell_dep_ {0} |
| float | shower_rms_ {0} |
| float | x_std_ {0} |
| float | y_std_ {0} |
| float | avg_layer_hit_ {0} |
| float | std_layer_hit_ {0} |
| float | ecal_back_energy_ {0} |
| std::vector< float > | electron_containment_energy_ |
| std::vector< float > | photon_containment_energy_ |
| std::vector< float > | outside_containment_energy_ |
| std::vector< int > | outside_containment_n_hits_ |
| std::vector< float > | outside_containment_x_std_ |
| std::vector< float > | outside_containment_y_std_ |
| std::vector< float > | energy_seg_ |
| std::vector< float > | x_mean_seg_ |
| std::vector< float > | y_mean_seg_ |
| std::vector< float > | x_std_seg_ |
| std::vector< float > | y_std_seg_ |
| std::vector< float > | layer_mean_seg_ |
| std::vector< float > | layer_std_seg_ |
| std::vector< std::vector< float > > | e_cont_energy_ |
| std::vector< std::vector< float > > | e_cont_x_mean_ |
| std::vector< std::vector< float > > | e_cont_y_mean_ |
| std::vector< std::vector< float > > | g_cont_energy_ |
| std::vector< std::vector< int > > | g_cont_n_hits_ |
| std::vector< std::vector< float > > | g_cont_x_mean_ |
| std::vector< std::vector< float > > | g_cont_y_mean_ |
| std::vector< std::vector< float > > | o_cont_energy_ |
| std::vector< std::vector< int > > | o_cont_n_hits_ |
| std::vector< std::vector< float > > | o_cont_x_mean_ |
| std::vector< std::vector< float > > | o_cont_y_mean_ |
| std::vector< std::vector< float > > | o_cont_x_std_ |
| std::vector< std::vector< float > > | o_cont_y_std_ |
| std::vector< std::vector< float > > | o_cont_layer_mean_ |
| std::vector< std::vector< float > > | o_cont_layer_std_ |
| float | disc_value_ {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 | recoil_px_ {-9999} |
| px of recoil electron at the Ecal face. | |
| float | recoil_py_ {-9999} |
| py of recoil electron at the Ecal face. | |
| float | recoil_pz_ {-9999} |
| pz of recoil electron at the Ecal face. | |
| float | recoil_x_ {-9999} |
| x-position of recoil electron at the Ecal face. | |
| float | recoil_y_ {-9999} |
| y-position of recoil electron at the Ecal face. | |
| int | n_hits_in_photon_territory_ {0} |
| Number of hits outside of the electron roc in the Ecal or if the electron trajectory is missing, all the hits in the Ecal. | |
| float | ep_ang_ {0} |
| Angular separation between the projected photon and electron trajectories as projected at the ECAL. | |
| float | ep_ang_at_target_ {0} |
| Angular separation between the projected photon and electron trajectories as projected at the target. | |
| float | ep_sep_ {0} |
| Distance between the projected photon and electron trajectories at the ECal face. | |
| float | ep_dot_ {0} |
| Dot product of the photon and electron momenta unit vectors as at ECAL. | |
| float | ep_dot_at_target_ {0} |
| Dot product of the photon and electron momenta unit vectors as at Target. | |
| std::vector< float > | ecal_layer_edep_readout_ |
Friends | |
| std::ostream & | operator<< (std::ostream &o, const EcalVetoResult &d) |
| Print the object. | |
Definition at line 25 of file EcalVetoResult.h.
|
virtual |
| void ldmx::EcalVetoResult::clear | ( | ) |
Reset the object.
Definition at line 9 of file EcalVetoResult.cxx.
References disc_value_, ep_ang_, ep_ang_at_target_, ep_dot_, ep_dot_at_target_, ep_sep_, n_hits_in_photon_territory_, passes_veto_, recoil_px_, recoil_py_, recoil_pz_, recoil_x_, and recoil_y_.
Referenced by ~EcalVetoResult().
|
inline |
Definition at line 107 of file EcalVetoResult.h.
|
inline |
Definition at line 88 of file EcalVetoResult.h.
|
inline |
Definition at line 84 of file EcalVetoResult.h.
|
inline |
Definition at line 111 of file EcalVetoResult.h.
|
inline |
Definition at line 149 of file EcalVetoResult.h.
|
inline |
Definition at line 167 of file EcalVetoResult.h.
|
inline |
Definition at line 171 of file EcalVetoResult.h.
|
inline |
Definition at line 175 of file EcalVetoResult.h.
|
inline |
Definition at line 125 of file EcalVetoResult.h.
|
inline |
Definition at line 153 of file EcalVetoResult.h.
|
inline |
Definition at line 115 of file EcalVetoResult.h.
|
inline |
Definition at line 117 of file EcalVetoResult.h.
|
inline |
Definition at line 121 of file EcalVetoResult.h.
|
inline |
Definition at line 123 of file EcalVetoResult.h.
|
inline |
Definition at line 119 of file EcalVetoResult.h.
|
inline |
Definition at line 86 of file EcalVetoResult.h.
|
inline |
Definition at line 163 of file EcalVetoResult.h.
|
inline |
Definition at line 165 of file EcalVetoResult.h.
|
inline |
Definition at line 99 of file EcalVetoResult.h.
|
inline |
Definition at line 113 of file EcalVetoResult.h.
|
inline |
Definition at line 93 of file EcalVetoResult.h.
|
inline |
Definition at line 195 of file EcalVetoResult.h.
|
inline |
Definition at line 219 of file EcalVetoResult.h.
|
inline |
Definition at line 223 of file EcalVetoResult.h.
|
inline |
Definition at line 199 of file EcalVetoResult.h.
|
inline |
Definition at line 203 of file EcalVetoResult.h.
|
inline |
Definition at line 211 of file EcalVetoResult.h.
|
inline |
Definition at line 207 of file EcalVetoResult.h.
|
inline |
Definition at line 215 of file EcalVetoResult.h.
|
inline |
Definition at line 133 of file EcalVetoResult.h.
|
inline |
Definition at line 137 of file EcalVetoResult.h.
|
inline |
Definition at line 141 of file EcalVetoResult.h.
|
inline |
Definition at line 145 of file EcalVetoResult.h.
|
inline |
Definition at line 179 of file EcalVetoResult.h.
|
inline |
Definition at line 183 of file EcalVetoResult.h.
|
inline |
Definition at line 187 of file EcalVetoResult.h.
|
inline |
Definition at line 191 of file EcalVetoResult.h.
|
inline |
Definition at line 129 of file EcalVetoResult.h.
|
inline |
Return the momentum of the recoil at the Ecal face.
Definition at line 237 of file EcalVetoResult.h.
References recoil_px_, recoil_py_, and recoil_pz_.
|
inline |
Return the x position of the recoil at the Ecal face.
Definition at line 242 of file EcalVetoResult.h.
References recoil_x_.
|
inline |
Return the y position of the recoil at the Ecal face.
Definition at line 245 of file EcalVetoResult.h.
References recoil_y_.
|
inline |
Definition at line 101 of file EcalVetoResult.h.
|
inline |
Definition at line 109 of file EcalVetoResult.h.
|
inline |
Definition at line 95 of file EcalVetoResult.h.
|
inline |
Definition at line 97 of file EcalVetoResult.h.
|
inline |
Definition at line 91 of file EcalVetoResult.h.
|
inline |
Definition at line 155 of file EcalVetoResult.h.
|
inline |
Definition at line 103 of file EcalVetoResult.h.
|
inline |
Definition at line 159 of file EcalVetoResult.h.
|
inline |
Definition at line 157 of file EcalVetoResult.h.
|
inline |
Definition at line 105 of file EcalVetoResult.h.
|
inline |
Definition at line 161 of file EcalVetoResult.h.
|
inline |
Checks if the event passes the Ecal veto.
Definition at line 82 of file EcalVetoResult.h.
References passes_veto_.
Referenced by ecal::EcalPnetVetoProcessor::produce(), and ecal::EcalVetoProcessor::produce().
|
inline |
Definition at line 228 of file EcalVetoResult.h.
|
inline |
Definition at line 229 of file EcalVetoResult.h.
|
inline |
Definition at line 232 of file EcalVetoResult.h.
| void ldmx::EcalVetoResult::setVariables | ( | int | n_readout_hits, |
| int | deepest_layer_hit, | ||
| int | n_hits_in_photon_territory, | ||
| float | summed_det, | ||
| float | summed_tight_iso, | ||
| float | max_cell_dep, | ||
| float | shower_rms, | ||
| float | x_std, | ||
| float | y_std, | ||
| float | avg_layer_hit, | ||
| float | std_layer_hit, | ||
| float | ecal_back_energy, | ||
| float | ep_ang, | ||
| float | ep_ang_at_target, | ||
| float | ep_sep, | ||
| float | ep_dot, | ||
| float | ep_dot_at_target, | ||
| std::vector< float > | electron_containment_energy, | ||
| std::vector< float > | photon_containment_energy, | ||
| std::vector< float > | outside_containment_energy, | ||
| std::vector< int > | outside_containment_n_hits, | ||
| std::vector< float > | outside_containment_x_std, | ||
| std::vector< float > | outside_containment_y_std, | ||
| std::vector< float > | energy_seg, | ||
| std::vector< float > | x_mean_seg, | ||
| std::vector< float > | y_mean_seg, | ||
| std::vector< float > | x_std_seg, | ||
| std::vector< float > | y_std_seg, | ||
| std::vector< float > | layer_mean_seg, | ||
| std::vector< float > | layer_std_seg, | ||
| std::vector< std::vector< float > > | e_cont_energy, | ||
| std::vector< std::vector< float > > | e_cont_x_mean, | ||
| std::vector< std::vector< float > > | e_cont_y_mean, | ||
| std::vector< std::vector< float > > | g_cont_energy, | ||
| std::vector< std::vector< int > > | g_cont_n_hits, | ||
| std::vector< std::vector< float > > | g_cont_x_mean, | ||
| std::vector< std::vector< float > > | g_cont_y_mean, | ||
| std::vector< std::vector< float > > | o_cont_energy, | ||
| std::vector< std::vector< int > > | o_cont_n_hits, | ||
| std::vector< std::vector< float > > | o_cont_x_mean, | ||
| std::vector< std::vector< float > > | o_cont_y_mean, | ||
| std::vector< std::vector< float > > | o_cont_x_std, | ||
| std::vector< std::vector< float > > | o_cont_y_std, | ||
| std::vector< std::vector< float > > | o_cont_layer_mean, | ||
| std::vector< std::vector< float > > | o_cont_layer_std, | ||
| std::vector< float > | ecal_layer_edep_readout, | ||
| std::array< float, 3 > | recoil_p, | ||
| std::array< float, 3 > | recoil_pos ) |
Set the sim particle and 'is findable' flag.
Definition at line 72 of file EcalVetoResult.cxx.
References ep_ang_, ep_ang_at_target_, ep_dot_, ep_dot_at_target_, ep_sep_, n_hits_in_photon_territory_, recoil_px_, recoil_py_, recoil_pz_, recoil_x_, and recoil_y_.
Referenced by ecal::EcalVetoProcessor::produce().
|
inline |
Definition at line 227 of file EcalVetoResult.h.
|
friend |
Print the object.
Definition at line 173 of file EcalVetoResult.cxx.
|
private |
Definition at line 260 of file EcalVetoResult.h.
|
private |
Definition at line 252 of file EcalVetoResult.h.
|
private |
discriminator value from the BDT
Definition at line 296 of file EcalVetoResult.h.
Referenced by clear().
|
private |
Definition at line 279 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 262 of file EcalVetoResult.h.
|
private |
Definition at line 337 of file EcalVetoResult.h.
|
private |
Definition at line 264 of file EcalVetoResult.h.
|
private |
Definition at line 271 of file EcalVetoResult.h.
|
private |
Angular separation between the projected photon and electron trajectories as projected at the ECAL.
Definition at line 324 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 327 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 333 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 335 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 331 of file EcalVetoResult.h.
Referenced by clear(), and setVariables().
|
private |
is the recoil electron fiducial in ECAL?
Definition at line 299 of file EcalVetoResult.h.
|
private |
Definition at line 282 of file EcalVetoResult.h.
|
private |
Definition at line 283 of file EcalVetoResult.h.
|
private |
Definition at line 284 of file EcalVetoResult.h.
|
private |
Definition at line 285 of file EcalVetoResult.h.
|
private |
Definition at line 276 of file EcalVetoResult.h.
|
private |
Definition at line 277 of file EcalVetoResult.h.
|
private |
Definition at line 256 of file EcalVetoResult.h.
|
private |
Number of hits outside of the electron roc in the Ecal or if the electron trajectory is missing, all the hits in the Ecal.
Definition at line 321 of file EcalVetoResult.h.
Referenced by clear(), and setVariables().
|
private |
Definition at line 251 of file EcalVetoResult.h.
|
private |
Definition at line 286 of file EcalVetoResult.h.
|
private |
Definition at line 292 of file EcalVetoResult.h.
|
private |
Definition at line 293 of file EcalVetoResult.h.
|
private |
Definition at line 287 of file EcalVetoResult.h.
|
private |
Definition at line 288 of file EcalVetoResult.h.
|
private |
Definition at line 290 of file EcalVetoResult.h.
|
private |
Definition at line 289 of file EcalVetoResult.h.
|
private |
Definition at line 291 of file EcalVetoResult.h.
|
private |
Definition at line 266 of file EcalVetoResult.h.
|
private |
Definition at line 267 of file EcalVetoResult.h.
|
private |
Definition at line 268 of file EcalVetoResult.h.
|
private |
Definition at line 269 of file EcalVetoResult.h.
|
private |
Flag indicating whether the event is vetoed by the Ecal.
Definition at line 249 of file EcalVetoResult.h.
Referenced by clear(), and passesVeto().
|
private |
Definition at line 265 of file EcalVetoResult.h.
|
private |
px of recoil electron at the Ecal face.
Definition at line 305 of file EcalVetoResult.h.
Referenced by clear(), getRecoilMomentum(), and setVariables().
|
private |
py of recoil electron at the Ecal face.
Definition at line 308 of file EcalVetoResult.h.
Referenced by clear(), getRecoilMomentum(), and setVariables().
|
private |
pz of recoil electron at the Ecal face.
Definition at line 311 of file EcalVetoResult.h.
Referenced by clear(), getRecoilMomentum(), and setVariables().
|
private |
x-position of recoil electron at the Ecal face.
Definition at line 314 of file EcalVetoResult.h.
Referenced by clear(), getRecoilX(), and setVariables().
|
private |
y-position of recoil electron at the Ecal face.
Definition at line 317 of file EcalVetoResult.h.
Referenced by clear(), getRecoilY(), and setVariables().
|
private |
Definition at line 257 of file EcalVetoResult.h.
|
private |
Definition at line 261 of file EcalVetoResult.h.
|
private |
Definition at line 254 of file EcalVetoResult.h.
|
private |
Definition at line 255 of file EcalVetoResult.h.
|
private |
is the recoil electron fiducial in Tracker?
Definition at line 302 of file EcalVetoResult.h.
|
private |
Definition at line 272 of file EcalVetoResult.h.
|
private |
Definition at line 258 of file EcalVetoResult.h.
|
private |
Definition at line 274 of file EcalVetoResult.h.
|
private |
Definition at line 273 of file EcalVetoResult.h.
|
private |
Definition at line 259 of file EcalVetoResult.h.
|
private |
Definition at line 275 of file EcalVetoResult.h.