CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
DQMRootSource::RunLumiPHIDKey Class Reference

Public Member Functions

unsigned int lumi () const
 
bool operator< (RunLumiPHIDKey const &right) const
 
edm::ProcessHistoryID const & processHistoryID () const
 
unsigned int run () const
 
 RunLumiPHIDKey (edm::ProcessHistoryID const &phid, unsigned int run, unsigned int lumi)
 

Private Attributes

unsigned int lumi_
 
edm::ProcessHistoryID processHistoryID_
 
unsigned int run_
 

Detailed Description

Definition at line 337 of file DQMRootSource.cc.

Constructor & Destructor Documentation

DQMRootSource::RunLumiPHIDKey::RunLumiPHIDKey ( edm::ProcessHistoryID const &  phid,
unsigned int  run,
unsigned int  lumi 
)
inline

Definition at line 339 of file DQMRootSource.cc.

339  :
340  processHistoryID_(phid), run_(run), lumi_(lumi) { }
unsigned int run() const
edm::ProcessHistoryID processHistoryID_

Member Function Documentation

unsigned int DQMRootSource::RunLumiPHIDKey::lumi ( void  ) const
inline

Definition at line 343 of file DQMRootSource.cc.

Referenced by operator<().

343 { return lumi_; }
bool DQMRootSource::RunLumiPHIDKey::operator< ( RunLumiPHIDKey const &  right) const
inline

Definition at line 344 of file DQMRootSource.cc.

References lumi(), processHistoryID(), and run().

344  {
345  if (processHistoryID_ == right.processHistoryID()) {
346  if (run_ == right.run()) {
347  return lumi_ < right.lumi();
348  }
349  return run_ < right.run();
350  }
351  return processHistoryID_ < right.processHistoryID();
352  }
edm::ProcessHistoryID processHistoryID_
edm::ProcessHistoryID const& DQMRootSource::RunLumiPHIDKey::processHistoryID ( ) const
inline

Definition at line 341 of file DQMRootSource.cc.

Referenced by operator<().

341 { return processHistoryID_; }
edm::ProcessHistoryID processHistoryID_
unsigned int DQMRootSource::RunLumiPHIDKey::run ( void  ) const
inline

Definition at line 342 of file DQMRootSource.cc.

Referenced by Types.EventID::cppID(), Types.LuminosityBlockID::cppID(), and operator<().

342 { return run_; }

Member Data Documentation

unsigned int DQMRootSource::RunLumiPHIDKey::lumi_
private

Definition at line 356 of file DQMRootSource.cc.

edm::ProcessHistoryID DQMRootSource::RunLumiPHIDKey::processHistoryID_
private

Definition at line 354 of file DQMRootSource.cc.

unsigned int DQMRootSource::RunLumiPHIDKey::run_
private

Definition at line 355 of file DQMRootSource.cc.