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
DTCCBConfig Class Reference

#include <DTCCBConfig.h>

Public Types

typedef
ccb_config_map::const_iterator 
ccb_config_iterator
 
typedef std::vector< std::pair
< DTCCBId, std::vector< int > > > 
ccb_config_map
 
typedef std::vector< std::pair
< DTCCBId, int >
>::const_iterator 
const_iterator
 Access methods to data. More...
 

Public Member Functions

int appendConfigKey (int wheelId, int stationId, int sectorId, const std::vector< int > &confKey)
 
int appendConfigKey (const DTChamberId &id, const std::vector< int > &confKey)
 
const_iterator begin () const
 
void clear ()
 reset content More...
 
int configKey (int wheelId, int stationId, int sectorId, std::vector< int > &confKey) const
 
int configKey (const DTChamberId &id, std::vector< int > &confKey) const
 
ccb_config_map configKeyMap () const
 
 DTCCBConfig ()
 
 DTCCBConfig (const std::string &version)
 
const_iterator end () const
 
std::vector< DTConfigKeyfullKey () const
 
void initialize ()
 
int setConfigKey (int wheelId, int stationId, int sectorId, const std::vector< int > &confKey)
 
int setConfigKey (const DTChamberId &id, const std::vector< int > &confKey)
 
void setFullKey (const std::vector< DTConfigKey > &)
 
void setStamp (int s)
 
int stamp () const
 
const std::string & version () const
 access version More...
 
std::string & version ()
 
virtual ~DTCCBConfig ()
 

Private Member Functions

 DTCCBConfig (DTCCBConfig const &)
 
DTCCBConfigoperator= (DTCCBConfig const &)
 
template<class Archive >
void serialize (Archive &ar, const unsigned int version)
 

Private Attributes

std::vector< std::pair
< DTCCBId, int > > 
dataList
 
std::string dataVersion
 
edm::ConstRespectingPtr
< DTBufferTreeUniquePtr
dBuf
 
std::vector< DTConfigKeyfullConfigKey
 
int timeStamp
 

Friends

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

Detailed Description

Description: Class to hold configuration identifier for chambers

Author
Paolo Ronchese INFN Padova

Definition at line 69 of file DTCCBConfig.h.

Member Typedef Documentation

typedef ccb_config_map::const_iterator DTCCBConfig::ccb_config_iterator

Definition at line 87 of file DTCCBConfig.h.

typedef std::vector< std::pair< DTCCBId,std::vector<int> > > DTCCBConfig::ccb_config_map

Definition at line 86 of file DTCCBConfig.h.

typedef std::vector< std::pair<DTCCBId,int> >::const_iterator DTCCBConfig::const_iterator

Access methods to data.

Definition at line 117 of file DTCCBConfig.h.

Constructor & Destructor Documentation

DTCCBConfig::DTCCBConfig ( )

Definition at line 30 of file DTCCBConfig.cc.

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

Definition at line 38 of file DTCCBConfig.cc.

DTCCBConfig::~DTCCBConfig ( )
virtual

Definition at line 62 of file DTCCBConfig.cc.

DTCCBConfig::DTCCBConfig ( DTCCBConfig const &  )
private

Member Function Documentation

int DTCCBConfig::appendConfigKey ( int  wheelId,
int  stationId,
int  sectorId,
const std::vector< int > &  confKey 
)

Definition at line 238 of file DTCCBConfig.cc.

int DTCCBConfig::appendConfigKey ( const DTChamberId id,
const std::vector< int > &  confKey 
)

Definition at line 278 of file DTCCBConfig.cc.

DTCCBConfig::const_iterator DTCCBConfig::begin ( void  ) const

Definition at line 286 of file DTCCBConfig.cc.

void DTCCBConfig::clear ( void  )
int DTCCBConfig::configKey ( int  wheelId,
int  stationId,
int  sectorId,
std::vector< int > &  confKey 
) const

Definition at line 87 of file DTCCBConfig.cc.

int DTCCBConfig::configKey ( const DTChamberId id,
std::vector< int > &  confKey 
) const

Definition at line 103 of file DTCCBConfig.cc.

DTCCBConfig::ccb_config_map DTCCBConfig::configKeyMap ( ) const

Definition at line 113 of file DTCCBConfig.cc.

DTCCBConfig::const_iterator DTCCBConfig::end ( void  ) const

Definition at line 291 of file DTCCBConfig.cc.

std::vector< DTConfigKey > DTCCBConfig::fullKey ( ) const

Definition at line 77 of file DTCCBConfig.cc.

void DTCCBConfig::initialize ( )

Definition at line 295 of file DTCCBConfig.cc.

DTCCBConfig& DTCCBConfig::operator= ( DTCCBConfig const &  )
private
template<class Archive >
void DTCCBConfig::serialize ( Archive &  ar,
const unsigned int  version 
)
private
int DTCCBConfig::setConfigKey ( int  wheelId,
int  stationId,
int  sectorId,
const std::vector< int > &  confKey 
)

Definition at line 179 of file DTCCBConfig.cc.

int DTCCBConfig::setConfigKey ( const DTChamberId id,
const std::vector< int > &  confKey 
)

Definition at line 229 of file DTCCBConfig.cc.

void DTCCBConfig::setFullKey ( const std::vector< DTConfigKey > &  key)

Definition at line 169 of file DTCCBConfig.cc.

void DTCCBConfig::setStamp ( int  s)

Definition at line 174 of file DTCCBConfig.cc.

int DTCCBConfig::stamp ( ) const

Definition at line 82 of file DTCCBConfig.cc.

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

access version

Definition at line 152 of file DTCCBConfig.cc.

std::string & DTCCBConfig::version ( )

Definition at line 157 of file DTCCBConfig.cc.

Friends And Related Function Documentation

friend class boost::serialization::access
friend

Definition at line 135 of file DTCCBConfig.h.

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

Definition at line 135 of file DTCCBConfig.h.

Member Data Documentation

std::vector< std::pair<DTCCBId,int> > DTCCBConfig::dataList
private

Definition at line 131 of file DTCCBConfig.h.

std::string DTCCBConfig::dataVersion
private

Definition at line 129 of file DTCCBConfig.h.

edm::ConstRespectingPtr<DTBufferTreeUniquePtr> DTCCBConfig::dBuf
private

Definition at line 133 of file DTCCBConfig.h.

std::vector<DTConfigKey> DTCCBConfig::fullConfigKey
private

Definition at line 130 of file DTCCBConfig.h.

int DTCCBConfig::timeStamp
private

Definition at line 128 of file DTCCBConfig.h.