CDTruthHitInfo Class Reference

#include <CDTruthHitInfo.h>

List of all members.

Public Member Functions

 CDTruthHitInfo ()
 CDTruthHitInfo (Int_t plane, Int_t strip)
void SetEarliestT1 (Double_t earliestT1)
void SetLatestT2 (Double_t latestT2)
void SetMainPartEn (Double_t mainPartEn)
void SetMainPathLength (Double_t mainPL)
void SetMainParticle (Int_t particle)
void SetMainT1 (Double_t t1)
void SetMainX1 (Double_t x1)
void SetMainY1 (Double_t y1)
void SetMainZ1 (Double_t z1)
void SetMainT2 (Double_t t2)
void SetMainX2 (Double_t x2)
void SetMainY2 (Double_t y2)
void SetMainZ2 (Double_t z2)
void SetNumDigiScintHits (Int_t num)
void SetPmtTruth1 (Int_t pmtTruth)
void SetPmtTruth2 (Int_t pmtTruth)
void SetTotalEnDep (Double_t totalEnDep)
void SetVaChip1 (Int_t vaChip)
void SetVaChip2 (Int_t vaChip)
Double_t GetEarliestT1 () const
Double_t GetLatestT2 () const
Double_t GetMainPartEn () const
Double_t GetMainPathLength () const
Int_t GetMainParticle () const
Double_t GetMainT1 () const
Double_t GetMainX1 () const
Double_t GetMainY1 () const
Double_t GetMainZ1 () const
Double_t GetMainT2 () const
Double_t GetMainX2 () const
Double_t GetMainY2 () const
Double_t GetMainZ2 () const
Int_t GetNumDigiScintHits () const
Int_t GetPlane () const
Int_t GetPmtTruth1 () const
Int_t GetPmtTruth2 () const
Int_t GetStrip () const
Double_t GetTotalEnDep () const
Int_t GetVaChip1 () const
Int_t GetVaChip2 () const

Private Member Functions

void InitialiseVariables ()

Private Attributes

Double_t fEarliestT1
Double_t fLatestT2
Double_t fMainPartEn
Int_t fMainParticle
Double_t fMainPathLength
Double_t fMainT1
Double_t fMainX1
Double_t fMainY1
Double_t fMainZ1
Double_t fMainT2
Double_t fMainX2
Double_t fMainY2
Double_t fMainZ2
Int_t fNumDigiScintHits
Int_t fPlane
Int_t fPmtTruth1
Int_t fPmtTruth2
Int_t fStrip
Double_t fTotalEnDep
Int_t fVaChip1
Int_t fVaChip2

Detailed Description

Definition at line 17 of file CDTruthHitInfo.h.


Constructor & Destructor Documentation

CDTruthHitInfo::CDTruthHitInfo (  ) 

Definition at line 18 of file CDTruthHitInfo.cxx.

00019 {
00020   this->InitialiseVariables();
00021 }

CDTruthHitInfo::CDTruthHitInfo ( Int_t  plane,
Int_t  strip 
)

Definition at line 25 of file CDTruthHitInfo.cxx.

References fPlane, fStrip, and InitialiseVariables().

00026 {
00027   this->InitialiseVariables();
00028   fPlane=plane;
00029   fStrip=strip;
00030 }


Member Function Documentation

Double_t CDTruthHitInfo::GetEarliestT1 (  )  const [inline]
Double_t CDTruthHitInfo::GetLatestT2 (  )  const [inline]

Definition at line 47 of file CDTruthHitInfo.h.

References fLatestT2.

Referenced by CDAnalysis::TruthEnDep(), and CDAnalysis::ValidateTruth().

00047 {return fLatestT2;}

Double_t CDTruthHitInfo::GetMainPartEn (  )  const [inline]
Int_t CDTruthHitInfo::GetMainParticle (  )  const [inline]
Double_t CDTruthHitInfo::GetMainPathLength (  )  const [inline]
Double_t CDTruthHitInfo::GetMainT1 (  )  const [inline]

Definition at line 51 of file CDTruthHitInfo.h.

References fMainT1.

Referenced by CDAnalysis::ValidateTruth().

00051 {return fMainT1;}

Double_t CDTruthHitInfo::GetMainT2 (  )  const [inline]

Definition at line 55 of file CDTruthHitInfo.h.

References fMainT2.

Referenced by CDAnalysis::ValidateTruth().

00055 {return fMainT2;}

Double_t CDTruthHitInfo::GetMainX1 (  )  const [inline]

Definition at line 52 of file CDTruthHitInfo.h.

References fMainX1.

Referenced by CDAnalysis::IsStraightTrack(), CDAnalysis::TrueXInStripFrame(), and CDAnalysis::ValidateTruth().

00052 {return fMainX1;}

Double_t CDTruthHitInfo::GetMainX2 (  )  const [inline]

Definition at line 56 of file CDTruthHitInfo.h.

References fMainX2.

Referenced by CDAnalysis::TrueXInStripFrame(), and CDAnalysis::ValidateTruth().

00056 {return fMainX2;}

Double_t CDTruthHitInfo::GetMainY1 (  )  const [inline]

Definition at line 53 of file CDTruthHitInfo.h.

References fMainY1.

Referenced by CDAnalysis::ValidateTruth().

00053 {return fMainY1;}

Double_t CDTruthHitInfo::GetMainY2 (  )  const [inline]

Definition at line 57 of file CDTruthHitInfo.h.

References fMainY2.

Referenced by CDAnalysis::ValidateTruth().

00057 {return fMainY2;}

Double_t CDTruthHitInfo::GetMainZ1 (  )  const [inline]

Definition at line 54 of file CDTruthHitInfo.h.

References fMainZ1.

Referenced by CDAnalysis::ValidateTruth().

00054 {return fMainZ1;}

Double_t CDTruthHitInfo::GetMainZ2 (  )  const [inline]

Definition at line 58 of file CDTruthHitInfo.h.

References fMainZ2.

Referenced by CDAnalysis::ValidateTruth().

00058 {return fMainZ2;}

Int_t CDTruthHitInfo::GetNumDigiScintHits (  )  const [inline]

Definition at line 59 of file CDTruthHitInfo.h.

References fNumDigiScintHits.

Referenced by CDAnalysis::TrueNumDigiScintHits(), and CDAnalysis::ValidateTruth().

00059 {return fNumDigiScintHits;}

Int_t CDTruthHitInfo::GetPlane (  )  const [inline]
Int_t CDTruthHitInfo::GetPmtTruth1 (  )  const [inline]
Int_t CDTruthHitInfo::GetPmtTruth2 (  )  const [inline]
Int_t CDTruthHitInfo::GetStrip (  )  const [inline]
Double_t CDTruthHitInfo::GetTotalEnDep (  )  const [inline]
Int_t CDTruthHitInfo::GetVaChip1 (  )  const [inline]

Definition at line 65 of file CDTruthHitInfo.h.

References fVaChip1.

Referenced by CDAnalysis::IsSharedPmtHit(), CDAnalysis::TruthAnalysis(), and CDAnalysis::ValidateTruth().

00065 {return fVaChip1;}

Int_t CDTruthHitInfo::GetVaChip2 (  )  const [inline]

Definition at line 66 of file CDTruthHitInfo.h.

References fVaChip2.

Referenced by CDAnalysis::IsSharedPmtHit(), CDAnalysis::TruthAnalysis(), and CDAnalysis::ValidateTruth().

00066 {return fVaChip2;}

void CDTruthHitInfo::InitialiseVariables (  )  [private]

Definition at line 34 of file CDTruthHitInfo.cxx.

References MuELoss::e, fEarliestT1, fLatestT2, fMainPartEn, fMainParticle, fMainPathLength, fMainT1, fMainT2, fMainX1, fMainX2, fMainY1, fMainY2, fMainZ1, fMainZ2, fNumDigiScintHits, fPlane, fPmtTruth1, fPmtTruth2, fStrip, fTotalEnDep, fVaChip1, and fVaChip2.

Referenced by CDTruthHitInfo().

00035 {
00036   fEarliestT1=-1e-9;
00037   fLatestT2=-1e-9;
00038   fMainPartEn=-1;
00039   fMainParticle=0;
00040   fMainPathLength=0;
00041   fMainT1=0;
00042   fMainX1=0;
00043   fMainY1=0;
00044   fMainZ1=0;
00045   fMainT2=0;
00046   fMainX2=0;
00047   fMainY2=0;
00048   fMainZ2=0;
00049   fNumDigiScintHits=0;
00050   fPlane=-1;
00051   fPmtTruth1=-1;
00052   fPmtTruth2=-1;
00053   fStrip=-1;
00054   fTotalEnDep=-1;
00055   fVaChip1=-1;
00056   fVaChip2=-1;
00057 }

void CDTruthHitInfo::SetEarliestT1 ( Double_t  earliestT1  )  [inline]

Definition at line 25 of file CDTruthHitInfo.h.

References fEarliestT1.

Referenced by CDTruthifier::GetTruthHitInfo().

00025 {fEarliestT1=earliestT1;}

void CDTruthHitInfo::SetLatestT2 ( Double_t  latestT2  )  [inline]

Definition at line 26 of file CDTruthHitInfo.h.

References fLatestT2.

Referenced by CDTruthifier::GetTruthHitInfo().

00026 {fLatestT2=latestT2;}

void CDTruthHitInfo::SetMainPartEn ( Double_t  mainPartEn  )  [inline]

Definition at line 27 of file CDTruthHitInfo.h.

References fMainPartEn.

Referenced by CDTruthifier::GetTruthHitInfo().

00027 {fMainPartEn=mainPartEn;}

void CDTruthHitInfo::SetMainParticle ( Int_t  particle  )  [inline]

Definition at line 29 of file CDTruthHitInfo.h.

References fMainParticle.

Referenced by CDTruthifier::GetTruthHitInfo().

00029 {fMainParticle=particle;}  

void CDTruthHitInfo::SetMainPathLength ( Double_t  mainPL  )  [inline]

Definition at line 28 of file CDTruthHitInfo.h.

References fMainPathLength.

Referenced by CDTruthifier::GetTruthHitInfo().

00028 {fMainPathLength=mainPL;}

void CDTruthHitInfo::SetMainT1 ( Double_t  t1  )  [inline]

Definition at line 30 of file CDTruthHitInfo.h.

References fMainT1.

Referenced by CDTruthifier::GetTruthHitInfo().

00030 {fMainT1=t1;}

void CDTruthHitInfo::SetMainT2 ( Double_t  t2  )  [inline]

Definition at line 34 of file CDTruthHitInfo.h.

References fMainT2.

Referenced by CDTruthifier::GetTruthHitInfo().

00034 {fMainT2=t2;}

void CDTruthHitInfo::SetMainX1 ( Double_t  x1  )  [inline]

Definition at line 31 of file CDTruthHitInfo.h.

References fMainX1.

Referenced by CDTruthifier::GetTruthHitInfo().

00031 {fMainX1=x1;}

void CDTruthHitInfo::SetMainX2 ( Double_t  x2  )  [inline]

Definition at line 35 of file CDTruthHitInfo.h.

References fMainX2.

Referenced by CDTruthifier::GetTruthHitInfo().

00035 {fMainX2=x2;}

void CDTruthHitInfo::SetMainY1 ( Double_t  y1  )  [inline]

Definition at line 32 of file CDTruthHitInfo.h.

References fMainY1.

Referenced by CDTruthifier::GetTruthHitInfo().

00032 {fMainY1=y1;}

void CDTruthHitInfo::SetMainY2 ( Double_t  y2  )  [inline]

Definition at line 36 of file CDTruthHitInfo.h.

References fMainY2.

Referenced by CDTruthifier::GetTruthHitInfo().

00036 {fMainY2=y2;}

void CDTruthHitInfo::SetMainZ1 ( Double_t  z1  )  [inline]

Definition at line 33 of file CDTruthHitInfo.h.

References fMainZ1.

Referenced by CDTruthifier::GetTruthHitInfo().

00033 {fMainZ1=z1;}

void CDTruthHitInfo::SetMainZ2 ( Double_t  z2  )  [inline]

Definition at line 37 of file CDTruthHitInfo.h.

References fMainZ2.

Referenced by CDTruthifier::GetTruthHitInfo().

00037 {fMainZ2=z2;}

void CDTruthHitInfo::SetNumDigiScintHits ( Int_t  num  )  [inline]

Definition at line 38 of file CDTruthHitInfo.h.

References fNumDigiScintHits.

Referenced by CDTruthifier::GetTruthHitInfo().

00038 {fNumDigiScintHits=num;}

void CDTruthHitInfo::SetPmtTruth1 ( Int_t  pmtTruth  )  [inline]

Definition at line 39 of file CDTruthHitInfo.h.

References fPmtTruth1.

Referenced by CDTruthifier::GetTruthHitInfo().

00039 {fPmtTruth1=pmtTruth;}

void CDTruthHitInfo::SetPmtTruth2 ( Int_t  pmtTruth  )  [inline]

Definition at line 40 of file CDTruthHitInfo.h.

References fPmtTruth2.

Referenced by CDTruthifier::GetTruthHitInfo().

00040 {fPmtTruth2=pmtTruth;}

void CDTruthHitInfo::SetTotalEnDep ( Double_t  totalEnDep  )  [inline]

Definition at line 41 of file CDTruthHitInfo.h.

References fTotalEnDep.

Referenced by CDTruthifier::GetTruthHitInfo().

00041 {fTotalEnDep=totalEnDep;}

void CDTruthHitInfo::SetVaChip1 ( Int_t  vaChip  )  [inline]

Definition at line 42 of file CDTruthHitInfo.h.

References fVaChip1.

Referenced by CDTruthifier::GetTruthHitInfo().

00042 {fVaChip1=vaChip;}

void CDTruthHitInfo::SetVaChip2 ( Int_t  vaChip  )  [inline]

Definition at line 43 of file CDTruthHitInfo.h.

References fVaChip2.

Referenced by CDTruthifier::GetTruthHitInfo().

00043 {fVaChip2=vaChip;}


Member Data Documentation

Double_t CDTruthHitInfo::fEarliestT1 [private]

Definition at line 74 of file CDTruthHitInfo.h.

Referenced by GetEarliestT1(), InitialiseVariables(), and SetEarliestT1().

Double_t CDTruthHitInfo::fLatestT2 [private]

Definition at line 75 of file CDTruthHitInfo.h.

Referenced by GetLatestT2(), InitialiseVariables(), and SetLatestT2().

Double_t CDTruthHitInfo::fMainPartEn [private]

Definition at line 76 of file CDTruthHitInfo.h.

Referenced by GetMainPartEn(), InitialiseVariables(), and SetMainPartEn().

Definition at line 77 of file CDTruthHitInfo.h.

Referenced by GetMainParticle(), InitialiseVariables(), and SetMainParticle().

Double_t CDTruthHitInfo::fMainPathLength [private]

Definition at line 78 of file CDTruthHitInfo.h.

Referenced by GetMainPathLength(), InitialiseVariables(), and SetMainPathLength().

Double_t CDTruthHitInfo::fMainT1 [private]

Definition at line 79 of file CDTruthHitInfo.h.

Referenced by GetMainT1(), InitialiseVariables(), and SetMainT1().

Double_t CDTruthHitInfo::fMainT2 [private]

Definition at line 83 of file CDTruthHitInfo.h.

Referenced by GetMainT2(), InitialiseVariables(), and SetMainT2().

Double_t CDTruthHitInfo::fMainX1 [private]

Definition at line 80 of file CDTruthHitInfo.h.

Referenced by GetMainX1(), InitialiseVariables(), and SetMainX1().

Double_t CDTruthHitInfo::fMainX2 [private]

Definition at line 84 of file CDTruthHitInfo.h.

Referenced by GetMainX2(), InitialiseVariables(), and SetMainX2().

Double_t CDTruthHitInfo::fMainY1 [private]

Definition at line 81 of file CDTruthHitInfo.h.

Referenced by GetMainY1(), InitialiseVariables(), and SetMainY1().

Double_t CDTruthHitInfo::fMainY2 [private]

Definition at line 85 of file CDTruthHitInfo.h.

Referenced by GetMainY2(), InitialiseVariables(), and SetMainY2().

Double_t CDTruthHitInfo::fMainZ1 [private]

Definition at line 82 of file CDTruthHitInfo.h.

Referenced by GetMainZ1(), InitialiseVariables(), and SetMainZ1().

Double_t CDTruthHitInfo::fMainZ2 [private]

Definition at line 86 of file CDTruthHitInfo.h.

Referenced by GetMainZ2(), InitialiseVariables(), and SetMainZ2().

Definition at line 87 of file CDTruthHitInfo.h.

Referenced by GetNumDigiScintHits(), InitialiseVariables(), and SetNumDigiScintHits().

Int_t CDTruthHitInfo::fPlane [private]

Definition at line 88 of file CDTruthHitInfo.h.

Referenced by CDTruthHitInfo(), GetPlane(), and InitialiseVariables().

Int_t CDTruthHitInfo::fPmtTruth1 [private]

Definition at line 89 of file CDTruthHitInfo.h.

Referenced by GetPmtTruth1(), InitialiseVariables(), and SetPmtTruth1().

Int_t CDTruthHitInfo::fPmtTruth2 [private]

Definition at line 90 of file CDTruthHitInfo.h.

Referenced by GetPmtTruth2(), InitialiseVariables(), and SetPmtTruth2().

Int_t CDTruthHitInfo::fStrip [private]

Definition at line 91 of file CDTruthHitInfo.h.

Referenced by CDTruthHitInfo(), GetStrip(), and InitialiseVariables().

Double_t CDTruthHitInfo::fTotalEnDep [private]

Definition at line 92 of file CDTruthHitInfo.h.

Referenced by GetTotalEnDep(), InitialiseVariables(), and SetTotalEnDep().

Int_t CDTruthHitInfo::fVaChip1 [private]

Definition at line 93 of file CDTruthHitInfo.h.

Referenced by GetVaChip1(), InitialiseVariables(), and SetVaChip1().

Int_t CDTruthHitInfo::fVaChip2 [private]

Definition at line 94 of file CDTruthHitInfo.h.

Referenced by GetVaChip2(), InitialiseVariables(), and SetVaChip2().


The documentation for this class was generated from the following files:

Generated on 2 Nov 2017 for loon by  doxygen 1.6.1