CbmRoot
CbmTofSimpClusterizer.h
Go to the documentation of this file.
1 
11 #ifndef CBMTOFSIMPCLUSTERIZER_H
12 #define CBMTOFSIMPCLUSTERIZER_H 1
13 
14 // TOF Classes and includes
15 // Input/Output
16 //class CbmTofPoint;
17 class CbmTofDigi;
18 class CbmMatch;
19 // Geometry
20 class CbmTofGeoHandler;
21 class CbmTofDetectorId;
22 class CbmTofDigiPar;
23 class CbmTofDigiBdfPar;
24 class CbmTofCell;
25 class CbmDigiManager;
26 
27 // FAIR classes and includes
28 #include "FairTask.h"
29 
30 // ROOT Classes and includes
31 class TClonesArray;
32 class TH1;
33 class TH2;
34 class TString;
35 #include "TStopwatch.h"
36 #include "TTimeStamp.h"
37 
38 // C++ Classes and includes
39 #include <vector>
40 
41 class CbmTofSimpClusterizer : public FairTask {
42 public:
47 
51  CbmTofSimpClusterizer(const char* name, Int_t verbose = 1);
55  virtual ~CbmTofSimpClusterizer();
56 
60  virtual InitStatus Init();
61 
65  virtual void SetParContainers();
66 
70  virtual void Exec(Option_t* option);
71 
75  virtual void Finish();
76 
77  inline void SetCalMode(Int_t iMode) { fCalMode = iMode; }
78  inline void SetCalTrg(Int_t iTrg) { fCalTrg = iTrg; }
79  inline void SetCalSmType(Int_t iCalSmType) { fCalSmType = iCalSmType; }
80  inline void SetCaldXdYMax(Double_t dCaldXdYMax) {
81  fdCaldXdYMax = dCaldXdYMax;
82  }
83  inline void SetTRefId(Int_t Id) { fTRefMode = Id; }
84  inline void SetTRefDifMax(Double_t TRefMax) { fTRefDifMax = TRefMax; }
85  inline void SetdTRefMax(Double_t dTRefMax) { fdTRefMax = dTRefMax; }
86  inline void PosYMaxScal(Double_t PosYmaxScal) { fPosYMaxScal = PosYmaxScal; }
87  inline void SetTotMax(Double_t TOTMax) { fTotMax = TOTMax; }
88  inline void SetTotMin(Double_t TOTMin) { fTotMin = TOTMin; }
89  inline void SetOutTimeFactor(Double_t val) { fOutTimeFactor = val; }
90 
91  inline void SetCalParFileName(TString CalParFileName) {
92  fCalParFileName = CalParFileName;
93  }
94  Bool_t SetHistoFileName(TString sFilenameIn = "./tofSimpClust.hst.root");
95 
96  void UseMcTrackMonitoring(Bool_t bMcTrkMonitor = kTRUE) {
97  fbMcTrkMonitor = bMcTrkMonitor;
98  }
99 
100 protected:
101 private:
110 
111  // Functions common for all clusters approximations
115  Bool_t RegisterInputs();
119  Bool_t RegisterOutputs();
123  Bool_t InitParameters();
127  Bool_t InitCalibParameter();
131  Bool_t LoadGeometry();
135  Bool_t DeleteGeometry();
136 
137  // Histogramming functions
138  Bool_t CreateHistos();
139  Bool_t FillHistos();
140  Bool_t WriteHistos();
141  Bool_t DeleteHistos();
142 
146  Bool_t BuildClusters();
147 
151  void GetEventInfo(Int_t& inputNr, Int_t& eventNr, Double_t& eventTime);
152 
153  // ToF geometry variables
159  Double_t fdParFeeTimeRes;
161 
162  // Input variables
163  TClonesArray* fTofPointsColl; // TOF MC points
164  TClonesArray* fMcTracksColl; // MC tracks
166 
167  // Output variables
168  TClonesArray* fTofHitsColl; // TOF hits
169  TClonesArray* fTofDigiMatchColl; // TOF Digis
170  Int_t fiNbHits; // Index of the CbmTofHit TClonesArray
171 
172  // Generic
173  Int_t fVerbose;
174 
175  // Intermediate storage variables
176  std::vector<std::vector<std::vector<std::vector<CbmTofDigi*>>>>
177  fStorDigiExp; //[nbType][nbSm*nbRpc][nbCh][nDigis]
178  std::vector<std::vector<std::vector<std::vector<Int_t>>>>
179  fStorDigiInd; //[nbType][nbSm*nbRpc][nbCh][nDigis]
180  /*
181  std::vector< std::vector< std::vector< std::vector< std::vector< CbmTofDigi* > > > > >
182  fStorDigi; //[nbType][nbSm][nbRpc][nbCh][nDigis]
183  std::vector< std::vector< std::vector< std::vector< std::vector< CbmTofDigiExp* > > > > >
184  fStorDigiExp; //[nbType][nbSm][nbRpc][nbCh][nDigis]
185  */
186  std::vector<std::vector<std::vector<Int_t>>>
187  fviClusterMul; //[nbType][nbSm][nbRpc]
188  std::vector<std::vector<std::vector<Int_t>>>
189  fviClusterSize; //[nbType][nbRpc][nClusters]
190  std::vector<std::vector<std::vector<Int_t>>>
191  fviTrkMul; //[nbType][nbRpc][nClusters]
192  std::vector<std::vector<std::vector<Double_t>>>
193  fvdX; //[nbType][nbRpc][nClusters]
194  std::vector<std::vector<std::vector<Double_t>>>
195  fvdY; //[nbType][nbRpc][nClusters]
196  std::vector<std::vector<std::vector<Double_t>>>
197  fvdDifX; //[nbType][nbRpc][nClusters]
198  std::vector<std::vector<std::vector<Double_t>>>
199  fvdDifY; //[nbType][nbRpc][nClusters]
200  std::vector<std::vector<std::vector<Double_t>>>
201  fvdDifCh; //[nbType][nbRpc][nClusters]
202 
203  // Output file name and path
205  // Histograms
227 
228  std::vector<TH2*> fhRpcDigiCor; //[nbDet]
229  std::vector<TH1*> fhRpcCluMul; //[nbDet]
230  std::vector<TH1*> fhRpcSigPropSpeed; //[nbDet]
231  std::vector<TH2*> fhRpcCluPosition; //[nbDet]
232  std::vector<TH2*> fhRpcCluTOff; //[nbDet]
233  std::vector<TH2*> fhRpcCluTrms; //[nbDet]
234  std::vector<TH2*> fhRpcCluTot; // [nbDet]
235  std::vector<TH2*> fhRpcCluSize; // [nbDet]
236  std::vector<TH2*> fhRpcCluAvWalk; // [nbDet]
237  std::vector<std::vector<std::vector<TH2*>>>
238  fhRpcCluWalk; // [nbDet][nbCh][nSide]
239 
240  std::vector<std::vector<TH1*>> fhTRpcCluMul; // [nbDet][nbTrg]
241  std::vector<std::vector<TH2*>> fhTRpcCluPosition; // [nbDet][nbTrg]
242  std::vector<std::vector<TH2*>> fhTRpcCluTOff; // [nbDet][nbTrg]
243  std::vector<std::vector<TH2*>> fhTRpcCluTot; // [nbDet][nbTrg]
244  std::vector<std::vector<TH2*>> fhTRpcCluSize; // [nbDet][nbTrg]
245  std::vector<std::vector<TH2*>> fhTRpcCluAvWalk; // [nbDet][nbTrg]
246  std::vector<std::vector<TH2*>> fhTRpcCluDelTof; // [nbDet][nbTrg]
247  std::vector<std::vector<TH2*>> fhTRpcCludXdY; // [nbDet][nbTrg]
248  std::vector<std::vector<std::vector<std::vector<TH2*>>>>
249  fhTRpcCluWalk; // [nbDet][nbTrg][nbCh][nSide]
250 
251  std::vector<TH1*> fhTrgdT; //[nbTrg]
252 
253  std::vector<std::vector<Double_t>> fvCPSigPropSpeed; //[nSMT][nRpc]
254  std::vector<std::vector<std::vector<std::vector<Double_t>>>>
255  fvCPDelTof; //[nSMT][nRpc][nbClDelTofBinX][nbTrg]
256  std::vector<std::vector<std::vector<std::vector<Double_t>>>>
257  fvCPTOff; //[nSMT][nRpc][nCh][nbSide]
258  std::vector<std::vector<std::vector<std::vector<Double_t>>>>
259  fvCPTotGain; //[nSMT][nRpc][nCh][nbSide]
260  std::vector<std::vector<std::vector<std::vector<std::vector<Double_t>>>>>
261  fvCPWalk; //[nSMT][nRpc][nCh][nbSide][nbWalkBins]
262 
263  // Digis quality
267 
268  // Control
269  TTimeStamp fStart;
270  TTimeStamp fStop;
271 
272  // --- Run counters
273  TStopwatch fTimer;
274  Int_t fiNofEvents;
275  Double_t fdNofDigisTot;
276  Double_t fdNofHitsTot;
277  Double_t fdTimeTot;
278 
279  // Calib
280  Double_t dTRef;
281  Double_t fdTRefMax;
282  Int_t fCalMode;
283  Int_t fCalTrg;
284  Int_t fCalSmType;
285  Double_t fdCaldXdYMax;
286  Int_t fTRefMode;
287  Int_t fTRefHits;
288  Double_t fPosYMaxScal;
289  Double_t fTRefDifMax;
290  Double_t fTotMax;
291  Double_t fTotMin;
292  Double_t fOutTimeFactor;
293 
294  TString fCalParFileName; // name of the file name with Calibration Parameters
295  TFile* fCalParFile; // pointer to Calibration Parameter file
296 
298 
300 };
301 
302 #endif // CBMTOFSIMPCLUSTERIZER_H
CbmTofSimpClusterizer::fhClusterSizeType
TH2 * fhClusterSizeType
Definition: CbmTofSimpClusterizer.h:213
CbmTofSimpClusterizer::fCalMode
Int_t fCalMode
Definition: CbmTofSimpClusterizer.h:282
CbmTofSimpClusterizer::SetTRefDifMax
void SetTRefDifMax(Double_t TRefMax)
Definition: CbmTofSimpClusterizer.h:84
CbmTofSimpClusterizer::fGeoHandler
CbmTofGeoHandler * fGeoHandler
Definition: CbmTofSimpClusterizer.h:154
CbmTofSimpClusterizer::fvCPSigPropSpeed
std::vector< std::vector< Double_t > > fvCPSigPropSpeed
Definition: CbmTofSimpClusterizer.h:253
CbmMatch
Definition: CbmMatch.h:22
CbmTofSimpClusterizer::fCalParFile
TFile * fCalParFile
Definition: CbmTofSimpClusterizer.h:295
CbmTofSimpClusterizer::fTotMax
Double_t fTotMax
Definition: CbmTofSimpClusterizer.h:290
CbmTofSimpClusterizer::fvdY
std::vector< std::vector< std::vector< Double_t > > > fvdY
Definition: CbmTofSimpClusterizer.h:195
CbmTofSimpClusterizer::fhRpcCluMul
std::vector< TH1 * > fhRpcCluMul
Definition: CbmTofSimpClusterizer.h:229
CbmTofSimpClusterizer::fdNofHitsTot
Double_t fdNofHitsTot
Total number of hits produced.
Definition: CbmTofSimpClusterizer.h:276
CbmTofSimpClusterizer::fTotMin
Double_t fTotMin
Definition: CbmTofSimpClusterizer.h:291
CbmTofSimpClusterizer::fhRpcCluSize
std::vector< TH2 * > fhRpcCluSize
Definition: CbmTofSimpClusterizer.h:235
CbmTofSimpClusterizer::WriteHistos
Bool_t WriteHistos()
Definition: CbmTofSimpClusterizer.cxx:1115
CbmTofSimpClusterizer::SetTotMax
void SetTotMax(Double_t TOTMax)
Definition: CbmTofSimpClusterizer.h:87
CbmTofSimpClusterizer::fhTRpcCluAvWalk
std::vector< std::vector< TH2 * > > fhTRpcCluAvWalk
Definition: CbmTofSimpClusterizer.h:245
CbmTofSimpClusterizer::fhRpcDigiCor
std::vector< TH2 * > fhRpcDigiCor
Definition: CbmTofSimpClusterizer.h:228
CbmTofSimpClusterizer::SetdTRefMax
void SetdTRefMax(Double_t dTRefMax)
Definition: CbmTofSimpClusterizer.h:85
CbmTofSimpClusterizer::fviTrkMul
std::vector< std::vector< std::vector< Int_t > > > fviTrkMul
Definition: CbmTofSimpClusterizer.h:191
CbmTofSimpClusterizer::fiNofEvents
Int_t fiNofEvents
Total number of events processed.
Definition: CbmTofSimpClusterizer.h:274
CbmTofSimpClusterizer::fhClusterSize
TH1 * fhClusterSize
Definition: CbmTofSimpClusterizer.h:212
CbmTofSimpClusterizer::fPosYMaxScal
Double_t fPosYMaxScal
Definition: CbmTofSimpClusterizer.h:288
CbmTofSimpClusterizer::fhTRpcCludXdY
std::vector< std::vector< TH2 * > > fhTRpcCludXdY
Definition: CbmTofSimpClusterizer.h:247
CbmTofSimpClusterizer::fvCPTotGain
std::vector< std::vector< std::vector< std::vector< Double_t > > > > fvCPTotGain
Definition: CbmTofSimpClusterizer.h:259
CbmTofSimpClusterizer::Finish
virtual void Finish()
Inherited from FairTask.
Definition: CbmTofSimpClusterizer.cxx:345
CbmTofSimpClusterizer::fdParFeeTimeRes
Double_t fdParFeeTimeRes
Definition: CbmTofSimpClusterizer.h:159
CbmTofSimpClusterizer::fVerbose
Int_t fVerbose
Definition: CbmTofSimpClusterizer.h:173
CbmTofSimpClusterizer::fdTimeTot
Double_t fdTimeTot
Total execution time.
Definition: CbmTofSimpClusterizer.h:277
CbmTofSimpClusterizer::SetCalSmType
void SetCalSmType(Int_t iCalSmType)
Definition: CbmTofSimpClusterizer.h:79
CbmTofSimpClusterizer::fviClusterSize
std::vector< std::vector< std::vector< Int_t > > > fviClusterSize
Definition: CbmTofSimpClusterizer.h:189
CbmTofSimpClusterizer::fhRpcCluAvWalk
std::vector< TH2 * > fhRpcCluAvWalk
Definition: CbmTofSimpClusterizer.h:236
CbmTofSimpClusterizer::fChannelInfo
CbmTofCell * fChannelInfo
Definition: CbmTofSimpClusterizer.h:157
CbmTofSimpClusterizer::CbmTofSimpClusterizer
CbmTofSimpClusterizer()
Constructor.
Definition: CbmTofSimpClusterizer.cxx:73
CbmTofSimpClusterizer::fhHiTrkMulPos
TH2 * fhHiTrkMulPos
Definition: CbmTofSimpClusterizer.h:217
CbmTofSimpClusterizer::fhTRpcCluDelTof
std::vector< std::vector< TH2 * > > fhTRpcCluDelTof
Definition: CbmTofSimpClusterizer.h:246
CbmTofSimpClusterizer::SetHistoFileName
Bool_t SetHistoFileName(TString sFilenameIn="./tofSimpClust.hst.root")
Definition: CbmTofSimpClusterizer.cxx:1166
CbmTofSimpClusterizer::fdNofDigisTot
Double_t fdNofDigisTot
Total number of Tof Digis processed.
Definition: CbmTofSimpClusterizer.h:275
CbmTofSimpClusterizer::fvdX
std::vector< std::vector< std::vector< Double_t > > > fvdX
Definition: CbmTofSimpClusterizer.h:193
CbmTofSimpClusterizer::DeleteGeometry
Bool_t DeleteGeometry()
Delete the geometry related arrays: for now just clearing the Digis temporary vectors.
Definition: CbmTofSimpClusterizer.cxx:765
CbmTofSimpClusterizer::fDigiMan
CbmDigiManager * fDigiMan
Definition: CbmTofSimpClusterizer.h:165
CbmTofSimpClusterizer::LoadGeometry
Bool_t LoadGeometry()
Load the geometry: for now just resizing the Digis temporary vectors.
Definition: CbmTofSimpClusterizer.cxx:689
CbmTofSimpClusterizer::fhClustBuildTime
TH1 * fhClustBuildTime
Definition: CbmTofSimpClusterizer.h:206
CbmTofSimpClusterizer::fhClusterSizeMulti
TH2 * fhClusterSizeMulti
Definition: CbmTofSimpClusterizer.h:215
CbmTofSimpClusterizer::fhTrackMul
TH1 * fhTrackMul
Definition: CbmTofSimpClusterizer.h:214
CbmTofSimpClusterizer::fhClustSizeDifY
TH2 * fhClustSizeDifY
Definition: CbmTofSimpClusterizer.h:224
CbmTofSimpClusterizer::~CbmTofSimpClusterizer
virtual ~CbmTofSimpClusterizer()
Destructor.
Definition: CbmTofSimpClusterizer.cxx:275
CbmTofSimpClusterizer::CreateHistos
Bool_t CreateHistos()
Definition: CbmTofSimpClusterizer.cxx:787
CbmTofSimpClusterizer::fvdDifY
std::vector< std::vector< std::vector< Double_t > > > fvdDifY
Definition: CbmTofSimpClusterizer.h:199
CbmTofSimpClusterizer::ClassDef
ClassDef(CbmTofSimpClusterizer, 2)
CbmTofSimpClusterizer::fCalSmType
Int_t fCalSmType
Definition: CbmTofSimpClusterizer.h:284
CbmTofSimpClusterizer::SetCalTrg
void SetCalTrg(Int_t iTrg)
Definition: CbmTofSimpClusterizer.h:78
CbmTofSimpClusterizer::fDigiBdfPar
CbmTofDigiBdfPar * fDigiBdfPar
Definition: CbmTofSimpClusterizer.h:158
CbmTofSimpClusterizer::fhDigSpacDifClust
TH1 * fhDigSpacDifClust
Definition: CbmTofSimpClusterizer.h:220
CbmTofSimpClusterizer::fhTRpcCluMul
std::vector< std::vector< TH1 * > > fhTRpcCluMul
Definition: CbmTofSimpClusterizer.h:240
CbmTofSimpClusterizer::fdParSystTimeRes
Double_t fdParSystTimeRes
Definition: CbmTofSimpClusterizer.h:160
CbmTofSimpClusterizer::fhClustSizeDifX
TH2 * fhClustSizeDifX
Definition: CbmTofSimpClusterizer.h:223
CbmTofSimpClusterizer::fDigiPar
CbmTofDigiPar * fDigiPar
Definition: CbmTofSimpClusterizer.h:156
CbmTofSimpClusterizer::Exec
virtual void Exec(Option_t *option)
Inherited from FairTask.
Definition: CbmTofSimpClusterizer.cxx:316
CbmTofSimpClusterizer::fhChDifDifY
TH2 * fhChDifDifY
Definition: CbmTofSimpClusterizer.h:226
CbmTofSimpClusterizer::fhTRpcCluPosition
std::vector< std::vector< TH2 * > > fhTRpcCluPosition
Definition: CbmTofSimpClusterizer.h:241
CbmTofSimpClusterizer::fvCPDelTof
std::vector< std::vector< std::vector< std::vector< Double_t > > > > fvCPDelTof
Definition: CbmTofSimpClusterizer.h:255
CbmTofSimpClusterizer::DeleteHistos
Bool_t DeleteHistos()
Definition: CbmTofSimpClusterizer.cxx:1170
CbmTofSimpClusterizer::fhDigDistClust
TH2 * fhDigDistClust
Definition: CbmTofSimpClusterizer.h:222
CbmTofSimpClusterizer::fbMcTrkMonitor
Bool_t fbMcTrkMonitor
Definition: CbmTofSimpClusterizer.h:297
CbmTofSimpClusterizer::UseMcTrackMonitoring
void UseMcTrackMonitoring(Bool_t bMcTrkMonitor=kTRUE)
Definition: CbmTofSimpClusterizer.h:96
CbmTofSimpClusterizer::fvCPWalk
std::vector< std::vector< std::vector< std::vector< std::vector< Double_t > > > > > fvCPWalk
Definition: CbmTofSimpClusterizer.h:261
CbmTofSimpClusterizer::fMcTracksColl
TClonesArray * fMcTracksColl
Definition: CbmTofSimpClusterizer.h:164
CbmTofSimpClusterizer::fStop
TTimeStamp fStop
Definition: CbmTofSimpClusterizer.h:270
CbmTofSimpClusterizer::SetParContainers
virtual void SetParContainers()
Inherited from FairTask.
Definition: CbmTofSimpClusterizer.cxx:301
CbmTofSimpClusterizer::fhTRpcCluWalk
std::vector< std::vector< std::vector< std::vector< TH2 * > > > > fhTRpcCluWalk
Definition: CbmTofSimpClusterizer.h:249
CbmTofSimpClusterizer::Init
virtual InitStatus Init()
Inherited from FairTask.
Definition: CbmTofSimpClusterizer.cxx:282
CbmTofSimpClusterizer::fsHistoOutFilename
TString fsHistoOutFilename
Definition: CbmTofSimpClusterizer.h:204
CbmTofGeoHandler
Definition: CbmTofGeoHandler.h:30
CbmTofSimpClusterizer::fhRpcCluTrms
std::vector< TH2 * > fhRpcCluTrms
Definition: CbmTofSimpClusterizer.h:233
CbmTofSimpClusterizer::fhPtsPerHit
TH1 * fhPtsPerHit
Definition: CbmTofSimpClusterizer.h:208
CbmTofCell
Definition: CbmTofCell.h:8
CbmTofSimpClusterizer::InitParameters
Bool_t InitParameters()
Initialize other parameters not included in parameter classes.
Definition: CbmTofSimpClusterizer.cxx:413
CbmTofSimpClusterizer::SetCalParFileName
void SetCalParFileName(TString CalParFileName)
Definition: CbmTofSimpClusterizer.h:91
TOTMin
Double_t TOTMin
Definition: CbmTofSimpClusterizer.cxx:56
CbmTofSimpClusterizer::fStorDigiInd
std::vector< std::vector< std::vector< std::vector< Int_t > > > > fStorDigiInd
Definition: CbmTofSimpClusterizer.h:179
CbmTofSimpClusterizer::fCalParFileName
TString fCalParFileName
Definition: CbmTofSimpClusterizer.h:294
CbmTofSimpClusterizer::fhRpcSigPropSpeed
std::vector< TH1 * > fhRpcSigPropSpeed
Definition: CbmTofSimpClusterizer.h:230
CbmTofSimpClusterizer::fhTRpcCluTot
std::vector< std::vector< TH2 * > > fhTRpcCluTot
Definition: CbmTofSimpClusterizer.h:243
CbmTofSimpClusterizer::fTRefDifMax
Double_t fTRefDifMax
Definition: CbmTofSimpClusterizer.h:289
CbmTofSimpClusterizer::PosYMaxScal
void PosYMaxScal(Double_t PosYmaxScal)
Definition: CbmTofSimpClusterizer.h:86
CbmTofSimpClusterizer::RegisterInputs
Bool_t RegisterInputs()
Recover pointer on input TClonesArray: TofPoints, TofDigis...
Definition: CbmTofSimpClusterizer.cxx:366
CbmDigiManager
CbmDigiManager.
Definition: CbmDigiManager.h:37
CbmTofSimpClusterizer::fdCaldXdYMax
Double_t fdCaldXdYMax
Definition: CbmTofSimpClusterizer.h:285
CbmTofDigiBdfPar
Parameters class for the CBM ToF digitizer using beam data distributions.
Definition: CbmTofDigiBdfPar.h:30
CbmTofSimpClusterizer::RegisterOutputs
Bool_t RegisterOutputs()
Create and register output TClonesArray of Tof Hits.
Definition: CbmTofSimpClusterizer.cxx:396
CbmTofSimpClusterizer::fhAllTrkMulPos
TH2 * fhAllTrkMulPos
Definition: CbmTofSimpClusterizer.h:218
CbmTofSimpClusterizer::fiNbHits
Int_t fiNbHits
Definition: CbmTofSimpClusterizer.h:170
CbmTofSimpClusterizer::fiNbSameSide
Int_t fiNbSameSide
Definition: CbmTofSimpClusterizer.h:264
CbmTofSimpClusterizer::fvdDifX
std::vector< std::vector< std::vector< Double_t > > > fvdDifX
Definition: CbmTofSimpClusterizer.h:197
CbmTofSimpClusterizer::fTofPointsColl
TClonesArray * fTofPointsColl
Definition: CbmTofSimpClusterizer.h:163
CbmTofSimpClusterizer::fOutTimeFactor
Double_t fOutTimeFactor
Definition: CbmTofSimpClusterizer.h:292
TOTMax
Double_t TOTMax
Definition: CbmTofSimpClusterizer.cxx:55
CbmTofSimpClusterizer::fhRpcCluWalk
std::vector< std::vector< std::vector< TH2 * > > > fhRpcCluWalk
Definition: CbmTofSimpClusterizer.h:238
CbmTofDigi
Data class for expanded digital TOF information.
Definition: CbmTofDigi.h:38
CbmTofSimpClusterizer::CbmTofSimpClusterizer
CbmTofSimpClusterizer(const CbmTofSimpClusterizer &)
Copy constructor.
CbmTofSimpClusterizer::fviClusterMul
std::vector< std::vector< std::vector< Int_t > > > fviClusterMul
Definition: CbmTofSimpClusterizer.h:187
CbmTofSimpClusterizer::SetTRefId
void SetTRefId(Int_t Id)
Definition: CbmTofSimpClusterizer.h:83
CbmTofSimpClusterizer::SetOutTimeFactor
void SetOutTimeFactor(Double_t val)
Definition: CbmTofSimpClusterizer.h:89
CbmTofSimpClusterizer::fhTimeResSingHits
TH1 * fhTimeResSingHits
Definition: CbmTofSimpClusterizer.h:209
CbmTofSimpClusterizer::fhNbSameSide
TH1 * fhNbSameSide
Definition: CbmTofSimpClusterizer.h:265
CbmTofSimpClusterizer::fhRpcCluTot
std::vector< TH2 * > fhRpcCluTot
Definition: CbmTofSimpClusterizer.h:234
CbmTofSimpClusterizer::fhHitsPerTracks
TH1 * fhHitsPerTracks
Definition: CbmTofSimpClusterizer.h:207
CbmTofSimpClusterizer::fhNbDigiPerChan
TH1 * fhNbDigiPerChan
Definition: CbmTofSimpClusterizer.h:266
CbmTofSimpClusterizer::fhTrk1MulPos
TH2 * fhTrk1MulPos
Definition: CbmTofSimpClusterizer.h:216
CbmTofSimpClusterizer::dTRef
Double_t dTRef
Definition: CbmTofSimpClusterizer.h:280
CbmTofSimpClusterizer::SetCaldXdYMax
void SetCaldXdYMax(Double_t dCaldXdYMax)
Definition: CbmTofSimpClusterizer.h:80
CbmTofSimpClusterizer::InitCalibParameter
Bool_t InitCalibParameter()
Initialize other parameters not included in parameter classes.
Definition: CbmTofSimpClusterizer.cxx:453
CbmTofSimpClusterizer::fdTRefMax
Double_t fdTRefMax
Definition: CbmTofSimpClusterizer.h:281
CbmTofSimpClusterizer::fTimer
TStopwatch fTimer
ROOT timer.
Definition: CbmTofSimpClusterizer.h:273
CbmTofSimpClusterizer::fTRefMode
Int_t fTRefMode
Definition: CbmTofSimpClusterizer.h:286
CbmTofSimpClusterizer::BuildClusters
Bool_t BuildClusters()
Build clusters out of ToF Digis and store the resulting info in a TofHit.
Definition: CbmTofSimpClusterizer.cxx:1204
CbmTofSimpClusterizer::fhRpcCluPosition
std::vector< TH2 * > fhRpcCluPosition
Definition: CbmTofSimpClusterizer.h:231
CbmTofDigiPar
Definition: CbmTofDigiPar.h:18
CbmTofSimpClusterizer::fhTRpcCluTOff
std::vector< std::vector< TH2 * > > fhTRpcCluTOff
Definition: CbmTofSimpClusterizer.h:242
CbmTofSimpClusterizer::fhTimeResSingHitsB
TH2 * fhTimeResSingHitsB
Definition: CbmTofSimpClusterizer.h:210
CbmTofSimpClusterizer::fStorDigiExp
std::vector< std::vector< std::vector< std::vector< CbmTofDigi * > > > > fStorDigiExp
Definition: CbmTofSimpClusterizer.h:177
CbmTofSimpClusterizer::fvdDifCh
std::vector< std::vector< std::vector< Double_t > > > fvdDifCh
Definition: CbmTofSimpClusterizer.h:201
CbmTofSimpClusterizer::fhTRpcCluSize
std::vector< std::vector< TH2 * > > fhTRpcCluSize
Definition: CbmTofSimpClusterizer.h:244
CbmTofSimpClusterizer::fhChDifDifX
TH2 * fhChDifDifX
Definition: CbmTofSimpClusterizer.h:225
CbmTofSimpClusterizer::fhMultiTrkProbPos
TH2 * fhMultiTrkProbPos
Definition: CbmTofSimpClusterizer.h:219
CbmTofDetectorId
Definition: CbmTofDetectorId.h:66
CbmTofSimpClusterizer::FillHistos
Bool_t FillHistos()
Definition: CbmTofSimpClusterizer.cxx:1020
CbmTofSimpClusterizer::fTofHitsColl
TClonesArray * fTofHitsColl
Definition: CbmTofSimpClusterizer.h:168
CbmTofSimpClusterizer::fStart
TTimeStamp fStart
Definition: CbmTofSimpClusterizer.h:269
CbmTofSimpClusterizer::SetCalMode
void SetCalMode(Int_t iMode)
Definition: CbmTofSimpClusterizer.h:77
CbmTofSimpClusterizer::fhDigTimeDifClust
TH1 * fhDigTimeDifClust
Definition: CbmTofSimpClusterizer.h:221
CbmTofSimpClusterizer::operator=
CbmTofSimpClusterizer & operator=(const CbmTofSimpClusterizer &)
Copy operator.
CbmTofSimpClusterizer::fCalTrg
Int_t fCalTrg
Definition: CbmTofSimpClusterizer.h:283
CbmTofSimpClusterizer::GetEventInfo
void GetEventInfo(Int_t &inputNr, Int_t &eventNr, Double_t &eventTime)
Retrieve event info from run manager to properly fill the CbmLink objects.
Definition: CbmTofSimpClusterizer.cxx:2197
CbmTofSimpClusterizer::fTofId
CbmTofDetectorId * fTofId
Definition: CbmTofSimpClusterizer.h:155
CbmTofSimpClusterizer::fhTrgdT
std::vector< TH1 * > fhTrgdT
Definition: CbmTofSimpClusterizer.h:251
CbmTofSimpClusterizer::fTofDigiMatchColl
TClonesArray * fTofDigiMatchColl
Definition: CbmTofSimpClusterizer.h:169
CbmTofSimpClusterizer::fhRpcCluTOff
std::vector< TH2 * > fhRpcCluTOff
Definition: CbmTofSimpClusterizer.h:232
CbmTofSimpClusterizer::fvCPTOff
std::vector< std::vector< std::vector< std::vector< Double_t > > > > fvCPTOff
Definition: CbmTofSimpClusterizer.h:257
CbmTofSimpClusterizer::fhTimePtVsHits
TH2 * fhTimePtVsHits
Definition: CbmTofSimpClusterizer.h:211
CbmTofSimpClusterizer
Simple Cluster building and hit producing for CBM ToF using Digis as input.
Definition: CbmTofSimpClusterizer.h:41
CbmTofSimpClusterizer::fTRefHits
Int_t fTRefHits
Definition: CbmTofSimpClusterizer.h:287
CbmTofSimpClusterizer::SetTotMin
void SetTotMin(Double_t TOTMin)
Definition: CbmTofSimpClusterizer.h:88