test
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.

References dataList.

27  :
28  dataVersion( " " ),
30  dataList.reserve( 1000 );
31 }
std::vector< std::pair< DTStatusFlagId, DTStatusFlagData > > dataList
Definition: DTStatusFlag.h:275
edm::ConstRespectingPtr< DTBufferTree< int, int > > dBuf
Definition: DTStatusFlag.h:277
std::string dataVersion
Definition: DTStatusFlag.h:273
DTStatusFlag::DTStatusFlag ( const std::string &  version)

Definition at line 34 of file DTStatusFlag.cc.

References dataList.

34  :
37  dataList.reserve( 1000 );
38 }
std::vector< std::pair< DTStatusFlagId, DTStatusFlagData > > dataList
Definition: DTStatusFlag.h:275
edm::ConstRespectingPtr< DTBufferTree< int, int > > dBuf
Definition: DTStatusFlag.h:277
std::string dataVersion
Definition: DTStatusFlag.h:273
const std::string & version() const
access version
DTStatusFlag::~DTStatusFlag ( )

Destructor

Definition at line 64 of file DTStatusFlag.cc.

64  {
65 }
DTStatusFlag::DTStatusFlag ( DTStatusFlag const &  )
private

Member Function Documentation

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

Definition at line 569 of file DTStatusFlag.cc.

References dataList.

569  {
570  return dataList.begin();
571 }
std::vector< std::pair< DTStatusFlagId, DTStatusFlagData > > dataList
Definition: DTStatusFlag.h:275
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.

112  { return get( wheelId, stationId, sectorId, slId, layerId, cellId,
113  noiseFlag, feMask, tdcMask, trigMask,
114  deadFlag, nohvFlag); };
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.

122  { return get( id,
123  noiseFlag, feMask, tdcMask, trigMask,
124  deadFlag, nohvFlag ); };
void DTStatusFlag::clear ( void  )
DTStatusFlag::const_iterator DTStatusFlag::end ( void  ) const

Definition at line 574 of file DTStatusFlag.cc.

References dataList.

Referenced by Types.LuminosityBlockRange::cppID(), and Types.EventRange::cppID().

574  {
575  return dataList.end();
576 }
std::vector< std::pair< DTStatusFlagId, DTStatusFlagData > > dataList
Definition: DTStatusFlag.h:275
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.

References AlCaHLTBitMon_QueryRunRegistry::data, dataList, dBuf, DTBufferTree< Key, Content >::find(), DTStatusFlagData::noiseFlag, and edm::second().

Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), util.rrapi.RRApi::columns(), rrapi.RRApi::columns(), util.rrapi.RRApi::count(), rrapi.RRApi::count(), rrapi.RRApi::data(), util.rrapi.RRApi::data(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), betterConfigParser.BetterConfigParser::getResultingSection(), rrapi.RRApi::report(), util.rrapi.RRApi::report(), rrapi.RRApi::reports(), util.rrapi.RRApi::reports(), util.rrapi.RRApi::tables(), rrapi.RRApi::tables(), rrapi.RRApi::tags(), util.rrapi.RRApi::tags(), rrapi.RRApi::templates(), util.rrapi.RRApi::templates(), util.rrapi.RRApi::workspaces(), and rrapi.RRApi::workspaces().

90  {
91 
92  noiseFlag =
93  feMask =
94  tdcMask =
95  trigMask =
96  deadFlag =
97  nohvFlag = false;
98 
99  std::vector<int> chanKey;
100  chanKey.reserve(6);
101  chanKey.push_back( wheelId );
102  chanKey.push_back( stationId );
103  chanKey.push_back( sectorId );
104  chanKey.push_back( slId );
105  chanKey.push_back( layerId );
106  chanKey.push_back( cellId );
107  int ientry;
108  int searchStatus = dBuf->find( chanKey.begin(), chanKey.end(), ientry );
109  if ( !searchStatus ) {
110  const DTStatusFlagData& data( dataList[ientry].second );
111  noiseFlag = data.noiseFlag;
112  feMask = data. feMask;
113  tdcMask = data. tdcMask;
114  trigMask = data. trigMask;
115  deadFlag = data. deadFlag;
116  nohvFlag = data. nohvFlag;
117  }
118 
119  return searchStatus;
120 
121 }
int find(ElementKey fKey, ElementKey lKey, typename DTBufferTreeTrait< Content >::outputTypeOfConstFind &cont) const
U second(std::pair< T, U > const &p)
std::vector< std::pair< DTStatusFlagId, DTStatusFlagData > > dataList
Definition: DTStatusFlag.h:275
edm::ConstRespectingPtr< DTBufferTree< int, int > > dBuf
Definition: DTStatusFlag.h:277
int DTStatusFlag::get ( const DTWireId id,
bool &  noiseFlag,
bool &  feMask,
bool &  tdcMask,
bool &  trigMask,
bool &  deadFlag,
bool &  nohvFlag 
) const
void DTStatusFlag::initialize ( )

Definition at line 586 of file DTStatusFlag.cc.

References DTBufferTree< Key, Content >::clear(), dataList, dBuf, DTBufferTree< Key, Content >::insert(), and DTStatusFlagId::stationId.

Referenced by clear().

586  {
587 
588  dBuf->clear();
589 
590  int entryNum = 0;
591  int entryMax = dataList.size();
592  std::vector<int> chanKey;
593  chanKey.reserve(6);
594  while ( entryNum < entryMax ) {
595 
596  const DTStatusFlagId& chan = dataList[entryNum].first;
597 
598  chanKey.clear();
599  chanKey.push_back( chan. wheelId );
600  chanKey.push_back( chan.stationId );
601  chanKey.push_back( chan. sectorId );
602  chanKey.push_back( chan. slId );
603  chanKey.push_back( chan. layerId );
604  chanKey.push_back( chan. cellId );
605  dBuf->insert( chanKey.begin(), chanKey.end(), entryNum++ );
606 
607  }
608 
609  return;
610 
611 }
std::vector< std::pair< DTStatusFlagId, DTStatusFlagData > > dataList
Definition: DTStatusFlag.h:275
edm::ConstRespectingPtr< DTBufferTree< int, int > > dBuf
Definition: DTStatusFlag.h:277
int insert(ElementKey fKey, ElementKey lKey, Content cont)
std::string DTStatusFlag::mapName ( ) const
private

Definition at line 579 of file DTStatusFlag.cc.

References dataVersion, and mergeVDriftHistosByStation::name.

579  {
580  std::stringstream name;
581  name << dataVersion << "_map_StatusFlag" << this;
582  return name.str();
583 }
std::string dataVersion
Definition: DTStatusFlag.h:273
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.

References AlCaHLTBitMon_QueryRunRegistry::data, dataList, dBuf, DTBufferTree< Key, Content >::find(), DTBufferTree< Key, Content >::insert(), relval_steps::key, DTStatusFlagData::noiseFlag, edm::second(), and DTStatusFlagId::stationId.

Referenced by betterConfigParser.BetterConfigParser::getGeneral(), DTStatusFlagHandler::getNewObjects(), set(), setCellDead(), setCellFEMask(), setCellNoHV(), setCellNoise(), setCellStatus(), setCellTDCMask(), and setCellTrigMask().

171  {
172 
173  std::vector<int> chanKey;
174  chanKey.reserve(6);
175  chanKey.push_back( wheelId );
176  chanKey.push_back( stationId );
177  chanKey.push_back( sectorId );
178  chanKey.push_back( slId );
179  chanKey.push_back( layerId );
180  chanKey.push_back( cellId );
181  int ientry;
182  int searchStatus = dBuf->find( chanKey.begin(), chanKey.end(), ientry );
183 
184  if ( !searchStatus ) {
185  DTStatusFlagData& data( dataList[ientry].second );
186  data.noiseFlag = noiseFlag;
187  data. feMask = feMask;
188  data. tdcMask = tdcMask;
189  data. trigMask = trigMask;
190  data. deadFlag = deadFlag;
191  data. nohvFlag = nohvFlag;
192  return -1;
193  }
194  else {
196  key. wheelId = wheelId;
197  key.stationId = stationId;
198  key. sectorId = sectorId;
199  key. slId = slId;
200  key. layerId = layerId;
201  key. cellId = cellId;
203  data.noiseFlag = noiseFlag;
204  data. feMask = feMask;
205  data. tdcMask = tdcMask;
206  data. trigMask = trigMask;
207  data. deadFlag = deadFlag;
208  data. nohvFlag = nohvFlag;
209  ientry = dataList.size();
210  dataList.push_back( std::pair<const DTStatusFlagId,
211  DTStatusFlagData>( key, data ) );
212  dBuf->insert( chanKey.begin(), chanKey.end(), ientry );
213  return 0;
214  }
215 
216  return 99;
217 
218 }
int find(ElementKey fKey, ElementKey lKey, typename DTBufferTreeTrait< Content >::outputTypeOfConstFind &cont) const
U second(std::pair< T, U > const &p)
std::vector< std::pair< DTStatusFlagId, DTStatusFlagData > > dataList
Definition: DTStatusFlag.h:275
edm::ConstRespectingPtr< DTBufferTree< int, int > > dBuf
Definition: DTStatusFlag.h:277
string key
FastSim: produces sample of signal events, overlayed with premixed minbias events.
int insert(ElementKey fKey, ElementKey lKey, Content cont)
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.

References set(), and relativeConstraints::station.

Referenced by betterConfigParser.BetterConfigParser::getGeneral().

227  {
228  return set( id.wheel(),
229  id.station(),
230  id.sector(),
231  id.superLayer(),
232  id.layer(),
233  id.wire(),
234  noiseFlag, feMask, tdcMask,
235  trigMask, deadFlag, nohvFlag );
236 }
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 DTStatusFlag::setCellDead ( int  wheelId,
int  stationId,
int  sectorId,
int  slId,
int  layerId,
int  cellId,
bool  flag 
)

Definition at line 459 of file DTStatusFlag.cc.

References set(), and mps_update::status.

Referenced by setCellDead().

465  {
466 
467  bool noiseFlag;
468  bool feMask;
469  bool tdcMask;
470  bool trigMask;
471  bool deadFlag;
472  bool nohvFlag;
473  int status = get( wheelId,
474  stationId,
475  sectorId,
476  slId,
477  layerId,
478  cellId,
479  noiseFlag,
480  feMask,
481  tdcMask,
482  trigMask,
483  deadFlag,
484  nohvFlag );
485  set( wheelId,
486  stationId,
487  sectorId,
488  slId,
489  layerId,
490  cellId,
491  noiseFlag,
492  feMask,
493  tdcMask,
494  trigMask,
495  flag,
496  nohvFlag );
497  return status;
498 
499 }
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)
tuple status
Definition: mps_update.py:57
int DTStatusFlag::setCellDead ( const DTWireId id,
bool  flag 
)

Definition at line 502 of file DTStatusFlag.cc.

References setCellDead(), and relativeConstraints::station.

503  {
504  return setCellDead( id.wheel(),
505  id.station(),
506  id.sector(),
507  id.superLayer(),
508  id.layer(),
509  id.wire(),
510  flag );
511 }
int setCellDead(int wheelId, int stationId, int sectorId, int slId, int layerId, int cellId, bool flag)
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.

References set(), and mps_update::status.

Referenced by setCellFEMask().

300  {
301 
302  bool noiseFlag;
303  bool feMask;
304  bool tdcMask;
305  bool trigMask;
306  bool deadFlag;
307  bool nohvFlag;
308  int status = get( wheelId,
309  stationId,
310  sectorId,
311  slId,
312  layerId,
313  cellId,
314  noiseFlag,
315  feMask,
316  tdcMask,
317  trigMask,
318  deadFlag,
319  nohvFlag );
320  set( wheelId,
321  stationId,
322  sectorId,
323  slId,
324  layerId,
325  cellId,
326  noiseFlag,
327  mask,
328  tdcMask,
329  trigMask,
330  deadFlag,
331  nohvFlag );
332  return status;
333 
334 }
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)
tuple status
Definition: mps_update.py:57
int DTStatusFlag::setCellFEMask ( const DTWireId id,
bool  mask 
)

Definition at line 337 of file DTStatusFlag.cc.

References setCellFEMask(), and relativeConstraints::station.

338  {
339  return setCellFEMask( id.wheel(),
340  id.station(),
341  id.sector(),
342  id.superLayer(),
343  id.layer(),
344  id.wire(),
345  mask );
346 }
int setCellFEMask(int wheelId, int stationId, int sectorId, int slId, int layerId, int cellId, bool mask)
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.

References set(), and mps_update::status.

Referenced by setCellNoHV().

520  {
521 
522  bool noiseFlag;
523  bool feMask;
524  bool tdcMask;
525  bool trigMask;
526  bool deadFlag;
527  bool nohvFlag;
528  int status = get( wheelId,
529  stationId,
530  sectorId,
531  slId,
532  layerId,
533  cellId,
534  noiseFlag,
535  feMask,
536  tdcMask,
537  trigMask,
538  deadFlag,
539  nohvFlag );
540  set( wheelId,
541  stationId,
542  sectorId,
543  slId,
544  layerId,
545  cellId,
546  noiseFlag,
547  feMask,
548  tdcMask,
549  trigMask,
550  deadFlag,
551  flag );
552  return status;
553 
554 }
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)
tuple status
Definition: mps_update.py:57
int DTStatusFlag::setCellNoHV ( const DTWireId id,
bool  flag 
)

Definition at line 557 of file DTStatusFlag.cc.

References setCellNoHV(), and relativeConstraints::station.

558  {
559  return setCellNoHV( id.wheel(),
560  id.station(),
561  id.sector(),
562  id.superLayer(),
563  id.layer(),
564  id.wire(),
565  flag );
566 }
int setCellNoHV(int wheelId, int stationId, int sectorId, int slId, int layerId, int cellId, bool flag)
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.

References set(), and mps_update::status.

Referenced by DTNoiseCalibration::endJob(), and setCellNoise().

245  {
246 
247  bool noiseFlag;
248  bool feMask;
249  bool tdcMask;
250  bool trigMask;
251  bool deadFlag;
252  bool nohvFlag;
253  int status = get( wheelId,
254  stationId,
255  sectorId,
256  slId,
257  layerId,
258  cellId,
259  noiseFlag,
260  feMask,
261  tdcMask,
262  trigMask,
263  deadFlag,
264  nohvFlag );
265  set( wheelId,
266  stationId,
267  sectorId,
268  slId,
269  layerId,
270  cellId,
271  flag,
272  feMask,
273  tdcMask,
274  trigMask,
275  deadFlag,
276  nohvFlag );
277  return status;
278 
279 }
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)
tuple status
Definition: mps_update.py:57
int DTStatusFlag::setCellNoise ( const DTWireId id,
bool  flag 
)

Definition at line 282 of file DTStatusFlag.cc.

References setCellNoise(), and relativeConstraints::station.

283  {
284  return setCellNoise( id.wheel(),
285  id.station(),
286  id.sector(),
287  id.superLayer(),
288  id.layer(),
289  id.wire(),
290  flag );
291 }
int setCellNoise(int wheelId, int stationId, int sectorId, int slId, int layerId, int cellId, bool flag)
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.

References set().

165  { return set( wheelId, stationId, sectorId, slId, layerId, cellId,
166  noiseFlag, feMask, tdcMask, trigMask,
167  deadFlag, nohvFlag); };
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 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.

References set().

175  { return set( id,
176  noiseFlag, feMask, tdcMask, trigMask,
177  deadFlag, nohvFlag ); };
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 DTStatusFlag::setCellTDCMask ( int  wheelId,
int  stationId,
int  sectorId,
int  slId,
int  layerId,
int  cellId,
bool  mask 
)

Definition at line 349 of file DTStatusFlag.cc.

References set(), and mps_update::status.

Referenced by setCellTDCMask().

355  {
356 
357  bool noiseFlag;
358  bool feMask;
359  bool tdcMask;
360  bool trigMask;
361  bool deadFlag;
362  bool nohvFlag;
363  int status = get( wheelId,
364  stationId,
365  sectorId,
366  slId,
367  layerId,
368  cellId,
369  noiseFlag,
370  feMask,
371  tdcMask,
372  trigMask,
373  deadFlag,
374  nohvFlag );
375  set( wheelId,
376  stationId,
377  sectorId,
378  slId,
379  layerId,
380  cellId,
381  noiseFlag,
382  feMask,
383  mask,
384  trigMask,
385  deadFlag,
386  nohvFlag );
387  return status;
388 
389 }
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)
tuple status
Definition: mps_update.py:57
int DTStatusFlag::setCellTDCMask ( const DTWireId id,
bool  mask 
)

Definition at line 392 of file DTStatusFlag.cc.

References setCellTDCMask(), and relativeConstraints::station.

393  {
394  return setCellTDCMask( id.wheel(),
395  id.station(),
396  id.sector(),
397  id.superLayer(),
398  id.layer(),
399  id.wire(),
400  mask );
401 }
int setCellTDCMask(int wheelId, int stationId, int sectorId, int slId, int layerId, int cellId, bool mask)
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.

References set(), and mps_update::status.

Referenced by setCellTrigMask().

410  {
411 
412  bool noiseFlag;
413  bool feMask;
414  bool tdcMask;
415  bool trigMask;
416  bool deadFlag;
417  bool nohvFlag;
418  int status = get( wheelId,
419  stationId,
420  sectorId,
421  slId,
422  layerId,
423  cellId,
424  noiseFlag,
425  feMask,
426  tdcMask,
427  trigMask,
428  deadFlag,
429  nohvFlag );
430  set( wheelId,
431  stationId,
432  sectorId,
433  slId,
434  layerId,
435  cellId,
436  noiseFlag,
437  feMask,
438  tdcMask,
439  mask,
440  deadFlag,
441  nohvFlag );
442  return status;
443 
444 }
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)
tuple status
Definition: mps_update.py:57
int DTStatusFlag::setCellTrigMask ( const DTWireId id,
bool  mask 
)

Definition at line 447 of file DTStatusFlag.cc.

References setCellTrigMask(), and relativeConstraints::station.

448  {
449  return setCellTrigMask( id.wheel(),
450  id.station(),
451  id.sector(),
452  id.superLayer(),
453  id.layer(),
454  id.wire(),
455  mask );
456 }
int setCellTrigMask(int wheelId, int stationId, int sectorId, int slId, int layerId, int cellId, bool mask)
const std::string & DTStatusFlag::version ( ) const

access version

Definition at line 143 of file DTStatusFlag.cc.

References dataVersion.

Referenced by validation.Sample::datasetpattern(), and validation.Sample::filename().

143  {
144  return dataVersion;
145 }
std::string dataVersion
Definition: DTStatusFlag.h:273
std::string & DTStatusFlag::version ( )

Definition at line 148 of file DTStatusFlag.cc.

References dataVersion.

Referenced by validation.Sample::datasetpattern(), and validation.Sample::filename().

148  {
149  return dataVersion;
150 }
std::string dataVersion
Definition: DTStatusFlag.h:273

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.

Referenced by begin(), clear(), DTStatusFlag(), end(), get(), initialize(), and set().

std::string DTStatusFlag::dataVersion
private

Definition at line 273 of file DTStatusFlag.h.

Referenced by mapName(), and version().

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

Definition at line 277 of file DTStatusFlag.h.

Referenced by get(), initialize(), and set().