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

#include <DTStatusFlag.h>

Public Types

typedef std::vector< std::pair
< DTStatusFlagId,
DTStatusFlagData >
>::const_iterator 
const_iterator
 Access methods to data. More...
 

Public Member Functions

const_iterator begin () const
 
int cellStatus (int wheelId, int stationId, int sectorId, int slId, int layerId, int cellId, bool &noiseFlag, bool &feMask, bool &tdcMask, bool &trigMask, bool &deadFlag, bool &nohvFlag) const
 get content More...
 
int cellStatus (const DTWireId &id, bool &noiseFlag, bool &feMask, bool &tdcMask, bool &trigMask, bool &deadFlag, bool &nohvFlag) const
 
void clear ()
 reset content More...
 
 DTStatusFlag ()
 
 DTStatusFlag (const std::string &version)
 
const_iterator end () const
 
int get (int wheelId, int stationId, int sectorId, int slId, int layerId, int cellId, bool &noiseFlag, bool &feMask, bool &tdcMask, bool &trigMask, bool &deadFlag, bool &nohvFlag) const
 
int get (const DTWireId &id, bool &noiseFlag, bool &feMask, bool &tdcMask, bool &trigMask, bool &deadFlag, bool &nohvFlag) const
 
void initialize ()
 
int set (int wheelId, int stationId, int sectorId, int slId, int layerId, int cellId, bool noiseFlag, bool feMask, bool tdcMask, bool trigMask, bool deadFlag, bool nohvFlag)
 
int set (const DTWireId &id, bool noiseFlag, bool feMask, bool tdcMask, bool trigMask, bool deadFlag, bool nohvFlag)
 
int setCellDead (int wheelId, int stationId, int sectorId, int slId, int layerId, int cellId, bool flag)
 
int setCellDead (const DTWireId &id, bool flag)
 
int setCellFEMask (int wheelId, int stationId, int sectorId, int slId, int layerId, int cellId, bool mask)
 
int setCellFEMask (const DTWireId &id, bool mask)
 
int setCellNoHV (int wheelId, int stationId, int sectorId, int slId, int layerId, int cellId, bool flag)
 
int setCellNoHV (const DTWireId &id, bool flag)
 
int setCellNoise (int wheelId, int stationId, int sectorId, int slId, int layerId, int cellId, bool flag)
 
int setCellNoise (const DTWireId &id, bool flag)
 
int setCellStatus (int wheelId, int stationId, int sectorId, int slId, int layerId, int cellId, bool noiseFlag, bool feMask, bool tdcMask, bool trigMask, bool deadFlag, bool nohvFlag)
 
int setCellStatus (const DTWireId &id, bool noiseFlag, bool feMask, bool tdcMask, bool trigMask, bool deadFlag, bool nohvFlag)
 
int setCellTDCMask (int wheelId, int stationId, int sectorId, int slId, int layerId, int cellId, bool mask)
 
int setCellTDCMask (const DTWireId &id, bool mask)
 
int setCellTrigMask (int wheelId, int stationId, int sectorId, int slId, int layerId, int cellId, bool mask)
 
int setCellTrigMask (const DTWireId &id, bool mask)
 
const std::string & version () const
 access version More...
 
std::string & version ()
 
 ~DTStatusFlag ()
 

Private Member Functions

 DTStatusFlag (DTStatusFlag const &)
 
std::string mapName () const
 
DTStatusFlagoperator= (DTStatusFlag const &)
 
template<class Archive >
void serialize (Archive &ar, const unsigned int version)
 

Private Attributes

std::vector< std::pair
< DTStatusFlagId,
DTStatusFlagData > > 
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 drift tubes status ( cell by cell noise and masks )

Author
Paolo Ronchese INFN Padova

Definition at line 84 of file DTStatusFlag.h.

Member Typedef Documentation

Access methods to data.

Definition at line 262 of file DTStatusFlag.h.

Constructor & Destructor Documentation

DTStatusFlag::DTStatusFlag ( )

Constructor

Definition at line 27 of file DTStatusFlag.cc.

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

Definition at line 34 of file DTStatusFlag.cc.

DTStatusFlag::~DTStatusFlag ( )

Destructor

Definition at line 64 of file DTStatusFlag.cc.

DTStatusFlag::DTStatusFlag ( DTStatusFlag const &  )
private

Member Function Documentation

DTStatusFlag::const_iterator DTStatusFlag::begin ( void  ) const

Definition at line 569 of file DTStatusFlag.cc.

int DTStatusFlag::cellStatus ( int  wheelId,
int  stationId,
int  sectorId,
int  slId,
int  layerId,
int  cellId,
bool &  noiseFlag,
bool &  feMask,
bool &  tdcMask,
bool &  trigMask,
bool &  deadFlag,
bool &  nohvFlag 
) const
inline

get content

Operations

Definition at line 100 of file DTStatusFlag.h.

int DTStatusFlag::cellStatus ( const DTWireId id,
bool &  noiseFlag,
bool &  feMask,
bool &  tdcMask,
bool &  trigMask,
bool &  deadFlag,
bool &  nohvFlag 
) const
inline

Definition at line 115 of file DTStatusFlag.h.

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

Definition at line 574 of file DTStatusFlag.cc.

int DTStatusFlag::get ( int  wheelId,
int  stationId,
int  sectorId,
int  slId,
int  layerId,
int  cellId,
bool &  noiseFlag,
bool &  feMask,
bool &  tdcMask,
bool &  trigMask,
bool &  deadFlag,
bool &  nohvFlag 
) const

Definition at line 79 of file DTStatusFlag.cc.

Referenced by Options.Options::__getitem__().

int DTStatusFlag::get ( const DTWireId id,
bool &  noiseFlag,
bool &  feMask,
bool &  tdcMask,
bool &  trigMask,
bool &  deadFlag,
bool &  nohvFlag 
) const

Definition at line 124 of file DTStatusFlag.cc.

Referenced by Options.Options::__getitem__().

void DTStatusFlag::initialize ( )

Definition at line 586 of file DTStatusFlag.cc.

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

Definition at line 579 of file DTStatusFlag.cc.

DTStatusFlag& DTStatusFlag::operator= ( DTStatusFlag const &  )
private
template<class Archive >
void DTStatusFlag::serialize ( Archive &  ar,
const unsigned int  version 
)
private
int DTStatusFlag::set ( int  wheelId,
int  stationId,
int  sectorId,
int  slId,
int  layerId,
int  cellId,
bool  noiseFlag,
bool  feMask,
bool  tdcMask,
bool  trigMask,
bool  deadFlag,
bool  nohvFlag 
)

Definition at line 160 of file DTStatusFlag.cc.

Referenced by DTStatusFlagHandler::getNewObjects().

int DTStatusFlag::set ( const DTWireId id,
bool  noiseFlag,
bool  feMask,
bool  tdcMask,
bool  trigMask,
bool  deadFlag,
bool  nohvFlag 
)

Definition at line 221 of file DTStatusFlag.cc.

int DTStatusFlag::setCellDead ( int  wheelId,
int  stationId,
int  sectorId,
int  slId,
int  layerId,
int  cellId,
bool  flag 
)

Definition at line 459 of file DTStatusFlag.cc.

int DTStatusFlag::setCellDead ( const DTWireId id,
bool  flag 
)

Definition at line 502 of file DTStatusFlag.cc.

int DTStatusFlag::setCellFEMask ( int  wheelId,
int  stationId,
int  sectorId,
int  slId,
int  layerId,
int  cellId,
bool  mask 
)

Definition at line 294 of file DTStatusFlag.cc.

int DTStatusFlag::setCellFEMask ( const DTWireId id,
bool  mask 
)

Definition at line 337 of file DTStatusFlag.cc.

int DTStatusFlag::setCellNoHV ( int  wheelId,
int  stationId,
int  sectorId,
int  slId,
int  layerId,
int  cellId,
bool  flag 
)

Definition at line 514 of file DTStatusFlag.cc.

int DTStatusFlag::setCellNoHV ( const DTWireId id,
bool  flag 
)

Definition at line 557 of file DTStatusFlag.cc.

int DTStatusFlag::setCellNoise ( int  wheelId,
int  stationId,
int  sectorId,
int  slId,
int  layerId,
int  cellId,
bool  flag 
)

Definition at line 239 of file DTStatusFlag.cc.

int DTStatusFlag::setCellNoise ( const DTWireId id,
bool  flag 
)

Definition at line 282 of file DTStatusFlag.cc.

int DTStatusFlag::setCellStatus ( int  wheelId,
int  stationId,
int  sectorId,
int  slId,
int  layerId,
int  cellId,
bool  noiseFlag,
bool  feMask,
bool  tdcMask,
bool  trigMask,
bool  deadFlag,
bool  nohvFlag 
)
inline

Definition at line 153 of file DTStatusFlag.h.

int DTStatusFlag::setCellStatus ( const DTWireId id,
bool  noiseFlag,
bool  feMask,
bool  tdcMask,
bool  trigMask,
bool  deadFlag,
bool  nohvFlag 
)
inline

Definition at line 168 of file DTStatusFlag.h.

int DTStatusFlag::setCellTDCMask ( int  wheelId,
int  stationId,
int  sectorId,
int  slId,
int  layerId,
int  cellId,
bool  mask 
)

Definition at line 349 of file DTStatusFlag.cc.

int DTStatusFlag::setCellTDCMask ( const DTWireId id,
bool  mask 
)

Definition at line 392 of file DTStatusFlag.cc.

int DTStatusFlag::setCellTrigMask ( int  wheelId,
int  stationId,
int  sectorId,
int  slId,
int  layerId,
int  cellId,
bool  mask 
)

Definition at line 404 of file DTStatusFlag.cc.

int DTStatusFlag::setCellTrigMask ( const DTWireId id,
bool  mask 
)

Definition at line 447 of file DTStatusFlag.cc.

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

access version

Definition at line 143 of file DTStatusFlag.cc.

std::string & DTStatusFlag::version ( )

Definition at line 148 of file DTStatusFlag.cc.

Friends And Related Function Documentation

friend class boost::serialization::access
friend

Definition at line 282 of file DTStatusFlag.h.

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

Definition at line 282 of file DTStatusFlag.h.

Member Data Documentation

std::vector< std::pair<DTStatusFlagId,DTStatusFlagData> > DTStatusFlag::dataList
private

Definition at line 275 of file DTStatusFlag.h.

std::string DTStatusFlag::dataVersion
private

Definition at line 273 of file DTStatusFlag.h.

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

Definition at line 277 of file DTStatusFlag.h.