12#ifndef O2_HITPROCESSINGMANAGER_H
13#define O2_HITPROCESSINGMANAGER_H
19#include <TGeoManager.h>
81 bool checkConsistency()
const;
83 std::vector<RunFunct_t> mRegisteredRunFunctions;
87 std::vector<std::string> mBackgroundFileNames;
88 std::map<int, std::vector<std::string>> mSignalFileNames;
89 std::string mGeometryFile;
93 int mNumberOfCollisions;
94 bool mSampleCollisionsRandomly =
false;
96 std::vector<TChain*> mSimChains;
104 mBackgroundFileNames.emplace_back(simfilename);
109 if (mSignalFileNames.find(signal) == mSignalFileNames.end()) {
111 mSignalFileNames.insert(std::pair<
int, std::vector<std::string>>(signal, std::vector<std::string>()));
113 mSignalFileNames[signal].emplace_back(simfilename);
Definition of the Names Generator class.
O2 specific run class; steering hit processing.
bool setupRunFromExistingContext(const char *filename)
void writeDigitizationContext(const char *filename) const
void setRandomEventSequence(bool b)
void sampleCollisionConstituents()
void addInputFile(std::string_view simfilename)
~HitProcessingManager()=default
void addInputSignalFile(std::string_view signalfilename, int signalindex=1)
void sampleCollisionTimes()
void registerRunFunction(RunFunct_t &&f)
void setupRun(int ncollisions=-1)
const o2::steer::DigitizationContext & getDigitizationContext() const
static HitProcessingManager & instance()
get access to singleton instance
o2::steer::DigitizationContext & getDigitizationContext()
void setGeometryFile(std::string const &geomfile)
o2::steer::InteractionSampler & getInteractionSampler()
GLboolean GLboolean GLboolean b
typedef void(APIENTRYP PFNGLCULLFACEPROC)(GLenum mode)
std::function< void(const o2::steer::DigitizationContext &)> RunFunct_t
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...