ATLAS Offline Software
ISCT_CalibEvtInfo.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3 */
4 
13 #ifndef ISCT_CalibEvtInfo_H
14 #define ISCT_CalibEvtInfo_H
15 
16 //Gaudi includes
17 #include "GaudiKernel/IAlgTool.h"
18 #include "GaudiKernel/IInterface.h"
19 #include <vector>
20 #include <string>
21 
27 class ISCT_CalibEvtInfo: virtual public IAlgTool {
28  public:
32  virtual ~ISCT_CalibEvtInfo() = default;
34  static const InterfaceID& interfaceID();
36  virtual void setTimeStamp(const int begin, const int end)=0;
37  virtual void setTimeStamp(const std::string& begin, const std::string& end)=0;
38  virtual void setTimeStamp(const int ts)=0;
39  virtual void getTimeStamps(int& begin, int& end) const =0;
40  virtual void getTimeStamps(std::string& begin, std::string& end) const =0;
41  virtual int timeStamp() const =0;
42  virtual int duration() const =0;
43 
44  virtual void setSource(const std::string & source)=0;
45 
46  virtual void setLumiBlock(const int begin, const int end)=0;
47  virtual void setLumiBlock(const int lb)=0;
48  virtual void getLumiBlock(int& begin, int& end) const =0;
49  virtual int lumiBlock() const =0;
50  virtual int numLumiBlocks() const =0;
51 
52  virtual void setRunNumber(const int rn)=0;
53  virtual void setEventNumber(const int en)=0;
54  virtual int runNumber() const =0;
55  virtual int eventNumber() const =0;
56 
57  virtual void setCounter(const int counterVal)=0;
58  virtual void incrementCounter()=0;
59  virtual int counter() const =0;
60 
61  virtual void setBunchCrossing(const int bc)=0;
62 };
63 
64 inline const InterfaceID& ISCT_CalibEvtInfo::interfaceID() {
65  static const InterfaceID IID{"ISCT_CalibEvtInfo", 1, 0};
66  return IID;
67 }
68 
69 #endif
ISCT_CalibEvtInfo::setBunchCrossing
virtual void setBunchCrossing(const int bc)=0
ISCT_CalibEvtInfo::counter
virtual int counter() const =0
ISCT_CalibEvtInfo::~ISCT_CalibEvtInfo
virtual ~ISCT_CalibEvtInfo()=default
no-op destructor
ISCT_CalibEvtInfo::lumiBlock
virtual int lumiBlock() const =0
PlotCalibFromCool.begin
begin
Definition: PlotCalibFromCool.py:94
ISCT_CalibEvtInfo::incrementCounter
virtual void incrementCounter()=0
ISCT_CalibEvtInfo::timeStamp
virtual int timeStamp() const =0
ISCT_CalibEvtInfo
Definition: ISCT_CalibEvtInfo.h:27
mergePhysValFiles.end
end
Definition: DataQuality/DataQualityUtils/scripts/mergePhysValFiles.py:93
ISCT_CalibEvtInfo::duration
virtual int duration() const =0
ISCT_CalibEvtInfo::setLumiBlock
virtual void setLumiBlock(const int lb)=0
ISCT_CalibEvtInfo::setRunNumber
virtual void setRunNumber(const int rn)=0
python.BunchSpacingUtils.lb
lb
Definition: BunchSpacingUtils.py:88
ISCT_CalibEvtInfo::setTimeStamp
virtual void setTimeStamp(const int begin, const int end)=0
specific methods for this class
ISCT_CalibEvtInfo::setEventNumber
virtual void setEventNumber(const int en)=0
python.BunchSpacingUtils.rn
rn
Definition: BunchSpacingUtils.py:87
ISCT_CalibEvtInfo::runNumber
virtual int runNumber() const =0
ISCT_CalibEvtInfo::getTimeStamps
virtual void getTimeStamps(int &begin, int &end) const =0
ISCT_CalibEvtInfo::setTimeStamp
virtual void setTimeStamp(const std::string &begin, const std::string &end)=0
ISCT_CalibEvtInfo::getLumiBlock
virtual void getLumiBlock(int &begin, int &end) const =0
ISCT_CalibEvtInfo::setSource
virtual void setSource(const std::string &source)=0
PlotCalibFromCool.en
en
Definition: PlotCalibFromCool.py:399
ISCT_CalibEvtInfo::getTimeStamps
virtual void getTimeStamps(std::string &begin, std::string &end) const =0
ISCT_CalibEvtInfo::eventNumber
virtual int eventNumber() const =0
copySelective.source
string source
Definition: copySelective.py:32
ISCT_CalibEvtInfo::setLumiBlock
virtual void setLumiBlock(const int begin, const int end)=0
ISCT_CalibEvtInfo::interfaceID
static const InterfaceID & interfaceID()
interfaceID re-implemented from IInterface
Definition: ISCT_CalibEvtInfo.h:64
ISCT_CalibEvtInfo::ISCT_CalibEvtInfo
ISCT_CalibEvtInfo()
no-op c/tor
Definition: ISCT_CalibEvtInfo.h:30
ISCT_CalibEvtInfo::numLumiBlocks
virtual int numLumiBlocks() const =0
python.CaloScaleNoiseConfig.ts
ts
Definition: CaloScaleNoiseConfig.py:86
ISCT_CalibEvtInfo::setCounter
virtual void setCounter(const int counterVal)=0
ISCT_CalibEvtInfo::setTimeStamp
virtual void setTimeStamp(const int ts)=0