Go to the documentation of this file.
11 #ifndef CBMTOFDIGITIZE_H
12 #define CBMTOFDIGITIZE_H 1
19 #include "TStopwatch.h"
20 #include "TTimeStamp.h"
55 virtual InitStatus
Init();
65 virtual void Exec(Option_t* option);
165 Double_t dClustRadius,
166 Double_t dClustCentX,
167 Double_t dClustCentY);
194 Double_t
DiscSectionArea(Double_t dDiscRadius, Double_t dDistBaseToCenter);
203 Double_t dClustRadius,
204 Double_t dClustCentX,
205 Double_t dClustCentY,
214 Double_t dClustRadius,
215 Double_t dClustCentX,
216 Double_t dClustCentY,
259 std::vector<std::vector<std::vector<Double_t>>>
269 std::vector<std::vector<std::vector<Int_t>>>
279 std::vector<std::vector<std::vector<std::pair<CbmTofDigi*, CbmMatch*>>>>>
281 std::vector<std::vector<std::vector<std::vector<Int_t>>>>
285 std::vector<std::vector<ULong64_t>>
289 std::vector<std::vector<ULong64_t>>
291 std::vector<std::vector<Double_t>>
358 #endif // CBMTOFDIGITIZE_H
virtual void Exec(Option_t *option)
Inherited from FairTask.
Double_t TriangleArea(Double_t dXa, Double_t dYa, Double_t dXb, Double_t dYb, Double_t dXc, Double_t dYc)
Compute triangle area from its corners.
CbmTofDigiBdfPar * fDigiBdfPar
Double_t fdNofPointsTot
Total number of points processed.
Double_t fdDigiTimeConvFactor
Bool_t MergeSameChanDigis()
Merge the digis on he same readout channel.
Bool_t RegisterInputs()
Recover pointer on input TClonesArray: TofPoints, ...
ECbmModuleId GetSystemId() const
Detector system ID.
TH2 * fhTofPtsInTrkVsGapInd
TH2 * fhTofPtsInTrkVsGapIndPrm
Double_t GenerateClusterRadius(Int_t iSmType, Int_t iRpc)
Generate a value for the cluster radius from the beamtime data corresponding.
std::vector< std::vector< std::vector< Double_t > > > fvdSignalVelocityRpc
std::vector< TH1 * > fh1ClusterSizeProb
void SetInputFileName(TString FileName)
Double_t fdTimeTot
Total execution time.
std::vector< std::vector< std::vector< Int_t > > > fvRpcChOffs
virtual ~CbmTofDigitize()
Destructor.
void UseMcTrackMonitoring(Bool_t bMcTrkMonitor=kTRUE)
Bool_t fbAllowPointsWithoutTrack
@ kTof
Time-of-flight Detector.
Bool_t SetHistoFileName(TString sFilenameIn="./tofDigiBdf.hst.root")
void SetMonitorHistograms(Bool_t bMonitor=kTRUE)
TClonesArray * fMcTracksColl
Bool_t DigitizeGaussCharge()
Convert TofPoints in input TClonesArray to Tof Digis using an approximation of the.
virtual void SetParContainers()
Inherited from FairTask.
Double_t ComputeClusterAreaOnChannel(Int_t iChanId, Double_t dClustRadius, Double_t dClustCentX, Double_t dClustCentY)
Compute geometrical intersection area of a cluster and a channel.
virtual InitStatus Init()
Inherited from FairTask.
ClassDef(CbmTofDigitize, 1)
CbmTofDigitize(const CbmTofDigitize &)
Copy constructor.
Bool_t InitParameters()
Initialize other parameters not included in parameter classes.
TH2 * fhTofPtsPosVsGap[10]
Base class template for CBM digitisation tasks.
Double_t fdNofTofMcTrkTot
Total number of MC tracks with TOF points.
CbmTofGeoHandler * fGeoHandler
std::vector< TH1 * > fh1ClusterTotProb
TClonesArray * fTofPointsColl
Double_t fdSignalPropSpeed
Parameters class for the CBM ToF digitizer using beam data distributions.
std::vector< std::vector< ULong64_t > > fvlTrckRpcAddr
void SetDigiTimeConvFactor(Double_t dfac)
TH1 * fhMeanFiredPerTrack
Double_t CircleIntersectPosX(Int_t iChanId, Double_t dClustRadius, Double_t dClustCentX, Double_t dClustCentY, Bool_t bUpperSide)
Compute the x position of the intersection of a circle with the upper or.
Bool_t LoadBeamtimeValues()
Load the beamtime values designed in the parameters: histograms or single values.
Bool_t DigitizeFlatDisc()
Convert TofPoints in input TClonesArray to Tof Digis using an approximation of the.
std::vector< std::vector< std::vector< Double_t > > > fdChannelGain
virtual void Finish()
Inherited from FairTask.
std::vector< std::vector< std::vector< std::vector< std::pair< CbmTofDigi *, CbmMatch * > > > > > fStorDigi
CbmTofCell * fChannelInfo
Data class for expanded digital TOF information.
TStopwatch fTimer
ROOT timer.
std::vector< std::vector< std::vector< std::vector< Int_t > > > > fStorDigiMatch
TH1 * fhTofPointsPerTrack
Bool_t DigitizeDirectClusterSize()
Convert TofPoints in input TClonesArray to Tof Digis using directly the.
void AllowPointsWithoutTrack(Bool_t bAllow=kTRUE)
Double_t fdNofDigisTot
Total number of digis created.
CbmTofDetectorId * fTofId
Int_t fiNofEvents
Total number of events processed.
Double_t DistanceCircleToBase(Double_t dClustRadius, Double_t dBaseXa, Double_t dBaseYa, Double_t dBaseXb, Double_t dBaseYb)
Compute the distance from the cluster center to the base of a disc.
TString fsHistoOutFilename
Bool_t CompareTimes(CbmTofDigi *p1, CbmTofDigi *p2)
TH2 * fhTofPtsInTrkVsGapIndSec
Geometric intersection of a MC track with a TOFb detector.
Double_t DiscSectionArea(Double_t dDiscRadius, Double_t dDistBaseToCenter)
Compute area of a disc section from the disc radius and the distance of the.
std::vector< std::vector< Double_t > > fvlTrckRpcTime
Double_t CircleIntersectPosY(Int_t iChanId, Double_t dClustRadius, Double_t dClustCentX, Double_t dClustCentY, Bool_t bRightSide)
Compute the y position of the intersection of a circle with the left or right edge of a channel....
CbmTofDigitize & operator=(const CbmTofDigitize &)
Copy operator.
CbmTofDigitize()
Constructor.
CBM ToF digitizer using beam data distributions as hit/cluster models.
std::vector< std::vector< ULong64_t > > fvlTrckChAddr