Go to the documentation of this file.
11 #ifndef CBMTOFCOSMICCLUSTERIZER_H
12 #define CBMTOFCOSMICCLUSTERIZER_H 1
43 #include "TTimeStamp.h"
67 Bool_t writeDataInOut = kTRUE);
76 virtual InitStatus
Init();
86 virtual void Exec(Option_t* option);
92 virtual void Finish(Double_t calMode);
102 Int_t iSign = iCalRpc / TMath::Abs(iCalRpc);
104 Int_t iRpc = iCalRpc % 10;
105 iCalRpc = (iCalRpc - iRpc) / 10;
106 Int_t iSm = iCalRpc % 10;
107 iCalRpc = (iCalRpc - iSm) / 10;
159 virtual void fit_ybox(
const char* hname);
160 virtual void fit_ybox(TH1*
h, Double_t dy);
161 virtual void fit_ybox(TH1*
h, Double_t dy, Double_t* fpar);
252 std::vector<std::vector<std::vector<std::vector<CbmTofDigi*>>>>
254 std::vector<std::vector<std::vector<std::vector<Int_t>>>>
262 std::vector<std::vector<std::vector<Int_t>>>
264 std::vector<std::vector<std::vector<Int_t>>>
266 std::vector<std::vector<std::vector<Int_t>>>
268 std::vector<std::vector<std::vector<Double_t>>>
270 std::vector<std::vector<std::vector<Double_t>>>
272 std::vector<std::vector<std::vector<Double_t>>>
274 std::vector<std::vector<std::vector<Double_t>>>
276 std::vector<std::vector<std::vector<Double_t>>>
319 std::vector<std::vector<std::vector<TH2*>>>
337 std::vector<std::vector<std::vector<std::vector<TH2*>>>>
351 std::vector<std::vector<std::vector<std::vector<Double_t>>>>
353 std::vector<std::vector<std::vector<std::vector<Double_t>>>>
355 std::vector<std::vector<std::vector<std::vector<Double_t>>>>
357 std::vector<std::vector<std::vector<std::vector<Double_t>>>>
359 std::vector<std::vector<std::vector<std::vector<std::vector<Double_t>>>>>
362 std::vector<std::vector<std::vector<std::vector<std::list<CbmTofHit*>>>>>
444 #endif // CBMTOFCOSMICCLUSTERIZER_H
std::vector< TH2 * > fhRpcCluTot
std::map< UInt_t, UInt_t > fDetIdIndexMap
Bool_t RegisterOutputs()
Create and register output TClonesArray of Tof Hits.
virtual void fit_ybox(const char *hname)
void SetSel2Id(Int_t ival)
std::vector< std::vector< TH2 * > > fhTSmCluTRun
std::vector< TH1 * > fhRpcDTLastHits
std::vector< std::vector< TH2 * > > fhTRpcCluTOffDTLastHits
std::vector< std::vector< std::vector< Double_t > > > fvdDifX
std::vector< TH2 * > fhSmCluPosition
TClonesArray * fTofDigiMatchColl
std::vector< TProfile * > fhRpcCluTimeEvol
std::vector< Int_t > vDigiIndRef
void SetTRefDifMax(Double_t val)
void SetCaldXdYMax(Double_t dCaldXdYMax)
std::vector< TH2 * > fhRpcCluDelPos
void SetCalMode(Int_t iMode)
void SetTotMin(Double_t val)
std::vector< std::vector< std::vector< Int_t > > > fviClusterMul
std::vector< TH2 * > fhRpcCluDelTOff
std::vector< std::vector< std::vector< Double_t > > > fvdDifCh
void SetCalSel(Int_t iSel)
std::vector< TH2 * > fhRpcCluAvWalk
virtual Double_t TimeInPeriod(Double_t dTime)
std::vector< TH1 * > fhRpcCluRate
void SetCalSmType(Int_t iCalSmType)
std::vector< std::vector< std::vector< std::vector< Double_t > > > > fvCPTOff
std::vector< std::vector< std::vector< std::vector< TH2 * > > > > fhTRpcCluWalk
std::vector< TH2 * > fhRpcCluDelMatPos
std::vector< std::vector< std::vector< TH2 * > > > fhRpcCluWalk
std::vector< std::vector< TH2 * > > fhTRpcCluTotDTLastHits
virtual Bool_t AddNextChan(Int_t iSmType, Int_t iSm, Int_t iRpc, Int_t iLastChan, Double_t dLastPosX, Double_t dLastPosY, Double_t dLastTime, Double_t dLastTot)
CbmTofCell * fChannelInfo
std::vector< TProfile * > fhSmCluSvel
CbmTofGeoHandler * fGeoHandler
void PosYMaxScal(Double_t val)
void SetdTRefMax(Double_t val)
std::vector< std::vector< std::vector< std::vector< Int_t > > > > fStorDigiInd
void SetCorMode(Int_t ival)
std::vector< TProfile * > fhRpcCluPositionEvol
ClassDef(CbmTofCosmicClusterizer, 1)
std::vector< TH2 * > fhRpcCluPosition
TClonesArray * fTofCalDigisColl
CbmTofDigiBdfPar * fDigiBdfPar
std::vector< TH2 * > fhRpcCluTrms
virtual void Finish()
Inherited from FairTask.
Bool_t LoadGeometry()
Load the geometry: for now just resizing the Digis temporary vectors.
void SetSel2MulMax(Int_t Id)
std::vector< std::vector< TH1 * > > fhTRpcCluMul
Bool_t InitParameters()
Initialize other parameters not included in parameter classes.
void SetTimePeriod(Double_t dval)
std::vector< std::vector< std::vector< Double_t > > > fvdDifY
virtual void CleanLHMemory()
std::vector< TH2 * > fhSmCluTOff
std::vector< Int_t > fviDetId
void SetCalRpc(Int_t iCalRpc)
std::vector< TH2 * > fhRpcCluDelMatTOff
void SetEnableAvWalk(Bool_t bval)
TClonesArray * fTofHitsColl
Data class with information on a STS local track.
void SetDelTofMax(Double_t val)
std::vector< TH2 * > fhRpcCluSize
Bool_t InitCalibParameter()
Initialize other parameters not included in parameter classes.
void SetYFitMin(Double_t val)
std::vector< std::vector< std::vector< std::vector< Double_t > > > > fvCPTotGain
TClonesArray * fMcTracksColl
std::vector< std::vector< std::vector< Int_t > > > fviClusterSize
CbmTofCosmicClusterizer()
Constructor.
static CbmTofCosmicClusterizer * Instance()
std::vector< std::vector< TH2 * > > fhTRpcCluSizeDTLastHits
std::vector< std::vector< TH2 * > > fhTRpcCludXdY
std::vector< std::vector< TH2 * > > fhTSmCluTOff
void SetPs2Ns(Bool_t bval)
std::vector< TH2 * > fhRpcCluAvLnWalk
virtual void Exec(Option_t *option)
Inherited from FairTask.
std::vector< std::vector< std::vector< std::vector< std::list< CbmTofHit * > > > > > fvLastHits
Parameters class for the CBM ToF digitizer using beam data distributions.
virtual void CheckLHMemory()
void SetOutHstFileName(TString OutHstFileName)
std::vector< TH1 * > fhRpcDTLastHits_Tot
std::vector< std::vector< std::vector< std::vector< std::vector< Double_t > > > > > fvCPWalk
std::vector< std::vector< TH2 * > > fhTRpcCluMemMulDTLastHits
std::vector< std::vector< std::vector< Double_t > > > fvdY
CbmTofCosmicClusterizer(const CbmTofCosmicClusterizer &)
Copy constructor.
std::vector< TH1 * > fhSeldT
void SetMaxTimeDist(Double_t val)
Data class for expanded digital TOF information.
Bool_t RegisterInputs()
Recover pointer on input TClonesArray: TofPoints, TofDigis...
void SetTotPreRange(Double_t val)
std::vector< std::vector< std::vector< std::vector< CbmTofDigi * > > > > fStorDigiExp
std::vector< TH2 * > fhRpcCluTOff
std::vector< std::vector< std::vector< std::vector< Double_t > > > > fvCPTotOff
void SetCalParFileName(TString CalParFileName)
std::vector< TH2 * > fhRpcDigiCor
void SetCalSmAddr(Int_t iCalSmAddr)
static CbmTofCosmicClusterizer * fInstance
CbmTofCosmicClusterizer & operator=(const CbmTofCosmicClusterizer &)
Copy operator.
void SetMemoryTime(Double_t val)
void SetTotMax(Double_t val)
std::vector< std::vector< TProfile * > > fhSmCluFpar
CbmTofDetectorId * fTofId
void SetChannelDeadtime(Double_t val)
std::vector< std::vector< TH2 * > > fhTRpcCluAvWalk
std::vector< std::vector< TH2 * > > fhTRpcCluPosition
std::vector< std::vector< TH2 * > > fhTRpcCluTot
Bool_t DeleteGeometry()
Delete the geometry related arrays: for now just clearing the Digis temporary vectors.
std::vector< TH1 * > fhRpcDTLastHits_CluSize
std::vector< std::vector< std::vector< std::vector< Double_t > > > > fvCPDelTof
std::vector< std::vector< std::vector< Double_t > > > fvdX
virtual InitStatus Init()
Inherited from FairTask.
void SetCalCluMulMax(Int_t ival)
Double_t fdChannelDeadtime
std::vector< std::vector< TH2 * > > fhTRpcCluTOff
TClonesArray * fTofPointsColl
std::vector< std::vector< std::vector< Int_t > > > fviTrkMul
static UInt_t GetUniqueAddress(UInt_t Sm, UInt_t Rpc, UInt_t Channel, UInt_t Side=0, UInt_t SmType=0)
std::vector< std::vector< TH3 * > > fhTRpcCluWalk2
void SetSel2Rpc(Int_t ival)
void SetSel2Sm(Int_t ival)
virtual ~CbmTofCosmicClusterizer()
Destructor.
Bool_t fEnableMatchPosScaling
TClonesArray * fTofDigisColl
std::vector< TH1 * > fhRpcCluMul
virtual void LH_store(Int_t iSmType, Int_t iSm, Int_t iRpc, Int_t iChm, CbmTofHit *pHit)
void SetEnableMatchPosScaling(Bool_t bval)
std::vector< std::vector< TH2 * > > fhTRpcCluDelTof
std::vector< std::vector< TH2 * > > fhTRpcCluSize
Bool_t BuildClusters()
Build clusters out of ToF Digis and store the resulting info in a TofHit.
std::vector< std::vector< TH2 * > > fhTSmCluPosition
virtual void SetParContainers()
Inherited from FairTask.
void SetTotMean(Double_t val)