|
LDMX Software
|
Public Member Functions | |
| EcalVetoResult ()=default | |
| Constructor. | |
| virtual | ~EcalVetoResult () |
| Destructor. | |
| void | setVariables (int n_readout_hits, int deepest_layer_hit, int n_tracking_hits, 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 | getNTrackingHits () 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, 12) | |
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_tracking_hits_ {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 26 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_tracking_hits_, passes_veto_, recoil_px_, recoil_py_, recoil_pz_, recoil_x_, and recoil_y_.
Referenced by ~EcalVetoResult().
|
inline |
Definition at line 108 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 112 of file EcalVetoResult.h.
|
inline |
Definition at line 150 of file EcalVetoResult.h.
|
inline |
Definition at line 168 of file EcalVetoResult.h.
|
inline |
Definition at line 172 of file EcalVetoResult.h.
|
inline |
Definition at line 176 of file EcalVetoResult.h.
|
inline |
Definition at line 126 of file EcalVetoResult.h.
|
inline |
Definition at line 154 of file EcalVetoResult.h.
|
inline |
Definition at line 116 of file EcalVetoResult.h.
|
inline |
Definition at line 118 of file EcalVetoResult.h.
|
inline |
Definition at line 122 of file EcalVetoResult.h.
|
inline |
Definition at line 124 of file EcalVetoResult.h.
|
inline |
Definition at line 120 of file EcalVetoResult.h.
|
inline |
Definition at line 87 of file EcalVetoResult.h.
|
inline |
Definition at line 164 of file EcalVetoResult.h.
|
inline |
Definition at line 166 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 114 of file EcalVetoResult.h.
|
inline |
Definition at line 196 of file EcalVetoResult.h.
|
inline |
Definition at line 220 of file EcalVetoResult.h.
|
inline |
Definition at line 224 of file EcalVetoResult.h.
|
inline |
Definition at line 200 of file EcalVetoResult.h.
|
inline |
Definition at line 204 of file EcalVetoResult.h.
|
inline |
Definition at line 212 of file EcalVetoResult.h.
|
inline |
Definition at line 208 of file EcalVetoResult.h.
|
inline |
Definition at line 216 of file EcalVetoResult.h.
|
inline |
Definition at line 134 of file EcalVetoResult.h.
|
inline |
Definition at line 138 of file EcalVetoResult.h.
|
inline |
Definition at line 142 of file EcalVetoResult.h.
|
inline |
Definition at line 146 of file EcalVetoResult.h.
|
inline |
Definition at line 180 of file EcalVetoResult.h.
|
inline |
Definition at line 184 of file EcalVetoResult.h.
|
inline |
Definition at line 188 of file EcalVetoResult.h.
|
inline |
Definition at line 192 of file EcalVetoResult.h.
|
inline |
Definition at line 130 of file EcalVetoResult.h.
|
inline |
Return the momentum of the recoil at the Ecal face.
Definition at line 238 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 243 of file EcalVetoResult.h.
References recoil_x_.
|
inline |
Return the y position of the recoil at the Ecal face.
Definition at line 246 of file EcalVetoResult.h.
References recoil_y_.
|
inline |
Definition at line 102 of file EcalVetoResult.h.
|
inline |
Definition at line 110 of file EcalVetoResult.h.
|
inline |
Definition at line 96 of file EcalVetoResult.h.
|
inline |
Definition at line 98 of file EcalVetoResult.h.
|
inline |
Definition at line 92 of file EcalVetoResult.h.
|
inline |
Definition at line 156 of file EcalVetoResult.h.
|
inline |
Definition at line 104 of file EcalVetoResult.h.
|
inline |
Definition at line 160 of file EcalVetoResult.h.
|
inline |
Definition at line 158 of file EcalVetoResult.h.
|
inline |
Definition at line 106 of file EcalVetoResult.h.
|
inline |
Definition at line 162 of file EcalVetoResult.h.
|
inline |
Checks if the event passes the Ecal veto.
Definition at line 83 of file EcalVetoResult.h.
References passes_veto_.
Referenced by ecal::EcalPnetVetoProcessor::produce(), and ecal::EcalVetoProcessor::produce().
|
inline |
Definition at line 229 of file EcalVetoResult.h.
|
inline |
Definition at line 230 of file EcalVetoResult.h.
|
inline |
Definition at line 233 of file EcalVetoResult.h.
| void ldmx::EcalVetoResult::setVariables | ( | int | n_readout_hits, |
| int | deepest_layer_hit, | ||
| int | n_tracking_hits, | ||
| 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_tracking_hits_, recoil_px_, recoil_py_, recoil_pz_, recoil_x_, and recoil_y_.
Referenced by ecal::EcalVetoProcessor::produce().
|
inline |
Definition at line 228 of file EcalVetoResult.h.
|
friend |
Print the object.
Definition at line 173 of file EcalVetoResult.cxx.
|
private |
Definition at line 261 of file EcalVetoResult.h.
|
private |
Definition at line 253 of file EcalVetoResult.h.
|
private |
discriminator value from the BDT
Definition at line 297 of file EcalVetoResult.h.
Referenced by clear().
|
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 263 of file EcalVetoResult.h.
|
private |
Definition at line 338 of file EcalVetoResult.h.
|
private |
Definition at line 265 of file EcalVetoResult.h.
|
private |
Definition at line 272 of file EcalVetoResult.h.
|
private |
Angular separation between the projected photon and electron trajectories as projected at the ECAL.
Definition at line 325 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 328 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 334 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 336 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 332 of file EcalVetoResult.h.
Referenced by clear(), and setVariables().
|
private |
is the recoil electron fiducial in ECAL?
Definition at line 300 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 286 of file EcalVetoResult.h.
|
private |
Definition at line 277 of file EcalVetoResult.h.
|
private |
Definition at line 278 of file EcalVetoResult.h.
|
private |
Definition at line 257 of file EcalVetoResult.h.
|
private |
Definition at line 252 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 322 of file EcalVetoResult.h.
Referenced by clear(), and setVariables().
|
private |
Definition at line 287 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 288 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 290 of file EcalVetoResult.h.
|
private |
Definition at line 292 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 |
Definition at line 270 of file EcalVetoResult.h.
|
private |
Flag indicating whether the event is vetoed by the Ecal.
Definition at line 250 of file EcalVetoResult.h.
Referenced by clear(), and passesVeto().
|
private |
Definition at line 266 of file EcalVetoResult.h.
|
private |
px of recoil electron at the Ecal face.
Definition at line 306 of file EcalVetoResult.h.
Referenced by clear(), getRecoilMomentum(), and setVariables().
|
private |
py of recoil electron at the Ecal face.
Definition at line 309 of file EcalVetoResult.h.
Referenced by clear(), getRecoilMomentum(), and setVariables().
|
private |
pz of recoil electron at the Ecal face.
Definition at line 312 of file EcalVetoResult.h.
Referenced by clear(), getRecoilMomentum(), and setVariables().
|
private |
x-position of recoil electron at the Ecal face.
Definition at line 315 of file EcalVetoResult.h.
Referenced by clear(), getRecoilX(), and setVariables().
|
private |
y-position of recoil electron at the Ecal face.
Definition at line 318 of file EcalVetoResult.h.
Referenced by clear(), getRecoilY(), and setVariables().
|
private |
Definition at line 258 of file EcalVetoResult.h.
|
private |
Definition at line 262 of file EcalVetoResult.h.
|
private |
Definition at line 255 of file EcalVetoResult.h.
|
private |
Definition at line 256 of file EcalVetoResult.h.
|
private |
is the recoil electron fiducial in Tracker?
Definition at line 303 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.
|
private |
Definition at line 274 of file EcalVetoResult.h.
|
private |
Definition at line 260 of file EcalVetoResult.h.
|
private |
Definition at line 276 of file EcalVetoResult.h.