Go to the documentation of this file.
11 #ifndef CBMTOFTESTBEAMCLUSTERIZER_H
12 #define CBMTOFTESTBEAMCLUSTERIZER_H 1
42 #include "TTimeStamp.h"
66 Bool_t writeDataInOut = kTRUE);
75 virtual InitStatus
Init();
85 virtual void Exec(Option_t* option);
91 virtual void Finish(Double_t calMode);
101 Int_t iSign = iCalRpc / TMath::Abs(iCalRpc);
103 Int_t iRpc = iCalRpc % 10;
104 iCalRpc = (iCalRpc - iRpc) / 10;
105 Int_t iSm = iCalRpc % 10;
106 iCalRpc = (iCalRpc - iSm) / 10;
159 virtual void fit_ybox(
const char* hname);
160 virtual void fit_ybox(TH1*
h, Double_t dy);
161 virtual void fit_ybox(TH1*
h, Double_t dy, Double_t* fpar);
259 std::vector<std::vector<std::vector<std::vector<CbmTofDigi*>>>>
261 std::vector<std::vector<std::vector<std::vector<Int_t>>>>
269 std::vector<std::vector<std::vector<Int_t>>>
271 std::vector<std::vector<std::vector<Int_t>>>
273 std::vector<std::vector<std::vector<Int_t>>>
275 std::vector<std::vector<std::vector<Double_t>>>
277 std::vector<std::vector<std::vector<Double_t>>>
279 std::vector<std::vector<std::vector<Double_t>>>
281 std::vector<std::vector<std::vector<Double_t>>>
283 std::vector<std::vector<std::vector<Double_t>>>
324 std::vector<std::vector<std::vector<TH2*>>>
342 std::vector<std::vector<std::vector<std::vector<TH2*>>>>
355 std::vector<std::vector<std::vector<std::vector<Double_t>>>>
357 std::vector<std::vector<std::vector<std::vector<Double_t>>>>
359 std::vector<std::vector<std::vector<std::vector<Double_t>>>>
361 std::vector<std::vector<std::vector<std::vector<Double_t>>>>
363 std::vector<std::vector<std::vector<std::vector<std::vector<Double_t>>>>>
366 std::vector<std::vector<std::vector<std::vector<std::list<CbmTofHit*>>>>>
455 #endif // CBMTOFTESTBEAMCLUSTERIZER_H
std::vector< TH2 * > fhRpcCluPosition
std::vector< std::vector< std::vector< std::vector< Double_t > > > > fvCPTotGain
TClonesArray * fTofDigisColl
void SetEnableAvWalk(Bool_t bval)
std::vector< TH2 * > fhRpcCluTot
Bool_t DeleteGeometry()
Delete the geometry related arrays: for now just clearing the Digis temporary vectors.
std::vector< std::vector< std::vector< std::vector< Int_t > > > > fStorDigiInd
ClassDef(CbmTofTestBeamClusterizer, 1)
static CbmTofTestBeamClusterizer * fInstance
std::vector< TH2 * > fhRpcCluDelMatPos
std::vector< TH1 * > fhRpcDTLastHits_Tot
TClonesArray * fTofCalDigisColl
void SetCalMode(Int_t iMode)
std::vector< TH2 * > fhSmCluPosition
std::vector< std::vector< TH2 * > > fhTRpcCludXdY
virtual void CleanLHMemory()
void SetSel2Id(Int_t ival)
Bool_t RegisterOutputs()
Create and register output TClonesArray of Tof Hits.
void SetTotMin(Double_t val)
std::vector< std::vector< std::vector< std::vector< Double_t > > > > fvCPDelTof
void SetWriteDigisInOut(Bool_t bDigis)
TClonesArray * fTofDigiMatchColl
Bool_t fbSwapChannelSides
std::vector< std::vector< TH1 * > > fhTRpcCluMul
std::vector< TH2 * > fhRpcCluSize
std::vector< TH1 * > fhRpcDTLastHits_CluSize
std::vector< std::vector< TH2 * > > fhTRpcCluDelTof
virtual Bool_t AddNextChan(Int_t iSmType, Int_t iSm, Int_t iRpc, Int_t iLastChan, Double_t dLastPosX, Double_t dLastPosY, Double_t dLastTime, Double_t dLastTot)
std::vector< std::vector< std::vector< Double_t > > > fvdDifCh
CbmTofGeoHandler * fGeoHandler
void SetTRefDifMax(Double_t val)
void SetCalSmType(Int_t iCalSmType)
void SetDelTofMax(Double_t val)
std::vector< TH2 * > fhSmCluTOff
std::vector< TH2 * > fhRpcDigiCor
void SetMaxTimeDist(Double_t val)
std::vector< TH1 * > fhRpcCluMul
std::vector< std::vector< std::vector< Double_t > > > fvdDifY
std::vector< TH1 * > fhRpcDTLastHits
void SetTotMax(Double_t val)
void SetCalRpc(Int_t iCalRpc)
virtual void Finish()
Inherited from FairTask.
virtual void CheckLHMemory()
std::vector< std::vector< TH2 * > > fhTSmCluPosition
std::vector< TH2 * > fhRpcCluAvWalk
std::vector< std::vector< TH2 * > > fhTSmCluTOff
void SetBeamRefMulMax(Int_t Id)
void SetCalCluMulMax(Int_t ival)
void SwapChannelSides(Bool_t bSwap)
std::vector< std::vector< std::vector< std::vector< Double_t > > > > fvCPTotOff
std::vector< std::vector< std::vector< std::vector< TH2 * > > > > fhTRpcCluWalk
std::vector< Int_t > fviDetId
CbmTofCell * fChannelInfo
Data class with information on a STS local track.
void SetPs2Ns(Bool_t bval)
void SetWriteHitsInOut(Bool_t bHits)
std::vector< std::vector< std::vector< TH2 * > > > fhRpcCluWalk
std::vector< TH2 * > fhRpcCluAvLnWalk
std::vector< std::vector< std::vector< Int_t > > > fviClusterSize
std::vector< std::vector< TH2 * > > fhTRpcCluPosition
void SetFileIndex(Int_t iIndex)
void SetYFitMin(Double_t val)
std::vector< std::vector< std::vector< Double_t > > > fvdY
void SetChannelDeadtime(Double_t val)
void SetdTRefMax(Double_t val)
CbmTofDetectorId * fTofId
Bool_t InitParameters()
Initialize other parameters not included in parameter classes.
std::vector< std::vector< std::vector< Double_t > > > fvdX
virtual ~CbmTofTestBeamClusterizer()
Destructor.
std::vector< TH1 * > fhRpcCluRate
TClonesArray * fTofPointsColl
std::vector< TH2 * > fhRpcCluDelTOff
void SetTotMean(Double_t val)
std::vector< std::vector< std::vector< Int_t > > > fviTrkMul
void SetTotPreRange(Double_t val)
TClonesArray * fMcTracksColl
void SetOutHstFileName(TString OutHstFileName)
void SetCalParFileName(TString CalParFileName)
Parameters class for the CBM ToF digitizer using beam data distributions.
virtual InitStatus Init()
Inherited from FairTask.
std::vector< std::vector< std::vector< std::vector< CbmTofDigi * > > > > fStorDigiExp
Bool_t fbAlternativeBranchNames
std::vector< std::vector< std::vector< std::vector< std::list< CbmTofHit * > > > > > fvLastHits
virtual void Exec(Option_t *option)
Inherited from FairTask.
std::vector< std::vector< std::vector< Int_t > > > fviClusterMul
std::vector< std::vector< std::vector< Double_t > > > fvdDifX
std::vector< std::vector< TH2 * > > fhTRpcCluTot
Data class for expanded digital TOF information.
void SetBeamAddRefMul(Int_t ival)
CbmTofTestBeamClusterizer(const CbmTofTestBeamClusterizer &)
Copy constructor.
std::vector< TH2 * > fhRpcCluTOff
std::vector< std::vector< TProfile * > > fhSmCluFpar
std::vector< std::vector< TH2 * > > fhTRpcCluTotDTLastHits
Bool_t RegisterInputs()
Recover pointer on input TClonesArray: TofPoints, TofDigis...
std::vector< std::vector< TH2 * > > fhTRpcCluAvWalk
std::vector< TProfile * > fhSmCluSvel
virtual void LH_store(Int_t iSmType, Int_t iSm, Int_t iRpc, Int_t iChm, CbmTofHit *pHit)
std::map< UInt_t, UInt_t > fDetIdIndexMap
std::vector< TH2 * > fhRpcCluDelMatTOff
TClonesArray * fTofHitsColl
CbmTofDigiBdfPar * fDigiBdfPar
void SetBeamRefSm(Int_t Id)
Bool_t InitCalibParameter()
Initialize other parameters not included in parameter classes.
Double_t fdChannelDeadtime
void SetCalSmAddr(Int_t iCalSmAddr)
void SetCalSel(Int_t iSel)
virtual void SetParContainers()
Inherited from FairTask.
std::vector< std::vector< std::vector< std::vector< Double_t > > > > fvCPTOff
std::vector< std::vector< TH2 * > > fhTRpcCluTOff
void SetSel2Sm(Int_t ival)
void SetAlternativeBranchNames(Bool_t bNames)
std::vector< std::vector< TH2 * > > fhTRpcCluSize
void PosYMaxScal(Double_t val)
std::vector< std::vector< std::vector< std::vector< std::vector< Double_t > > > > > fvCPWalk
Bool_t fEnableMatchPosScaling
CbmTofTestBeamClusterizer & operator=(const CbmTofTestBeamClusterizer &)
Copy operator.
std::vector< std::vector< TH2 * > > fhTRpcCluTOffDTLastHits
std::vector< std::vector< TH2 * > > fhTRpcCluSizeDTLastHits
std::vector< std::vector< TH2 * > > fhTRpcCluMemMulDTLastHits
void SetMemoryTime(Double_t val)
std::vector< std::vector< TH2 * > > fhTSmCluTRun
void SetSel2Rpc(Int_t ival)
static UInt_t GetUniqueAddress(UInt_t Sm, UInt_t Rpc, UInt_t Channel, UInt_t Side=0, UInt_t SmType=0)
virtual void fit_ybox(const char *hname)
CbmTofTestBeamClusterizer()
Constructor.
std::vector< TH2 * > fhRpcCluDelPos
void SetEnableMatchPosScaling(Bool_t bval)
std::vector< TH2 * > fhRpcCluTrms
void SetCaldXdYMax(Double_t dCaldXdYMax)
void SetBeamRefId(Int_t Id)
Bool_t BuildClusters()
Build clusters out of ToF Digis and store the resulting info in a TofHit.
std::vector< TH1 * > fhSeldT
Bool_t LoadGeometry()
Load the geometry: for now just resizing the Digis temporary vectors.
void SetBeamRefDet(Int_t Id)
static CbmTofTestBeamClusterizer * Instance()