12#ifndef ALICEO2_PHOS_DIGITIZER_H
13#define ALICEO2_PHOS_DIGITIZER_H
39 void processHits(
const std::vector<Hit>* mHits,
const std::vector<Digit>& digitsBg,
56 static constexpr short NCHANNELS = 12544;
57 static constexpr short OFFSET = 1793;
58 bool mProcessMC =
true;
60 bool mTrig4x4 =
false;
61 long mRunStartTime = 0;
62 std::unique_ptr<CalibParams> mCalibParams;
63 std::unique_ptr<TriggerMap> mTrigUtils;
64 std::array<Digit, NCHANNELS> mArrayD;
Timeframe settings Average distance in cm of events merged into Randomize distance around average distance of merged events Simulate correct bunch interactions instead of placing only the average number of events A value[n] sets TFlen for[n] collisions in Number of bunches per trainsort Number of bunch trains Instantaneous interaction rate Do not simulate border Total number of collisions to be placed in the interior of all time Do not select random but walk over array of events in stride steps h Event generator settings h configStandalone Use CPU for GPU Force usage of the specified GPU device no CPU fallback Continue processing after an error First event to Number of events to Number of iterations to Number of iterations to Number of initial iterations excluded from const char e
Definition of a container to keep Monte Carlo truth external to simulation objects.
float simulateNoiseEnergy(int absId)
long runStartTime() const
~Digitizer() override=default
float timeResolution(float time, float e)
Digitizer & operator=(const Digitizer &)=delete
void setRunStartTime(long t)
void processHits(const std::vector< Hit > *mHits, const std::vector< Digit > &digitsBg, std::vector< Digit > &digitsOut, o2::dataformats::MCTruthContainer< MCLabel > &mLabels, int source, int entry, double dt)
Steer conversion of hits to digits.
float simulateNoiseTime()
Digitizer(const Digitizer &)=delete
float uncalibrate(float e, int absId)
float uncalibrateT(float t, int absId)
float nonLinearity(float e)
GLsizei GLsizei GLchar * source
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...