Go to the documentation of this file.
11 #ifndef CBMTOFEVENTCLUSTERIZER_H
12 #define CBMTOFEVENTCLUSTERIZER_H 1
46 #include "TTimeStamp.h"
70 Bool_t writeDataInOut = kTRUE);
79 virtual InitStatus
Init();
89 virtual void Exec(Option_t* option);
96 virtual void Finish(Double_t calMode);
106 Int_t iSign = iCalRpc / TMath::Abs(iCalRpc);
108 Int_t iRpc = iCalRpc % 10;
109 iCalRpc = (iCalRpc - iRpc) / 10;
110 Int_t iSm = iCalRpc % 10;
111 iCalRpc = (iCalRpc - iSm) / 10;
169 virtual void fit_ybox(
const char* hname);
170 virtual void fit_ybox(TH1*
h, Double_t dy);
171 virtual void fit_ybox(TH1*
h, Double_t dy, Double_t* fpar);
282 std::vector<std::vector<std::vector<std::vector<CbmTofDigi*>>>>
284 std::vector<std::vector<std::vector<std::vector<Int_t>>>>
294 std::vector<std::vector<std::vector<Int_t>>>
296 std::vector<std::vector<std::vector<Int_t>>>
298 std::vector<std::vector<std::vector<Int_t>>>
300 std::vector<std::vector<std::vector<Double_t>>>
302 std::vector<std::vector<std::vector<Double_t>>>
304 std::vector<std::vector<std::vector<Double_t>>>
306 std::vector<std::vector<std::vector<Double_t>>>
308 std::vector<std::vector<std::vector<Double_t>>>
356 std::vector<std::vector<std::vector<TH2*>>>
375 std::vector<std::vector<std::vector<std::vector<TH2*>>>>
389 std::vector<std::vector<std::vector<std::vector<Double_t>>>>
391 std::vector<std::vector<std::vector<std::vector<Double_t>>>>
393 std::vector<std::vector<std::vector<std::vector<Double_t>>>>
395 std::vector<std::vector<std::vector<std::vector<Double_t>>>>
397 std::vector<std::vector<std::vector<std::vector<std::vector<Double_t>>>>>
400 std::vector<std::vector<std::vector<std::vector<std::list<CbmTofHit*>>>>>
494 #endif // CBMTOFEVENTCLUSTERIZER_H
Bool_t fbAlternativeBranchNames
void SetTotMean(Double_t val)
std::vector< std::vector< TH2 * > > fhTRpcCluTOff
std::vector< std::vector< std::vector< std::vector< Double_t > > > > fvCPTotOff
std::vector< TH2 * > fhRpcCluDelMatTOff
std::vector< std::vector< std::vector< Int_t > > > fviClusterMul
std::vector< TH2 * > fhRpcCluTrms
void SetTotMin(Double_t val)
void SetBeamRefSm(Int_t Id)
std::vector< TH1 * > fhRpcDTLastHits_Tot
std::vector< TH1 * > fhRpcDTLastHits_CluSize
std::vector< TH2 * > fhRpcDigiDTLD
Bool_t DeleteGeometry()
Delete the geometry related arrays: for now just clearing the Digis temporary vectors.
std::vector< std::vector< TH2 * > > fhTRpcCluTot
std::vector< CbmTofDigi > fTofDigiVec
virtual void SetParContainers()
Inherited from FairTask.
std::vector< TH2 * > fhRpcCluDelMatPos
Double_t fdChannelDeadtime
void PosYMaxScal(Double_t val)
void SetCalSmType(Int_t iCalSmType)
virtual InitStatus Init()
Inherited from FairTask.
std::vector< std::vector< TH2 * > > fhTRpcCludXdY
Bool_t fbSwapChannelSides
std::vector< std::vector< std::vector< std::vector< std::list< CbmTofHit * > > > > > fvLastHits
void SetTRefDifMax(Double_t val)
std::vector< TH2 * > fhRpcCluSize
void SetChannelDeadtime(Double_t val)
virtual void LH_store(Int_t iSmType, Int_t iSm, Int_t iRpc, Int_t iChm, CbmTofHit *pHit)
void SetSel2MulMax(Int_t Id)
std::vector< std::vector< std::vector< std::vector< Double_t > > > > fvCPTOff
std::vector< std::vector< TH2 * > > fhTRpcCluPosition
virtual ~CbmTofEventClusterizer()
Destructor.
TString GetCalParFileName()
void SetCalRpc(Int_t iCalRpc)
std::vector< std::vector< std::vector< std::vector< Int_t > > > > fStorDigiInd
Bool_t fEnableMatchPosScaling
void SetCalSmAddr(Int_t iCalSmAddr)
void SetdTRefMax(Double_t val)
std::vector< TProfile * > fhSmCluSvel
CbmTofGeoHandler * fGeoHandler
void SetBeamAddRefMul(Int_t ival)
std::vector< TH2 * > fhRpcCluDelPos
std::vector< TProfile * > fhRpcCluPositionEvol
std::vector< std::vector< std::vector< std::vector< Double_t > > > > fvCPTotGain
void SetCalParFileName(TString CalParFileName)
ClassDef(CbmTofEventClusterizer, 1)
void SetToDAv(Double_t val)
std::vector< std::vector< TH2 * > > fhTSmCluTRun
std::vector< CbmTofDigi > * fTofCalDigiVecOut
void SetSel2Id(Int_t ival)
CbmDigiManager * fDigiMan
TOF Digis.
Bool_t InitParameters()
Initialize other parameters not included in parameter classes.
std::vector< std::vector< TH2 * > > fhTRpcCluTotDTLastHits
virtual void Exec(Option_t *option)
Inherited from FairTask.
std::vector< std::vector< std::vector< std::vector< CbmTofDigi * > > > > fStorDigiExp
std::vector< std::vector< TH2 * > > fhTRpcCluAvWalk
TClonesArray * fEventsColl
std::vector< std::vector< TH1 * > > fhTRpcCluMul
CbmTofEventClusterizer & operator=(const CbmTofEventClusterizer &)
Copy operator.
CbmTofEventClusterizer()
Constructor.
std::vector< TH2 * > fhRpcCluPosition
std::vector< TH1 * > fhRpcCluMul
void SetSel2Sm(Int_t ival)
TClonesArray * fTofHitsCollOut
// Calibrated TOF Digis
TClonesArray * fTofDigiMatchCollOut
void SetYFitMin(Double_t val)
std::vector< TH2 * > fhRpcCluAvWalk
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)
void SetWriteDigisInOut(Bool_t bDigis)
Bool_t InitCalibParameter()
Initialize other parameters not included in parameter classes.
CbmTofDetectorId * fTofId
Data class with information on a STS local track.
void SetFileIndex(Int_t iIndex)
void SetPs2Ns(Bool_t bval)
Bool_t RegisterOutputs()
Create and register output TClonesArray of Tof Hits.
Bool_t LoadGeometry()
Load the geometry: for now just resizing the Digis temporary vectors.
void SetDelTofMax(Double_t val)
std::vector< std::vector< TH2 * > > fhTRpcCluDelTof
std::vector< std::vector< TH2 * > > fhTRpcCluSizeDTLastHits
TClonesArray * fMcTracksColl
std::vector< std::vector< TH2 * > > fhTRpcCluMemMulDTLastHits
std::vector< TH2 * > fhRpcDigiMul
std::vector< TH2 * > fhRpcCluDelTOff
std::vector< TH2 * > fhRpcCluTOff
std::vector< TH2 * > fhSmCluPosition
CbmTofCell * fChannelInfo
void SetEnableMatchPosScaling(Bool_t bval)
std::vector< std::vector< std::vector< std::vector< Double_t > > > > fvCPDelTof
static CbmTofEventClusterizer * Instance()
TClonesArray * fTofPointsColl
virtual void fit_ybox(const char *hname)
std::vector< std::vector< std::vector< std::vector< TH2 * > > > > fhTRpcCluWalk
std::vector< TH1 * > fhRpcDTLastHits
Parameters class for the CBM ToF digitizer using beam data distributions.
void SetBeamRefMulMax(Int_t Id)
std::vector< std::vector< std::vector< Double_t > > > fvdY
std::vector< std::vector< TH2 * > > fhTRpcCluSize
CbmTofDigiBdfPar * fDigiBdfPar
Bool_t BuildClusters()
Build clusters out of ToF Digis and store the resulting info in a TofHit.
std::vector< Int_t > vDigiIndRef
std::vector< std::vector< TH3 * > > fhTRpcCluWalk2
std::vector< TProfile * > fhRpcCluTimeEvol
Bool_t RegisterInputs()
Recover pointer on input TClonesArray: TofPoints, TofDigis...
void SetWriteHitsInOut(Bool_t bHits)
void SetDeadStrips(Int_t iDet, Int_t ival)
void SetMemoryTime(Double_t val)
void SetSel2Rpc(Int_t ival)
void SetCalCluMulMax(Int_t ival)
void SetBeamRefId(Int_t Id)
virtual void CleanLHMemory()
std::map< UInt_t, UInt_t > fDetIdIndexMap
void SetTotPreRange(Double_t val)
std::vector< std::vector< TH2 * > > fhTSmCluTOff
void SetCalMode(Int_t iMode)
std::vector< std::vector< std::vector< Double_t > > > fvdDifY
std::vector< TH1 * > fhRpcCluRate10s
std::vector< std::vector< std::vector< Double_t > > > fvdX
std::vector< std::vector< std::vector< Int_t > > > fviClusterSize
std::vector< std::vector< TH2 * > > fhTRpcCluTOffDTLastHits
std::vector< std::vector< std::vector< Double_t > > > fvdDifCh
std::vector< TH2 * > fhRpcDigiCor
void SetBeamRefDet(Int_t Id)
Class characterising one event by a collection of links (indices) to data objects,...
std::vector< TH2 * > fhRpcCluAvLnWalk
void SetCalSel(Int_t iSel)
std::vector< std::vector< std::vector< TH2 * > > > fhRpcCluWalk
std::vector< std::vector< Double_t > > fvTimeLastDigi
std::vector< TH2 * > fhRpcCluTot
std::vector< std::vector< TProfile * > > fhSmCluFpar
virtual void ExecEvent(Option_t *option)
void SetEnableAvWalk(Bool_t bval)
static UInt_t GetUniqueAddress(UInt_t Sm, UInt_t Rpc, UInt_t Channel, UInt_t Side=0, UInt_t SmType=0)
static CbmTofEventClusterizer * fInstance
std::vector< std::vector< std::vector< std::vector< std::vector< Double_t > > > > > fvCPWalk
TClonesArray * fTofHitsColl
// Calibrated TOF Digis
void SetAlternativeBranchNames(Bool_t bNames)
CbmTofEventClusterizer(const CbmTofEventClusterizer &)
Copy constructor.
TClonesArray * fTofDigiMatchColl
void SwapChannelSides(Bool_t bSwap)
std::vector< std::vector< std::vector< Int_t > > > fviTrkMul
std::vector< TH1 * > fhSeldT
std::vector< CbmTofDigi > * fTofCalDigiVec
std::vector< std::vector< TH2 * > > fhTSmCluPosition
std::vector< TH1 * > fhRpcCluRate
void SetTotMax(Double_t val)
virtual void Finish()
Inherited from FairTask.
virtual void CheckLHMemory()
std::vector< std::vector< TH2 * > > fhTRpcCluTofOff
std::vector< Int_t > fviDetId
std::vector< Int_t > fvDeadStrips
void SetOutHstFileName(TString OutHstFileName)
void SetCaldXdYMax(Double_t dCaldXdYMax)
std::vector< std::vector< std::vector< Double_t > > > fvdDifX
std::vector< TH2 * > fhRpcDigiStatus
std::vector< TH2 * > fhSmCluTOff
void SetMaxTimeDist(Double_t val)