CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 330 of file DQMRootSource.cc.

Constructor & Destructor Documentation

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

Definition at line 332 of file DQMRootSource.cc.

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

Member Function Documentation

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

Definition at line 336 of file DQMRootSource.cc.

References lumi_.

Referenced by operator<().

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

Definition at line 337 of file DQMRootSource.cc.

References lumi(), lumi_, processHistoryID(), processHistoryID_, run(), and run_.

337  {
338  if (processHistoryID_ == right.processHistoryID()) {
339  if (run_ == right.run()) {
340  return lumi_ < right.lumi();
341  }
342  return run_ < right.run();
343  }
344  return processHistoryID_ < right.processHistoryID();
345  }
edm::ProcessHistoryID processHistoryID_
edm::ProcessHistoryID const& DQMRootSource::RunLumiPHIDKey::processHistoryID ( ) const
inline

Definition at line 334 of file DQMRootSource.cc.

References processHistoryID_.

Referenced by operator<().

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

Definition at line 335 of file DQMRootSource.cc.

References run_.

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

335 { return run_; }

Member Data Documentation

unsigned int DQMRootSource::RunLumiPHIDKey::lumi_
private

Definition at line 349 of file DQMRootSource.cc.

Referenced by lumi(), and operator<().

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

Definition at line 347 of file DQMRootSource.cc.

Referenced by operator<(), and processHistoryID().

unsigned int DQMRootSource::RunLumiPHIDKey::run_
private

Definition at line 348 of file DQMRootSource.cc.

Referenced by operator<(), and run().