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  DataPipe(const DataPipe&) = delete;
12  const DataPipe& operator=(const DataPipe&) = delete;
13  virtual unsigned long long retrieveData(unsigned int) = 0;
14  virtual const std::string dataType() const = 0;
15  virtual const std::string sourceType() const = 0;
16  virtual ~DataPipe() {}
17  void setNoValidate();
19  void setSource(const std::string& source);
20  void setAuthPath(const std::string& authpath);
21  void setMode(const std::string& mode);
22  void setNorm(float norm);
23  std::string getSource() const;
24  std::string getMode() const;
25  std::string getAuthPath() const;
26  float getNorm() const;
27 
28  protected:
34  float m_norm; //Lumi2DB specific
35  bool m_nocheckingstablebeam; //Lumi2DB specific
36  }; //class DataPipe
37 } // namespace lumi
38 #endif
lumi::DataPipe::m_source
std::string m_source
Definition: DataPipe.h:30
lumi::DataPipe::m_norm
float m_norm
Definition: DataPipe.h:34
lumi::DataPipe::m_dest
std::string m_dest
Definition: DataPipe.h:29
lumi::DataPipe::retrieveData
virtual unsigned long long retrieveData(unsigned int)=0
lumi::DataPipe::m_mode
std::string m_mode
Definition: DataPipe.h:32
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:16
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
lumi::DataPipe::m_authpath
std::string m_authpath
Definition: DataPipe.h:31
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
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
lumi::DataPipe::dataType
virtual const std::string dataType() const =0
lumi::DataPipe::m_nocheckingstablebeam
bool m_nocheckingstablebeam
Definition: DataPipe.h:35
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:33