CMS 3D CMS Logo

DataPipe.h
Go to the documentation of this file.
1 #ifndef RecoLuminosity_LumiProducer_DataPipe_H
2 #define RecoLuminosity_LumiProducer_DataPipe_H
3 #include <string>
4 namespace edm {
5  class ParameterSet;
6 }
7 namespace lumi {
8  class DataPipe {
9  public:
10  explicit DataPipe(const std::string&);
11  virtual unsigned long long retrieveData(unsigned int) = 0;
12  virtual const std::string dataType() const = 0;
13  virtual const std::string sourceType() const = 0;
14  virtual ~DataPipe() {}
15  void setNoValidate();
17  void setSource(const std::string& source);
18  void setAuthPath(const std::string& authpath);
19  void setMode(const std::string& mode);
20  void setNorm(float norm);
21  std::string getSource() const;
22  std::string getMode() const;
23  std::string getAuthPath() const;
24  float getNorm() const;
25 
26  protected:
32  float m_norm; //Lumi2DB specific
33  bool m_nocheckingstablebeam; //Lumi2DB specific
34  private:
35  DataPipe(const DataPipe&) = delete;
36  const DataPipe& operator=(const DataPipe&) = delete;
37  }; //class DataPipe
38 } // namespace lumi
39 #endif
lumi::DataPipe::m_source
std::string m_source
Definition: DataPipe.h:28
lumi::DataPipe::m_norm
float m_norm
Definition: DataPipe.h:32
lumi::DataPipe::m_dest
std::string m_dest
Definition: DataPipe.h:27
lumi::DataPipe::retrieveData
virtual unsigned long long retrieveData(unsigned int)=0
lumi::DataPipe::m_mode
std::string m_mode
Definition: DataPipe.h:30
edm
HLT enums.
Definition: AlignableModifier.h:19
lumi::DataPipe
Definition: DataPipe.h:8
ALCARECOPromptCalibProdSiPixelAli0T_cff.mode
mode
Definition: ALCARECOPromptCalibProdSiPixelAli0T_cff.py:96
lumi::DataPipe::getNorm
float getNorm() const
Definition: DataPipe.cc:13
lumi::DataPipe::setMode
void setMode(const std::string &mode)
Definition: DataPipe.cc:7
lumi::DataPipe::~DataPipe
virtual ~DataPipe()
Definition: DataPipe.h:14
l1RCTOmdsFedVectorProducer_cfi.authpath
authpath
Definition: l1RCTOmdsFedVectorProducer_cfi.py:5
lumi::DataPipe::getMode
std::string getMode() const
Definition: DataPipe.cc:11
lumi::DataPipe::getSource
std::string getSource() const
Definition: DataPipe.cc:10
lumi::DataPipe::setSource
void setSource(const std::string &source)
Definition: DataPipe.cc:5
source
static const std::string source
Definition: EdmProvDump.cc:47
lumi::DataPipe::getAuthPath
std::string getAuthPath() const
Definition: DataPipe.cc:12
lumi::DataPipe::sourceType
virtual const std::string sourceType() const =0
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
lumi::DataPipe::m_authpath
std::string m_authpath
Definition: DataPipe.h:29
ParameterSet
Definition: Functions.h:16
lumi::DataPipe::setNorm
void setNorm(float norm)
Definition: DataPipe.cc:8
lumi::DataPipe::DataPipe
DataPipe(const std::string &)
Definition: DataPipe.cc:2
lumi::DataPipe::dataType
virtual const std::string dataType() const =0
lumi::DataPipe::m_nocheckingstablebeam
bool m_nocheckingstablebeam
Definition: DataPipe.h:33
lumi::DataPipe::operator=
const DataPipe & operator=(const DataPipe &)=delete
lumi::DataPipe::setNoValidate
void setNoValidate()
Definition: DataPipe.cc:4
lumi::DataPipe::setNoCheckingStableBeam
void setNoCheckingStableBeam()
Definition: DataPipe.cc:9
lumi
Definition: LumiSectionData.h:20
lumi::DataPipe::setAuthPath
void setAuthPath(const std::string &authpath)
Definition: DataPipe.cc:6
lumi::DataPipe::m_novalidate
bool m_novalidate
Definition: DataPipe.h:31