10#ifndef CBMTOFHITFINDER_H
11#define CBMTOFHITFINDER_H 1
33#include "TStopwatch.h"
34#include "TTimeStamp.h"
58 virtual InitStatus
Init();
68 virtual void Exec(Option_t* option);
117 void GetEventInfo(int32_t& inputNr, int32_t& eventNr,
double& eventTime);
134 std::map<uint32_t, std::map<uint32_t, cbm::algo::tof::HitFinder>>
fAlgo = {};
142 std::vector<std::vector<std::vector<std::vector<double>>>>
fvCPTOff;
143 std::vector<std::vector<std::vector<std::vector<double>>>>
fvCPTotGain;
144 std::vector<std::vector<std::vector<std::vector<std::vector<double>>>>>
Class characterising one event by a collection of links (indices) to data objects,...
Simple Cluster building and hit producing for CBM ToF using Digis as input.
bool InitCalibParameter()
Initialize other parameters not included in parameter classes.
CbmTofDigiBdfPar * fDigiBdfPar
CbmTaskTofHitFinder(const CbmTaskTofHitFinder &)
Copy constructor.
bool InitAlgos()
Create one algo object for each RPC.
std::vector< std::vector< std::vector< std::vector< double > > > > fvCPTotGain
CbmTaskTofHitFinder & operator=(const CbmTaskTofHitFinder &)
Copy operator.
std::vector< std::vector< std::vector< CbmTofDigi > > > fStorDigiExp
CbmDigiManager * fDigiMan
TClonesArray * fTofHitsColl
double fNofDigisAll
Total number of TOF digis in input.
TStopwatch fTimer
ROOT timer.
ClassDef(CbmTaskTofHitFinder, 1)
bool RegisterInputs()
Recover pointer on input TClonesArray: TofPoints, TofDigis...
bool RegisterOutputs()
Create and register output TClonesArray of Tof Hits.
std::vector< std::vector< std::vector< int32_t > > > fStorDigiInd
double fdNofHitsTot
Total number of hits produced.
virtual void Finish()
Inherited from FairTask.
bool InitParameters()
Initialize other parameters not included in parameter classes.
std::vector< std::vector< std::vector< std::vector< std::vector< double > > > > > fvCPWalk
double fNofDigisUsed
Total number of Tof Digis processed.
void GetEventInfo(int32_t &inputNr, int32_t &eventNr, double &eventTime)
Retrieve event info from run manager to properly fill the CbmLink objects.
int32_t fiNofTs
Number of processed timeslices.
int32_t fiNofEvents
Total number of events processed.
CbmTaskTofHitFinder()
Constructor.
virtual InitStatus Init()
Inherited from FairTask.
std::map< uint32_t, std::map< uint32_t, cbm::algo::tof::HitFinder > > fAlgo
TClonesArray * fTofDigiMatchColl
std::vector< std::vector< double > > fvCPSigPropSpeed
std::vector< std::vector< std::vector< std::vector< double > > > > fvCPTOff
double fdTimeTot
Total execution time.
virtual void SetParContainers()
Inherited from FairTask.
std::pair< int32_t, int32_t > BuildClusters(CbmEvent *event)
Build clusters out of ToF Digis and store the resulting info in a TofHit.
virtual ~CbmTaskTofHitFinder()
Destructor.
virtual void Exec(Option_t *option)
Inherited from FairTask.
CbmTofDetectorId * fTofId
CbmTofGeoHandler * fGeoHandler
Parameters class for the CBM ToF digitizer using beam data distributions.
Data class for expanded digital TOF information.