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();
16  void setNoCheckingStableBeam();
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 }//ns lumi
39 #endif
static std::string const source("source")
bool m_novalidate
Definition: DataPipe.h:31
std::string m_dest
Definition: DataPipe.h:27
std::string m_source
Definition: DataPipe.h:28
float m_norm
Definition: DataPipe.h:32
HLT enums.
std::string m_authpath
Definition: DataPipe.h:29
std::string m_mode
Definition: DataPipe.h:30
virtual ~DataPipe()
Definition: DataPipe.h:14
bool m_nocheckingstablebeam
Definition: DataPipe.h:33