CMS 3D CMS Logo

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 &)=delete
 
std::string mapName () const
 read and store full content More...
 
DTMtimeoperator= (DTMtime const &)=delete
 
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 68 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 184 of file DTMtime.h.

Constructor & Destructor Documentation

DTMtime::DTMtime ( )

Constructor

Definition at line 31 of file DTMtime.cc.

References dataList.

31  : dataVersion(" "), nsPerCount(25.0 / 32.0), dBuf(new DTBufferTree<int, int>) {
32  dataList.reserve(1000);
33 }
float nsPerCount
Definition: DTMtime.h:195
edm::ConstRespectingPtr< DTBufferTree< int, int > > dBuf
Definition: DTMtime.h:199
std::string dataVersion
Definition: DTMtime.h:194
std::vector< std::pair< DTMtimeId, DTMtimeData > > dataList
Definition: DTMtime.h:197
DTMtime::DTMtime ( const std::string &  version)

Definition at line 35 of file DTMtime.cc.

References dataList.

37  dataList.reserve(1000);
38 }
float nsPerCount
Definition: DTMtime.h:195
const std::string & version() const
access version
Definition: DTMtime.cc:158
edm::ConstRespectingPtr< DTBufferTree< int, int > > dBuf
Definition: DTMtime.h:199
std::string dataVersion
Definition: DTMtime.h:194
std::vector< std::pair< DTMtimeId, DTMtimeData > > dataList
Definition: DTMtime.h:197
DTMtime::~DTMtime ( )

Destructor

Definition at line 47 of file DTMtime.cc.

47 {}
DTMtime::DTMtime ( DTMtime const &  )
privatedelete

Member Function Documentation

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

Definition at line 284 of file DTMtime.cc.

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

Definition at line 286 of file DTMtime.cc.

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

286 { return dataList.end(); }
std::vector< std::pair< DTMtimeId, DTMtimeData > > dataList
Definition: DTMtime.h:197
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 66 of file DTMtime.cc.

References data, DTMtimeData::mTime, DTMtimeData::mTrms, DTTimeUnits::ns, 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().

74  {
75  mTime = mTrms = 0.0;
76 
77  std::vector<int> chanKey;
78  chanKey.reserve(6);
79  chanKey.push_back(wheelId);
80  chanKey.push_back(stationId);
81  chanKey.push_back(sectorId);
82  chanKey.push_back(slId);
83  chanKey.push_back(layerId);
84  chanKey.push_back(cellId);
85  int ientry;
86  int searchStatus = dBuf->find(chanKey.begin(), chanKey.end(), ientry);
87  if (!searchStatus) {
88  const DTMtimeData& data(dataList[ientry].second);
89  mTime = data.mTime;
90  mTrms = data.mTrms;
91  if (unit == DTTimeUnits::ns) {
92  mTime *= nsPerCount;
93  mTrms *= nsPerCount;
94  }
95  }
96 
97  return searchStatus;
98 }
float nsPerCount
Definition: DTMtime.h:195
int find(ElementKey fKey, ElementKey lKey, typename DTBufferTreeTrait< Content >::outputTypeOfConstFind &cont) const
U second(std::pair< T, U > const &p)
float unit() const
Definition: DTMtime.cc:156
edm::ConstRespectingPtr< DTBufferTree< int, int > > dBuf
Definition: DTMtime.h:199
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:79
std::vector< std::pair< DTMtimeId, DTMtimeData > > dataList
Definition: DTMtime.h:197
int DTMtime::get ( int  wheelId,
int  stationId,
int  sectorId,
int  slId,
int  layerId,
int  cellId,
float &  mTime,
float &  mTrms,
DTVelocityUnits::type  unit 
) const

Definition at line 100 of file DTMtime.cc.

References DTVelocityUnits::cm_per_count, DTVelocityUnits::cm_per_ns, DTTimeUnits::counts, DTMtimeData::mTime, DTMtimeData::mTrms, and mps_update::status.

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().

108  {
109  int status = get(wheelId, stationId, sectorId, slId, layerId, cellId, mTime, mTrms, DTTimeUnits::counts);
111  mTime = 2.1 / mTime;
112  mTrms *= mTime;
113  }
115  mTime = 2.1 / mTime;
116  mTrms *= mTime;
117  mTime /= nsPerCount;
118  }
119  return status;
120 }
float nsPerCount
Definition: DTMtime.h:195
float unit() const
Definition: DTMtime.cc:156
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 294 of file DTMtime.cc.

References DTMtimeId::cellId, officialStyle::chan, DTMtimeId::layerId, DTMtimeId::sectorId, DTMtimeId::slId, DTMtimeId::stationId, and DTMtimeId::wheelId.

294  {
295  dBuf->clear();
296 
297  int entryNum = 0;
298  int entryMax = dataList.size();
299  std::vector<int> chanKey;
300  chanKey.reserve(6);
301  while (entryNum < entryMax) {
302  const DTMtimeId& chan = dataList[entryNum].first;
303 
304  chanKey.clear();
305  chanKey.push_back(chan.wheelId);
306  chanKey.push_back(chan.stationId);
307  chanKey.push_back(chan.sectorId);
308  chanKey.push_back(chan.slId);
309  chanKey.push_back(chan.layerId);
310  chanKey.push_back(chan.cellId);
311  dBuf->insert(chanKey.begin(), chanKey.end(), entryNum++);
312  }
313 
314  return;
315 }
int stationId
Definition: DTMtime.h:48
int wheelId
Definition: DTMtime.h:47
int cellId
Definition: DTMtime.h:52
int sectorId
Definition: DTMtime.h:49
int slId
Definition: DTMtime.h:50
chan
lumi = TPaveText(lowX+0.38, lowY+0.061, lowX+0.45, lowY+0.161, "NDC") lumi.SetBorderSize( 0 ) lumi...
edm::ConstRespectingPtr< DTBufferTree< int, int > > dBuf
Definition: DTMtime.h:199
int insert(ElementKey fKey, ElementKey lKey, Content cont)
int layerId
Definition: DTMtime.h:51
std::vector< std::pair< DTMtimeId, DTMtimeData > > dataList
Definition: DTMtime.h:197
std::string DTMtime::mapName ( ) const
private

read and store full content

Definition at line 288 of file DTMtime.cc.

References Skims_PA_cff::name.

288  {
289  std::stringstream name;
290  name << dataVersion << "_map_Mtime" << this;
291  return name.str();
292 }
std::string dataVersion
Definition: DTMtime.h:194
DTMtime& DTMtime::operator= ( DTMtime const &  )
privatedelete
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 168 of file DTMtime.cc.

References DTMtimeData::mTime, DTMtimeData::mTrms, and unit().

Referenced by DTVDriftWriter::endJob(), and DTVDriftCalibration::endJob().

168  {
169  return set(wheelId, stationId, sectorId, slId, 0, 0, mTime, mTrms, unit);
170 }
float unit() const
Definition: DTMtime.cc:156
int DTMtime::set ( int  wheelId,
int  stationId,
int  sectorId,
int  slId,
float  mTime,
float  mTrms,
DTVelocityUnits::type  unit 
)

Definition at line 172 of file DTMtime.cc.

References DTMtimeData::mTime, DTMtimeData::mTrms, and unit().

173  {
174  return set(wheelId, stationId, sectorId, slId, 0, 0, mTime, mTrms, unit);
175 }
float unit() const
Definition: DTMtime.cc:156
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 177 of file DTMtime.cc.

References DTMtimeId::cellId, data, crabWrapper::key, DTMtimeId::layerId, DTMtimeData::mTime, DTMtimeData::mTrms, DTTimeUnits::ns, edm::second(), DTMtimeId::sectorId, DTMtimeId::slId, DTMtimeId::stationId, and DTMtimeId::wheelId.

185  {
186  if (unit == DTTimeUnits::ns) {
187  mTime /= nsPerCount;
188  mTrms /= nsPerCount;
189  }
190 
191  std::vector<int> chanKey;
192  chanKey.reserve(6);
193  chanKey.push_back(wheelId);
194  chanKey.push_back(stationId);
195  chanKey.push_back(sectorId);
196  chanKey.push_back(slId);
197  chanKey.push_back(layerId);
198  chanKey.push_back(cellId);
199  int ientry;
200  int searchStatus = dBuf->find(chanKey.begin(), chanKey.end(), ientry);
201 
202  if (!searchStatus) {
203  DTMtimeData& data(dataList[ientry].second);
204  data.mTime = mTime;
205  data.mTrms = mTrms;
206  return -1;
207  } else {
208  DTMtimeId key;
209  key.wheelId = wheelId;
210  key.stationId = stationId;
211  key.sectorId = sectorId;
212  key.slId = slId;
213  key.layerId = layerId;
214  key.cellId = cellId;
216  data.mTime = mTime;
217  data.mTrms = mTrms;
218  ientry = dataList.size();
219  dataList.push_back(std::pair<DTMtimeId, DTMtimeData>(key, data));
220  dBuf->insert(chanKey.begin(), chanKey.end(), ientry);
221  return 0;
222  }
223 
224  return 99;
225 }
int stationId
Definition: DTMtime.h:48
float nsPerCount
Definition: DTMtime.h:195
int wheelId
Definition: DTMtime.h:47
int find(ElementKey fKey, ElementKey lKey, typename DTBufferTreeTrait< Content >::outputTypeOfConstFind &cont) const
U second(std::pair< T, U > const &p)
int cellId
Definition: DTMtime.h:52
float mTrms
Definition: DTMtime.h:63
int sectorId
Definition: DTMtime.h:49
int slId
Definition: DTMtime.h:50
float unit() const
Definition: DTMtime.cc:156
edm::ConstRespectingPtr< DTBufferTree< int, int > > dBuf
Definition: DTMtime.h:199
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:79
int insert(ElementKey fKey, ElementKey lKey, Content cont)
float mTime
Definition: DTMtime.h:62
int layerId
Definition: DTMtime.h:51
std::vector< std::pair< DTMtimeId, DTMtimeData > > dataList
Definition: DTMtime.h:197
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 227 of file DTMtime.cc.

References DTVelocityUnits::cm_per_count, DTVelocityUnits::cm_per_ns, DTTimeUnits::counts, DTMtimeData::mTime, and DTMtimeData::mTrms.

235  {
237  mTrms /= mTime;
238  mTime = 2.1 / mTime;
239  }
241  mTime *= nsPerCount;
242  mTrms /= mTime;
243  mTime = 2.1 / mTime;
244  }
245  return set(wheelId, stationId, sectorId, slId, layerId, cellId, mTime, mTrms, DTTimeUnits::counts);
246 }
float nsPerCount
Definition: DTMtime.h:195
float unit() const
Definition: DTMtime.cc:156
int DTMtime::set ( const DTSuperLayerId id,
float  mTime,
float  mTrms,
DTTimeUnits::type  unit 
)

Definition at line 248 of file DTMtime.cc.

References DTMtimeData::mTime, DTMtimeData::mTrms, and unit().

248  {
249  return set(id.wheel(), id.station(), id.sector(), id.superLayer(), 0, 0, mTime, mTrms, unit);
250 }
float unit() const
Definition: DTMtime.cc:156
int DTMtime::set ( const DTSuperLayerId id,
float  mTime,
float  mTrms,
DTVelocityUnits::type  unit 
)

Definition at line 252 of file DTMtime.cc.

References DTMtimeData::mTime, DTMtimeData::mTrms, and unit().

252  {
253  return set(id.wheel(), id.station(), id.sector(), id.superLayer(), 0, 0, mTime, mTrms, unit);
254 }
float unit() const
Definition: DTMtime.cc:156
int DTMtime::set ( const DetId id,
float  mTime,
float  mTrms,
DTTimeUnits::type  unit 
)

Definition at line 256 of file DTMtime.cc.

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

256  {
257  DTWireId wireId(id.rawId());
258  return set(wireId.wheel(),
259  wireId.station(),
260  wireId.sector(),
261  wireId.superLayer(),
262  wireId.layer(),
263  wireId.wire(),
264  mTime,
265  mTrms,
266  unit);
267 }
float unit() const
Definition: DTMtime.cc:156
int DTMtime::set ( const DetId id,
float  mTime,
float  mTrms,
DTVelocityUnits::type  unit 
)

Definition at line 269 of file DTMtime.cc.

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

269  {
270  DTWireId wireId(id.rawId());
271  return set(wireId.wheel(),
272  wireId.station(),
273  wireId.sector(),
274  wireId.superLayer(),
275  wireId.layer(),
276  wireId.wire(),
277  mTime,
278  mTrms,
279  unit);
280 }
float unit() const
Definition: DTMtime.cc:156
int DTMtime::setSLMtime ( int  wheelId,
int  stationId,
int  sectorId,
int  slId,
float  mTime,
float  mTrms,
DTTimeUnits::type  unit 
)
inline

Definition at line 137 of file DTMtime.h.

References DTMtimeId::sectorId, DTMtimeId::slId, DTMtimeId::stationId, unit(), and DTMtimeId::wheelId.

137  {
138  return set(wheelId, stationId, sectorId, slId, 0, 0, mTime, mTrms, unit);
139  };
float unit() const
Definition: DTMtime.cc:156
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 140 of file DTMtime.h.

References DTMtimeId::cellId, DTMtimeId::layerId, DTMtimeId::sectorId, DTMtimeId::slId, DTMtimeId::stationId, unit(), and DTMtimeId::wheelId.

148  {
149  return set(wheelId, stationId, sectorId, slId, layerId, cellId, mTime, mTrms, unit);
150  };
float unit() const
Definition: DTMtime.cc:156
int DTMtime::setSLMtime ( const DTSuperLayerId id,
float  mTime,
float  mTrms,
DTTimeUnits::type  unit 
)
inline

Definition at line 151 of file DTMtime.h.

References triggerObjects_cff::id, and unit().

151  {
152  return set(id, mTime, mTrms, unit);
153  };
float unit() const
Definition: DTMtime.cc:156
int DTMtime::setSLMtime ( const DetId id,
float  mTime,
float  mTrms,
DTTimeUnits::type  unit 
)
inline

Definition at line 154 of file DTMtime.h.

References DTMtimeId::cellId, triggerObjects_cff::id, DTMtimeId::layerId, DTMtimeId::sectorId, DTMtimeId::slId, DTMtimeId::stationId, unit(), and DTMtimeId::wheelId.

154  {
155  return set(id, mTime, mTrms, unit);
156  };
float unit() const
Definition: DTMtime.cc:156
void DTMtime::setUnit ( float  unit)

Definition at line 282 of file DTMtime.cc.

References unit().

282 { nsPerCount = unit; }
float nsPerCount
Definition: DTMtime.h:195
float unit() const
Definition: DTMtime.cc:156
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 82 of file DTMtime.h.

83  {
84  return get(wheelId, stationId, sectorId, slId, 0, 0, mTime, mTrms, unit);
85  };
float unit() const
Definition: DTMtime.cc:156
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 86 of file DTMtime.h.

References DTMtimeId::cellId, DTMtimeId::layerId, DTMtimeId::sectorId, DTMtimeId::slId, DTMtimeId::stationId, unit(), and DTMtimeId::wheelId.

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

Definition at line 97 of file DTMtime.h.

References triggerObjects_cff::id, and unit().

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

Definition at line 156 of file DTMtime.cc.

156 { return nsPerCount; }
float nsPerCount
Definition: DTMtime.h:195
const std::string & DTMtime::version ( ) const

access version

Definition at line 158 of file DTMtime.cc.

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

158 { return dataVersion; }
std::string dataVersion
Definition: DTMtime.h:194
std::string & DTMtime::version ( )

Definition at line 160 of file DTMtime.cc.

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

160 { return dataVersion; }
std::string dataVersion
Definition: DTMtime.h:194

Friends And Related Function Documentation

friend class boost::serialization::access
friend

Definition at line 204 of file DTMtime.h.

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

Definition at line 204 of file DTMtime.h.

Member Data Documentation

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

Definition at line 197 of file DTMtime.h.

Referenced by DTMtime().

std::string DTMtime::dataVersion
private

Definition at line 194 of file DTMtime.h.

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

Definition at line 199 of file DTMtime.h.

float DTMtime::nsPerCount
private

Definition at line 195 of file DTMtime.h.