CbmRoot
|
Ideal hit producer task for CA tracking. More...
#include <CbmCaIdealHitProducer.h>
Public Member Functions | |
IdealHitProducer (const char *name, int verbose) | |
Constructor. | |
~IdealHitProducer ()=default | |
Destructor. | |
IdealHitProducer (const IdealHitProducer &)=delete | |
Copy constructor. | |
IdealHitProducer (IdealHitProducer &&)=delete | |
Move constructor. | |
IdealHitProducer & | operator= (const IdealHitProducer &)=delete |
Copy assignment operator. | |
IdealHitProducer & | operator= (IdealHitProducer &&)=delete |
Move assignment operator. | |
InitStatus | Init () |
Initialization of the task. | |
InitStatus | ReInit () |
Re-initialization of the task. | |
void | Exec (Option_t *option) |
Execution of the task. | |
void | SetConfigName (const char *name) |
Sets YAML configuration file with defined smearing parameters. | |
ClassDef (IdealHitProducer, 1) | |
Private Attributes | |
IdealHitProducerDet< ca::EDetectorID::kMvd > | fHitProducerMvd |
Instance of hit producer for MVD. | |
IdealHitProducerDet< ca::EDetectorID::kSts > | fHitProducerSts |
Instance of hit producer for STS. | |
IdealHitProducerDet< ca::EDetectorID::kMuch > | fHitProducerMuch |
Instance of hit producer for MuCh. | |
IdealHitProducerDet< ca::EDetectorID::kTrd > | fHitProducerTrd |
Instance of hit producer for TRD. | |
IdealHitProducerDet< ca::EDetectorID::kTof > | fHitProducerTof |
Instance of hit producer for TOF. | |
DetIdArr_t< bool > | fbUseDet = {{false}} |
Usage flag of different detectors. | |
Ideal hit producer task for CA tracking.
Definition at line 22 of file CbmCaIdealHitProducer.h.
|
inline |
Constructor.
name | Name of the task |
verbose | Verbosity level |
Definition at line 27 of file CbmCaIdealHitProducer.h.
|
default |
Destructor.
|
delete |
Copy constructor.
|
delete |
Move constructor.
cbm::ca::IdealHitProducer::ClassDef | ( | IdealHitProducer | , |
1 | ) |
void IdealHitProducer::Exec | ( | Option_t * | option | ) |
Execution of the task.
Definition at line 51 of file CbmCaIdealHitProducer.cxx.
References cbm::ca::IdealHitProducerDet< DetID >::Exec(), fbUseDet, fHitProducerMuch, fHitProducerMvd, fHitProducerSts, fHitProducerTof, and fHitProducerTrd.
InitStatus IdealHitProducer::Init | ( | ) |
Initialization of the task.
Definition at line 21 of file CbmCaIdealHitProducer.cxx.
References fbUseDet, fHitProducerMuch, fHitProducerMvd, fHitProducerSts, fHitProducerTof, fHitProducerTrd, cbm::ca::IdealHitProducerDet< DetID >::Init(), CbmSetup::Instance(), CbmSetup::IsActive(), kMuch, kSts, kTof, and kTrd.
Referenced by ReInit().
|
delete |
Copy assignment operator.
|
delete |
Move assignment operator.
|
inline |
Re-initialization of the task.
Definition at line 48 of file CbmCaIdealHitProducer.h.
References Init().
void IdealHitProducer::SetConfigName | ( | const char * | name | ) |
Sets YAML configuration file with defined smearing parameters.
name | Name of the configuration file |
Definition at line 72 of file CbmCaIdealHitProducer.cxx.
References fHitProducerMuch, fHitProducerMvd, fHitProducerSts, fHitProducerTof, fHitProducerTrd, and cbm::ca::IdealHitProducerDet< DetID >::SetConfigName().
|
private |
Usage flag of different detectors.
Definition at line 66 of file CbmCaIdealHitProducer.h.
|
private |
Instance of hit producer for MuCh.
Definition at line 62 of file CbmCaIdealHitProducer.h.
Referenced by Exec(), Init(), and SetConfigName().
|
private |
Instance of hit producer for MVD.
Definition at line 60 of file CbmCaIdealHitProducer.h.
Referenced by Exec(), Init(), and SetConfigName().
|
private |
Instance of hit producer for STS.
Definition at line 61 of file CbmCaIdealHitProducer.h.
Referenced by Exec(), Init(), and SetConfigName().
|
private |
Instance of hit producer for TOF.
Definition at line 64 of file CbmCaIdealHitProducer.h.
Referenced by Exec(), Init(), and SetConfigName().
|
private |
Instance of hit producer for TRD.
Definition at line 63 of file CbmCaIdealHitProducer.h.
Referenced by Exec(), Init(), and SetConfigName().