CbmRoot
Loading...
Searching...
No Matches
CbmTofAnaTestbeam.h
Go to the documentation of this file.
1/* Copyright (C) 2014-2020 PI-UHd, GSI
2 SPDX-License-Identifier: GPL-3.0-only
3 Authors: Pierre-Alain Loizeau, Norbert Herrmann [committer], Christian Simon */
4
5// ------------------------------------------------------------------
6// ----- CbmTofTests -----
7// ----- Created 29/08/2013 by P.-A. Loizeau -----
8// ------------------------------------------------------------------
9#ifndef _CBMTOFANATESTBEAM_H_
10#define _CBMTOFANATESTBEAM_H_ 1
11
12#include "CbmTofFindTracks.h"
14
16class CbmTofCell;
17// Geometry
20class CbmTofCell;
21
22class CbmTofDigiPar;
24class TMbsMappingTofPar;
25
26//class CbmTofDigi;
27class CbmTofHit;
28class CbmTofTracklet;
29
30class CbmMCDataArray;
31class CbmMCDataObject;
32class CbmMCEventList;
33
34#include "CbmTofAddress.h" // in cbmdata/tof
35
36#include "FairTask.h"
37
38class TClonesArray;
39class TH1;
40class TH2;
41class TString;
42class TTrbHeader;
43class TGeoNode;
44class TGeoPhysicalNode;
45class TEfficiency;
46
47#include "TTimeStamp.h"
48
49class CbmTofAnaTestbeam : public FairTask {
50 friend class CbmTofFindTracks;
52
53public:
55 CbmTofAnaTestbeam(const char* name, Int_t verbose = 1);
56 virtual ~CbmTofAnaTestbeam();
57
58 virtual InitStatus Init();
59 virtual void Exec(Option_t* option);
60 virtual void ExecEvent(Option_t* option);
61 virtual void Finish();
62
66 virtual void SetParContainers();
67
68 Bool_t RegisterInputs();
69
70 inline Double_t GetDXMean() const { return fdDXMean; }
71 inline Double_t GetDYMean() const { return fdDYMean; }
72 inline Double_t GetDTMean() const { return fdDTMean; }
73 inline Double_t GetDXWidth() const { return fdDXWidth; }
74 inline Double_t GetDYWidth() const { return fdDYWidth; }
75 inline Double_t GetDTWidth() const { return fdDTWidth; }
76 inline Double_t GetMul0Max() const { return fdMul0Max; }
77 inline Double_t GetMul4Max() const { return fdMul4Max; }
78 inline Double_t GetCh4Sel() const { return fdCh4Sel; }
79 inline Double_t GetDCh4Sel() const { return fdDCh4Sel; }
80 inline Double_t GetPosY4Sel() const { return fdPosY4Sel; }
81 inline Double_t GetPosY4SelOff() const { return fdPosY4SelOff; }
82 inline Double_t GetChS2Sel() const { return fdChS2Sel; }
83 inline Double_t GetDChS2Sel() const { return fdDChS2Sel; }
84 inline Double_t GetPosYS2Sel() const { return fdPosYS2Sel; }
85 inline Double_t GetPosYS2SelOff() const { return fdPosYS2SelOff; }
86 inline Double_t GetSel2TOff() const { return fdSel2TOff; }
87 inline Double_t GetMulDMax() const { return fdMulDMax; }
88 inline Double_t GetDTDia() const { return fdDTDia; }
89 inline Double_t GetDTD4MAX() const { return fdDTD4MAX; }
90 inline Double_t GetHitDistMin() const { return fdHitDistMin; }
91 inline Double_t GetTOffD4() const { return fdTOffD4; }
92 inline Double_t GetTShift() const { return fdTShift; }
93
94 inline Int_t GetCorMode() const { return fiCorMode; }
95 inline Int_t GetDut() const { return fiDut; }
96 inline Int_t GetDutRpc() const { return fiDutRpc; }
97 inline Int_t GetMrpcRef() const { return fiMrpcRef; }
98 inline Int_t GetMrpcSel2() const { return fiMrpcSel2; }
99 inline Int_t GetMrpcSel3() const { return fiMrpcSel3; }
100 inline Int_t GetPlaSelect() const { return fiPlaSelect; }
101 inline Int_t GetBeamRefSmType() const { return fiBeamRefSmType; }
102 inline Int_t GetBeamRefSmId() const { return fiBeamRefSmId; }
103 inline Int_t GetBeamRefRpc() const { return fiBeamRefRpc; }
104
105 inline void SetDXMean(Double_t val) { fdDXMean = val; }
106 inline void SetDYMean(Double_t val) { fdDYMean = val; }
107 inline void SetDTMean(Double_t val) { fdDTMean = val; }
108 inline void SetDXWidth(Double_t val) { fdDXWidth = val; }
109 inline void SetDYWidth(Double_t val) { fdDYWidth = val; }
110 inline void SetDTWidth(Double_t val) { fdDTWidth = val; }
111 inline void SetMul0Max(Double_t val) { fdMul0Max = val; }
112 inline void SetMul4Max(Double_t val) { fdMul4Max = val; }
113 inline void SetCh4Sel(Double_t val) { fdCh4Sel = val; }
114 inline void SetDCh4Sel(Double_t val) { fdDCh4Sel = val; }
115 inline void SetPosY4Sel(Double_t val) { fdPosY4Sel = val; }
116 inline void SetPosY4SelOff(Double_t val) { fdPosY4SelOff = val; }
117 inline void SetChS2Sel(Double_t val) { fdChS2Sel = val; }
118 inline void SetDChS2Sel(Double_t val) { fdDChS2Sel = val; }
119 inline void SetPosYS2Sel(Double_t val) { fdPosYS2Sel = val; }
120 inline void SetPosYS2SelOff(Double_t val) { fdPosYS2SelOff = val; }
121 inline void SetSel2TOff(Double_t val) { fdSel2TOff = val; }
122 inline void SetSpillDuration(Double_t val) { fdSpillDuration = val; }
123 inline void SetSpillBreak(Double_t val) { fdSpillBreak = val; }
124 inline void SetStartSpillTime(Double_t val) { fdStartSpillTime = val; }
125 inline void SetMulDMax(Double_t val) { fdMulDMax = val; }
126 inline void SetDTDia(Double_t val) { fdDTDia = val; }
127 inline void SetDTD4MAX(Double_t val) { fdDTD4MAX = val; }
128 inline void SetHitDistMin(Double_t val) { fdHitDistMin = val; }
129 inline void SetHitDistAv(Double_t val) { fdHitDistAv = val; }
130 inline void SetTOffD4(Double_t val) { fdTOffD4 = val; }
131 inline void SetTShift(Double_t val) { fdTShift = val; }
132 inline void SetChi2Lim(Double_t val) { fdChi2Lim = val; }
133 inline void SetChi2Lim2(Double_t val) { fdChi2Lim2 = val; }
134
135 inline void SetCorMode(Int_t ival) { fiCorMode = ival; }
136 inline void SetDutAddr(Int_t ival) { fiDutAddr = ival; }
137 inline void SetMrpcRefAddr(Int_t ival) { fiMrpcRefAddr = ival; }
138 inline void SetMrpcSel2Addr(Int_t ival) { fiMrpcSel2Addr = ival; }
139 inline void SetMrpcSel3Addr(Int_t ival) { fiMrpcSel3Addr = ival; }
140 inline void SetBeamRefAddr(Int_t ival) { fiBeamRefAddr = ival; }
141
142 inline void SetDut(Int_t ival)
143 {
144 fiDut = ival;
146 }
147 inline void SetDutSm(Int_t ival)
148 {
149 fiDutSm = ival;
151 }
152 inline void SetDutRpc(Int_t ival)
153 {
154 fiDutRpc = ival;
156 }
157
158 inline void SetMrpcRef(Int_t ival)
159 {
160 fiMrpcRef = ival;
162 }
163 inline void SetMrpcRefSm(Int_t ival)
164 {
165 fiMrpcRefSm = ival;
167 }
168 inline void SetMrpcRefRpc(Int_t ival)
169 {
170 fiMrpcRefRpc = ival;
172 }
173
174 inline void SetMrpcSel2(Int_t ival)
175 {
176 fiMrpcSel2 = ival;
178 }
189
190 inline void SetMrpcSel3(Int_t ival)
191 {
192 fiMrpcSel3 = ival;
194 }
205
206 inline void SetPlaSelect(Int_t ival) { fiPlaSelect = ival; }
222
223 inline void SetReqTrg(Int_t ival) { fiReqTrg = ival; }
224
225 inline void SetCalParFileName(TString CalParFileName) { fCalParFileName = CalParFileName; }
226 inline void SetCalOutFileName(TString CalOutFileName) { fCalOutFileName = CalOutFileName; }
227
228 inline void SetChi2LimFit(Double_t val) { fChi2LimFit = val; }
229 inline void SetR0LimFit(Double_t val) { fR0LimFit = val; }
230 inline void SetSIGLIM(Double_t val) { fSIGLIM = val; }
231 inline void SetSIGT(Double_t val) { fSIGT = val; }
232 inline void SetSIGX(Double_t val) { fSIGX = val; }
233 inline void SetSIGY(Double_t val) { fSIGY = val; }
234
235 inline void SetEnableMatchPosScaling(Bool_t bval) { fEnableMatchPosScaling = bval; }
236
237 inline Double_t GetChi2LimFit() { return fChi2LimFit; }
238 inline Double_t GetR0LimFit() { return fR0LimFit; }
239 inline Double_t GetSIGLIM() { return fSIGLIM; }
240 inline Double_t GetSIGT() { return fSIGT; }
241 inline Double_t GetSIGX() { return fSIGX; }
242 inline Double_t GetSIGY() { return fSIGY; }
243
244 inline void SetDutX(Double_t val) { fdDutX = val; }
245 inline void SetDutDX(Double_t val) { fdDutDX = val; }
246 inline void SetDutY(Double_t val) { fdDutY = val; }
247 inline void SetDutDY(Double_t val) { fdDutDY = val; }
248
249 inline void SetMonteCarloComparison(Bool_t bval) { fbMonteCarloComparison = bval; }
250 inline void SetGhostTrackHitQuota(Double_t val) { fdGhostTrackHitQuota = val; }
251 inline void SetDelayMCPoints(Bool_t bval) { fbDelayMCPoints = bval; }
252 inline void SetAttachDutHitToTracklet(Bool_t bval) { fbAttachDutHitToTracklet = bval; }
253 inline void SetBestSelTrackletOnly(Bool_t bval) { fbBestSelTrackletOnly = bval; }
254 inline void SetUseSigCalib(Bool_t bval) { fbUseSigCalib = bval; }
255 inline void SetAnaMode(Int_t ival) { fiAnaMode = ival; }
256
257 inline void SetMCSIGLIM(Double_t val) { fdMCSIGLIM = val; }
258 inline void SetMCSIGT(Double_t val) { fdMCSIGT = val; }
259 inline void SetMCSIGX(Double_t val) { fdMCSIGX = val; }
260 inline void SetMCSIGY(Double_t val) { fdMCSIGY = val; }
261
262 inline Double_t GetMCSIGLIM() { return fdMCSIGLIM; }
263 inline Double_t GetMCSIGT() { return fdMCSIGT; }
264 inline Double_t GetMCSIGX() { return fdMCSIGX; }
265 inline Double_t GetMCSIGY() { return fdMCSIGY; }
266
267 Double_t GetSigT(Int_t iSelType);
268 Double_t GetSigX(Int_t iSelType);
269 Double_t GetSigY(Int_t iSelType);
270
271 Double_t GetSHTSigX();
272 Double_t GetSHTSigY();
273 Double_t GetSHTSigT();
274
275 inline void SetMinMCRefTrackPoints(Int_t val) { fiMinMCRefTrackPoints = val; }
276 inline void SetMaxMCRefTracks(Int_t val) { fiMaxMCRefTracks = val; }
277
278private:
279 Bool_t LoadGeometry();
280 Bool_t CreateHistos();
281 Bool_t FillHistos();
282 Bool_t WriteHistos();
283 Bool_t DeleteHistos();
284
285 Bool_t FindModuleNodes();
286 void ExpandNode(TGeoNode* tMotherNode);
287
291 Bool_t InitParameters();
295 Bool_t LoadCalParameter();
296
299
300 Int_t fEvents; // Number of processed events
301
302 // Geometry infos
309
310 TMbsMappingTofPar* fMbsMappingPar;
311
312 Int_t iNbSmTot;
313 std::vector<Int_t> fvTypeSmOffs; // Offset in SM index for first SM of each SM type
315 std::vector<std::vector<Int_t>> fvSmRpcOffs; // Offset in RPC index for first RPC of each SM
316 Int_t iNbChTot;
317 std::vector<std::vector<std::vector<Int_t>>> fvRpcChOffs; // Offset in channel index for first channel of each RPC
318
319 // Parameters
322
323 TClonesArray* fTofDigisColl; // TOF Digis
324 TClonesArray* fTofHitsColl; // TOF hits
325 TClonesArray* fTofDigiMatchColl; // TOF DigiMatches
326 TClonesArray* fTofTrackColl; // TOF Tracks
327
328 TClonesArray* fEventsColl; // CBMEvents (time based)
329 TClonesArray* fTofDigisCollIn; // TOF Digis
330 TClonesArray* fTofHitsCollIn; // TOF hits
331 TClonesArray* fTofDigiMatchCollIn; // TOF DigiMatches
332 TClonesArray* fTofTrackCollIn; // TOF Tracks
333
335
336 Double_t fdDXMean;
337 Double_t fdDYMean;
338 Double_t fdDTMean;
339 Double_t fdDXWidth;
340 Double_t fdDYWidth;
341 Double_t fdDTWidth;
342
343 // Histograms
344
364 TH1* fhDT2;
365 TH2* fhXX2;
366 TH2* fhYY2;
368 TH2* fhXX04;
369 TH2* fhYY04;
370 TH2* fhXY04;
371 TH2* fhYX04;
372 TH2* fhTT04;
373
376
386
399
446
481
486 TH2* fhXY24;
490
499
503 TH1* fhDTD4;
504
505 TH2* fhXX02[2];
506 TH2* fhYY02[2];
507
508 std::vector<TH2*> fhXYPos; //[nbDet]
510
515
549
550
558
564
570
571 TEfficiency* fhSelEfficiency;
572 TEfficiency* fhSelPurity;
573 TEfficiency* fhSelRefTrackShare;
576 TEfficiency* fhSelMatchPurity;
592
594 TEfficiency* fhSelTrklPurity;
608
612
616
620
624
631
639
640 TEfficiency* fhAccRefTrackShare;
647
648 std::map<std::tuple<Int_t, Int_t, Int_t>, TH2*> fhDomTracksProcSpec;
649 std::map<std::tuple<Int_t, Int_t, Int_t>, TH2*> fhDomTracksProcMat;
650 std::map<std::tuple<Int_t, Int_t, Int_t>, TH2*> fhRndmTracksProcSpec;
651 std::map<std::tuple<Int_t, Int_t, Int_t>, TH2*> fhRndmTracksProcMat;
652
653 std::map<std::tuple<Int_t, Int_t, Int_t>, TH1*> fhCounterAccTrackMul;
654 std::map<std::tuple<Int_t, Int_t, Int_t>, TH1*> fhCounterAccRefTrackMul;
655 std::map<std::tuple<Int_t, Int_t, Int_t>, TH1*> fhCounterAccRndmTrackMul;
656 std::map<std::tuple<Int_t, Int_t, Int_t>, TH1*> fhCounterAccDomTrackMul;
657
658 std::map<std::tuple<Int_t, Int_t, Int_t>, TH1*> fhCounterRecRefTrackEfficiencyPassed;
659 std::map<std::tuple<Int_t, Int_t, Int_t>, TH1*> fhCounterRecRefTrackEfficiencyTotal;
660 std::map<std::tuple<Int_t, Int_t, Int_t>, TH1*> fhCounterRecRefTrackPurityPassed;
661
662 std::map<std::tuple<Int_t, Int_t, Int_t>, TH2*> fhCounterRefTrackMulHitMul;
663 std::map<std::tuple<Int_t, Int_t, Int_t>, TH2*> fhCounterRefTrackLocalXY;
664 std::map<std::tuple<Int_t, Int_t, Int_t>, TH2*> fhCounterRefTrackMulCell;
665 std::map<std::tuple<Int_t, Int_t, Int_t>, TH2*> fhCounterHitMulCell;
666
670
673
678
683
686
687 // Test class performance
688
689 // Rates and data rates
690
695
696 // Performances check
697
698 // Control
699 TTimeStamp fStart;
700 TTimeStamp fStop;
701
702 TString fCalParFileName; // name of the file name with Calibration Parameters
704 TFile* fCalParFile; // pointer to Calibration Parameter file
705 TH1* fhDTD4DT04D4Off; // 'calibration' histo
706 TH1* fhDTX4D4Off; // 'calibration' histo
707 TH1* fhDTY4D4Off; // 'calibration' histo
708 TH1* fhDTTexpD4Off; // 'calibration' histo
709 TH1* fhCluSize0DT04D4Off; // 'calibration' histo
710 TH1* fhCluSize4DT04D4Off; // 'calibration' histo
711 TH1* fhTot0DT04D4Off; // 'calibration' histo
712 TH1* fhTot4DT04D4Off; // 'calibration' histo
713 TH1* fhSelTypeNNResidualT_Width; // 'calibration' histo
714 TH1* fhSelTypeNNResidualX_Width; // 'calibration' histo
715 TH1* fhSelTypeNNResidualY_Width; // 'calibration' histo
716 TH1* fhSelHitTupleResidualXYT_Width; // 'calibration' histo
717 Double_t fdMulDMax; // max multiplicity in Diamond counter
718 Double_t fdSpillDuration; // min. spill length in sec
719 Double_t fdSpillBreak; // min. spill break in sec
720 Double_t fdStartSpillTime; // Start of Spill, if negative find begin of first spill
721 Double_t fdDTDia; // max time difference between diamonds
722 Double_t fdDTD4MAX; // max time difference between reference & diamond
723 Double_t fdMul0Max; // max multiplicity in Dut
724 Double_t fdMul4Max; // max multiplicity in HD/Buc Ref counter
725 Double_t fdCh4Sel; // Center of selected strip numbers
726 Double_t fdDCh4Sel; // Width of selected strip numbers
727 Double_t fdPosY4Sel; // Fraction of Y-Size
728 Double_t fdPosY4SelOff; // Offset of selection interval in cm
729 Double_t fdChS2Sel; // Center of selected strip numbers
730 Double_t fdDChS2Sel; // Width of selected strip numbers
731 Double_t fdPosYS2Sel; // Fraction of Y-Size
732 Double_t fdPosYS2SelOff; // Offset of selection interval in cm
733 Double_t fdSel2TOff; // Offset for matching Sel2 time
734
735 Double_t fdHitDistMin; // minimal spatial distance of correlated hits
736 Double_t fdHitDistAv; // average spatial distance of correlated hits
737 Double_t fdTOffD4; // Offset to calibrate TD4 to time of flight
738 Double_t fdTShift; // general time shift of all hits
739 Double_t fdChi2Lim; // Chi2 Limit to accept selector coincidence
740 Double_t fdChi2Lim2; // Chi2 Limit for Mref - Sel2 to accept coincidence
741
742 Double_t fdDutX;
743 Double_t fdDutDX;
744 Double_t fdDutY;
745 Double_t fdDutDY;
746
747 Int_t fiCorMode; // Correction histogram generation mode
748 Int_t fiDutAddr; // Device under test Address
749 Int_t fiMrpcRefAddr; // Reference Mrpc Address
750 Int_t fiMrpcSel2Addr; // Coincident Mrpc 2 Addr
751 Int_t fiMrpcSel3Addr; // Coincident Mrpc 3 Addr
752 Int_t fiBeamRefAddr; // Beam reference counter
753 Int_t fiDut; // Device under test type
754 Int_t fiDutSm; // requested (super)module of Device under test
755 Int_t fiDutRpc; // requested Rpc of Device under test
756 Int_t fiMrpcRef; // Reference Mrpc Type
757 Int_t fiMrpcRefSm; // Reference Mrpc Sm
758 Int_t fiMrpcRefRpc; // Reference Mrpc Rpc
759 Int_t fiMrpcSel2; // Coincident Mrpc 2 type
760 Int_t fiMrpcSel2Sm; // Coincident Mrpc 2 module
761 Int_t fiMrpcSel2Rpc; // Coincident Mrpc 2 Rpc
762 Int_t fiMrpcSel3; // Coincident Mrpc 3 Type
763 Int_t fiMrpcSel3Sm; // Coincident Mrpc 3 module
764 Int_t fiMrpcSel3Rpc; // Coincident Mrpc 3 Rpc
765 Int_t fiPlaSelect; // Select plastics: 0 - P2, 2 - Buc2013
766 Int_t fiBeamRefSmType; // Beam reference counter type
767 Int_t fiBeamRefSmId; // Beam reference module
768 Int_t fiBeamRefRpc; // Beam reference Rpc
769 Int_t fiDutNch; // Number of cells in Device under test
770 Int_t fiReqTrg; // Requested Trigger Pattern
771
772 Double_t fChi2LimFit;
773 Double_t fR0LimFit;
774 Double_t fSIGLIM;
775 Double_t fSIGT;
776 Double_t fSIGX;
777 Double_t fSIGY;
778
780
781 CbmTofFindTracks* fFindTracks; // Pointer to Task
784
790 TClonesArray* fAccTracks;
791 TClonesArray* fTofPointsTB;
794 TClonesArray* fTofHitPointMatches;
799
805 std::map<std::tuple<Int_t, Int_t, Int_t>, TGeoPhysicalNode*> fCounterModuleNodes;
806
814
815 Double_t fdMCSIGLIM;
816 Double_t fdMCSIGT;
817 Double_t fdMCSIGX;
818 Double_t fdMCSIGY;
819
822
824};
825
826#endif
Access to a MC data branch for time-based analysis.
Access to a MC data branch for time-based analysis.
Container class for MC events with number, file and start time.
static uint32_t GetUniqueAddress(uint32_t Sm, uint32_t Rpc, uint32_t Channel, uint32_t Side=0, uint32_t SmType=0, uint32_t RpcType=0)
void SetReqTrg(Int_t ival)
CbmTofFindTracks * fFindTracks
TEfficiency * fhSelTrklMatchEfficiency
void SetR0LimFit(Double_t val)
std::map< std::tuple< Int_t, Int_t, Int_t >, TH1 * > fhCounterRecRefTrackEfficiencyTotal
void SetTShift(Double_t val)
void SetChi2Lim2(Double_t val)
Double_t GetPosY4Sel() const
TEfficiency * fhSelTrklPurity
void SetChi2LimFit(Double_t val)
void SetHitDistMin(Double_t val)
Double_t GetCh4Sel() const
Double_t GetDCh4Sel() const
Int_t GetMrpcSel3() const
Double_t GetDTWidth() const
void SetPosY4SelOff(Double_t val)
void SetDutX(Double_t val)
Double_t GetDXWidth() const
void SetBestSelTrackletOnly(Bool_t bval)
TClonesArray * fTofAccTrackTrackletMatches
CbmTofDetectorId * fTofId
TClonesArray * fTofDigisColl
TClonesArray * fAccTracks
void SetDutY(Double_t val)
std::map< std::tuple< Int_t, Int_t, Int_t >, TH1 * > fhCounterAccRndmTrackMul
void SetChS2Sel(Double_t val)
void SetBeamRefRpc(Int_t ival)
void SetMulDMax(Double_t val)
TEfficiency * fhRecRefTrackEfficiency
void SetStartSpillTime(Double_t val)
void SetDutDY(Double_t val)
void SetCalParFileName(TString CalParFileName)
TEfficiency * fhRecRndmTrackCloneShare
TEfficiency * fhSelHitTupleEfficiencyTIS
void SetMCSIGLIM(Double_t val)
void SetDutRpc(Int_t ival)
Double_t GetChS2Sel() const
void SetCh4Sel(Double_t val)
Double_t GetDYMean() const
void SetBeamRefSmType(Int_t ival)
void SetMrpcRefAddr(Int_t ival)
TEfficiency * fhSelMatchPurity
Double_t GetDTMean() const
TClonesArray * fTofPointsTB
TClonesArray * fTofAccTrackPointMatches
TEfficiency * fhSelRefTrackShare
Double_t GetPosYS2Sel() const
void SetMinMCRefTrackPoints(Int_t val)
void SetMrpcSel2(Int_t ival)
void SetDXWidth(Double_t val)
CbmTofTestBeamClusterizer * fClusterizer
void SetMCSIGY(Double_t val)
void SetMul4Max(Double_t val)
TMbsMappingTofPar * fMbsMappingPar
void SetSpillBreak(Double_t val)
Double_t GetDYWidth() const
Double_t GetDTD4MAX() const
Int_t GetMrpcSel2() const
CbmMCEventList * fMCEventList
TClonesArray * fTofHitsCollIn
Double_t GetDTDia() const
void SetCalOutFileName(TString CalOutFileName)
Int_t GetPlaSelect() const
Double_t GetPosY4SelOff() const
void SetDTD4MAX(Double_t val)
void SetMCSIGX(Double_t val)
TClonesArray * fTofDigiMatchCollIn
void SetSIGT(Double_t val)
CbmTofCell * fChannelInfoSel2
TEfficiency * fhRecRefTrackCloneShare
void SetMrpcSel2Rpc(Int_t ival)
void SetMrpcSel3(Int_t ival)
void SetDutSm(Int_t ival)
CbmTofAnaTestbeam operator=(const CbmTofAnaTestbeam &)
ClassDef(CbmTofAnaTestbeam, 1)
void SetSpillDuration(Double_t val)
void SetMrpcSel2Sm(Int_t ival)
TEfficiency * fhSelMCTrackMatchPurity
void SetDCh4Sel(Double_t val)
Double_t GetTOffD4() const
TEfficiency * fhAccRefTrackShare
CbmTofCell * fChannelInfoDut
Int_t GetCorMode() const
Int_t GetBeamRefRpc() const
void SetPosYS2Sel(Double_t val)
std::map< std::tuple< Int_t, Int_t, Int_t >, TH2 * > fhCounterRefTrackMulCell
void SetPosY4Sel(Double_t val)
TEfficiency * fhRecRndmTrackEfficiency
Double_t GetSel2TOff() const
TClonesArray * fTofHitPointMatches
Double_t GetMul0Max() const
void SetBeamRefAddr(Int_t ival)
void SetDChS2Sel(Double_t val)
void SetTOffD4(Double_t val)
Double_t GetTShift() const
std::map< std::tuple< Int_t, Int_t, Int_t >, TH1 * > fhCounterAccTrackMul
void SetDutAddr(Int_t ival)
Int_t GetMrpcRef() const
Double_t GetSigX(Int_t iSelType)
TEfficiency * fhSelMCTrackMatchEfficiencyTIS
virtual void SetParContainers()
Inherited from FairTask.
void SetMrpcRefSm(Int_t ival)
void SetDutDX(Double_t val)
void SetPlaSelect(Int_t ival)
CbmTofGeoHandler * fGeoHandler
void SetDYWidth(Double_t val)
void SetMul0Max(Double_t val)
TEfficiency * fhSelTrklRefTrackShare
CbmMCDataArray * fTofPoints
void SetPosYS2SelOff(Double_t val)
std::vector< Int_t > fvTypeSmOffs
TClonesArray * fTofDigiMatchColl
Double_t GetPosYS2SelOff() const
std::vector< std::vector< std::vector< Int_t > > > fvRpcChOffs
void SetUseSigCalib(Bool_t bval)
void SetDelayMCPoints(Bool_t bval)
TEfficiency * fhAccRefTrackAcceptanceEfficiency
std::map< std::tuple< Int_t, Int_t, Int_t >, TH2 * > fhCounterRefTrackLocalXY
void SetEnableMatchPosScaling(Bool_t bval)
std::map< std::tuple< Int_t, Int_t, Int_t >, TH1 * > fhCounterAccRefTrackMul
Double_t GetSigY(Int_t iSelType)
void SetSIGX(Double_t val)
std::map< std::tuple< Int_t, Int_t, Int_t >, TH1 * > fhCounterAccDomTrackMul
TEfficiency * fhSelTrklEfficiencyTIS
void SetAttachDutHitToTracklet(Bool_t bval)
void SetSel2TOff(Double_t val)
std::vector< std::vector< Int_t > > fvSmRpcOffs
std::map< std::tuple< Int_t, Int_t, Int_t >, TH2 * > fhCounterRefTrackMulHitMul
TClonesArray * fTofTrackCollIn
Double_t GetHitDistMin() const
TEfficiency * fhSelPurity
TClonesArray * fEventsColl
CbmTofCell * fChannelInfoRef
friend class CbmTofTestbeamClusterizer
void SetGhostTrackHitQuota(Double_t val)
Double_t GetDXMean() const
Int_t GetDutRpc() const
std::vector< TH2 * > fhXYPos
Double_t GetDChS2Sel() const
TEfficiency * fhSelTrklMatchPurity
void SetMrpcSel2Addr(Int_t ival)
TClonesArray * fTofDigisCollIn
void SetMaxMCRefTracks(Int_t val)
TEfficiency * fhSelMatchEfficiency
void SetMCSIGT(Double_t val)
TEfficiency * fhRecRndmTrackGhostShare
void SetHitDistAv(Double_t val)
CbmTofCell * fChannelInfo
std::map< std::tuple< Int_t, Int_t, Int_t >, TH2 * > fhRndmTracksProcSpec
TEfficiency * fhAccRefTrackAcceptancePurity
CbmTofDigiBdfPar * fDigiBdfPar
void SetSIGLIM(Double_t val)
void SetCorMode(Int_t ival)
TClonesArray * fTofHitAccTrackMatches
TEfficiency * fhSelMCTrackEfficiencyTIS
TClonesArray * fTofTrackletAccTrackMatches
void SetMrpcRef(Int_t ival)
Double_t GetSigT(Int_t iSelType)
Int_t GetBeamRefSmType() const
Double_t GetMul4Max() const
std::map< std::tuple< Int_t, Int_t, Int_t >, TH1 * > fhCounterRecRefTrackPurityPassed
void SetDTWidth(Double_t val)
void SetDXMean(Double_t val)
Double_t GetMulDMax() const
void SetDTDia(Double_t val)
CbmMCDataArray * fMCTracks
TEfficiency * fhSelHitTupleMatchEfficiencyTIS
TEfficiency * fhSelTrklEfficiency
virtual void ExecEvent(Option_t *option)
void SetChi2Lim(Double_t val)
Bool_t LoadCalParameter()
Load the geometry: for now just resizing the Digis temporary vectors.
std::map< std::tuple< Int_t, Int_t, Int_t >, TH2 * > fhDomTracksProcMat
std::map< std::tuple< Int_t, Int_t, Int_t >, TH2 * > fhDomTracksProcSpec
void ExpandNode(TGeoNode *tMotherNode)
void SetMrpcSel3Addr(Int_t ival)
void SetMrpcSel3Rpc(Int_t ival)
CbmTofTrackletTools * fTrackletTools
void SetSIGY(Double_t val)
TEfficiency * fhRecRefTrackGhostShare
CbmTofDigiPar * fDigiPar
std::map< std::tuple< Int_t, Int_t, Int_t >, TH2 * > fhCounterHitMulCell
std::map< std::tuple< Int_t, Int_t, Int_t >, TH2 * > fhRndmTracksProcMat
void SetDTMean(Double_t val)
TClonesArray * fTofHitsColl
TEfficiency * fhSelMCTrackMatchEfficiency
void SetAnaMode(Int_t ival)
void SetMrpcRefRpc(Int_t ival)
TEfficiency * fhSelTrklMatchEfficiencyTIS
CbmMCDataObject * fMCEventHeader
Int_t GetBeamRefSmId() const
virtual void Exec(Option_t *option)
CbmTofAnaTestbeam(const CbmTofAnaTestbeam &)
void SetDut(Int_t ival)
void SetDYMean(Double_t val)
std::map< std::tuple< Int_t, Int_t, Int_t >, TGeoPhysicalNode * > fCounterModuleNodes
std::map< std::tuple< Int_t, Int_t, Int_t >, TH1 * > fhCounterRecRefTrackEfficiencyPassed
void SetMonteCarloComparison(Bool_t bval)
TEfficiency * fhSelEfficiency
TEfficiency * fhSelMCTrackEfficiency
void SetMrpcSel3Sm(Int_t ival)
TClonesArray * fTofTrackColl
Bool_t InitParameters()
Initialize other parameters not included in parameter classes.
void SetBeamRefSmId(Int_t ival)
virtual InitStatus Init()
Parameters class for the CBM ToF digitizer using beam data distributions.
contains fits and resolution functions
Provides information on attaching a TofHit to a TofTrack.