CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes | Static Public Attributes
edm::FileIndex::Element Class Reference

#include <FileIndex.h>

Public Member Functions

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

Public Attributes

EntryNumber_t entry_
 
EventNumber_t event_
 
LuminosityBlockNumber_t lumi_
 
RunNumber_t run_
 

Static Public Attributes

static const EntryNumber_t invalidEntry = -1LL
 

Detailed Description

Definition at line 32 of file FileIndex.h.

Constructor & Destructor Documentation

◆ Element() [1/3]

edm::FileIndex::Element::Element ( )
inline

Definition at line 35 of file FileIndex.h.

35 : run_(0U), lumi_(0U), event_(0U), entry_(invalidEntry) {}

◆ Element() [2/3]

edm::FileIndex::Element::Element ( RunNumber_t  run,
LuminosityBlockNumber_t  lumi,
EventNumber_t  event,
long long  entry 
)
inline

Definition at line 36 of file FileIndex.h.

38  assert(lumi_ != 0U || event_ == 0U);
39  }

References cms::cuda::assert(), event_, lumi_, and mitigatedMETSequence_cff::U.

◆ Element() [3/3]

edm::FileIndex::Element::Element ( RunNumber_t  run,
LuminosityBlockNumber_t  lumi,
EventNumber_t  event 
)
inline

Definition at line 40 of file FileIndex.h.

Member Function Documentation

◆ getEntryType()

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

Definition at line 42 of file FileIndex.h.

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

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

Member Data Documentation

◆ entry_

EntryNumber_t edm::FileIndex::Element::entry_

Definition at line 46 of file FileIndex.h.

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

◆ event_

EventNumber_t edm::FileIndex::Element::event_

◆ invalidEntry

const EntryNumber_t edm::FileIndex::Element::invalidEntry = -1LL
static

Definition at line 34 of file FileIndex.h.

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

◆ lumi_

LuminosityBlockNumber_t edm::FileIndex::Element::lumi_

◆ run_

RunNumber_t edm::FileIndex::Element::run_

Definition at line 43 of file FileIndex.h.

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

edm::FileIndex::Element::event_
EventNumber_t event_
Definition: FileIndex.h:45
edm::FileIndex::kRun
Definition: FileIndex.h:30
mps_splice.entry
entry
Definition: mps_splice.py:68
cms::cuda::assert
assert(be >=bs)
edm::FileIndex::Element::entry_
EntryNumber_t entry_
Definition: FileIndex.h:46
mitigatedMETSequence_cff.U
U
Definition: mitigatedMETSequence_cff.py:36
edm::FileIndex::kLumi
Definition: FileIndex.h:30
edm::FileIndex::Element::invalidEntry
static const EntryNumber_t invalidEntry
Definition: FileIndex.h:34
edm::FileIndex::Element::lumi_
LuminosityBlockNumber_t lumi_
Definition: FileIndex.h:44
edm::FileIndex::Element::run_
RunNumber_t run_
Definition: FileIndex.h:43
writedatasetfile.run
run
Definition: writedatasetfile.py:27
edm::FileIndex::kEvent
Definition: FileIndex.h:30
event
Definition: event.py:1
lumi
Definition: LumiSectionData.h:20