CMS 3D CMS Logo

List of all members | Public Member Functions | Protected Attributes | Private Member Functions
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 &)
 
virtual const std::string dataType () const =0
 
std::string getAuthPath () const
 
std::string getMode () const
 
float getNorm () const
 
std::string getSource () const
 
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
 

Private Member Functions

 DataPipe (const DataPipe &)=delete
 
const DataPipeoperator= (const DataPipe &)=delete
 

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:31
std::string m_dest
Definition: DataPipe.h:27
std::string m_source
Definition: DataPipe.h:28
float m_norm
Definition: DataPipe.h:32
std::string m_authpath
Definition: DataPipe.h:29
bool m_nocheckingstablebeam
Definition: DataPipe.h:33
virtual lumi::DataPipe::~DataPipe ( )
inlinevirtual
lumi::DataPipe::DataPipe ( const DataPipe )
privatedelete

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.

References m_authpath.

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

Definition at line 11 of file DataPipe.cc.

References m_mode.

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

Definition at line 13 of file DataPipe.cc.

References m_norm.

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

Definition at line 10 of file DataPipe.cc.

References m_source.

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

Definition at line 9 of file DataPipe.cc.

References m_nocheckingstablebeam.

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

Definition at line 8 of file DataPipe.cc.

References m_norm.

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

Definition at line 4 of file DataPipe.cc.

References m_novalidate.

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

Definition at line 5 of file DataPipe.cc.

References m_source, and source.

5 { m_source = source; }
std::string m_source
Definition: DataPipe.h:28
static std::string const source
Definition: EdmProvDump.cc:47
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
bool lumi::DataPipe::m_nocheckingstablebeam
protected

Definition at line 33 of file DataPipe.h.

Referenced by lumi::Lumi2DB::retrieveData(), and setNoCheckingStableBeam().

float lumi::DataPipe::m_norm
protected

Definition at line 32 of file DataPipe.h.

Referenced by lumi::Lumi2DB::applyCalibration(), getNorm(), and setNorm().

bool lumi::DataPipe::m_novalidate
protected

Definition at line 31 of file DataPipe.h.

Referenced by lumi::Lumi2DB::retrieveData(), and setNoValidate().

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