SRShower.h
Go to the documentation of this file.
1 ////////////////////////////////////////////////////////////////////////
2 // \file SRShower.h
3 // \version $Id: SRShower.h,v 1.5 2012-11-13 22:06:10 rocco Exp $
4 // \author $Author: rocco $
5 // \date $Date: 2012-11-13 22:06:10 $
6 ////////////////////////////////////////////////////////////////////////
7 #ifndef SRSHOWER_H
8 #define SRSHOWER_H
10 
13 
14 namespace caf
15 {
16  /// An SRShower is a simple descriptor for a shower. This class does not
17  /// contain individual cell hits, but does know it's energy and direction.
18  class SRShower
19  {
20  public:
21  SRShower();
22 
23  ~SRShower();
24 
25  unsigned short nhit; ///< number of hits
26  unsigned short nhitx; ///< number of hits in x-view
27  unsigned short nhity; ///< number of hits in y-view
28  unsigned short nplane; ///< number of planes spanned
29  unsigned short maxplanecont; ///< maximum number of contiguous planes in prong
30  unsigned short maxplanegap; ///< maximum number of gapped planes in prong
31  float calE; ///< energy based on summed calibrated deposited charge [GeV]
32  SRVector3D start; ///< Shower start point in detector coordinates. [cm]
33  SRVector3D dir; ///< Shower direction at start point [unit vector recommended]
34  float len; ///< track length [cm]
35  View_t view; ///< Prong view caf::kX = 0, caf::kY = 1 or caf::kXorY = 2
36 
37  float width; ///< Shower width [cm]
38  unsigned short nplanex; ///< number of planes spanned in x view
39  unsigned short nplaney; ///< number of planes spanned in y view
40  float gap; ///< gap from shower start to ElasticArms vertex [cm]
41  SRVector3D stop; ///< shower stop point
42  SRParticleTruth truth; ///< Truth information for the prong
43  SRParticleTruth truthXView; ///< Truth information for the prong
44  SRParticleTruth truthYView; ///< Truth information for the prong
45 
46  };
47 
48 } // end namespace
49 
50 #endif // SRSHOWER_H
51 //////////////////////////////////////////////////////////////////////////////
unsigned short maxplanecont
maximum number of contiguous planes in prong
Definition: SRShower.h:29
A 3-vector with more efficient storage than TVector3.
Definition: SRVector3D.h:14
SRVector3D dir
Shower direction at start point [unit vector recommended].
Definition: SRShower.h:33
unsigned short nplaney
number of planes spanned in y view
Definition: SRShower.h:39
float gap
gap from shower start to ElasticArms vertex [cm]
Definition: SRShower.h:40
unsigned short nhit
number of hits
Definition: SRShower.h:25
View_t
Detector view, following GeometryObjects/PlaneGeo.h.
Definition: SREnums.h:20
unsigned short nhitx
number of hits in x-view
Definition: SRShower.h:26
SRParticleTruth truth
Truth information for the prong.
Definition: SRShower.h:42
float calE
energy based on summed calibrated deposited charge [GeV]
Definition: SRShower.h:31
The truth information of reco objects within a slice.
unsigned short nplanex
number of planes spanned in x view
Definition: SRShower.h:38
SRVector3D start
Shower start point in detector coordinates. [cm].
Definition: SRShower.h:32
SRParticleTruth truthYView
Truth information for the prong.
Definition: SRShower.h:44
unsigned short nplane
number of planes spanned
Definition: SRShower.h:28
unsigned short nhity
number of hits in y-view
Definition: SRShower.h:27
SRVector3D stop
shower stop point
Definition: SRShower.h:41
This module creates Common Analysis Files.
Definition: FileReducer.h:10
float len
track length [cm]
Definition: SRShower.h:34
unsigned short maxplanegap
maximum number of gapped planes in prong
Definition: SRShower.h:30
float width
Shower width [cm].
Definition: SRShower.h:37
View_t view
Prong view caf::kX = 0, caf::kY = 1 or caf::kXorY = 2.
Definition: SRShower.h:35
SRParticleTruth truthXView
Truth information for the prong.
Definition: SRShower.h:43