15#ifndef CBMTOFSIMPCLUSTERIZER_H
16#define CBMTOFSIMPCLUSTERIZER_H 1
41#include "TStopwatch.h"
42#include "TTimeStamp.h"
66 virtual InitStatus
Init();
76 virtual void Exec(Option_t* option);
177 std::vector<std::vector<std::vector<std::vector<CbmTofDigi*>>>>
fStorDigiExp;
178 std::vector<std::vector<std::vector<std::vector<Int_t>>>>
fStorDigiInd;
188 std::vector<std::vector<std::vector<Double_t>>>
fvdX;
189 std::vector<std::vector<std::vector<Double_t>>>
fvdY;
190 std::vector<std::vector<std::vector<Double_t>>>
fvdDifX;
191 std::vector<std::vector<std::vector<Double_t>>>
fvdDifY;
192 std::vector<std::vector<std::vector<Double_t>>>
fvdDifCh;
243 std::vector<std::vector<std::vector<std::vector<Double_t>>>>
fvCPDelTof;
244 std::vector<std::vector<std::vector<std::vector<Double_t>>>>
fvCPTOff;
245 std::vector<std::vector<std::vector<std::vector<Double_t>>>>
fvCPTotGain;
246 std::vector<std::vector<std::vector<std::vector<std::vector<Double_t>>>>>
Class characterising one event by a collection of links (indices) to data objects,...
Parameters class for the CBM ToF digitizer using beam data distributions.
Data class for expanded digital TOF information.
ClassDef(CbmTofSimpClusterizer, 2)
void GetEventInfo(Int_t &inputNr, Int_t &eventNr, Double_t &eventTime)
Retrieve event info from run manager to properly fill the CbmLink objects.
Bool_t DeleteGeometry()
Delete the geometry related arrays: for now just clearing the Digis temporary vectors.
Bool_t InitCalibParameter()
Initialize other parameters not included in parameter classes.
void SetCalSmType(Int_t iCalSmType)
std::vector< std::vector< std::vector< Int_t > > > fviClusterSize
std::vector< std::vector< TH2 * > > fhTRpcCluDelTof
std::vector< std::vector< std::vector< std::vector< TH2 * > > > > fhTRpcCluWalk
void SetCalParFileName(TString CalParFileName)
Bool_t RegisterOutputs()
Create and register output TClonesArray of Tof Hits.
std::vector< std::vector< std::vector< std::vector< Int_t > > > > fStorDigiInd
std::vector< std::vector< TH2 * > > fhTRpcCludXdY
Double_t fdParSystTimeRes
CbmTofCell * fChannelInfo
void PosYMaxScal(Double_t PosYmaxScal)
std::vector< std::vector< std::vector< std::vector< std::vector< Double_t > > > > > fvCPWalk
CbmTofDigiBdfPar * fDigiBdfPar
Double_t fdNofHitsTot
Total number of hits produced.
std::vector< std::vector< TH2 * > > fhTRpcCluPosition
std::vector< std::vector< Double_t > > fvCPSigPropSpeed
CbmTofSimpClusterizer(const CbmTofSimpClusterizer &)
Copy constructor.
std::vector< TH2 * > fhRpcCluPosition
std::vector< std::vector< std::vector< Double_t > > > fvdX
std::vector< TH2 * > fhRpcCluTrms
CbmTofSimpClusterizer & operator=(const CbmTofSimpClusterizer &)
Copy operator.
std::vector< TH2 * > fhRpcDigiCor
std::vector< TH2 * > fhRpcCluTOff
std::vector< std::vector< std::vector< Double_t > > > fvdDifCh
void SetCalTrg(Int_t iTrg)
std::vector< TH1 * > fhTrgdT
CbmTofSimpClusterizer()
Constructor.
TClonesArray * fTofDigiMatchColl
Double_t fNofDigisUsed
Total number of Tof Digis processed.
Int_t fiNofEvents
Total number of events processed.
std::vector< TH2 * > fhRpcCluTot
std::vector< std::vector< std::vector< std::vector< Double_t > > > > fvCPDelTof
std::vector< std::vector< TH1 * > > fhTRpcCluMul
std::vector< TH2 * > fhRpcCluAvWalk
void SetCaldXdYMax(Double_t dCaldXdYMax)
std::vector< std::vector< std::vector< Double_t > > > fvdY
std::vector< TH1 * > fhRpcSigPropSpeed
std::vector< std::vector< std::vector< TH2 * > > > fhRpcCluWalk
CbmTofDetectorId * fTofId
TClonesArray * fMcTracksColl
Bool_t SetHistoFileName(TString sFilenameIn="./tofSimpClust.hst.root")
void SetOutTimeFactor(Double_t val)
void SetCalMode(Int_t iMode)
std::pair< Int_t, Int_t > BuildClusters(CbmEvent *event)
Build clusters out of ToF Digis and store the resulting info in a TofHit.
std::vector< std::vector< std::vector< std::vector< Double_t > > > > fvCPTotGain
TClonesArray * fTofHitsColl
std::vector< std::vector< TH2 * > > fhTRpcCluTOff
virtual void SetParContainers()
Inherited from FairTask.
Bool_t RegisterInputs()
Recover pointer on input TClonesArray: TofPoints, TofDigis...
virtual ~CbmTofSimpClusterizer()
Destructor.
std::vector< std::vector< std::vector< std::vector< CbmTofDigi * > > > > fStorDigiExp
void SetdTRefMax(Double_t dTRefMax)
Bool_t LoadGeometry()
Load the geometry: for now just resizing the Digis temporary vectors.
Double_t fdTimeTot
Total execution time.
void SetTotMax(Double_t TOTMax)
Bool_t InitParameters()
Initialize other parameters not included in parameter classes.
std::vector< std::vector< TH2 * > > fhTRpcCluTot
std::vector< TH2 * > fhRpcCluSize
std::vector< std::vector< std::vector< Double_t > > > fvdDifX
CbmTofGeoHandler * fGeoHandler
std::vector< std::vector< std::vector< std::vector< Double_t > > > > fvCPTOff
Int_t fiNofTs
Number of processed timeslices.
TClonesArray * fTofPointsColl
virtual void Exec(Option_t *option)
Inherited from FairTask.
void SetTotMin(Double_t TOTMin)
std::vector< std::vector< TH2 * > > fhTRpcCluSize
virtual InitStatus Init()
Inherited from FairTask.
TStopwatch fTimer
ROOT timer.
std::vector< std::vector< std::vector< Int_t > > > fviTrkMul
virtual void Finish()
Inherited from FairTask.
void SetTRefDifMax(Double_t TRefMax)
std::vector< TH1 * > fhRpcCluMul
Double_t fNofDigisAll
Total number of TOF digis in input.
std::vector< std::vector< std::vector< Double_t > > > fvdDifY
std::vector< std::vector< TH2 * > > fhTRpcCluAvWalk
CbmDigiManager * fDigiMan
void UseMcTrackMonitoring(Bool_t bMcTrkMonitor=kTRUE)
TString fsHistoOutFilename
std::vector< std::vector< std::vector< Int_t > > > fviClusterMul