|
ant
A2 ant: class-based analysis framework
|
The Setup class serves as a base class for all known beamtime setup configurations. More...
#include <Setup.h>
Inheritance diagram for ant::expconfig::Setup:
Collaboration diagram for ant::expconfig::Setup:Public Member Functions | |
| virtual std::list< std::shared_ptr< Calibration::PhysicsModule > > | GetCalibrations () const override |
| virtual std::list< std::shared_ptr< ReconstructHook::Base > > | GetReconstructHooks () const override |
| virtual std::list< std::shared_ptr< Detector_t > > | GetDetectors () const override |
| virtual std::list< std::shared_ptr< Updateable_traits > > | GetUpdateables () const override |
| virtual std::string | GetPIDCutsDirectory () const override |
| virtual std::string | GetPhysicsFilesDirectory () const override |
| virtual std::shared_ptr< calibration::DataManager > | GetCalibrationDataManager () const override final |
| virtual std::string | GetName () const override final |
| virtual double | GetElectronBeamEnergy () const override |
| virtual bool | GetIncludeIgnoredElements () const override |
| virtual ant::PiecewiseInterval< double > | GetPromptWindows () const override |
| virtual ant::PiecewiseInterval< double > | GetRandomWindows () const override |
| virtual std::string | GetStartDate () const override final |
| virtual std::string | GetEndDate () const override final |
| virtual bool | Matches (const TID &tid) const override final |
Public Member Functions inherited from ant::expconfig::Setup_traits | |
| virtual candidatebuilder_config_t | GetCandidateBuilderConfig () const |
| virtual triggersimu_config_t | GetTriggerSimuConfig () const |
| virtual target_properties_t | GetTargetProperties () const |
| virtual | ~Setup_traits ()=default |
Public Member Functions inherited from ant::UnpackerA2GeantConfig | |
| virtual promptrandom_config_t | GetPromptRandomConfig () const |
Protected Member Functions | |
| Setup (const std::string &name, OptionsPtr opts) | |
| void | AddDetector (const std::shared_ptr< Detector_t > &detector) |
| template<typename T , typename... Args> | |
| void | AddDetector (Args &&... args) |
| void | AddHook (const std::shared_ptr< ReconstructHook::Base > &hook) |
| template<typename T , typename... Args> | |
| void | AddHook (Args &&... args) |
| void | AddCalibration (const std::shared_ptr< Calibration::BaseModule > &calib) |
| template<typename T , typename... Args> | |
| void | AddCalibration (Args &&... args) |
| void | BuildMappings (std::vector< hit_mapping_t > &hit_mappings, std::vector< scaler_mapping_t > &scaler_mappings) const override |
| void | AddPromptRange (const interval< double > &i) |
| void | AddRandomRange (const interval< double > &i) |
| void | SetTimeRange (const std::string &start, const std::string &end) |
| virtual void | ManualClusterCorrection (OptionsPtr opts) |
| Check options for manual modifications of cluster energies searches for the string manualCluster<Correction><Detector>_<Type> and the corresponding double value, where <Correction is the type of correction which should be applied and could be Factor, Offset, or Smearing; <Type> is the data type this value should be applied to and can be MC, Data, or Both; and <Detector> can be CB or TAPS, or can be empty, in which case it will be applied to both CB and TAPS. The flags could look like e.g.: More... | |
Protected Member Functions inherited from ant::UnpackerAcquConfig | |
| ~UnpackerAcquConfig ()=default | |
Protected Member Functions inherited from ant::UnpackerA2GeantConfig | |
| ~UnpackerA2GeantConfig ()=default | |
Protected Attributes | |
| std::list< std::shared_ptr< Detector_t > > | detectors |
| std::list< std::shared_ptr< ReconstructHook::Base > > | reconstruct_hooks |
| std::list< std::shared_ptr< Calibration::BaseModule > > | calibrations |
| std::shared_ptr< calibration::DataManager > | calibrationDataManager |
The Setup class serves as a base class for all known beamtime setup configurations.
The class provides useful routines and stores the instantiated calibrations and detectors, which are used to automatically construct the mappings for the unpacker, for example.
|
protected |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
overrideprotectedvirtual |
Implements ant::UnpackerAcquConfig.
Reimplemented in ant::expconfig::setup::Setup_CBSourceCalib, ant::expconfig::setup::Setup_2017_03, ant::expconfig::setup::Setup_2017_05, ant::expconfig::setup::Setup_2018_11, ant::expconfig::setup::Setup_2019_01, ant::expconfig::setup::Setup_2019_06, ant::expconfig::setup::Setup_2019_07, ant::expconfig::setup::Setup_2019_09, ant::expconfig::setup::Setup_2014_EPT, and ant::expconfig::setup::Setup_2017Plus_NewTagger_Base.
|
inlinefinaloverridevirtual |
Implements ant::expconfig::Setup_traits.
|
overridevirtual |
Implements ant::expconfig::Setup_traits.
|
inlineoverridevirtual |
Implements ant::expconfig::Setup_traits.
Reimplemented in FakeSetup.
|
inlineoverridevirtual |
Implements ant::expconfig::Setup_traits.
Reimplemented in ant::expconfig::setup::Setup_2017_03, ant::expconfig::setup::Setup_2017_05, ant::expconfig::setup::Setup_2018_11, ant::expconfig::setup::Setup_2019_01, ant::expconfig::setup::Setup_2019_06, ant::expconfig::setup::Setup_2019_07, ant::expconfig::setup::Setup_2019_09, ant::expconfig::setup::Setup_2014_EPT, ant::expconfig::setup::Setup_2017Plus_NewTagger_Base, ant::expconfig::setup::Setup_2012_12_Compton, ant::expconfig::setup::Setup_2007_Base, ant::expconfig::setup::Setup_2010_03_Base, and ant::expconfig::setup::Setup_2015_01_Pion.
|
inlinefinaloverridevirtual |
Implements ant::expconfig::Setup_traits.
|
inlineoverridevirtual |
Implements ant::expconfig::Setup_traits.
|
inlinefinaloverridevirtual |
Implements ant::expconfig::Setup_traits.
|
overridevirtual |
Implements ant::expconfig::Setup_traits.
|
overridevirtual |
Implements ant::expconfig::Setup_traits.
|
inlineoverridevirtual |
Implements ant::expconfig::Setup_traits.
|
inlineoverridevirtual |
Implements ant::expconfig::Setup_traits.
|
overridevirtual |
Implements ant::expconfig::Setup_traits.
|
inlinefinaloverridevirtual |
Implements ant::expconfig::Setup_traits.
|
overridevirtual |
Implements ant::expconfig::Setup_traits.
|
protectedvirtual |
Check options for manual modifications of cluster energies searches for the string manualCluster<Correction><Detector>_<Type> and the corresponding double value, where <Correction is the type of correction which should be applied and could be Factor, Offset, or Smearing; <Type> is the data type this value should be applied to and can be MC, Data, or Both; and <Detector> can be CB or TAPS, or can be empty, in which case it will be applied to both CB and TAPS. The flags could look like e.g.:
| OptionsPtr |
|
finaloverridevirtual |
Implements ant::expconfig::Setup_traits.
|
inlineprotected |
|
protected |
|
protected |
|
protected |
|
protected |