CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | Friends
fwlite::LuminosityBlock Class Reference

#include <LuminosityBlock.h>

Inheritance diagram for fwlite::LuminosityBlock:
fwlite::LuminosityBlockBase edm::LuminosityBlockBase

Public Member Functions

virtual bool atEnd () const
 
std::vector
< edm::BranchDescription >
const & 
getBranchDescriptions () const
 
virtual std::string const getBranchNameFor (std::type_info const &, char const *, char const *, char const *) const
 
virtual bool getByLabel (std::type_info const &, char const *, char const *, char const *, void *) const
 
edm::WrapperBase const * getByProductID (edm::ProductID const &) const
 
fwlite::Run const & getRun () const
 
bool isValid () const
 
 LuminosityBlock (TFile *iFile)
 
 LuminosityBlock (std::shared_ptr< BranchMapReader > branchMap, std::shared_ptr< RunFactory > runFactory)
 
virtual
edm::LuminosityBlockAuxiliary
const & 
luminosityBlockAuxiliary () const
 
 operator bool () const
 
const LuminosityBlockoperator++ ()
 
Long64_t size () const
 
bool to (edm::RunNumber_t run, edm::LuminosityBlockNumber_t lumi)
 Go to event by Run & LuminosityBlock number. More...
 
const LuminosityBlocktoBegin ()
 
virtual ~LuminosityBlock ()
 
- Public Member Functions inherited from fwlite::LuminosityBlockBase
virtual Long64_t fileIndex () const
 
 LuminosityBlockBase ()
 
virtual Long64_t secondaryFileIndex () const
 
virtual ~LuminosityBlockBase ()
 
- Public Member Functions inherited from edm::LuminosityBlockBase
Timestamp const & beginTime () const
 
Timestamp const & endTime () const
 
template<typename PROD >
bool getByLabel (InputTag const &tag, Handle< PROD > &result) const
 same as above, but using the InputTag class More...
 
template<class T >
bool getByLabel (const InputTag &tag, Handle< T > &result) const
 
LuminosityBlockID id () const
 
LuminosityBlockNumber_t luminosityBlock () const
 
 LuminosityBlockBase ()
 
RunNumber_t run () const
 

Static Public Member Functions

static void throwProductNotFoundException (std::type_info const &, char const *, char const *, char const *)
 

Private Member Functions

const edm::ProcessHistoryhistory () const
 
 LuminosityBlock (const LuminosityBlock &)
 
const LuminosityBlockoperator= (const LuminosityBlock &)
 
void updateAux (Long_t lumiIndex) const
 

Private Attributes

edm::LuminosityBlockAuxiliary aux_
 
TBranch * auxBranch_
 
std::shared_ptr< BranchMapReaderbranchMap_
 
DataGetterHelper dataHelper_
 
EntryFinder entryFinder_
 
int fileVersion_
 
edm::ProcessHistoryMap historyMap_
 
std::vector< char const * > labels_
 
edm::LuminosityBlockAuxiliary
const * 
pAux_
 
edm::LuminosityBlockAux const * pOldAux_
 
std::vector< std::string > procHistoryNames_
 
std::shared_ptr< fwlite::Runrun_
 
std::shared_ptr< RunFactoryrunFactory_
 

Friends

class internal::ProductGetter
 
class LumiHistoryGetter
 

Detailed Description

Definition at line 56 of file LuminosityBlock.h.

Constructor & Destructor Documentation

LuminosityBlock::LuminosityBlock ( TFile *  iFile)

Definition at line 45 of file LuminosityBlock.cc.

LuminosityBlock::LuminosityBlock ( std::shared_ptr< BranchMapReader branchMap,
std::shared_ptr< RunFactory runFactory 
)

Definition at line 91 of file LuminosityBlock.cc.

LuminosityBlock::~LuminosityBlock ( )
virtual

Definition at line 137 of file LuminosityBlock.cc.

fwlite::LuminosityBlock::LuminosityBlock ( const LuminosityBlock )
private

Member Function Documentation

bool LuminosityBlock::atEnd ( ) const
virtual

Implements fwlite::LuminosityBlockBase.

Definition at line 202 of file LuminosityBlock.cc.

Referenced by main().

std::vector<edm::BranchDescription> const& fwlite::LuminosityBlock::getBranchDescriptions ( ) const
inline

Definition at line 93 of file LuminosityBlock.h.

References branchMap_.

93  {
94  return branchMap_->getBranchDescriptions();
95  }
std::shared_ptr< BranchMapReader > branchMap_
std::string const LuminosityBlock::getBranchNameFor ( std::type_info const &  iInfo,
char const *  iModuleLabel,
char const *  iProductInstanceLabel,
char const *  iProcessLabel 
) const
virtual

Definition at line 210 of file LuminosityBlock.cc.

bool LuminosityBlock::getByLabel ( std::type_info const &  iInfo,
char const *  iModuleLabel,
char const *  iProductInstanceLabel,
char const *  iProcessLabel,
void *  oData 
) const
virtual

Implements fwlite::LuminosityBlockBase.

Definition at line 220 of file LuminosityBlock.cc.

edm::WrapperBase const * LuminosityBlock::getByProductID ( edm::ProductID const &  iID) const

Definition at line 318 of file LuminosityBlock.cc.

fwlite::Run const & LuminosityBlock::getRun ( ) const

Definition at line 343 of file LuminosityBlock.cc.

Referenced by main().

const edm::ProcessHistory & LuminosityBlock::history ( ) const
private

Definition at line 255 of file LuminosityBlock.cc.

Referenced by fwlite::LumiHistoryGetter::history().

bool LuminosityBlock::isValid ( void  ) const

Definition at line 189 of file LuminosityBlock.cc.

Referenced by core.AutoHandle.AutoHandle::ReallyLoad().

edm::LuminosityBlockAuxiliary const & LuminosityBlock::luminosityBlockAuxiliary ( ) const
virtual

Implements edm::LuminosityBlockBase.

Definition at line 234 of file LuminosityBlock.cc.

LuminosityBlock::operator bool ( ) const

Definition at line 196 of file LuminosityBlock.cc.

const LuminosityBlock & LuminosityBlock::operator++ ( )
virtual

Implements fwlite::LuminosityBlockBase.

Definition at line 150 of file LuminosityBlock.cc.

const LuminosityBlock& fwlite::LuminosityBlock::operator= ( const LuminosityBlock )
private
Long64_t LuminosityBlock::size ( void  ) const

Definition at line 183 of file LuminosityBlock.cc.

void LuminosityBlock::throwProductNotFoundException ( std::type_info const &  iType,
char const *  iModule,
char const *  iProduct,
char const *  iProcess 
)
static

Definition at line 328 of file LuminosityBlock.cc.

bool LuminosityBlock::to ( edm::RunNumber_t  run,
edm::LuminosityBlockNumber_t  lumi 
)

Go to event by Run & LuminosityBlock number.

Definition at line 162 of file LuminosityBlock.cc.

const LuminosityBlock & LuminosityBlock::toBegin ( )
virtual

Implements fwlite::LuminosityBlockBase.

Definition at line 173 of file LuminosityBlock.cc.

Referenced by main().

void LuminosityBlock::updateAux ( Long_t  lumiIndex) const
private

Definition at line 242 of file LuminosityBlock.cc.

Friends And Related Function Documentation

friend class internal::ProductGetter
friend

Definition at line 108 of file LuminosityBlock.h.

friend class LumiHistoryGetter
friend

Definition at line 109 of file LuminosityBlock.h.

Member Data Documentation

edm::LuminosityBlockAuxiliary fwlite::LuminosityBlock::aux_
mutableprivate

Definition at line 128 of file LuminosityBlock.h.

TBranch* fwlite::LuminosityBlock::auxBranch_
private

Definition at line 132 of file LuminosityBlock.h.

std::shared_ptr<BranchMapReader> fwlite::LuminosityBlock::branchMap_
mutableprivate

Definition at line 120 of file LuminosityBlock.h.

Referenced by getBranchDescriptions().

DataGetterHelper fwlite::LuminosityBlock::dataHelper_
private

Definition at line 135 of file LuminosityBlock.h.

EntryFinder fwlite::LuminosityBlock::entryFinder_
mutableprivate

Definition at line 129 of file LuminosityBlock.h.

int fwlite::LuminosityBlock::fileVersion_
private

Definition at line 133 of file LuminosityBlock.h.

edm::ProcessHistoryMap fwlite::LuminosityBlock::historyMap_
mutableprivate

Definition at line 126 of file LuminosityBlock.h.

std::vector<char const*> fwlite::LuminosityBlock::labels_
mutableprivate

Definition at line 125 of file LuminosityBlock.h.

edm::LuminosityBlockAuxiliary const* fwlite::LuminosityBlock::pAux_
private

Definition at line 130 of file LuminosityBlock.h.

edm::LuminosityBlockAux const* fwlite::LuminosityBlock::pOldAux_
private

Definition at line 131 of file LuminosityBlock.h.

std::vector<std::string> fwlite::LuminosityBlock::procHistoryNames_
mutableprivate

Definition at line 127 of file LuminosityBlock.h.

std::shared_ptr<fwlite::Run> fwlite::LuminosityBlock::run_
mutableprivate

Definition at line 122 of file LuminosityBlock.h.

std::shared_ptr<RunFactory> fwlite::LuminosityBlock::runFactory_
mutableprivate

Definition at line 136 of file LuminosityBlock.h.