CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Types | Public Member Functions | Private Member Functions | Private Attributes | Friends
DTLVStatus Class Reference

#include <DTLVStatus.h>

Public Types

typedef std::vector< std::pair
< DTLVStatusId, DTLVStatusData >
>::const_iterator 
const_iterator
 Access methods to data. More...
 

Public Member Functions

const_iterator begin () const
 
void clear ()
 reset content More...
 
 DTLVStatus ()
 
 DTLVStatus (const std::string &version)
 
const_iterator end () const
 
int get (int wheelId, int stationId, int sectorId, int &flagCFE, int &flagDFE, int &flagCMC, int &flagDMC) const
 get content More...
 
int get (const DTChamberId &id, int &flagCFE, int &flagDFE, int &flagCMC, int &flagDMC) const
 
void initialize ()
 
int set (int wheelId, int stationId, int sectorId, int flagCFE, int flagDFE, int flagCMC, int flagDMC)
 
int set (const DTChamberId &id, int flagCFE, int flagDFE, int flagCMC, int flagDMC)
 
int setFlagCFE (int wheelId, int stationId, int sectorId, int flag)
 
int setFlagCFE (const DTChamberId &id, int flag)
 
int setFlagCMC (int wheelId, int stationId, int sectorId, int flag)
 
int setFlagCMC (const DTChamberId &id, int flag)
 
int setFlagDFE (int wheelId, int stationId, int sectorId, int flag)
 
int setFlagDFE (const DTChamberId &id, int flag)
 
int setFlagDMC (int wheelId, int stationId, int sectorId, int flag)
 
int setFlagDMC (const DTChamberId &id, int flag)
 
const std::string & version () const
 access version More...
 
std::string & version ()
 
 ~DTLVStatus ()
 

Private Member Functions

 DTLVStatus (DTLVStatus const &)
 
std::string mapName () const
 read and store full content More...
 
DTLVStatusoperator= (DTLVStatus const &)
 
template<class Archive >
void serialize (Archive &ar, const unsigned int version)
 

Private Attributes

std::vector< std::pair
< DTLVStatusId, DTLVStatusData > > 
dataList
 
std::string dataVersion
 
edm::ConstRespectingPtr
< DTBufferTree< int, int > > 
dBuf
 

Friends

class boost::serialization::access
 
template<typename CondSerializationT , typename Enabled >
struct cond::serialization::access
 

Detailed Description

Description: Class to hold CCB status

Author
Paolo Ronchese INFN Padova

Definition at line 71 of file DTLVStatus.h.

Member Typedef Documentation

Access methods to data.

Definition at line 147 of file DTLVStatus.h.

Constructor & Destructor Documentation

DTLVStatus::DTLVStatus ( )

Constructor

Definition at line 33 of file DTLVStatus.cc.

DTLVStatus::DTLVStatus ( const std::string &  version)

Definition at line 40 of file DTLVStatus.cc.

DTLVStatus::~DTLVStatus ( )

Destructor

Definition at line 65 of file DTLVStatus.cc.

DTLVStatus::DTLVStatus ( DTLVStatus const &  )
private

Member Function Documentation

DTLVStatus::const_iterator DTLVStatus::begin ( void  ) const

Definition at line 342 of file DTLVStatus.cc.

void DTLVStatus::clear ( void  )
DTLVStatus::const_iterator DTLVStatus::end ( void  ) const

Definition at line 347 of file DTLVStatus.cc.

int DTLVStatus::get ( int  wheelId,
int  stationId,
int  sectorId,
int &  flagCFE,
int &  flagDFE,
int &  flagCMC,
int &  flagDMC 
) const

get content

Operations

Definition at line 80 of file DTLVStatus.cc.

Referenced by Options.Options::__getitem__().

int DTLVStatus::get ( const DTChamberId id,
int &  flagCFE,
int &  flagDFE,
int &  flagCMC,
int &  flagDMC 
) const

Definition at line 112 of file DTLVStatus.cc.

Referenced by Options.Options::__getitem__().

void DTLVStatus::initialize ( )

Definition at line 359 of file DTLVStatus.cc.

std::string DTLVStatus::mapName ( ) const
private

read and store full content

Definition at line 352 of file DTLVStatus.cc.

DTLVStatus& DTLVStatus::operator= ( DTLVStatus const &  )
private
template<class Archive >
void DTLVStatus::serialize ( Archive &  ar,
const unsigned int  version 
)
private
int DTLVStatus::set ( int  wheelId,
int  stationId,
int  sectorId,
int  flagCFE,
int  flagDFE,
int  flagCMC,
int  flagDMC 
)

Definition at line 145 of file DTLVStatus.cc.

int DTLVStatus::set ( const DTChamberId id,
int  flagCFE,
int  flagDFE,
int  flagCMC,
int  flagDMC 
)

Definition at line 191 of file DTLVStatus.cc.

int DTLVStatus::setFlagCFE ( int  wheelId,
int  stationId,
int  sectorId,
int  flag 
)

Definition at line 206 of file DTLVStatus.cc.

int DTLVStatus::setFlagCFE ( const DTChamberId id,
int  flag 
)

Definition at line 231 of file DTLVStatus.cc.

int DTLVStatus::setFlagCMC ( int  wheelId,
int  stationId,
int  sectorId,
int  flag 
)

Definition at line 274 of file DTLVStatus.cc.

int DTLVStatus::setFlagCMC ( const DTChamberId id,
int  flag 
)

Definition at line 299 of file DTLVStatus.cc.

int DTLVStatus::setFlagDFE ( int  wheelId,
int  stationId,
int  sectorId,
int  flag 
)

Definition at line 240 of file DTLVStatus.cc.

int DTLVStatus::setFlagDFE ( const DTChamberId id,
int  flag 
)

Definition at line 265 of file DTLVStatus.cc.

int DTLVStatus::setFlagDMC ( int  wheelId,
int  stationId,
int  sectorId,
int  flag 
)

Definition at line 308 of file DTLVStatus.cc.

int DTLVStatus::setFlagDMC ( const DTChamberId id,
int  flag 
)

Definition at line 333 of file DTLVStatus.cc.

const std::string & DTLVStatus::version ( ) const

access version

Definition at line 128 of file DTLVStatus.cc.

std::string & DTLVStatus::version ( )

Definition at line 133 of file DTLVStatus.cc.

Friends And Related Function Documentation

friend class boost::serialization::access
friend

Definition at line 168 of file DTLVStatus.h.

template<typename CondSerializationT , typename Enabled >
friend struct cond::serialization::access
friend

Definition at line 168 of file DTLVStatus.h.

Member Data Documentation

std::vector< std::pair<DTLVStatusId,DTLVStatusData> > DTLVStatus::dataList
private

Definition at line 160 of file DTLVStatus.h.

std::string DTLVStatus::dataVersion
private

Definition at line 158 of file DTLVStatus.h.

edm::ConstRespectingPtr<DTBufferTree<int,int> > DTLVStatus::dBuf
private

Definition at line 162 of file DTLVStatus.h.