BrTofRdoModule
class description - source file - inheritance tree
private:
void CheckFsAngles()
Double_t CheckTof(BrDataTable*, BrDataTable*, Int_t, Double_t)
Int_t GetPanelId(Int_t)
public:
BrTofRdoModule BrTofRdoModule()
BrTofRdoModule BrTofRdoModule(Char_t* Name, Char_t* Title)
BrTofRdoModule BrTofRdoModule(BrTofRdoModule&)
virtual void ~BrTofRdoModule()
virtual void Begin()
static TClass* Class()
virtual void DefineHistograms()
virtual void Event(BrEventNode*, BrEventNode*)
virtual void Init()
virtual TClass* IsA() const
virtual void Print(Option_t* option = "B") const
void SetDefaultParameters()
void SetEnergyThreshold(Double_t e = 0.7)
void SetMaxEnergy(Double_t e = 1.3)
void SetMaxTdc(Double_t t = 4000)
void SetNtuple(Bool_t n = kFALSE)
void SetUseBbVertex(Bool_t b = kTRUE)
void SetUseNewBb(Bool_t b = kTRUE)
void SetUseSlewing(Bool_t s = kTRUE)
virtual void ShowMembers(TMemberInspector& insp, char* parent)
virtual void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
private:
BrDetectorParamsTof** fPanelPar
BrDetectorParamsTof* fTofParams
BrTofCalibration* fCalibration
Double_t fEnergyThreshold cut on energy for hit selection
Double_t fMaxEnergy cut on energy for hit selection
Double_t fMaxTdc idem with tdc
Double_t fDist for tof at fixed distance
Bool_t fNtuple
Bool_t fInFfs
Bool_t fInBfs
Bool_t fInMrs
Bool_t fFsLined
Bool_t fUseNewBb
Bool_t fUseSlewing
Bool_t fUseBbVertex
TString fVtxName
TNtuple* fTofTree
TH1F* fHits
TH1F* fSelHits
TH1F* fTof
TH1F** fSTof
TH2F* fSumTof
TH1F* fHitY
TH1F* fHitX
TH1F* fELoss
TH1F** fSELoss
TH2F** fSlew
TH2F* fSumELoss
BrTofRdoModule()
: BrModule()
Default Constructor. (DO NOT USE)
BrTofRdoModule(Char_t *Name,Char_t *Title)
: BrModule(Name,Title)
void SetDefaultParameters()
default parameters, called in constructors
~BrTofRdoModule()
destructor
void DefineHistograms()
define histograms here
void Init()
-------------------
initialize module
-------------------
void CheckFsAngles()
check if FFS and BFS are aligned
void Begin()
check calibration revision
void Event(BrEventNode* inNode, BrEventNode* outNode)
----------------------------------------------------------
Event method to be called once per event.
1- get BB vtx and digtof hits
2- get calibration, set energy, time (ignore slewing for now)
and position
3- store recontructed hits in event node
----------------------------------------------------------
Double_t CheckTof(BrDataTable* match,
BrDataTable* trks,
Int_t slat, Double_t tof)
private method, check tof calibration for hits matching tracks
Int_t GetPanelId(Int_t slat)
-----------------------------------------
returns TOFW panel id given a slat number
-----------------------------------------
void Print(Option_t* option) const
Standard information printout.
Options: See BrModule::Print
Inline Functions
void SetNtuple(Bool_t n = kFALSE)
void SetUseSlewing(Bool_t s = kTRUE)
void SetUseNewBb(Bool_t b = kTRUE)
void SetUseBbVertex(Bool_t b = kTRUE)
void SetEnergyThreshold(Double_t e = 0.7)
void SetMaxEnergy(Double_t e = 1.3)
void SetMaxTdc(Double_t t = 4000)
TClass* Class()
TClass* IsA() const
void ShowMembers(TMemberInspector& insp, char* parent)
void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
BrTofRdoModule BrTofRdoModule(BrTofRdoModule&)
|