All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SRTrackCalo.h
Go to the documentation of this file.
1 ////////////////////////////////////////////////////////////////////////
2 // \file SRTrackCalo.h
3 ////////////////////////////////////////////////////////////////////////
4 #ifndef SRTRACKCALO_H
5 #define SRTRACKCALO_H
6 
7 #include <vector>
9 
10 namespace caf
11 {
12 
13  class SRCaloPoint {
14  public:
15 
16  SRCaloPoint();
17  virtual ~SRCaloPoint() {}
18 
19  float rr; //!< Residual Range [cm]
20  float dqdx; //!< dE/dx [MeV/cm]
21  float dedx; //!< dQ/dx [ADC/cm] -- pre calibration and electron lifetime correction
22  float pitch; //!< Track pitch [cm]
23  float t; //!< Time of deposition [ticks]
24  SRVector3D p; //!< Position of deposition [cm]
25  float integral; //!< Hit Charge Integral [ADC]
26  float sumadc; //!< Hit Charge SummedADC [ADC]
27  short wire; //!< Wire of Calo-Point
28  };
29 
30 
31  /// Calorimetry information
33  {
34  public:
35 
36  SRTrackCalo();
37  virtual ~SRTrackCalo();
38 
39  int nhit; //!< Number of hits on this plane counted in the calorimetry
40  float ke; //!< Kinetic energy deposited on this plane [GeV]
41  float charge; //!< Deposited charge as seen by wireplane (pre recombination and electric lifetime corrections) [ADC]
42  std::vector<SRCaloPoint> points; //!< Information saved per-point
43  void setDefault();
44  };
45 
46 } // end namespace
47 
48 #endif // SRTRACKCALO_H
49 //////////////////////////////////////////////////////////////////////////////
float integral
Hit Charge Integral [ADC].
Definition: SRTrackCalo.h:25
A 3-vector with more efficient storage than TVector3.
Definition: SRVector3D.h:16
SRVector3D p
Position of deposition [cm].
Definition: SRTrackCalo.h:24
float sumadc
Hit Charge SummedADC [ADC].
Definition: SRTrackCalo.h:26
virtual ~SRTrackCalo()
Definition: SRTrackCalo.cxx:31
float dqdx
dE/dx [MeV/cm]
Definition: SRTrackCalo.h:20
float rr
Residual Range [cm].
Definition: SRTrackCalo.h:19
float charge
Deposited charge as seen by wireplane (pre recombination and electric lifetime corrections) [ADC]...
Definition: SRTrackCalo.h:41
std::vector< SRCaloPoint > points
Information saved per-point.
Definition: SRTrackCalo.h:42
virtual ~SRCaloPoint()
Definition: SRTrackCalo.h:17
float dedx
dQ/dx [ADC/cm] – pre calibration and electron lifetime correction
Definition: SRTrackCalo.h:21
Calorimetry information.
Definition: SRTrackCalo.h:32
float ke
Kinetic energy deposited on this plane [GeV].
Definition: SRTrackCalo.h:40
float t
Time of deposition [ticks].
Definition: SRTrackCalo.h:23
int nhit
Number of hits on this plane counted in the calorimetry.
Definition: SRTrackCalo.h:39
float pitch
Track pitch [cm].
Definition: SRTrackCalo.h:22
short wire
Wire of Calo-Point.
Definition: SRTrackCalo.h:27