9 #ifndef DETINFO_RUNHISTORY_H 10 #define DETINFO_RUNHISTORY_H 41 virtual bool Update(uint64_t ts = 0)
override = 0;
43 virtual int RunNumber()
const override {
return fRun; }
44 virtual int NSubruns()
const override {
return fNSubruns; }
45 virtual int RunType()
const override {
return fRunType; }
46 virtual std::string RunTypeAsString()
const override;
48 virtual uint64_t
TStop()
const override {
return fTStop; }
51 std::vector<std::string>
Shifters() {
return fShifter; }
58 void AddShifter(std::string sh) { fShifter.push_back(sh); }
59 void SetShifters(std::vector<std::string> sh) { fShifter = sh; }
79 #endif // DETINFO_RUNHISTORY_H virtual uint64_t TStop() const override
virtual uint64_t Duration() const override
void SetTStart(uint64_t t)
void SetShifters(std::vector< std::string > sh)
std::vector< std::string > Shifters()
void SetTStop(uint64_t t)
bool Update(detinfo::DetectorPropertiesData const &detProp, const TCSlice &slc, PFPStruct &pfp)
virtual int NSubruns() const override
virtual ~SubRunStandard()
virtual int RunNumber() const override
virtual int RunType() const override
void SetTStart(uint64_t t)
void SetDetName(std::string dn)
General LArSoft Utilities.
std::vector< SubRunStandard > fSubrun
virtual uint64_t TStart() const override
std::vector< std::string > fShifter
void SetNSubruns(int nsr)
void AddShifter(std::string sh)
virtual uint64_t TStart() const override