CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Attributes
lumi::DataPipe Class Referenceabstract

#include <DataPipe.h>

Inheritance diagram for lumi::DataPipe:
lumi::CMSRunSummary2DB lumi::CMSRunSummaryDummy2DB lumi::HLTConf2DB lumi::HLTConfDummy2DB lumi::HLTDummy2DB lumi::HLTV32DB lumi::Lumi2DB lumi::LumiDummy2DB lumi::TRGDummy2DB lumi::TRGScalers2DB lumi::TRGWBM2DB

Public Member Functions

 DataPipe (const std::string &)
 
 DataPipe (const DataPipe &)=delete
 
virtual const std::string dataType () const =0
 
std::string getAuthPath () const
 
std::string getMode () const
 
float getNorm () const
 
std::string getSource () const
 
const DataPipeoperator= (const DataPipe &)=delete
 
virtual unsigned long long retrieveData (unsigned int)=0
 
void setAuthPath (const std::string &authpath)
 
void setMode (const std::string &mode)
 
void setNoCheckingStableBeam ()
 
void setNorm (float norm)
 
void setNoValidate ()
 
void setSource (const std::string &source)
 
virtual const std::string sourceType () const =0
 
virtual ~DataPipe ()
 

Protected Attributes

std::string m_authpath
 
std::string m_dest
 
std::string m_mode
 
bool m_nocheckingstablebeam
 
float m_norm
 
bool m_novalidate
 
std::string m_source
 

Detailed Description

Definition at line 8 of file DataPipe.h.

Constructor & Destructor Documentation

lumi::DataPipe::DataPipe ( const std::string &  dest)
explicit

Definition at line 2 of file DataPipe.cc.

3  : m_dest(dest), m_source(""), m_authpath(""), m_novalidate(false), m_norm(6370.0), m_nocheckingstablebeam(false) {}
bool m_novalidate
Definition: DataPipe.h:33
std::string m_dest
Definition: DataPipe.h:29
std::string m_source
Definition: DataPipe.h:30
float m_norm
Definition: DataPipe.h:34
std::string m_authpath
Definition: DataPipe.h:31
bool m_nocheckingstablebeam
Definition: DataPipe.h:35
lumi::DataPipe::DataPipe ( const DataPipe )
delete
virtual lumi::DataPipe::~DataPipe ( )
inlinevirtual

Definition at line 16 of file DataPipe.h.

16 {}

Member Function Documentation

virtual const std::string lumi::DataPipe::dataType ( ) const
pure virtual
std::string lumi::DataPipe::getAuthPath ( ) const

Definition at line 12 of file DataPipe.cc.

12 { return m_authpath; }
std::string m_authpath
Definition: DataPipe.h:31
std::string lumi::DataPipe::getMode ( void  ) const

Definition at line 11 of file DataPipe.cc.

11 { return m_mode; }
std::string m_mode
Definition: DataPipe.h:32
float lumi::DataPipe::getNorm ( ) const

Definition at line 13 of file DataPipe.cc.

13 { return m_norm; }
float m_norm
Definition: DataPipe.h:34
std::string lumi::DataPipe::getSource ( ) const

Definition at line 10 of file DataPipe.cc.

10 { return m_source; }
std::string m_source
Definition: DataPipe.h:30
const DataPipe& lumi::DataPipe::operator= ( const DataPipe )
delete
virtual unsigned long long lumi::DataPipe::retrieveData ( unsigned  int)
pure virtual
void lumi::DataPipe::setAuthPath ( const std::string &  authpath)

Definition at line 6 of file DataPipe.cc.

References EcalCondDB::authpath.

6 { m_authpath = authpath; }
string authpath
Definition: EcalCondDB.py:79
std::string m_authpath
Definition: DataPipe.h:31
void lumi::DataPipe::setMode ( const std::string &  mode)

Definition at line 7 of file DataPipe.cc.

References universalConfigTemplate::mode.

void lumi::DataPipe::setNoCheckingStableBeam ( )

Definition at line 9 of file DataPipe.cc.

9 { m_nocheckingstablebeam = true; }
bool m_nocheckingstablebeam
Definition: DataPipe.h:35
void lumi::DataPipe::setNorm ( float  norm)

Definition at line 8 of file DataPipe.cc.

8 { m_norm = norm; }
float m_norm
Definition: DataPipe.h:34
void lumi::DataPipe::setNoValidate ( )

Definition at line 4 of file DataPipe.cc.

4 { m_novalidate = true; }
bool m_novalidate
Definition: DataPipe.h:33
void lumi::DataPipe::setSource ( const std::string &  source)

Definition at line 5 of file DataPipe.cc.

References source.

5 { m_source = source; }
std::string m_source
Definition: DataPipe.h:30
static std::string const source
Definition: EdmProvDump.cc:46
virtual const std::string lumi::DataPipe::sourceType ( ) const
pure virtual

Member Data Documentation

std::string lumi::DataPipe::m_authpath
protected
std::string lumi::DataPipe::m_dest
protected
std::string lumi::DataPipe::m_mode
protected

Definition at line 32 of file DataPipe.h.

Referenced by lumi::TRGScalers2DB::retrieveData(), and lumi::HLTV32DB::retrieveData().

bool lumi::DataPipe::m_nocheckingstablebeam
protected

Definition at line 35 of file DataPipe.h.

float lumi::DataPipe::m_norm
protected

Definition at line 34 of file DataPipe.h.

Referenced by lumi::Lumi2DB::applyCalibration().

bool lumi::DataPipe::m_novalidate
protected

Definition at line 33 of file DataPipe.h.

std::string lumi::DataPipe::m_source
protected