All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SRShower.h
Go to the documentation of this file.
1 ////////////////////////////////////////////////////////////////////////
2 // \file SRShower.h
3 ////////////////////////////////////////////////////////////////////////
4 #ifndef SRSHOWER_H
5 #define SRSHOWER_H
6 
12 
13 namespace caf
14 {
16  {
17  public:
19 
20  float dEdx; ///< shower calculated dEdx for this plane [MeV/cm]
21  float energy; ///< shower calculated energy for this plane [GeV]
22  unsigned int nHits; ///< Number of hits associated to the shower for this plane
23  float wirePitch; ///< Wire pitch corrected for the angle of the shower for this plane [cm]
24  };
25 
26  /// Representation of a rb::Shower, knows energy and direction, but not a list
27  /// of hits.
28  class SRShower
29  {
30  public:
31  SRShower();
32  ~SRShower(){ }
33  int bestplane; ///< shower best reconstructed plane
34  float bestplane_dEdx; ///< shower dEdx at best plane [MeV/cm]
35  float bestplane_energy; ///< shower energy at best plane [GeV]
36  float conversion_gap; ///< shower start and vertex position difference [cm]
37  float density; ///< shower density [MeV/cm]
38  float len; ///< shower length [cm]
39  float open_angle; ///< shower opening angle [rad]
41  SRVector3D dir; ///< direction cosines at the start of the shower
42  SRVector3D start; ///< shower start point in detector coordinates [cm]
43  SRVector3D end; ///< shower end point (start+len*dir) in detector coordinates [cm]
44  float cosmicDist; ///< Distance of closest approach to cosmic ray [cm]
45 
46  SRPFP pfp; ///< Contains the hierarchy and metadata from Pandora
47 
48  SRShowerRazzle razzle; ///< Results from the shower PID MVA
50  SRTrackTruth truth; ///< truth information TODO: make seperate showe info class
51 
52  unsigned producer; ///< Index of the producer that produced this object. In ICARUS, this is the same as the cryostat.
53 
54  };
55 
56 } // end namespace
57 
58 #endif // SRSHOWER_H
59 //////////////////////////////////////////////////////////////////////////////
int bestplane
shower best reconstructed plane
Definition: SRShower.h:33
A 3-vector with more efficient storage than TVector3.
Definition: SRVector3D.h:16
SRVector3D dir
direction cosines at the start of the shower
Definition: SRShower.h:41
float wirePitch
Wire pitch corrected for the angle of the shower for this plane [cm].
Definition: SRShower.h:23
Shower Selection metrics calculated by ShowerSelectionVals.
float dEdx
shower calculated dEdx for this plane [MeV/cm]
Definition: SRShower.h:20
float density
shower density [MeV/cm]
Definition: SRShower.h:37
float bestplane_dEdx
shower dEdx at best plane [MeV/cm]
Definition: SRShower.h:34
SRShowerPlaneInfo plane[3]
Definition: SRShower.h:40
float cosmicDist
Distance of closest approach to cosmic ray [cm].
Definition: SRShower.h:44
float open_angle
shower opening angle [rad]
Definition: SRShower.h:39
unsigned int nHits
Number of hits associated to the shower for this plane.
Definition: SRShower.h:22
Representation of Shower MVA PID outputs.
Definition: SRShowerRazzle.h:9
SRVector3D start
shower start point in detector coordinates [cm]
Definition: SRShower.h:42
SRPFP pfp
Contains the hierarchy and metadata from Pandora.
Definition: SRShower.h:46
SRShowerRazzle razzle
Results from the shower PID MVA.
Definition: SRShower.h:48
SRVector3D end
shower end point (start+len*dir) in detector coordinates [cm]
Definition: SRShower.h:43
float bestplane_energy
shower energy at best plane [GeV]
Definition: SRShower.h:35
unsigned producer
Index of the producer that produced this object. In ICARUS, this is the same as the cryostat...
Definition: SRShower.h:52
float conversion_gap
shower start and vertex position difference [cm]
Definition: SRShower.h:36
float energy
shower calculated energy for this plane [GeV]
Definition: SRShower.h:21
float len
shower length [cm]
Definition: SRShower.h:38
Representation of a rb::PFParticle, with hierarchy and Pandora metadata.
Definition: SRPFP.h:13
SRTrackTruth truth
truth information TODO: make seperate showe info class
Definition: SRShower.h:50
SRShowerSelection selVars
Definition: SRShower.h:49