CDTrackedHitInfo Class Reference

#include <CDTrackedHitInfo.h>

List of all members.

Public Types

enum  ECDChargeType {
  kAdc = 0, kSigLin = 1, kSigCorr = 2, kPe = 3,
  kMip = 4
}
typedef enum
CDTrackedHitInfo::ECDChargeType 
CDChargeType_t

Public Member Functions

 CDTrackedHitInfo ()
 CDTrackedHitInfo (int, int, int, float, float, float, float, float, float, float, float, float, float, float, double)
void SetInfo (int, int, int, float, float, float, float, float, float, float, float, float, float, float, double)
int GetEnd ()
int GetPlane ()
int GetStrip ()
float GetCharge ()
float GetCharge (int opt)
float GetCharge (ECDChargeType chargeType)
float GetDyDz ()
float GetDxDz ()
float GetDzDs ()
float GetPathLengthCor ()
float GetYPos ()
float GetTransPos ()
double GetTime ()

Private Attributes

int fend
int fplane
int fstrip
float fadc
float fsiglin
float fsigcorr
float fpe
float fmip
float fdydz
float fdxdz
float fdzds
float fplcor
float fypos
float ftranspos
double ftime

Detailed Description

Definition at line 17 of file CDTrackedHitInfo.h.


Member Typedef Documentation


Member Enumeration Documentation

Enumerator:
kAdc 
kSigLin 
kSigCorr 
kPe 
kMip 

Definition at line 22 of file CDTrackedHitInfo.h.

00022                              {
00023     kAdc     = 0,
00024     kSigLin  = 1,
00025     kSigCorr = 2,
00026     kPe      = 3,
00027     kMip     = 4
00028   } CDChargeType_t;


Constructor & Destructor Documentation

CDTrackedHitInfo::CDTrackedHitInfo (  ) 

Definition at line 18 of file CDTrackedHitInfo.cxx.

00019 {
00020   fend=0;
00021   fplane=-1;
00022   fstrip=-1;
00023   fadc=0;
00024   fsiglin=0;
00025   fsigcorr=0;
00026   fpe=0;
00027   fmip=0;
00028   fdydz=0;
00029   fdxdz=0;
00030   fdzds=0;
00031   fplcor=0;
00032   fypos=0;
00033   ftranspos=-1;
00034   ftime=0;
00035 }

CDTrackedHitInfo::CDTrackedHitInfo ( int  end,
int  plane,
int  strip,
float  adc,
float  siglin,
float  sigcorr,
float  pe,
float  mip,
float  dydz,
float  dxdz,
float  dzds,
float  plcor,
float  ypos,
float  transpos,
double  time 
)

Definition at line 39 of file CDTrackedHitInfo.cxx.

References SetInfo().

00045 {
00046   this->SetInfo(end,plane,strip,adc,siglin,sigcorr,pe,mip,dydz,dxdz,
00047                 dzds,plcor,ypos,transpos,time);
00048 }


Member Function Documentation

float CDTrackedHitInfo::GetCharge ( ECDChargeType  chargeType  ) 

Definition at line 89 of file CDTrackedHitInfo.cxx.

References fadc, fmip, fpe, fsigcorr, fsiglin, kAdc, kMip, kPe, kSigCorr, and kSigLin.

00090 {
00091     if(chargeType==kAdc) return fadc;
00092     else if(chargeType==kSigLin) return fsiglin;
00093     else if(chargeType==kSigCorr) return fsigcorr;
00094     else if(chargeType==kPe) return fpe;
00095     else if(chargeType==kMip) return fmip;
00096     else return fadc;
00097 }

float CDTrackedHitInfo::GetCharge ( int  opt  ) 

Definition at line 77 of file CDTrackedHitInfo.cxx.

References fadc, fmip, fpe, fsigcorr, and fsiglin.

00078 {
00079     if(opt==0) return fadc;
00080     else if(opt==1) return fsiglin;
00081     else if(opt==2) return fsigcorr;
00082     else if(opt==3) return fpe;
00083     else if(opt==4) return fmip;
00084     else return fadc;
00085 }

float CDTrackedHitInfo::GetCharge (  )  [inline]
float CDTrackedHitInfo::GetDxDz (  )  [inline]

Definition at line 44 of file CDTrackedHitInfo.h.

References fdxdz.

Referenced by CDAnalysis::CleanMuons(), main(), CDAnalysis::ValidateTrkHits(), and CDAnalysis::ValidateUnTrkHits().

00044 {return fdxdz;}

float CDTrackedHitInfo::GetDyDz (  )  [inline]

Definition at line 43 of file CDTrackedHitInfo.h.

References fdydz.

Referenced by CDAnalysis::CleanMuons(), main(), CDAnalysis::ValidateTrkHits(), and CDAnalysis::ValidateUnTrkHits().

00043 {return fdydz;}

float CDTrackedHitInfo::GetDzDs (  )  [inline]

Definition at line 45 of file CDTrackedHitInfo.h.

References fdzds.

Referenced by CDAnalysis::CleanMuons(), main(), CDAnalysis::ValidateTrkHits(), and CDAnalysis::ValidateUnTrkHits().

00045 {return fdzds;}

int CDTrackedHitInfo::GetEnd (  )  [inline]
float CDTrackedHitInfo::GetPathLengthCor (  )  [inline]

Definition at line 46 of file CDTrackedHitInfo.h.

References fplcor.

00046 {return fplcor;}

int CDTrackedHitInfo::GetPlane (  )  [inline]
int CDTrackedHitInfo::GetStrip (  )  [inline]
double CDTrackedHitInfo::GetTime (  )  [inline]

Definition at line 49 of file CDTrackedHitInfo.h.

References ftime.

Referenced by main(), CDAnalysis::ReadInHitInfo(), and ShowEvent().

00049 {return ftime;}

float CDTrackedHitInfo::GetTransPos (  )  [inline]
float CDTrackedHitInfo::GetYPos (  )  [inline]

Definition at line 47 of file CDTrackedHitInfo.h.

References fypos.

Referenced by CDAnalysis::CleanMuons(), main(), CDAnalysis::ValidateTrkHits(), and CDAnalysis::ValidateUnTrkHits().

00047 {return fypos;}

void CDTrackedHitInfo::SetInfo ( int  end,
int  plane,
int  strip,
float  adc,
float  siglin,
float  sigcorr,
float  pe,
float  mip,
float  dydz,
float  dxdz,
float  dzds,
float  plcor,
float  ypos,
float  transpos,
double  time 
)

Definition at line 52 of file CDTrackedHitInfo.cxx.

References fadc, fdxdz, fdydz, fdzds, fend, fmip, fpe, fplane, fplcor, fsigcorr, fsiglin, fstrip, ftime, ftranspos, and fypos.

Referenced by CDTrackedHitInfo().

00057 {
00058   fend=end; 
00059   fplane=plane; 
00060   fstrip=strip;
00061   fadc=adc;
00062   fsiglin=siglin;
00063   fsigcorr=sigcorr;
00064   fpe=pe;
00065   fmip=mip;
00066   fdydz=dydz;
00067   fdxdz=dxdz;
00068   fdzds=dzds;
00069   fplcor=plcor;
00070   fypos=ypos;
00071   ftranspos=transpos;
00072   ftime=time;
00073 }


Member Data Documentation

float CDTrackedHitInfo::fadc [private]

Definition at line 56 of file CDTrackedHitInfo.h.

Referenced by GetCharge(), and SetInfo().

float CDTrackedHitInfo::fdxdz [private]

Definition at line 62 of file CDTrackedHitInfo.h.

Referenced by GetDxDz(), and SetInfo().

float CDTrackedHitInfo::fdydz [private]

Definition at line 61 of file CDTrackedHitInfo.h.

Referenced by GetDyDz(), and SetInfo().

float CDTrackedHitInfo::fdzds [private]

Definition at line 63 of file CDTrackedHitInfo.h.

Referenced by GetDzDs(), and SetInfo().

int CDTrackedHitInfo::fend [private]

Definition at line 53 of file CDTrackedHitInfo.h.

Referenced by GetEnd(), and SetInfo().

float CDTrackedHitInfo::fmip [private]

Definition at line 60 of file CDTrackedHitInfo.h.

Referenced by GetCharge(), and SetInfo().

float CDTrackedHitInfo::fpe [private]

Definition at line 59 of file CDTrackedHitInfo.h.

Referenced by GetCharge(), and SetInfo().

int CDTrackedHitInfo::fplane [private]

Definition at line 54 of file CDTrackedHitInfo.h.

Referenced by GetPlane(), and SetInfo().

float CDTrackedHitInfo::fplcor [private]

Definition at line 64 of file CDTrackedHitInfo.h.

Referenced by GetPathLengthCor(), and SetInfo().

float CDTrackedHitInfo::fsigcorr [private]

Definition at line 58 of file CDTrackedHitInfo.h.

Referenced by GetCharge(), and SetInfo().

float CDTrackedHitInfo::fsiglin [private]

Definition at line 57 of file CDTrackedHitInfo.h.

Referenced by GetCharge(), and SetInfo().

int CDTrackedHitInfo::fstrip [private]

Definition at line 55 of file CDTrackedHitInfo.h.

Referenced by GetStrip(), and SetInfo().

double CDTrackedHitInfo::ftime [private]

Definition at line 67 of file CDTrackedHitInfo.h.

Referenced by GetTime(), and SetInfo().

float CDTrackedHitInfo::ftranspos [private]

Definition at line 66 of file CDTrackedHitInfo.h.

Referenced by GetTransPos(), and SetInfo().

float CDTrackedHitInfo::fypos [private]

Definition at line 65 of file CDTrackedHitInfo.h.

Referenced by GetYPos(), and SetInfo().


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

Generated on 22 Nov 2017 for loon by  doxygen 1.6.1