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

#include <DTHVStatus.h>

Public Types

typedef std::vector< std::pair
< DTHVStatusId, DTHVStatusData >
>::const_iterator 
const_iterator
 Access methods to data. More...
 

Public Member Functions

int badChannelsNumber () const
 
int badChannelsNumber (const DTChamberId &id) const
 
const_iterator begin () const
 
void clear ()
 reset content More...
 
 DTHVStatus ()
 
 DTHVStatus (const std::string &version)
 
const_iterator end () const
 
int get (int wheelId, int stationId, int sectorId, int slId, int layerId, int partId, int &fCell, int &lCell, int &flagA, int &flagC, int &flagS) const
 get content More...
 
int get (const DTLayerId &id, int partId, int &fCell, int &lCell, int &flagA, int &flagC, int &flagS) const
 
int get (const DTWireId &id, int &flagA, int &flagC, int &flagS) const
 
int offChannelsNumber () const
 
int offChannelsNumber (const DTChamberId &id) const
 
int set (int wheelId, int stationId, int sectorId, int slId, int layerId, int partId, int fCell, int lCell, int flagA, int flagC, int flagS)
 
int set (const DTLayerId &id, int partId, int fCell, int lCell, int flagA, int flagC, int flagS)
 
int setFlagA (int wheelId, int stationId, int sectorId, int slId, int layerId, int partId, int flag)
 
int setFlagA (const DTLayerId &id, int partId, int flag)
 
int setFlagC (int wheelId, int stationId, int sectorId, int slId, int layerId, int partId, int flag)
 
int setFlagC (const DTLayerId &id, int partId, int flag)
 
int setFlagS (int wheelId, int stationId, int sectorId, int slId, int layerId, int partId, int flag)
 
int setFlagS (const DTLayerId &id, int partId, int flag)
 
const std::string & version () const
 access version More...
 
std::string & version ()
 
 ~DTHVStatus ()
 

Private Member Functions

void cacheMap () const
 read and store full content More...
 
std::string mapName () const
 

Private Attributes

std::vector< std::pair
< DTHVStatusId, DTHVStatusData > > 
dataList
 
std::string dataVersion
 
DTBufferTree< int, int > * dBuf
 

Detailed Description

Description: Class to hold high voltage status ( half layer by half layer )

Date:
2010/01/20 18:20:08
Revision:
1.3
Author
Paolo Ronchese INFN Padova

Definition at line 71 of file DTHVStatus.h.

Member Typedef Documentation

Access methods to data.

Definition at line 173 of file DTHVStatus.h.

Constructor & Destructor Documentation

DTHVStatus::DTHVStatus ( )

Constructor

Definition at line 37 of file DTHVStatus.cc.

References dataList, and dBuf.

37  :
38  dataVersion( " " ) {
39  dataList.reserve( 10 );
40  dBuf = 0;
41 }
std::vector< std::pair< DTHVStatusId, DTHVStatusData > > dataList
Definition: DTHVStatus.h:181
DTBufferTree< int, int > * dBuf
Definition: DTHVStatus.h:183
std::string dataVersion
Definition: DTHVStatus.h:179
DTHVStatus::DTHVStatus ( const std::string &  version)

Definition at line 44 of file DTHVStatus.cc.

References dataList, and dBuf.

44  :
45  dataVersion( version ) {
46  dataList.reserve( 10 );
47  dBuf = 0;
48 }
std::vector< std::pair< DTHVStatusId, DTHVStatusData > > dataList
Definition: DTHVStatus.h:181
DTBufferTree< int, int > * dBuf
Definition: DTHVStatus.h:183
std::string dataVersion
Definition: DTHVStatus.h:179
const std::string & version() const
access version
Definition: DTHVStatus.cc:263
DTHVStatus::~DTHVStatus ( )

Destructor

Definition at line 71 of file DTHVStatus.cc.

References dBuf.

71  {
72 // DTDataBuffer<int,int>::dropBuffer( mapName() );
73  delete dBuf;
74 }
DTBufferTree< int, int > * dBuf
Definition: DTHVStatus.h:183

Member Function Documentation

int DTHVStatus::badChannelsNumber ( ) const

Definition at line 229 of file DTHVStatus.cc.

References begin(), data, end(), DTHVStatusData::fCell, DTHVStatusData::flagA, DTHVStatusData::flagC, DTHVStatusData::flagS, and DTHVStatusData::lCell.

229  {
230  int offNum = 0;
233  while ( iter != iend ) {
234  const std::pair<DTHVStatusId,DTHVStatusData>& entry = *iter++;
235  DTHVStatusId hvId = entry.first;
236  DTHVStatusData data = entry.second;
237  if ( data.flagA || data.flagC || data.flagS )
238  offNum += ( 1 + data.lCell - data.fCell );
239  }
240  return offNum;
241 }
std::pair< std::string, MonitorElement * > entry
Definition: ME_MAP.h:8
std::vector< std::pair< DTHVStatusId, DTHVStatusData > >::const_iterator const_iterator
Access methods to data.
Definition: DTHVStatus.h:173
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:82
const_iterator end() const
Definition: DTHVStatus.cc:522
const_iterator begin() const
Definition: DTHVStatus.cc:517
int DTHVStatus::badChannelsNumber ( const DTChamberId id) const

Definition at line 244 of file DTHVStatus.cc.

References begin(), data, end(), DTHVStatusData::fCell, DTHVStatusData::flagA, DTHVStatusData::flagC, DTHVStatusData::flagS, DTHVStatusData::lCell, and DTHVStatusId::stationId.

244  {
245  int offNum = 0;
248  while ( iter != iend ) {
249  const std::pair<DTHVStatusId,DTHVStatusData>& entry = *iter++;
250  DTHVStatusId hvId = entry.first;
251  DTHVStatusData data = entry.second;
252  if ( hvId. wheelId != id. wheel() ) continue;
253  if ( hvId.stationId != id.station() ) continue;
254  if ( hvId. sectorId != id. sector() ) continue;
255  if ( data.flagA || data.flagC || data.flagS )
256  offNum += ( 1 + data.lCell - data.fCell );
257  }
258  return offNum;
259 }
std::pair< std::string, MonitorElement * > entry
Definition: ME_MAP.h:8
std::vector< std::pair< DTHVStatusId, DTHVStatusData > >::const_iterator const_iterator
Access methods to data.
Definition: DTHVStatus.h:173
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:82
const_iterator end() const
Definition: DTHVStatus.cc:522
const_iterator begin() const
Definition: DTHVStatus.cc:517
DTHVStatus::const_iterator DTHVStatus::begin ( void  ) const

Definition at line 517 of file DTHVStatus.cc.

References dataList.

Referenced by badChannelsNumber(), DTHVStatusHandler::checkForPeriod(), DTHVStatusHandler::filterData(), DTHVHandler::offChannelsNumber(), and offChannelsNumber().

517  {
518  return dataList.begin();
519 }
std::vector< std::pair< DTHVStatusId, DTHVStatusData > > dataList
Definition: DTHVStatus.h:181
void DTHVStatus::cacheMap ( ) const
private

read and store full content

Definition at line 534 of file DTHVStatus.cc.

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

Referenced by get(), and set().

534  {
535 
536 // std::string mName = mapName();
537 // DTBufferTree<int,int>* dBuf =
538 // DTDataBuffer<int,int>::openBuffer( mName );
539  DTBufferTree<int,int>** pBuf;
540  pBuf = const_cast<DTBufferTree<int,int>**>( &dBuf );
541  *pBuf = new DTBufferTree<int,int>;
542 
543  int entryNum = 0;
544  int entryMax = dataList.size();
545  std::vector<int> chanKey;
546  chanKey.reserve(6);
547  while ( entryNum < entryMax ) {
548 
549  const DTHVStatusId& chan = dataList[entryNum].first;
550 
551  chanKey.clear();
552  chanKey.push_back( chan. wheelId );
553  chanKey.push_back( chan.stationId );
554  chanKey.push_back( chan. sectorId );
555  chanKey.push_back( chan. slId );
556  chanKey.push_back( chan. layerId );
557  chanKey.push_back( chan. partId );
558  dBuf->insert( chanKey.begin(), chanKey.end(), entryNum++ );
559 
560  }
561 
562  return;
563 
564 }
std::vector< std::pair< DTHVStatusId, DTHVStatusData > > dataList
Definition: DTHVStatus.h:181
DTBufferTree< int, int > * dBuf
Definition: DTHVStatus.h:183
int insert(ElementKey fKey, ElementKey lKey, const Content &cont)
void DTHVStatus::clear ( void  )
DTHVStatus::const_iterator DTHVStatus::end ( void  ) const

Definition at line 522 of file DTHVStatus.cc.

References dataList.

Referenced by badChannelsNumber(), DTHVStatusHandler::checkForPeriod(), Types.LuminosityBlockRange::cppID(), Types.EventRange::cppID(), DTHVStatusHandler::filterData(), DTHVHandler::offChannelsNumber(), and offChannelsNumber().

522  {
523  return dataList.end();
524 }
std::vector< std::pair< DTHVStatusId, DTHVStatusData > > dataList
Definition: DTHVStatus.h:181
int DTHVStatus::get ( int  wheelId,
int  stationId,
int  sectorId,
int  slId,
int  layerId,
int  partId,
int &  fCell,
int &  lCell,
int &  flagA,
int &  flagC,
int &  flagS 
) const

get content

Operations

Definition at line 88 of file DTHVStatus.cc.

References cacheMap(), data, dataList, dBuf, DTHVStatusData::fCell, DTBufferTree< Key, Content >::find(), DTHVStatusData::flagA, DTHVStatusData::flagC, DTHVStatusData::flagS, DTHVStatusData::lCell, and edm::second().

Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), DTHVHandler::get(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), betterConfigParser.BetterConfigParser::getResultingSection(), and DTHVStatusHandler::setChannelFlag().

98  {
99  fCell =
100  lCell =
101  flagA =
102  flagC =
103  flagS = 0;
104 
105 // std::string mName = mapName();
106 // DTBufferTree<int,int>* dBuf =
107 // DTDataBuffer<int,int>::findBuffer( mName );
108 // if ( dBuf == 0 ) {
109 // cacheMap();
110 // dBuf =
111 // DTDataBuffer<int,int>::findBuffer( mName );
112 // }
113  if ( dBuf == 0 ) cacheMap();
114 
115  std::vector<int> chanKey;
116  chanKey.reserve(6);
117  chanKey.push_back( wheelId );
118  chanKey.push_back( stationId );
119  chanKey.push_back( sectorId );
120  chanKey.push_back( slId );
121  chanKey.push_back( layerId );
122  chanKey.push_back( partId );
123  int ientry;
124  int searchStatus = dBuf->find( chanKey.begin(), chanKey.end(), ientry );
125  if ( !searchStatus ) {
126  const DTHVStatusData& data( dataList[ientry].second );
127  fCell = data.fCell;
128  lCell = data.lCell;
129  flagA = data.flagA;
130  flagC = data.flagC;
131  flagS = data.flagS;
132  }
133 
134  return searchStatus;
135 
136 }
std::vector< std::pair< DTHVStatusId, DTHVStatusData > > dataList
Definition: DTHVStatus.h:181
DTBufferTree< int, int > * dBuf
Definition: DTHVStatus.h:183
void cacheMap() const
read and store full content
Definition: DTHVStatus.cc:534
U second(std::pair< T, U > const &p)
int find(ElementKey fKey, ElementKey lKey, Content &cont)
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:82
int DTHVStatus::get ( const DTLayerId id,
int  partId,
int &  fCell,
int &  lCell,
int &  flagA,
int &  flagC,
int &  flagS 
) const

Definition at line 139 of file DTHVStatus.cc.

Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), and betterConfigParser.BetterConfigParser::getResultingSection().

145  {
146  return get( id.wheel(),
147  id.station(),
148  id.sector(),
149  id.superLayer(),
150  id.layer(),
151  partId,
152  fCell, lCell, flagA, flagC, flagS );
153 }
int DTHVStatus::get ( const DTWireId id,
int &  flagA,
int &  flagC,
int &  flagS 
) const

Definition at line 156 of file DTHVStatus.cc.

Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), and betterConfigParser.BetterConfigParser::getResultingSection().

159  {
160  flagA = flagC = flagS = 0;
161  int iCell = id.wire();
162  int fCell;
163  int lCell;
164  int
165  fCheck = get( id.wheel(),
166  id.station(),
167  id.sector(),
168  id.superLayer(),
169  id.layer(),
170  0, fCell, lCell,
171  flagA, flagC, flagS );
172  if ( ( fCheck == 0 ) &&
173  ( fCell <= iCell ) &&
174  ( lCell >= iCell ) ) return 0;
175  fCheck = get( id.wheel(),
176  id.station(),
177  id.sector(),
178  id.superLayer(),
179  id.layer(),
180  1, fCell, lCell,
181  flagA, flagC, flagS );
182  if ( ( fCheck == 0 ) &&
183  ( fCell <= iCell ) &&
184  ( lCell >= iCell ) ) return 0;
185  flagA = flagC = flagS = 0;
186  return 1;
187 }
std::string DTHVStatus::mapName ( ) const
private

Definition at line 527 of file DTHVStatus.cc.

References dataVersion, and mergeVDriftHistosByStation::name.

527  {
528  std::stringstream name;
529  name << dataVersion << "_map_HV" << this;
530  return name.str();
531 }
std::string dataVersion
Definition: DTHVStatus.h:179
int DTHVStatus::offChannelsNumber ( ) const

Definition at line 190 of file DTHVStatus.cc.

References begin(), data, end(), DTHVStatusData::fCell, DTHVStatusData::flagA, DTHVStatusData::flagC, DTHVStatusData::flagS, and DTHVStatusData::lCell.

190  {
191  int offNum = 0;
194  while ( iter != iend ) {
195  const std::pair<DTHVStatusId,DTHVStatusData>& entry = *iter++;
196  DTHVStatusId hvId = entry.first;
197  DTHVStatusData data = entry.second;
198  int offA = data.flagA & 1;
199  int offC = data.flagC & 1;
200  int offS = data.flagS & 1;
201  if ( offA || offC || offS )
202  offNum += ( 1 + data.lCell - data.fCell );
203  }
204  return offNum;
205 }
std::pair< std::string, MonitorElement * > entry
Definition: ME_MAP.h:8
std::vector< std::pair< DTHVStatusId, DTHVStatusData > >::const_iterator const_iterator
Access methods to data.
Definition: DTHVStatus.h:173
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:82
const_iterator end() const
Definition: DTHVStatus.cc:522
const_iterator begin() const
Definition: DTHVStatus.cc:517
int DTHVStatus::offChannelsNumber ( const DTChamberId id) const

Definition at line 208 of file DTHVStatus.cc.

References begin(), data, end(), DTHVStatusData::fCell, DTHVStatusData::flagA, DTHVStatusData::flagC, DTHVStatusData::flagS, DTHVStatusData::lCell, and DTHVStatusId::stationId.

208  {
209  int offNum = 0;
212  while ( iter != iend ) {
213  const std::pair<DTHVStatusId,DTHVStatusData>& entry = *iter++;
214  DTHVStatusId hvId = entry.first;
215  DTHVStatusData data = entry.second;
216  if ( hvId. wheelId != id. wheel() ) continue;
217  if ( hvId.stationId != id.station() ) continue;
218  if ( hvId. sectorId != id. sector() ) continue;
219  int offA = data.flagA & 1;
220  int offC = data.flagC & 1;
221  int offS = data.flagS & 1;
222  if ( offA || offC || offS )
223  offNum += ( 1 + data.lCell - data.fCell );
224  }
225  return offNum;
226 }
std::pair< std::string, MonitorElement * > entry
Definition: ME_MAP.h:8
std::vector< std::pair< DTHVStatusId, DTHVStatusData > >::const_iterator const_iterator
Access methods to data.
Definition: DTHVStatus.h:173
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:82
const_iterator end() const
Definition: DTHVStatus.cc:522
const_iterator begin() const
Definition: DTHVStatus.cc:517
int DTHVStatus::set ( int  wheelId,
int  stationId,
int  sectorId,
int  slId,
int  layerId,
int  partId,
int  fCell,
int  lCell,
int  flagA,
int  flagC,
int  flagS 
)

Definition at line 283 of file DTHVStatus.cc.

References cacheMap(), data, dataList, dBuf, DTHVStatusData::fCell, DTBufferTree< Key, Content >::find(), DTHVStatusData::flagA, DTHVStatusData::flagC, DTHVStatusData::flagS, DTBufferTree< Key, Content >::insert(), combine::key, DTHVStatusData::lCell, edm::second(), and DTHVStatusId::stationId.

Referenced by betterConfigParser.BetterConfigParser::getGeneral(), set(), DTHVStatusHandler::setChannelFlag(), setFlagA(), setFlagC(), and setFlagS().

293  {
294 
295 // std::string mName = mapName();
296 // DTBufferTree<int,int>* dBuf =
297 // DTDataBuffer<int,int>::findBuffer( mName );
298 // if ( dBuf == 0 ) {
299 // cacheMap();
300 // dBuf =
301 // DTDataBuffer<int,int>::findBuffer( mName );
302 // }
303  if ( dBuf == 0 ) cacheMap();
304  std::vector<int> chanKey;
305  chanKey.reserve(6);
306  chanKey.push_back( wheelId );
307  chanKey.push_back( stationId );
308  chanKey.push_back( sectorId );
309  chanKey.push_back( slId );
310  chanKey.push_back( layerId );
311  chanKey.push_back( partId );
312  int ientry;
313  int searchStatus = dBuf->find( chanKey.begin(), chanKey.end(), ientry );
314 
315  if ( !searchStatus ) {
316  DTHVStatusData& data( dataList[ientry].second );
317  data.fCell = fCell;
318  data.lCell = lCell;
319  data.flagA = flagA;
320  data.flagC = flagC;
321  data.flagS = flagS;
322  return -1;
323  }
324  else {
326  key. wheelId = wheelId;
327  key.stationId = stationId;
328  key. sectorId = sectorId;
329  key. slId = slId;
330  key. layerId = layerId;
331  key. partId = partId;
333  data.fCell = fCell;
334  data.lCell = lCell;
335  data.flagA = flagA;
336  data.flagC = flagC;
337  data.flagS = flagS;
338  ientry = dataList.size();
339  dataList.push_back( std::pair<DTHVStatusId,
340  DTHVStatusData>( key, data ) );
341  dBuf->insert( chanKey.begin(), chanKey.end(), ientry );
342  return 0;
343  }
344 
345  return 99;
346 
347 }
std::vector< std::pair< DTHVStatusId, DTHVStatusData > > dataList
Definition: DTHVStatus.h:181
DTBufferTree< int, int > * dBuf
Definition: DTHVStatus.h:183
void cacheMap() const
read and store full content
Definition: DTHVStatus.cc:534
int insert(ElementKey fKey, ElementKey lKey, const Content &cont)
U second(std::pair< T, U > const &p)
int find(ElementKey fKey, ElementKey lKey, Content &cont)
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:82
list key
Definition: combine.py:13
int DTHVStatus::set ( const DTLayerId id,
int  partId,
int  fCell,
int  lCell,
int  flagA,
int  flagC,
int  flagS 
)

Definition at line 350 of file DTHVStatus.cc.

References set(), and relativeConstraints::station.

Referenced by betterConfigParser.BetterConfigParser::getGeneral().

356  {
357  return set( id.wheel(),
358  id.station(),
359  id.sector(),
360  id.superLayer(),
361  id.layer(),
362  partId,
363  fCell, lCell, flagA, flagC, flagS );
364 }
int set(int wheelId, int stationId, int sectorId, int slId, int layerId, int partId, int fCell, int lCell, int flagA, int flagC, int flagS)
Definition: DTHVStatus.cc:283
int DTHVStatus::setFlagA ( int  wheelId,
int  stationId,
int  sectorId,
int  slId,
int  layerId,
int  partId,
int  flag 
)

Definition at line 367 of file DTHVStatus.cc.

References set().

Referenced by setFlagA().

373  {
374  int fCell;
375  int lCell;
376  int flagA;
377  int flagC;
378  int flagS;
379  get( wheelId,
380  stationId,
381  sectorId,
382  slId,
383  layerId,
384  partId,
385  fCell,
386  lCell,
387  flagA,
388  flagC,
389  flagS );
390  return set( wheelId,
391  stationId,
392  sectorId,
393  slId,
394  layerId,
395  partId,
396  fCell,
397  lCell,
398  flag,
399  flagC,
400  flagS );
401 }
long int flag
Definition: mlp_lapack.h:47
int set(int wheelId, int stationId, int sectorId, int slId, int layerId, int partId, int fCell, int lCell, int flagA, int flagC, int flagS)
Definition: DTHVStatus.cc:283
int DTHVStatus::setFlagA ( const DTLayerId id,
int  partId,
int  flag 
)

Definition at line 404 of file DTHVStatus.cc.

References setFlagA(), and relativeConstraints::station.

406  {
407  return setFlagA( id.wheel(),
408  id.station(),
409  id.sector(),
410  id.superLayer(),
411  id.layer(),
412  partId,
413  flag );
414 }
long int flag
Definition: mlp_lapack.h:47
int setFlagA(int wheelId, int stationId, int sectorId, int slId, int layerId, int partId, int flag)
Definition: DTHVStatus.cc:367
int DTHVStatus::setFlagC ( int  wheelId,
int  stationId,
int  sectorId,
int  slId,
int  layerId,
int  partId,
int  flag 
)

Definition at line 417 of file DTHVStatus.cc.

References set().

Referenced by setFlagC().

423  {
424  int fCell;
425  int lCell;
426  int flagA;
427  int flagC;
428  int flagS;
429  get( wheelId,
430  stationId,
431  sectorId,
432  slId,
433  layerId,
434  partId,
435  fCell,
436  lCell,
437  flagA,
438  flagC,
439  flagS );
440  return set( wheelId,
441  stationId,
442  sectorId,
443  slId,
444  layerId,
445  partId,
446  fCell,
447  lCell,
448  flagA,
449  flag,
450  flagS );
451 }
long int flag
Definition: mlp_lapack.h:47
int set(int wheelId, int stationId, int sectorId, int slId, int layerId, int partId, int fCell, int lCell, int flagA, int flagC, int flagS)
Definition: DTHVStatus.cc:283
int DTHVStatus::setFlagC ( const DTLayerId id,
int  partId,
int  flag 
)

Definition at line 454 of file DTHVStatus.cc.

References setFlagC(), and relativeConstraints::station.

456  {
457  return setFlagC( id.wheel(),
458  id.station(),
459  id.sector(),
460  id.superLayer(),
461  id.layer(),
462  partId,
463  flag );
464 }
long int flag
Definition: mlp_lapack.h:47
int setFlagC(int wheelId, int stationId, int sectorId, int slId, int layerId, int partId, int flag)
Definition: DTHVStatus.cc:417
int DTHVStatus::setFlagS ( int  wheelId,
int  stationId,
int  sectorId,
int  slId,
int  layerId,
int  partId,
int  flag 
)

Definition at line 467 of file DTHVStatus.cc.

References set().

Referenced by setFlagS().

473  {
474  int fCell;
475  int lCell;
476  int flagA;
477  int flagC;
478  int flagS;
479  get( wheelId,
480  stationId,
481  sectorId,
482  slId,
483  layerId,
484  partId,
485  fCell,
486  lCell,
487  flagA,
488  flagC,
489  flagS );
490  return set( wheelId,
491  stationId,
492  sectorId,
493  slId,
494  layerId,
495  partId,
496  fCell,
497  lCell,
498  flagA,
499  flagC,
500  flag );
501 }
long int flag
Definition: mlp_lapack.h:47
int set(int wheelId, int stationId, int sectorId, int slId, int layerId, int partId, int fCell, int lCell, int flagA, int flagC, int flagS)
Definition: DTHVStatus.cc:283
int DTHVStatus::setFlagS ( const DTLayerId id,
int  partId,
int  flag 
)

Definition at line 504 of file DTHVStatus.cc.

References setFlagS(), and relativeConstraints::station.

506  {
507  return setFlagS( id.wheel(),
508  id.station(),
509  id.sector(),
510  id.superLayer(),
511  id.layer(),
512  partId,
513  flag );
514 }
long int flag
Definition: mlp_lapack.h:47
int setFlagS(int wheelId, int stationId, int sectorId, int slId, int layerId, int partId, int flag)
Definition: DTHVStatus.cc:467
const std::string & DTHVStatus::version ( ) const

access version

Definition at line 263 of file DTHVStatus.cc.

References dataVersion.

263  {
264  return dataVersion;
265 }
std::string dataVersion
Definition: DTHVStatus.h:179
std::string & DTHVStatus::version ( )

Definition at line 268 of file DTHVStatus.cc.

References dataVersion.

268  {
269  return dataVersion;
270 }
std::string dataVersion
Definition: DTHVStatus.h:179

Member Data Documentation

std::vector< std::pair<DTHVStatusId,DTHVStatusData> > DTHVStatus::dataList
private

Definition at line 181 of file DTHVStatus.h.

Referenced by begin(), cacheMap(), clear(), DTHVStatus(), end(), get(), and set().

std::string DTHVStatus::dataVersion
private

Definition at line 179 of file DTHVStatus.h.

Referenced by mapName(), and version().

DTBufferTree<int,int>* DTHVStatus::dBuf
private

Definition at line 183 of file DTHVStatus.h.

Referenced by cacheMap(), clear(), DTHVStatus(), get(), set(), and ~DTHVStatus().