CMS 3D CMS Logo

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

◆ DataPipe() [1/2]

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

◆ DataPipe() [2/2]

lumi::DataPipe::DataPipe ( const DataPipe )
delete

◆ ~DataPipe()

virtual lumi::DataPipe::~DataPipe ( )
inlinevirtual

Definition at line 16 of file DataPipe.h.

16 {}

Member Function Documentation

◆ dataType()

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

◆ getAuthPath()

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

◆ getMode()

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

◆ getNorm()

float lumi::DataPipe::getNorm ( ) const

Definition at line 13 of file DataPipe.cc.

13 { return m_norm; }
float m_norm
Definition: DataPipe.h:34

◆ getSource()

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

◆ operator=()

const DataPipe& lumi::DataPipe::operator= ( const DataPipe )
delete

◆ retrieveData()

virtual unsigned long long lumi::DataPipe::retrieveData ( unsigned  int)
pure virtual

◆ setAuthPath()

void lumi::DataPipe::setAuthPath ( const std::string &  authpath)

◆ setMode()

void lumi::DataPipe::setMode ( const std::string &  mode)

◆ setNoCheckingStableBeam()

void lumi::DataPipe::setNoCheckingStableBeam ( )

Definition at line 9 of file DataPipe.cc.

9 { m_nocheckingstablebeam = true; }
bool m_nocheckingstablebeam
Definition: DataPipe.h:35

◆ setNorm()

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

◆ setNoValidate()

void lumi::DataPipe::setNoValidate ( )

Definition at line 4 of file DataPipe.cc.

4 { m_novalidate = true; }
bool m_novalidate
Definition: DataPipe.h:33

◆ setSource()

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:49

◆ sourceType()

virtual const std::string lumi::DataPipe::sourceType ( ) const
pure virtual

Member Data Documentation

◆ m_authpath

std::string lumi::DataPipe::m_authpath
protected

◆ m_dest

std::string lumi::DataPipe::m_dest
protected

◆ m_mode

std::string lumi::DataPipe::m_mode
protected

Definition at line 32 of file DataPipe.h.

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

◆ m_nocheckingstablebeam

bool lumi::DataPipe::m_nocheckingstablebeam
protected

Definition at line 35 of file DataPipe.h.

◆ m_norm

float lumi::DataPipe::m_norm
protected

Definition at line 34 of file DataPipe.h.

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

◆ m_novalidate

bool lumi::DataPipe::m_novalidate
protected

Definition at line 33 of file DataPipe.h.

◆ m_source

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