CMS 3D CMS Logo

Public Member Functions | Public Attributes | Static Public Attributes

edm::FileIndex::Element Class Reference

#include <FileIndex.h>

List of all members.

Public Member Functions

 Element ()
 Element (RunNumber_t run, LuminosityBlockNumber_t lumi, EventNumber_t event, long long entry)
 Element (RunNumber_t run, LuminosityBlockNumber_t lumi, EventNumber_t event)
EntryType getEntryType () const

Public Attributes

EntryNumber_t entry_
EventNumber_t event_
LuminosityBlockNumber_t lumi_
RunNumber_t run_

Static Public Attributes

static EntryNumber_t const invalidEntry = -1LL

Detailed Description

Definition at line 32 of file FileIndex.h.


Constructor & Destructor Documentation

edm::FileIndex::Element::Element ( ) [inline]

Definition at line 35 of file FileIndex.h.

                    : run_(0U), lumi_(0U), event_(0U), entry_(invalidEntry) {
          }
edm::FileIndex::Element::Element ( RunNumber_t  run,
LuminosityBlockNumber_t  lumi,
EventNumber_t  event,
long long  entry 
) [inline]

Definition at line 37 of file FileIndex.h.

References event_, and lumi_.

                                                                                                       :
            run_(run), lumi_(lumi),
          event_(event), entry_(entry) {
            assert(lumi_ != 0U || event_ == 0U);
          }
edm::FileIndex::Element::Element ( RunNumber_t  run,
LuminosityBlockNumber_t  lumi,
EventNumber_t  event 
) [inline]

Definition at line 42 of file FileIndex.h.


Member Function Documentation

EntryType edm::FileIndex::Element::getEntryType ( ) const [inline]

Definition at line 44 of file FileIndex.h.

References event_, edm::FileIndex::kEvent, edm::FileIndex::kLumi, edm::FileIndex::kRun, and lumi_.

                                         {
            return lumi_ == 0U ? kRun : (event_ == 0U ? kLumi : kEvent);
          }

Member Data Documentation

Definition at line 50 of file FileIndex.h.

Referenced by edm::Compare_Run_Lumi_EventEntry::operator()().

Definition at line 34 of file FileIndex.h.

Referenced by edm::FileIndex::allEventsInEntryOrder().

Definition at line 47 of file FileIndex.h.

Referenced by edm::Compare_Run_Lumi_EventEntry::operator()(), and edm::operator<().