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

#include <DTMtime.h>

Public Types

typedef std::vector< std::pair
< DTMtimeId, DTMtimeData >
>::const_iterator 
const_iterator
 Access methods to data. More...
 

Public Member Functions

const_iterator begin () const
 
void clear ()
 reset content More...
 
 DTMtime ()
 
 DTMtime (const std::string &version)
 
const_iterator end () const
 
int get (int wheelId, int stationId, int sectorId, int slId, float &mTime, float &mTrms, DTTimeUnits::type unit) const
 
int get (int wheelId, int stationId, int sectorId, int slId, float &mTime, float &mTrms, DTVelocityUnits::type unit) const
 
int get (int wheelId, int stationId, int sectorId, int slId, int layerId, int cellId, float &mTime, float &mTrms, DTTimeUnits::type unit) const
 
int get (int wheelId, int stationId, int sectorId, int slId, int layerId, int cellId, float &mTime, float &mTrms, DTVelocityUnits::type unit) const
 
int get (const DTSuperLayerId &id, float &mTime, float &mTrms, DTTimeUnits::type unit) const
 
int get (const DTSuperLayerId &id, float &mTime, float &mTrms, DTVelocityUnits::type unit) const
 
int get (const DetId &id, float &mTime, float &mTrms, DTTimeUnits::type unit) const
 
int get (const DetId &id, float &mTime, float &mTrms, DTVelocityUnits::type unit) const
 
void initialize ()
 
int set (int wheelId, int stationId, int sectorId, int slId, float mTime, float mTrms, DTTimeUnits::type unit)
 
int set (int wheelId, int stationId, int sectorId, int slId, float mTime, float mTrms, DTVelocityUnits::type unit)
 
int set (int wheelId, int stationId, int sectorId, int slId, int layerId, int cellId, float mTime, float mTrms, DTTimeUnits::type unit)
 
int set (int wheelId, int stationId, int sectorId, int slId, int layerId, int cellId, float mTime, float mTrms, DTVelocityUnits::type unit)
 
int set (const DTSuperLayerId &id, float mTime, float mTrms, DTTimeUnits::type unit)
 
int set (const DTSuperLayerId &id, float mTime, float mTrms, DTVelocityUnits::type unit)
 
int set (const DetId &id, float mTime, float mTrms, DTTimeUnits::type unit)
 
int set (const DetId &id, float mTime, float mTrms, DTVelocityUnits::type unit)
 
int setSLMtime (int wheelId, int stationId, int sectorId, int slId, float mTime, float mTrms, DTTimeUnits::type unit)
 
int setSLMtime (int wheelId, int stationId, int sectorId, int slId, int layerId, int cellId, float mTime, float mTrms, DTTimeUnits::type unit)
 
int setSLMtime (const DTSuperLayerId &id, float mTime, float mTrms, DTTimeUnits::type unit)
 
int setSLMtime (const DetId &id, float mTime, float mTrms, DTTimeUnits::type unit)
 
void setUnit (float unit)
 
int slMtime (int wheelId, int stationId, int sectorId, int slId, float &mTime, float &mTrms, DTTimeUnits::type unit) const
 get content More...
 
int slMtime (int wheelId, int stationId, int sectorId, int slId, int layerId, int cellId, float &mTime, float &mTrms, DTTimeUnits::type unit) const
 
int slMtime (const DTSuperLayerId &id, float &mTime, float &mTrms, DTTimeUnits::type unit) const
 
int slMtime (const DetId &id, float &mTime, float &mTrms, DTTimeUnits::type unit) const
 
float unit () const
 
const std::string & version () const
 access version More...
 
std::string & version ()
 
 ~DTMtime ()
 

Private Member Functions

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

Private Attributes

std::vector< std::pair
< DTMtimeId, DTMtimeData > > 
dataList
 
std::string dataVersion
 
edm::ConstRespectingPtr
< DTBufferTree< int, int > > 
dBuf
 
float nsPerCount
 

Friends

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

Detailed Description

Description: Class to hold drift tubes mean-times ( SL by SL mean-time calculation )

Author
Paolo Ronchese INFN Padova

Definition at line 76 of file DTMtime.h.

Member Typedef Documentation

typedef std::vector< std::pair<DTMtimeId, DTMtimeData> >::const_iterator DTMtime::const_iterator

Access methods to data.

Definition at line 263 of file DTMtime.h.

Constructor & Destructor Documentation

DTMtime::DTMtime ( )

Constructor

Definition at line 32 of file DTMtime.cc.

References dataList.

32  :
33  dataVersion( " " ),
34  nsPerCount( 25.0 / 32.0 ),
36  dataList.reserve( 1000 );
37 }
float nsPerCount
Definition: DTMtime.h:275
edm::ConstRespectingPtr< DTBufferTree< int, int > > dBuf
Definition: DTMtime.h:279
std::vector< std::pair< DTMtimeId, DTMtimeData > > dataList
Definition: DTMtime.h:277
std::string dataVersion
Definition: DTMtime.h:274
DTMtime::DTMtime ( const std::string &  version)

Definition at line 40 of file DTMtime.cc.

References dataList.

40  :
42  nsPerCount( 25.0 / 32.0 ),
44  dataList.reserve( 1000 );
45 }
float nsPerCount
Definition: DTMtime.h:275
edm::ConstRespectingPtr< DTBufferTree< int, int > > dBuf
Definition: DTMtime.h:279
std::vector< std::pair< DTMtimeId, DTMtimeData > > dataList
Definition: DTMtime.h:277
const std::string & version() const
access version
Definition: DTMtime.cc:233
std::string dataVersion
Definition: DTMtime.h:274
DTMtime::~DTMtime ( )

Destructor

Definition at line 67 of file DTMtime.cc.

67  {
68 }
DTMtime::DTMtime ( DTMtime const &  )
private

Member Function Documentation

DTMtime::const_iterator DTMtime::begin ( void  ) const

Definition at line 414 of file DTMtime.cc.

References dataList.

414  {
415  return dataList.begin();
416 }
std::vector< std::pair< DTMtimeId, DTMtimeData > > dataList
Definition: DTMtime.h:277
void DTMtime::clear ( void  )
DTMtime::const_iterator DTMtime::end ( void  ) const

Definition at line 419 of file DTMtime.cc.

References dataList.

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

419  {
420  return dataList.end();
421 }
std::vector< std::pair< DTMtimeId, DTMtimeData > > dataList
Definition: DTMtime.h:277
int DTMtime::get ( int  wheelId,
int  stationId,
int  sectorId,
int  slId,
float &  mTime,
float &  mTrms,
DTTimeUnits::type  unit 
) const
int DTMtime::get ( int  wheelId,
int  stationId,
int  sectorId,
int  slId,
float &  mTime,
float &  mTrms,
DTVelocityUnits::type  unit 
) const
int DTMtime::get ( int  wheelId,
int  stationId,
int  sectorId,
int  slId,
int  layerId,
int  cellId,
float &  mTime,
float &  mTrms,
DTTimeUnits::type  unit 
) const

Definition at line 110 of file DTMtime.cc.

References data, dataList, dBuf, DTBufferTree< Key, Content >::find(), DTMtimeData::mTime, DTMtimeData::mTrms, DTTimeUnits::ns, nsPerCount, and edm::second().

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

118  {
119 
120  mTime =
121  mTrms = 0.0;
122 
123  std::vector<int> chanKey;
124  chanKey.reserve(6);
125  chanKey.push_back( wheelId );
126  chanKey.push_back( stationId );
127  chanKey.push_back( sectorId );
128  chanKey.push_back( slId );
129  chanKey.push_back( layerId );
130  chanKey.push_back( cellId );
131  int ientry;
132  int searchStatus = dBuf->find( chanKey.begin(), chanKey.end(), ientry );
133  if ( !searchStatus ) {
134  const DTMtimeData& data( dataList[ientry].second );
135  mTime = data.mTime;
136  mTrms = data.mTrms;
137  if ( unit == DTTimeUnits::ns ) {
138  mTime *= nsPerCount;
139  mTrms *= nsPerCount;
140  }
141  }
142 
143  return searchStatus;
144 
145 }
float nsPerCount
Definition: DTMtime.h:275
int find(ElementKey fKey, ElementKey lKey, typename DTBufferTreeTrait< Content >::outputTypeOfConstFind &cont) const
U second(std::pair< T, U > const &p)
edm::ConstRespectingPtr< DTBufferTree< int, int > > dBuf
Definition: DTMtime.h:279
std::vector< std::pair< DTMtimeId, DTMtimeData > > dataList
Definition: DTMtime.h:277
float unit() const
Definition: DTMtime.cc:227
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:82
int DTMtime::get ( int  wheelId,
int  stationId,
int  sectorId,
int  slId,
int  layerId,
int  cellId,
float &  mTime,
float &  mTrms,
DTVelocityUnits::type  unit 
) const
int DTMtime::get ( const DTSuperLayerId id,
float &  mTime,
float &  mTrms,
DTTimeUnits::type  unit 
) const
int DTMtime::get ( const DTSuperLayerId id,
float &  mTime,
float &  mTrms,
DTVelocityUnits::type  unit 
) const
int DTMtime::get ( const DetId id,
float &  mTime,
float &  mTrms,
DTTimeUnits::type  unit 
) const
int DTMtime::get ( const DetId id,
float &  mTime,
float &  mTrms,
DTVelocityUnits::type  unit 
) const
void DTMtime::initialize ( )

Definition at line 431 of file DTMtime.cc.

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

Referenced by clear().

431  {
432 
433  dBuf->clear();
434 
435  int entryNum = 0;
436  int entryMax = dataList.size();
437  std::vector<int> chanKey;
438  chanKey.reserve(6);
439  while ( entryNum < entryMax ) {
440 
441  const DTMtimeId& chan = dataList[entryNum].first;
442 
443  chanKey.clear();
444  chanKey.push_back( chan. wheelId );
445  chanKey.push_back( chan.stationId );
446  chanKey.push_back( chan. sectorId );
447  chanKey.push_back( chan. slId );
448  chanKey.push_back( chan. layerId );
449  chanKey.push_back( chan. cellId );
450  dBuf->insert( chanKey.begin(), chanKey.end(), entryNum++ );
451 
452  }
453 
454  return;
455 
456 }
int stationId
Definition: DTMtime.h:50
edm::ConstRespectingPtr< DTBufferTree< int, int > > dBuf
Definition: DTMtime.h:279
std::vector< std::pair< DTMtimeId, DTMtimeData > > dataList
Definition: DTMtime.h:277
int insert(ElementKey fKey, ElementKey lKey, Content cont)
std::string DTMtime::mapName ( ) const
private

read and store full content

Definition at line 424 of file DTMtime.cc.

References dataVersion, and mergeVDriftHistosByStation::name.

424  {
425  std::stringstream name;
426  name << dataVersion << "_map_Mtime" << this;
427  return name.str();
428 }
std::string dataVersion
Definition: DTMtime.h:274
DTMtime& DTMtime::operator= ( DTMtime const &  )
private
template<class Archive >
void DTMtime::serialize ( Archive &  ar,
const unsigned int  version 
)
private
int DTMtime::set ( int  wheelId,
int  stationId,
int  sectorId,
int  slId,
float  mTime,
float  mTrms,
DTTimeUnits::type  unit 
)

Definition at line 250 of file DTMtime.cc.

Referenced by DTVDriftWriter::endJob(), DTVDriftCalibration::endJob(), betterConfigParser.BetterConfigParser::getGeneral(), set(), and setSLMtime().

256  {
257  return set( wheelId, stationId, sectorId,
258  slId, 0, 0,
259  mTime, mTrms, unit );
260 }
int set(int wheelId, int stationId, int sectorId, int slId, float mTime, float mTrms, DTTimeUnits::type unit)
Definition: DTMtime.cc:250
float unit() const
Definition: DTMtime.cc:227
int DTMtime::set ( int  wheelId,
int  stationId,
int  sectorId,
int  slId,
float  mTime,
float  mTrms,
DTVelocityUnits::type  unit 
)

Definition at line 263 of file DTMtime.cc.

References set().

Referenced by betterConfigParser.BetterConfigParser::getGeneral().

269  {
270  return set( wheelId, stationId, sectorId,
271  slId, 0, 0,
272  mTime, mTrms, unit );
273 }
int set(int wheelId, int stationId, int sectorId, int slId, float mTime, float mTrms, DTTimeUnits::type unit)
Definition: DTMtime.cc:250
float unit() const
Definition: DTMtime.cc:227
int DTMtime::set ( int  wheelId,
int  stationId,
int  sectorId,
int  slId,
int  layerId,
int  cellId,
float  mTime,
float  mTrms,
DTTimeUnits::type  unit 
)

Definition at line 276 of file DTMtime.cc.

References data, dataList, dBuf, DTBufferTree< Key, Content >::find(), DTBufferTree< Key, Content >::insert(), relval_steps::key, DTMtimeData::mTime, DTMtimeData::mTrms, DTTimeUnits::ns, nsPerCount, edm::second(), and DTMtimeId::stationId.

Referenced by betterConfigParser.BetterConfigParser::getGeneral().

284  {
285 
286  if ( unit == DTTimeUnits::ns ) {
287  mTime /= nsPerCount;
288  mTrms /= nsPerCount;
289  }
290 
291  std::vector<int> chanKey;
292  chanKey.reserve(6);
293  chanKey.push_back( wheelId );
294  chanKey.push_back( stationId );
295  chanKey.push_back( sectorId );
296  chanKey.push_back( slId );
297  chanKey.push_back( layerId );
298  chanKey.push_back( cellId );
299  int ientry;
300  int searchStatus = dBuf->find( chanKey.begin(), chanKey.end(), ientry );
301 
302  if ( !searchStatus ) {
303  DTMtimeData& data( dataList[ientry].second );
304  data.mTime = mTime;
305  data.mTrms = mTrms;
306  return -1;
307  }
308  else {
309  DTMtimeId key;
310  key. wheelId = wheelId;
311  key.stationId = stationId;
312  key. sectorId = sectorId;
313  key. slId = slId;
314  key. layerId = layerId;
315  key. cellId = cellId;
317  data.mTime = mTime;
318  data.mTrms = mTrms;
319  ientry = dataList.size();
320  dataList.push_back( std::pair<DTMtimeId,DTMtimeData>( key, data ) );
321  dBuf->insert( chanKey.begin(), chanKey.end(), ientry );
322  return 0;
323  }
324 
325  return 99;
326 
327 }
int stationId
Definition: DTMtime.h:50
float nsPerCount
Definition: DTMtime.h:275
int find(ElementKey fKey, ElementKey lKey, typename DTBufferTreeTrait< Content >::outputTypeOfConstFind &cont) const
U second(std::pair< T, U > const &p)
edm::ConstRespectingPtr< DTBufferTree< int, int > > dBuf
Definition: DTMtime.h:279
float mTrms
Definition: DTMtime.h:69
string key
FastSim: produces sample of signal events, overlayed with premixed minbias events.
std::vector< std::pair< DTMtimeId, DTMtimeData > > dataList
Definition: DTMtime.h:277
float unit() const
Definition: DTMtime.cc:227
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:82
int insert(ElementKey fKey, ElementKey lKey, Content cont)
float mTime
Definition: DTMtime.h:68
int DTMtime::set ( int  wheelId,
int  stationId,
int  sectorId,
int  slId,
int  layerId,
int  cellId,
float  mTime,
float  mTrms,
DTVelocityUnits::type  unit 
)

Definition at line 330 of file DTMtime.cc.

References DTVelocityUnits::cm_per_count, DTVelocityUnits::cm_per_ns, DTTimeUnits::counts, nsPerCount, and set().

Referenced by betterConfigParser.BetterConfigParser::getGeneral().

338  {
340  mTrms /= mTime;
341  mTime = 2.1 / mTime;
342  }
343  if ( unit == DTVelocityUnits::cm_per_ns ) {
344  mTime *= nsPerCount;
345  mTrms /= mTime;
346  mTime = 2.1 / mTime;
347  }
348  return set( wheelId, stationId, sectorId,
349  slId, layerId, cellId,
350  mTime, mTrms, DTTimeUnits::counts );
351 
352 }
float nsPerCount
Definition: DTMtime.h:275
int set(int wheelId, int stationId, int sectorId, int slId, float mTime, float mTrms, DTTimeUnits::type unit)
Definition: DTMtime.cc:250
float unit() const
Definition: DTMtime.cc:227
int DTMtime::set ( const DTSuperLayerId id,
float  mTime,
float  mTrms,
DTTimeUnits::type  unit 
)

Definition at line 355 of file DTMtime.cc.

References set(), and relativeConstraints::station.

Referenced by betterConfigParser.BetterConfigParser::getGeneral().

358  {
359  return set( id.wheel(),
360  id.station(),
361  id.sector(),
362  id.superLayer(), 0, 0,
363  mTime, mTrms, unit );
364 }
int set(int wheelId, int stationId, int sectorId, int slId, float mTime, float mTrms, DTTimeUnits::type unit)
Definition: DTMtime.cc:250
float unit() const
Definition: DTMtime.cc:227
int DTMtime::set ( const DTSuperLayerId id,
float  mTime,
float  mTrms,
DTVelocityUnits::type  unit 
)

Definition at line 367 of file DTMtime.cc.

References set(), and relativeConstraints::station.

Referenced by betterConfigParser.BetterConfigParser::getGeneral().

370  {
371  return set( id.wheel(),
372  id.station(),
373  id.sector(),
374  id.superLayer(), 0, 0,
375  mTime, mTrms, unit );
376 }
int set(int wheelId, int stationId, int sectorId, int slId, float mTime, float mTrms, DTTimeUnits::type unit)
Definition: DTMtime.cc:250
float unit() const
Definition: DTMtime.cc:227
int DTMtime::set ( const DetId id,
float  mTime,
float  mTrms,
DTTimeUnits::type  unit 
)

Definition at line 379 of file DTMtime.cc.

References DTLayerId::layer(), DTChamberId::sector(), set(), DTChamberId::station(), DTSuperLayerId::superLayer(), unit(), DTChamberId::wheel(), and DTWireId::wire().

Referenced by betterConfigParser.BetterConfigParser::getGeneral().

382  {
383  DTWireId wireId( id.rawId() );
384  return set( wireId.wheel(),
385  wireId.station(),
386  wireId.sector(),
387  wireId.superLayer(),
388  wireId.layer(),
389  wireId.wire(),
390  mTime, mTrms, unit );
391 }
int set(int wheelId, int stationId, int sectorId, int slId, float mTime, float mTrms, DTTimeUnits::type unit)
Definition: DTMtime.cc:250
float unit() const
Definition: DTMtime.cc:227
int DTMtime::set ( const DetId id,
float  mTime,
float  mTrms,
DTVelocityUnits::type  unit 
)

Definition at line 394 of file DTMtime.cc.

References DTLayerId::layer(), DTChamberId::sector(), set(), DTChamberId::station(), DTSuperLayerId::superLayer(), unit(), DTChamberId::wheel(), and DTWireId::wire().

Referenced by betterConfigParser.BetterConfigParser::getGeneral().

397  {
398  DTWireId wireId( id.rawId() );
399  return set( wireId.wheel(),
400  wireId.station(),
401  wireId.sector(),
402  wireId.superLayer(),
403  wireId.layer(),
404  wireId.wire(),
405  mTime, mTrms, unit );
406 }
int set(int wheelId, int stationId, int sectorId, int slId, float mTime, float mTrms, DTTimeUnits::type unit)
Definition: DTMtime.cc:250
float unit() const
Definition: DTMtime.cc:227
int DTMtime::setSLMtime ( int  wheelId,
int  stationId,
int  sectorId,
int  slId,
float  mTime,
float  mTrms,
DTTimeUnits::type  unit 
)
inline

Definition at line 180 of file DTMtime.h.

References set().

187  { return set( wheelId, stationId, sectorId, slId, 0, 0,
188  mTime, mTrms, unit ); };
int set(int wheelId, int stationId, int sectorId, int slId, float mTime, float mTrms, DTTimeUnits::type unit)
Definition: DTMtime.cc:250
float unit() const
Definition: DTMtime.cc:227
int DTMtime::setSLMtime ( int  wheelId,
int  stationId,
int  sectorId,
int  slId,
int  layerId,
int  cellId,
float  mTime,
float  mTrms,
DTTimeUnits::type  unit 
)
inline

Definition at line 189 of file DTMtime.h.

References set().

198  { return set( wheelId, stationId, sectorId, slId, layerId, cellId,
199  mTime, mTrms, unit ); };
int set(int wheelId, int stationId, int sectorId, int slId, float mTime, float mTrms, DTTimeUnits::type unit)
Definition: DTMtime.cc:250
float unit() const
Definition: DTMtime.cc:227
int DTMtime::setSLMtime ( const DTSuperLayerId id,
float  mTime,
float  mTrms,
DTTimeUnits::type  unit 
)
inline

Definition at line 200 of file DTMtime.h.

References set().

204  { return set( id, mTime, mTrms, unit ); };
int set(int wheelId, int stationId, int sectorId, int slId, float mTime, float mTrms, DTTimeUnits::type unit)
Definition: DTMtime.cc:250
float unit() const
Definition: DTMtime.cc:227
int DTMtime::setSLMtime ( const DetId id,
float  mTime,
float  mTrms,
DTTimeUnits::type  unit 
)
inline

Definition at line 205 of file DTMtime.h.

References set().

209  { return set( id, mTime, mTrms, unit ); };
int set(int wheelId, int stationId, int sectorId, int slId, float mTime, float mTrms, DTTimeUnits::type unit)
Definition: DTMtime.cc:250
float unit() const
Definition: DTMtime.cc:227
void DTMtime::setUnit ( float  unit)

Definition at line 409 of file DTMtime.cc.

References nsPerCount, and unit().

409  {
410  nsPerCount = unit;
411 }
float nsPerCount
Definition: DTMtime.h:275
float unit() const
Definition: DTMtime.cc:227
int DTMtime::slMtime ( int  wheelId,
int  stationId,
int  sectorId,
int  slId,
float &  mTime,
float &  mTrms,
DTTimeUnits::type  unit 
) const
inline

get content

Operations

Definition at line 92 of file DTMtime.h.

99  { return get( wheelId, stationId, sectorId, slId, 0, 0,
100  mTime, mTrms, unit ); };
float unit() const
Definition: DTMtime.cc:227
int DTMtime::slMtime ( int  wheelId,
int  stationId,
int  sectorId,
int  slId,
int  layerId,
int  cellId,
float &  mTime,
float &  mTrms,
DTTimeUnits::type  unit 
) const
inline

Definition at line 101 of file DTMtime.h.

References unit().

110  { return get( wheelId, stationId, sectorId, slId, layerId, cellId,
111  mTime, mTrms, unit ); };
float unit() const
Definition: DTMtime.cc:227
int DTMtime::slMtime ( const DTSuperLayerId id,
float &  mTime,
float &  mTrms,
DTTimeUnits::type  unit 
) const
inline

Definition at line 112 of file DTMtime.h.

References unit().

116  { return get( id, mTime, mTrms, unit ); };
float unit() const
Definition: DTMtime.cc:227
int DTMtime::slMtime ( const DetId id,
float &  mTime,
float &  mTrms,
DTTimeUnits::type  unit 
) const
inline

Definition at line 117 of file DTMtime.h.

References unit().

121  { return get( id, mTime, mTrms, unit ); };
float unit() const
Definition: DTMtime.cc:227
float DTMtime::unit ( ) const

Definition at line 227 of file DTMtime.cc.

References nsPerCount.

Referenced by get(), set(), setUnit(), and slMtime().

227  {
228  return nsPerCount;
229 }
float nsPerCount
Definition: DTMtime.h:275
const std::string & DTMtime::version ( ) const

access version

Definition at line 233 of file DTMtime.cc.

References dataVersion.

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

233  {
234  return dataVersion;
235 }
std::string dataVersion
Definition: DTMtime.h:274
std::string & DTMtime::version ( )

Definition at line 238 of file DTMtime.cc.

References dataVersion.

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

238  {
239  return dataVersion;
240 }
std::string dataVersion
Definition: DTMtime.h:274

Friends And Related Function Documentation

friend class boost::serialization::access
friend

Definition at line 285 of file DTMtime.h.

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

Definition at line 285 of file DTMtime.h.

Member Data Documentation

std::vector< std::pair<DTMtimeId,DTMtimeData> > DTMtime::dataList
private

Definition at line 277 of file DTMtime.h.

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

std::string DTMtime::dataVersion
private

Definition at line 274 of file DTMtime.h.

Referenced by mapName(), and version().

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

Definition at line 279 of file DTMtime.h.

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

float DTMtime::nsPerCount
private

Definition at line 275 of file DTMtime.h.

Referenced by get(), set(), setUnit(), and unit().