LDMX Software
EcalMipResult.cxx
2
3ClassImp(ldmx::EcalMipResult);
4
5namespace ldmx {
6
8
9std::ostream& operator<<(std::ostream& o, const EcalMipResult& c) {
10 return o << "EcalMipResult { n_straight_tracks : " << c.n_straight_tracks_
11 << ", " << "n_linreg_tracks : " << c.n_linreg_tracks_ << ", "
12 << "first_near_ph_layer : " << c.first_near_ph_layer_ << ", "
13 << "n_near_ph_hits : " << c.n_near_ph_hits_ << ", "
14 << "photon_territory_hits : " << c.photon_territory_hits_ << "}";
15}
16
17void EcalMipResult::clear() {
23}
24
25void EcalMipResult::setVariables(int n_straight_tracks, int n_linreg_tracks,
26 int first_near_ph_layer, int n_near_ph_hits,
27 int photon_territory_hits) {
28 n_straight_tracks_ = n_straight_tracks;
29 n_linreg_tracks_ = n_linreg_tracks;
30 first_near_ph_layer_ = first_near_ph_layer;
31 n_near_ph_hits_ = n_near_ph_hits;
32 photon_territory_hits_ = photon_territory_hits;
33}
34
35} // namespace ldmx
Class used to encapsulate the results obtained from EcalMipTrackingProcessor.
virtual ~EcalMipResult()
Destructor.
int first_near_ph_layer_
Earliest ECal layer in which a hit is found near the projected photon trajectory.
int n_near_ph_hits_
Number of hits near the photon trajectory.
int photon_territory_hits_
Number of hits in the photon territory.
int n_linreg_tracks_
Number of "linreg" tracks found in the event.
int n_straight_tracks_
Number of "straight" tracks found in the event.