CDTrackInfo Class Reference

#include <CDTrackInfo.h>

List of all members.

Public Member Functions

 CDTrackInfo ()
 CDTrackInfo (int, int, int, int, double, float, float, float *, float *, float *, float *, float, double, int, bool)
 ~CDTrackInfo ()
int GetResult (int)
int GetNHits (int)
double GetTime ()
float GetTotPE ()
float GetTrkPE ()
bool IsCCHit ()
float * GetVertex (int)
float * GetAngle (int)
float GetRange ()
void SetRange (float trk_range)
void SetAbsTime (double abstime)
double GetAbsTime ()
void SetTriggerTime (int triggertime)
int GetTriggerTime ()

Private Attributes

int fevenresult
int foddresult
int fnhits_even
int fnhits_odd
double ftime
float ftot_pe
float ftrk_pe
float fvertex1 [2]
float fvertex2 [2]
float fevenangle [2]
float foddangle [2]
float ftrk_range
double fabstime
int ftriggertime
bool fCC_Hit

Detailed Description

Definition at line 19 of file CDTrackInfo.h.


Constructor & Destructor Documentation

CDTrackInfo::CDTrackInfo (  ) 

Definition at line 23 of file CDTrackInfo.cxx.

00024 {
00025   fevenresult = 0;
00026   foddresult = 0;
00027   fnhits_even = 0;
00028   fnhits_odd = 0;
00029   ftot_pe = 0;
00030   ftrk_pe = 0;
00031   ftime = 0.;
00032   fvertex1[0] = 0;
00033   fvertex1[1] = 0;
00034   fvertex2[0] = 0;
00035   fvertex2[1] = 0;
00036   fevenangle[0] = 0;
00037   fevenangle[1] = 0;
00038   foddangle[0] = 0;
00039   foddangle[1] = 0;
00040   ftrk_range = 0;
00041   fabstime = 0;
00042   ftriggertime = 0;
00043   fCC_Hit = false;
00044 }

CDTrackInfo::CDTrackInfo ( int  evenresult,
int  oddresult,
int  nhits_even,
int  nhits_odd,
double  time,
float  tot_pe,
float  trk_pe,
float *  vertex1,
float *  vertex2,
float *  evenangle,
float *  oddangle,
float  trk_range,
double  abstime,
int  triggertime,
bool  CC_Hit 
)

Definition at line 48 of file CDTrackInfo.cxx.

References fabstime, fCC_Hit, fevenangle, fevenresult, fnhits_even, fnhits_odd, foddangle, foddresult, ftime, ftot_pe, ftriggertime, ftrk_pe, ftrk_range, fvertex1, and fvertex2.

00055 {
00056   fevenresult = evenresult;
00057   foddresult = oddresult;
00058   fnhits_even = nhits_even;
00059   fnhits_odd = nhits_odd;
00060   ftot_pe = tot_pe;
00061   ftrk_pe = trk_pe;
00062   ftime = time;
00063   fvertex1[0] = vertex1[0];
00064   fvertex1[1] = vertex1[1];
00065   fvertex2[0] = vertex2[0];
00066   fvertex2[1] = vertex2[1];
00067   fevenangle[0] = evenangle[0];
00068   fevenangle[1] = evenangle[1];
00069   foddangle[0] = oddangle[0];
00070   foddangle[1] = oddangle[1];
00071   ftrk_range = trk_range;
00072   fabstime = abstime;
00073   ftriggertime = triggertime;
00074   fCC_Hit = CC_Hit;
00075 }

CDTrackInfo::~CDTrackInfo (  ) 

Definition at line 79 of file CDTrackInfo.cxx.

00080 {
00081   //default destructor
00082 }


Member Function Documentation

double CDTrackInfo::GetAbsTime (  )  [inline]

Definition at line 60 of file CDTrackInfo.h.

References fabstime.

00060 {return fabstime;}  

float * CDTrackInfo::GetAngle ( int  a  ) 

Definition at line 110 of file CDTrackInfo.cxx.

References fevenangle, and foddangle.

Referenced by CDTrackerModule::Ana(), and main().

00110                                   {
00111   if(a==0) return fevenangle;
00112   else if(a==1) return foddangle;
00113   return 0;
00114 }

int CDTrackInfo::GetNHits ( int  a  ) 

Definition at line 94 of file CDTrackInfo.cxx.

References fnhits_even, and fnhits_odd.

Referenced by main().

00094                                {
00095   if(a==0) return fnhits_even;
00096   else if(a==1) return fnhits_odd;
00097   return -1;
00098 }

float CDTrackInfo::GetRange (  )  [inline]

Definition at line 57 of file CDTrackInfo.h.

References ftrk_range.

Referenced by main().

00057 {return ftrk_range;}

int CDTrackInfo::GetResult ( int  a  ) 

Definition at line 86 of file CDTrackInfo.cxx.

References fevenresult, and foddresult.

Referenced by CDTrackerModule::Ana(), CDAnalysis::CleanMuons(), main(), CDAnalysis::ReadInHitInfo(), CDAnalysis::ValidateTrkHits(), CDAnalysis::ValidateUnTrkHits(), and CDAnalysis::ValidateXTalkHits().

00086                                 {
00087   if(a==0) return fevenresult; 
00088   else if(a==1) return foddresult;
00089   return -1;
00090 }

double CDTrackInfo::GetTime (  )  [inline]

Definition at line 51 of file CDTrackInfo.h.

References ftime.

00051 {return ftime;}

float CDTrackInfo::GetTotPE (  )  [inline]

Definition at line 52 of file CDTrackInfo.h.

References ftot_pe.

00052 {return ftot_pe;}

int CDTrackInfo::GetTriggerTime (  )  [inline]

Definition at line 62 of file CDTrackInfo.h.

References ftriggertime.

Referenced by main().

00062 {return ftriggertime;}

float CDTrackInfo::GetTrkPE (  )  [inline]

Definition at line 53 of file CDTrackInfo.h.

References ftrk_pe.

00053 {return ftrk_pe;}

float * CDTrackInfo::GetVertex ( int  a  ) 

Definition at line 102 of file CDTrackInfo.cxx.

References fvertex1, and fvertex2.

Referenced by main().

00102                                    {
00103   if(a==0) return fvertex1;
00104   else if(a==1) return fvertex2;
00105   return 0;
00106 }

bool CDTrackInfo::IsCCHit (  )  [inline]

Definition at line 54 of file CDTrackInfo.h.

References fCC_Hit.

00054 {return fCC_Hit;}

void CDTrackInfo::SetAbsTime ( double  abstime  )  [inline]

Definition at line 59 of file CDTrackInfo.h.

References fabstime.

Referenced by CDTrackerModule::Ana().

00059 {fabstime=abstime;}

void CDTrackInfo::SetRange ( float  trk_range  )  [inline]

Definition at line 58 of file CDTrackInfo.h.

References ftrk_range.

Referenced by CDTrackerModule::Ana().

00058 {ftrk_range=trk_range;}

void CDTrackInfo::SetTriggerTime ( int  triggertime  )  [inline]

Definition at line 61 of file CDTrackInfo.h.

References ftriggertime.

Referenced by CDTrackerModule::Ana().

00061 {ftriggertime=triggertime;}


Member Data Documentation

double CDTrackInfo::fabstime [private]

Definition at line 36 of file CDTrackInfo.h.

Referenced by CDTrackInfo(), GetAbsTime(), and SetAbsTime().

bool CDTrackInfo::fCC_Hit [private]

Definition at line 40 of file CDTrackInfo.h.

Referenced by CDTrackInfo(), and IsCCHit().

float CDTrackInfo::fevenangle[2] [private]

Definition at line 33 of file CDTrackInfo.h.

Referenced by CDTrackInfo(), and GetAngle().

int CDTrackInfo::fevenresult [private]

Definition at line 24 of file CDTrackInfo.h.

Referenced by CDTrackInfo(), and GetResult().

int CDTrackInfo::fnhits_even [private]

Definition at line 26 of file CDTrackInfo.h.

Referenced by CDTrackInfo(), and GetNHits().

int CDTrackInfo::fnhits_odd [private]

Definition at line 27 of file CDTrackInfo.h.

Referenced by CDTrackInfo(), and GetNHits().

float CDTrackInfo::foddangle[2] [private]

Definition at line 34 of file CDTrackInfo.h.

Referenced by CDTrackInfo(), and GetAngle().

int CDTrackInfo::foddresult [private]

Definition at line 25 of file CDTrackInfo.h.

Referenced by CDTrackInfo(), and GetResult().

double CDTrackInfo::ftime [private]

Definition at line 28 of file CDTrackInfo.h.

Referenced by CDTrackInfo(), and GetTime().

float CDTrackInfo::ftot_pe [private]

Definition at line 29 of file CDTrackInfo.h.

Referenced by CDTrackInfo(), and GetTotPE().

Definition at line 39 of file CDTrackInfo.h.

Referenced by CDTrackInfo(), GetTriggerTime(), and SetTriggerTime().

float CDTrackInfo::ftrk_pe [private]

Definition at line 30 of file CDTrackInfo.h.

Referenced by CDTrackInfo(), and GetTrkPE().

float CDTrackInfo::ftrk_range [private]

Definition at line 35 of file CDTrackInfo.h.

Referenced by CDTrackInfo(), GetRange(), and SetRange().

float CDTrackInfo::fvertex1[2] [private]

Definition at line 31 of file CDTrackInfo.h.

Referenced by CDTrackInfo(), and GetVertex().

float CDTrackInfo::fvertex2[2] [private]

Definition at line 32 of file CDTrackInfo.h.

Referenced by CDTrackInfo(), and GetVertex().


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

Generated on 2 Nov 2017 for loon by  doxygen 1.6.1