|
BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
|
#include <BmnTof1HitProducerIdeal.h>
Public Member Functions | |
| BmnTof1HitProducerIdeal (const char *name="TOF1 Ideal HitProducer", Bool_t useMCdata=true, Int_t verbose=1, Bool_t DoTest=false, Bool_t DoMergeHits=false) | |
| virtual | ~BmnTof1HitProducerIdeal () |
| virtual InitStatus | Init () |
| virtual void | Exec (Option_t *option) |
| virtual void | Finish () |
| void | SetOnlyPrimary (Bool_t opt) |
| void | Dump (const char *comment=nullptr, std::ostream &out=std::cout) const |
| void | SetTestFlnm (const char *flnm) |
| BmnTof1HitProducerIdeal (const char *name="TOF1 Ideal HitProducer", Bool_t useMCdata=true, Int_t verbose=1, Bool_t DoTest=false, Bool_t DoMergeHits=false) | |
| virtual | ~BmnTof1HitProducerIdeal () |
| virtual InitStatus | Init () |
| virtual void | Exec (Option_t *option) |
| virtual void | Finish () |
| void | SetOnlyPrimary (Bool_t opt) |
| void | Dump (const char *comment=nullptr, std::ostream &out=std::cout) const |
| void | SetTestFlnm (const char *flnm) |
| Public Member Functions inherited from BmnTask | |
| BmnTask () | |
| Default constructor. | |
| BmnTask (const char *name, Int_t iVerbose=1) | |
| Standard constructor. | |
| virtual | ~BmnTask () |
| Destroy the BmnTask object. | |
| virtual void | OnlineWrite (const std::unique_ptr< TTree > &resultTree) |
| Write task resul to tree. | |
| BmnTask (const BmnTask &)=delete | |
| BmnTask & | operator= (const BmnTask &)=delete |
| BmnTask () | |
| Default constructor. | |
| BmnTask (const char *name, Int_t iVerbose=1) | |
| Standard constructor. | |
| virtual | ~BmnTask () |
| Destroy the BmnTask object. | |
| virtual void | OnlineWrite (const std::unique_ptr< TTree > &resultTree) |
| Write task resul to tree. | |
| BmnTask (const BmnTask &)=delete | |
| BmnTask & | operator= (const BmnTask &)=delete |
Protected Member Functions | |
| void | AddHit (Int_t detUID, const TVector3 &posHit, const TVector3 &posHitErr, Int_t pointIndex, Int_t trackIndex, Double_t time, Int_t Idd) |
| Int_t | CompressHits () |
| Int_t | MergeHitsOnStrip () |
| void | AddHit (Int_t detUID, const TVector3 &posHit, const TVector3 &posHitErr, Int_t pointIndex, Int_t trackIndex, Double_t time, Int_t Idd) |
| Int_t | CompressHits () |
| Int_t | MergeHitsOnStrip () |
Protected Attributes | |
| TClonesArray * | aMcPoints |
| TClonesArray * | aMcTracks |
| <— MC input | |
| TClonesArray * | aExpDigits |
| <— MC input | |
| TClonesArray * | aExpDigitsT0 |
| <— Exp input | |
| TClonesArray * | aExpDigitsT0_2 |
| <— Exp input | |
| BmnTrigInfoDst * | aExpTrigInfo |
| <— Exp input for run8 SRC | |
| TClonesArray * | aTofHits |
| <— The T0 time is stored in 'BmnTrigInfo.' branch in Run9 | |
| TClonesArray * | aTofCont |
| ---> output | |
| TFile * | fileCont |
| ---> output | |
| TTree * | treeCont |
| Bool_t | fDoTest |
| Bool_t | fDoMergeHits |
| Bool_t | fUseMCData |
| Bool_t | fOnlyPrimary |
| TString | fTestFlnm |
Definition at line 15 of file BmnTof1HitProducerIdeal.h.
| BmnTof1HitProducerIdeal::BmnTof1HitProducerIdeal | ( | const char * | name = "TOF1 Ideal HitProducer", |
| Bool_t | useMCdata = true, | ||
| Int_t | verbose = 1, | ||
| Bool_t | DoTest = false, | ||
| Bool_t | DoMergeHits = false ) |
Definition at line 11 of file BmnTof1HitProducerIdeal.cxx.
References BmnTask::BmnTask(), aExpDigits, aMcPoints, aMcTracks, aTofHits, fDoMergeHits, fDoTest, fOnlyPrimary, fTestFlnm, fUseMCData, and merge().
Referenced by BmnTof1HitProducer::BmnTof1HitProducer().
|
virtual |
Definition at line 28 of file BmnTof1HitProducerIdeal.cxx.
| BmnTof1HitProducerIdeal::BmnTof1HitProducerIdeal | ( | const char * | name = "TOF1 Ideal HitProducer", |
| Bool_t | useMCdata = true, | ||
| Int_t | verbose = 1, | ||
| Bool_t | DoTest = false, | ||
| Bool_t | DoMergeHits = false ) |
|
virtual |
|
protected |
Definition at line 153 of file BmnTof1HitProducerIdeal.cxx.
References aTofHits, BmnTOF1Point::GetModule(), BmnTOF1Point::GetStrip(), kTOF1, BmnHit::SetDetId(), BmnHit::SetModule(), and BmnHit::SetStation().
Referenced by BmnTof1HitProducer::Exec(), and Exec().
|
protected |
|
protected |
Definition at line 176 of file BmnTof1HitProducerIdeal.cxx.
References aTofHits.
Referenced by BmnTof1HitProducer::Exec(), and Exec().
|
protected |
| void BmnTof1HitProducerIdeal::Dump | ( | const char * | comment = nullptr, |
| std::ostream & | out = std::cout ) const |
| void BmnTof1HitProducerIdeal::Dump | ( | const char * | comment = nullptr, |
| std::ostream & | out = std::cout ) const |
|
virtual |
Reimplemented in BmnTof1HitProducer, and BmnTof1HitProducer.
Definition at line 68 of file BmnTof1HitProducerIdeal.cxx.
References AddHit(), aMcPoints, aTofHits, CompressHits(), fDoMergeHits, fUseMCData, kTOF1, and MergeHitsOnStrip().
|
virtual |
Reimplemented in BmnTof1HitProducer, and BmnTof1HitProducer.
|
virtual |
Reimplemented in BmnTof1HitProducer, and BmnTof1HitProducer.
Definition at line 105 of file BmnTof1HitProducerIdeal.cxx.
|
virtual |
Reimplemented in BmnTof1HitProducer, and BmnTof1HitProducer.
|
virtual |
Reimplemented in BmnTof1HitProducer, and BmnTof1HitProducer.
Definition at line 30 of file BmnTof1HitProducerIdeal.cxx.
References aExpDigits, aMcPoints, aMcTracks, aTofHits, and fUseMCData.
|
virtual |
Reimplemented in BmnTof1HitProducer, and BmnTof1HitProducer.
|
protected |
Definition at line 107 of file BmnTof1HitProducerIdeal.cxx.
References aTofHits, and fDoTest.
Referenced by BmnTof1HitProducer::Exec(), and Exec().
|
protected |
|
inline |
Definition at line 58 of file BmnTof1HitProducerIdeal.h.
References fOnlyPrimary.
|
inline |
Definition at line 58 of file BmnTof1HitProducerIdeal.h.
References fOnlyPrimary.
|
inline |
Definition at line 60 of file BmnTof1HitProducerIdeal.h.
References fTestFlnm.
|
inline |
Definition at line 60 of file BmnTof1HitProducerIdeal.h.
References fTestFlnm.
|
protected |
Definition at line 20 of file BmnTof1HitProducerIdeal.h.
Referenced by BmnTof1HitProducerIdeal(), BmnTof1HitProducer::Exec(), BmnTof1HitProducer::Init(), and Init().
|
protected |
Definition at line 21 of file BmnTof1HitProducerIdeal.h.
Referenced by BmnTof1HitProducer::FingT0Digit(), and BmnTof1HitProducer::Init().
|
protected |
Definition at line 22 of file BmnTof1HitProducerIdeal.h.
Referenced by BmnTof1HitProducer::FingT0Digit(), and BmnTof1HitProducer::Init().
|
protected |
Definition at line 23 of file BmnTof1HitProducerIdeal.h.
Referenced by BmnTof1HitProducer::FingT0Digit(), and BmnTof1HitProducer::Init().
|
protected |
Definition at line 18 of file BmnTof1HitProducerIdeal.h.
Referenced by BmnTof1HitProducerIdeal(), BmnTof1HitProducer::Exec(), Exec(), BmnTof1HitProducer::Init(), and Init().
|
protected |
Definition at line 19 of file BmnTof1HitProducerIdeal.h.
Referenced by BmnTof1HitProducerIdeal(), BmnTof1HitProducer::Init(), and Init().
|
protected |
Definition at line 25 of file BmnTof1HitProducerIdeal.h.
Referenced by BmnTof1HitProducer::Exec(), and BmnTof1HitProducer::Init().
|
protected |
Definition at line 24 of file BmnTof1HitProducerIdeal.h.
Referenced by BmnTof1HitProducerIdeal(), AddHit(), CompressHits(), BmnTof1HitProducer::Exec(), Exec(), BmnTof1HitProducer::Init(), Init(), MergeHitsOnStrip(), and BmnTof1HitProducer::OnlineWrite().
|
protected |
Definition at line 31 of file BmnTof1HitProducerIdeal.h.
Referenced by BmnTof1HitProducerIdeal(), Exec(), and BmnTof1HitProducer::GetParameters().
|
protected |
Definition at line 30 of file BmnTof1HitProducerIdeal.h.
Referenced by BmnTof1HitProducerIdeal(), BmnTof1HitProducer::Exec(), BmnTof1HitProducer::Finish(), BmnTof1HitProducer::GetParameters(), BmnTof1HitProducer::Init(), BmnTof1HitProducer::LoadDetectorConfiguration(), and MergeHitsOnStrip().
|
protected |
Definition at line 27 of file BmnTof1HitProducerIdeal.h.
Referenced by BmnTof1HitProducer::Finish(), and BmnTof1HitProducer::Init().
|
protected |
Definition at line 33 of file BmnTof1HitProducerIdeal.h.
Referenced by BmnTof1HitProducerIdeal(), BmnTof1HitProducer::Init(), and SetOnlyPrimary().
|
protected |
Definition at line 34 of file BmnTof1HitProducerIdeal.h.
Referenced by BmnTof1HitProducerIdeal(), BmnTof1HitProducer::Finish(), BmnTof1HitProducer::Init(), and SetTestFlnm().
|
protected |
Definition at line 32 of file BmnTof1HitProducerIdeal.h.
Referenced by BmnTof1HitProducerIdeal(), BmnTof1HitProducer::~BmnTof1HitProducer(), BmnTof1HitProducer::Exec(), Exec(), BmnTof1HitProducer::Finish(), BmnTof1HitProducer::Init(), Init(), and BmnTof1HitProducer::LoadDetectorConfiguration().
|
protected |
Definition at line 28 of file BmnTof1HitProducerIdeal.h.
Referenced by BmnTof1HitProducer::Exec(), BmnTof1HitProducer::Finish(), and BmnTof1HitProducer::Init().