1#ifndef BMN_TOF1_HIT_PRODUCER_IDEAL_H
2#define BMN_TOF1_HIT_PRODUCER_IDEAL_H 1
4#include "BmnDetectorList.h"
6#include "BmnTrigInfoDst.h"
7#include "TClonesArray.h"
37 const TVector3& posHit,
38 const TVector3& posHitErr,
48 Bool_t useMCdata =
true,
50 Bool_t DoTest =
false,
51 Bool_t DoMergeHits =
false);
54 virtual InitStatus
Init();
55 virtual void Exec(Option_t* option);
59 void Dump(
const char* comment =
nullptr, std::ostream& out = std::cout)
const;
void Dump(const char *comment=nullptr, std::ostream &out=std::cout) const
void AddHit(Int_t detUID, const TVector3 &posHit, const TVector3 &posHitErr, Int_t pointIndex, Int_t trackIndex, Double_t time, Int_t Idd)
virtual void Exec(Option_t *option)
TClonesArray * aExpDigits
<— MC input
TClonesArray * aTofHits
<— The T0 time is stored in 'BmnTrigInfo.' branch in Run9
void SetOnlyPrimary(Bool_t opt)
BmnTrigInfoDst * aExpTrigInfo
<— Exp input for run8 SRC
TFile * fileCont
—> output
TClonesArray * aExpDigitsT0
<— Exp input
ClassDef(BmnTof1HitProducerIdeal, 1)
virtual InitStatus Init()
TClonesArray * aExpDigitsT0_2
<— Exp input
void SetTestFlnm(const char *flnm)
virtual ~BmnTof1HitProducerIdeal()
TClonesArray * aTofCont
—> output
TClonesArray * aMcTracks
<— MC input