#include <TSiliconEvent.h>
Public Member Functions | |
TSiliconEvent () | |
~TSiliconEvent () | |
void | Reset (const char *o="") |
void | SetThick (double e, double t) |
void | AddThin (int quad, double e) |
int | GetNThinHits () const |
int | GetLastQuad () const |
double | GetDeltaE () const |
double | GetTotalE () const |
double | GetThickTime () const |
Private Member Functions | |
ClassDef (TSiliconEvent, 1) | |
Private Attributes | |
int | fNThinHits |
int | fLastQuad |
double | fDeltaE |
double | fTotalE |
double | fThickTime |
Definition at line 7 of file TSiliconEvent.h.
TSiliconEvent::TSiliconEvent | ( | ) | [inline] |
Definition at line 10 of file TSiliconEvent.h.
00010 :fNThinHits(0),fDeltaE(0),fTotalE(0){};
TSiliconEvent::~TSiliconEvent | ( | ) | [inline] |
Definition at line 11 of file TSiliconEvent.h.
void TSiliconEvent::AddThin | ( | int | quad, | |
double | e | |||
) | [inline] |
Definition at line 21 of file TSiliconEvent.h.
References fDeltaE, fLastQuad, fNThinHits, and fTotalE.
Referenced by MakeSiliconEvents::ProcessEntry().
00021 { 00022 ++fNThinHits; 00023 fLastQuad=quad; 00024 fDeltaE+=e; 00025 fTotalE+=e; 00026 }
TSiliconEvent::ClassDef | ( | TSiliconEvent | , | |
1 | ||||
) | [private] |
double TSiliconEvent::GetDeltaE | ( | ) | const [inline] |
int TSiliconEvent::GetLastQuad | ( | ) | const [inline] |
int TSiliconEvent::GetNThinHits | ( | ) | const [inline] |
double TSiliconEvent::GetThickTime | ( | ) | const [inline] |
double TSiliconEvent::GetTotalE | ( | ) | const [inline] |
void TSiliconEvent::Reset | ( | const char * | o = "" |
) | [inline] |
Definition at line 13 of file TSiliconEvent.h.
References fDeltaE, fLastQuad, fNThinHits, and fTotalE.
Referenced by MakeSiliconEvents::ProcessEntry().
00013 { 00014 fDeltaE=0; 00015 fNThinHits=0; 00016 fTotalE=0; 00017 fLastQuad=0; 00018 }
void TSiliconEvent::SetThick | ( | double | e, | |
double | t | |||
) | [inline] |
Definition at line 20 of file TSiliconEvent.h.
References fThickTime, and fTotalE.
Referenced by MakeSiliconEvents::ProcessEntry().
00020 { fTotalE=e; fThickTime=t;}
double TSiliconEvent::fDeltaE [private] |
Definition at line 37 of file TSiliconEvent.h.
Referenced by AddThin(), GetDeltaE(), and Reset().
int TSiliconEvent::fLastQuad [private] |
Definition at line 36 of file TSiliconEvent.h.
Referenced by AddThin(), GetLastQuad(), and Reset().
int TSiliconEvent::fNThinHits [private] |
Definition at line 35 of file TSiliconEvent.h.
Referenced by AddThin(), GetNThinHits(), and Reset().
double TSiliconEvent::fThickTime [private] |
Definition at line 39 of file TSiliconEvent.h.
Referenced by GetThickTime(), and SetThick().
double TSiliconEvent::fTotalE [private] |
Definition at line 38 of file TSiliconEvent.h.
Referenced by AddThin(), GetTotalE(), Reset(), and SetThick().