|
BrDCTrackingModule
class description - source file - inheritance tree
private:
void Clear()
void FillDCHits(BrEventNode* OutputTable)
void FillDetectorHits()
void FitLocalDCTrack(BrLocalTrack* loctra_p, Float_t* sol, Float_t* covar, Float_t& chisq, Int_t& ifail)
Float_t GetChisq(BrLocalTrack* loctra_p, Float_t* sol)
Int_t GetTof1TimeRef()
virtual void SetDetectorVolume(BrDetectorVolume* vol)
Int_t TrackLocalElement()
public:
BrDCTrackingModule BrDCTrackingModule()
BrDCTrackingModule BrDCTrackingModule(Char_t* Name, Char_t* Title, Bool_t EventByEvent = kFALSE)
BrDCTrackingModule BrDCTrackingModule(BrDCTrackingModule&)
virtual void ~BrDCTrackingModule()
virtual void Begin()
static TClass* Class()
virtual void DefineHistograms()
void DrawLocalTracks()
virtual void Event(BrEventNode* InputTable, BrEventNode* OutputTable)
BrDCClusterFinder* GetClusterFinder()
virtual BrDetectorVolume* GetDetectorVolume(const Char_t* name)
BrClonesArray* GetLocalTracks()
Int_t GetMainView()
Int_t GetMode()
Int_t GetSubView()
const Char_t* GetTableName() const
Bool_t GetUseShrink()
virtual void Init()
void InitVol()
virtual TClass* IsA() const
virtual void ListDetectorVolume()
void Set2DTrackFinderParams(Float_t CutMatchDx, Float_t CutMatchDy, Float_t Asigma)
void SetAsigma(Float_t sigma)
void SetAssociatedHitsMode(Bool_t AssoHits = kFALSE)
void SetBFSMatchingMode(Bool_t matching = kFALSE)
void SetCalibFile(TString CalibFile)
void SetClusDx(Float_t dx)
void SetClusDy(Float_t dy)
void SetClusterFinderParams(Float_t ClustDx, Float_t ClustDy, Float_t TrioChisq)
void SetClusterFinderParams(Float_t MaxAngle, Float_t posRes, Int_t Asigma)
void SetDCCutMatchDx(Float_t dx)
void SetDCCutMatchDy(Float_t dy)
void SetDCCutMaxMissMain(Int_t miss)
void SetDCCutMaxMissOther(Int_t miss)
void SetDCCutMaxMissSub(Int_t miss)
void SetDriftTime(Int_t DriftTime)
void SetFSMatchingMode(Bool_t matching = kFALSE)
void SetGlobalTdcOffset(Int_t globalTdcOffset = 0)
void SetHitNumberLimit(Int_t lowLimit = 10, Int_t upLimit = 200)
void SetMainView(Int_t mainview)
void SetMaxTdc(Int_t MaxTdc)
void SetMinTdc(Int_t MinTdc)
void SetMinWidth(Int_t MinWidth)
void SetMode(EBrTable bit)
void SetOffsetFile(TString OffsetFile)
void SetPlaneCombineMode(Int_t mode)
void SetPromptDelay(Int_t PromptDelay)
void SetSubView(Int_t subview)
void SetUseShrink(Bool_t val)
void SetViewCombinerParams(Int_t MissMain, Int_t MissSub, Int_t MissOther, Float_t UVDx, Float_t UVDy)
virtual void ShowMembers(TMemberInspector& insp, char* parent)
virtual void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
void UseMySql()
void UseOwnCalib(Bool_t bvalue)
private:
BrDCClusterFinder* fClusterFinder
BrDC2DTrackFinder* f2DTrackFinder
BrDCViewCombiner* fViewCombiner
BrDriverDC* fDCDriver
BrClonesArray* fDetectorHits
BrClonesArray* TrackHits2D
TObjArray* fTrackHits2D List of 2D track hits
TObjArray* fTrackHits List of track hits
BrDCViewList* fViewList View list
BrDataTable* fAssociatedHits table of associated hits
BrDcCalibration* fCalibration
Bool_t fUseMySql
Bool_t fUseOwnCalib
Bool_t fUseShrink Turn on/off expansion of clones arrays
BrDetectorVolume* fVolumeParams_p[4]
Int_t fNumVol Need for sub volumes etc.
Int_t fMainView main view parameter; usually 0
Int_t fSubView sub view parameter, default to -90
Int_t fPlaneCombineMode Specifies how BrCombinedHits generated.
Float_t fClusDx Cluster x matching parameter
Float_t fClusDy Cluster y matching parameter
Float_t fDCCutMatchDx DC Cut x matching parameter
Float_t fDCCutMatchDy DC Cut y matching parameter
Int_t fDCCutMaxMissMain Maximum number of misses in main view planes
Int_t fDCCutMaxMissSub Maximum number of misses in sub view planes
Int_t fDCCutMaxMissOther Maximum number of misses in other view planes.
Float_t fAsigma Sigma for cuts in intermediate plane matching.
Float_t fUVDx Dx for cuts in intermediate plane matching
Float_t fUVDy Dy for cuts in intermediate plane matching
Float_t fTrioChisqWin chisq window for cluster matching in DCTrio
Float_t fPosRes
Int_t fMinTdc This parameter can be set from script
Int_t fPromptDelay
Int_t fMaxTdc
Int_t fMinTdcPP This are used when using a data base
Int_t fPromptDelayPP
Int_t fMaxTdcPP
Int_t fMinWidth
Int_t fDriftTime
Int_t fGlobalTdcOffset
TString fOffsetFile
TString fCalibFile
Int_t fLowLimit
Int_t fUpLimit
Bool_t fBFSMatching
Bool_t fFSMatching
Bool_t fEventByEvent
Bool_t fAssoHits
Int_t fTableMode
TH1F* h_NumTra2DInit
TH1F* h_NumTra2DInter
TH1F* h_NumLoctraInit
TH1F* h_Ddu
TH1F* h_Duc
TH1F* h_Chisq
TH1F* fhAssoHitsPerPlane
Double_t fTof1Time[100]
Int_t fTof1GoodHits
Int_t fTrigger
public:
BrDetectorDC* fDetectorNode
The BrDCTrackingModule class provides an interface to the BRAHMS DC Local Tracking
BrDCTrackingModule()
:BrLocalTrackingModule()
BrDCTrackingModule(Char_t *Name,Char_t *Title,Bool_t EventByEvent)
:BrLocalTrackingModule(Name,Title)
In this constructor we set default parameters that define tracking conditions.
You can alse define this parameters using SetClusterFinderParams,
Set2DTrackFinderParams, SetViewCombinerParams method. This settings should be
done before Init method is called.
void Init()
The Init member function/method is used to define tracking modules
It also executes InitVol.
void DefineHistograms()
~BrDCTrackingModule()
Is there a problem with the fact the the fParams_p can point to
different kinds of datastructures i.e. potential memory
leak. probably yes since fParams_p is defined as BrDetectorParams
nor BrDetectorParamsTPC. By second thought it is probably ok. As
long as all parameters are defined/set Using the
SetDetectorParamsTPC / DC /BB etc..
if( fParams_p != 0) delete fParams_p;
void SetDetectorVolume(BrDetectorVolume *vol)
BrDetectorVolume* GetDetectorVolume(const Char_t *name)
void ListDetectorVolume()
void InitVol()
The init member function/method is used to define histograms
The histograms is added to the list of hist objects in this
module.
void Clear()
Clear all DC tables.
void Begin()
void Event(BrEventNode* InputTable,
BrEventNode* OutputTable)
Int_t TrackLocalElement()
Do the local DC tracking
void FillDCHits(BrEventNode* OutputTable)
Here we add AssociatedHits table to the OutputTable
void FillDetectorHits()
Fill the detector hits using information from the track hits as well as the
2d tracks.
void FitLocalDCTrack(BrLocalTrack* loctra_p,
Float_t *sol, Float_t *covar, Float_t &chisq, Int_t &ifail)
Float_t GetChisq(BrLocalTrack* loctra_p, Float_t *sol)
This method calculate chisq for
Int_t GetTof1TimeRef()
it is in units of ?
void DrawLocalTracks()
const Char_t* GetTableName()
void SetClusterFinderParams(Float_t ClustDx, Float_t ClustDy, Float_t TrioChisq)
Setting parameter for BrDCClusterFinder module.
void SetClusterFinderParams(Float_t MaxAngle, Float_t posRes, Int_t Asigma)
Another way of setting parameter for BrDCClusterFinder module.
void Set2DTrackFinderParams(Float_t CutMatchDx,
Float_t CutMatchDy,
Float_t Asigma)
Setting parameter for BrDC2DTrackFinder module.
void SetViewCombinerParams(Int_t MissMain,Int_t MissSub,Int_t MissOther,
Float_t UVDx, Float_t UVDy)
Setting parameter for BrDCViewCombiner module.
Inline Functions
void UseMySql()
void UseOwnCalib(Bool_t bvalue)
void SetUseShrink(Bool_t val)
void SetMainView(Int_t mainview)
void SetSubView(Int_t subview)
void SetAsigma(Float_t sigma)
void SetClusDx(Float_t dx)
void SetClusDy(Float_t dy)
void SetDCCutMatchDx(Float_t dx)
void SetDCCutMatchDy(Float_t dy)
void SetDCCutMaxMissMain(Int_t miss)
void SetDCCutMaxMissSub(Int_t miss)
void SetDCCutMaxMissOther(Int_t miss)
void SetPlaneCombineMode(Int_t mode)
void SetMode(EBrTable bit)
void SetBFSMatchingMode(Bool_t matching = kFALSE)
void SetFSMatchingMode(Bool_t matching = kFALSE)
void SetAssociatedHitsMode(Bool_t AssoHits = kFALSE)
void SetMinWidth(Int_t MinWidth)
void SetMinTdc(Int_t MinTdc)
void SetMaxTdc(Int_t MaxTdc)
void SetDriftTime(Int_t DriftTime)
void SetGlobalTdcOffset(Int_t globalTdcOffset = 0)
void SetOffsetFile(TString OffsetFile)
void SetCalibFile(TString CalibFile)
void SetPromptDelay(Int_t PromptDelay)
void SetHitNumberLimit(Int_t lowLimit = 10, Int_t upLimit = 200)
Int_t GetMainView()
Int_t GetSubView()
Bool_t GetUseShrink()
Int_t GetMode()
BrDCClusterFinder* GetClusterFinder()
BrClonesArray* GetLocalTracks()
TClass* Class()
TClass* IsA() const
void ShowMembers(TMemberInspector& insp, char* parent)
void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
BrDCTrackingModule BrDCTrackingModule(BrDCTrackingModule&)
|