17#ifndef O2_FIT_DCSDATAREADER_H
18#define O2_FIT_DCSDATAREADER_H
29#include <unordered_map>
31#include <unordered_map>
49 void init(
const std::vector<DPID>& pids);
50 int process(
const gsl::span<const DPCOM> dps);
55 const std::unordered_map<DPID, DCSDPValues>&
getDpData()
const;
71 std::unordered_map<DPID, o2::fit::DCSDPValues> mDpData;
72 std::unordered_map<DPID, bool> mPids;
74 std::unordered_map<DPID, DPVAL> mDpsMap;
76 std::string mCcdbPath;
80 union DPValueConverter {
86 bool mVerbose =
false;
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 process
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 Directory with events to Events directory is and not inside events Show standalone event Run event generator maximum time bin of continuous for triggered for automatic continuous for automatic continuous triggered uint64_t
std::string ccdbPath(const std::string badChannelType)
static constexpr long INFINITE_TIMESTAMP
const std::string & getCcdbPath() const
bool getVerboseMode() const
uint64_t processFlags(uint64_t flag, const char *pid)
void setVerboseMode(bool verboseMode=true)
void resetStartValidity()
const CcdbObjectInfo & getccdbDPsInfo() const
void setStartValidity(long startValidity)
void init(const std::vector< DPID > &pids)
void updateCcdbObjectInfo()
int processDP(const DPCOM &dpcom)
const std::unordered_map< DPID, DCSDPValues > & getDpData() const
bool isStartValiditySet() const
FITDCSDataReader()=default
long getStartValidity() const
void setCcdbPath(const std::string &ccdbPath)
~FITDCSDataReader()=default
long getEndValidity() const
const track::TrackFitContext< NLayers > & fit
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...