CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes
fwlite::internal::BMRStrategy Class Referenceabstract

#include <BranchMapReader.h>

Inheritance diagram for fwlite::internal::BMRStrategy:
fwlite::internal::Strategy fwlite::internal::BranchMapReaderStrategyV1 fwlite::internal::BranchMapReaderStrategyV11 fwlite::internal::BranchMapReaderStrategyV17 fwlite::internal::BranchMapReaderStrategyV8 fwlite::internal::BranchMapReaderStrategyV7

Public Member Functions

 BMRStrategy (TFile *file, int fileVersion)
 
virtual const edm::BranchDescriptionbranchIDToBranch (const edm::BranchID &bid) const =0
 
virtual const edm::BranchListIndexesbranchListIndexes () const =0
 
virtual const std::vector< edm::BranchDescription > & getBranchDescriptions ()=0
 
virtual const edm::BranchDescriptionproductToBranch (const edm::ProductID &pid)=0
 
virtual edm::BranchID productToBranchID (const edm::ProductID &pid)=0
 
virtual const edm::ThinnedAssociationsHelperthinnedAssociationsHelper () const =0
 
virtual bool updateEvent (Long_t eventEntry)=0
 
virtual bool updateFile (TFile *file)=0
 
virtual bool updateLuminosityBlock (Long_t luminosityBlockEntry)=0
 
virtual bool updateMap ()=0
 
virtual bool updateRun (Long_t runEntry)=0
 
virtual ~BMRStrategy ()
 

Public Attributes

edm::propagate_const< TFile * > currentFile_
 
Long_t eventEntry_
 
edm::propagate_const< TTree * > eventTree_
 
TUUID fileUUID_
 
int fileVersion_
 
Long_t luminosityBlockEntry_
 
edm::propagate_const< TTree * > luminosityBlockTree_
 
Long_t runEntry_
 
edm::propagate_const< TTree * > runTree_
 

Detailed Description

Definition at line 41 of file BranchMapReader.h.

Constructor & Destructor Documentation

fwlite::internal::BMRStrategy::BMRStrategy ( TFile *  file,
int  fileVersion 
)

Definition at line 42 of file BranchMapReader.cc.

43  : currentFile_(file), eventTree_(nullptr), luminosityBlockTree_(nullptr), runTree_(nullptr),
44  eventEntry_(-1), luminosityBlockEntry_(-1), runEntry_(-1), fileVersion_(fileVersion) {
45  // do in derived obects
46  // updateFile(file);
47  }
edm::propagate_const< TFile * > currentFile_
edm::propagate_const< TTree * > eventTree_
edm::propagate_const< TTree * > luminosityBlockTree_
edm::propagate_const< TTree * > runTree_
fwlite::internal::BMRStrategy::~BMRStrategy ( )
virtual

Definition at line 49 of file BranchMapReader.cc.

49  {
50  }

Member Function Documentation

virtual const edm::BranchDescription& fwlite::internal::BMRStrategy::branchIDToBranch ( const edm::BranchID bid) const
pure virtual
virtual const edm::BranchListIndexes& fwlite::internal::BMRStrategy::branchListIndexes ( ) const
pure virtual
virtual const std::vector<edm::BranchDescription>& fwlite::internal::BMRStrategy::getBranchDescriptions ( )
pure virtual
virtual const edm::BranchDescription& fwlite::internal::BMRStrategy::productToBranch ( const edm::ProductID pid)
pure virtual
virtual edm::BranchID fwlite::internal::BMRStrategy::productToBranchID ( const edm::ProductID pid)
pure virtual
virtual const edm::ThinnedAssociationsHelper& fwlite::internal::BMRStrategy::thinnedAssociationsHelper ( ) const
pure virtual

Implemented in fwlite::internal::Strategy.

virtual bool fwlite::internal::BMRStrategy::updateEvent ( Long_t  eventEntry)
pure virtual
virtual bool fwlite::internal::BMRStrategy::updateFile ( TFile *  file)
pure virtual
virtual bool fwlite::internal::BMRStrategy::updateLuminosityBlock ( Long_t  luminosityBlockEntry)
pure virtual
virtual bool fwlite::internal::BMRStrategy::updateMap ( )
pure virtual
virtual bool fwlite::internal::BMRStrategy::updateRun ( Long_t  runEntry)
pure virtual

Member Data Documentation

edm::propagate_const<TFile*> fwlite::internal::BMRStrategy::currentFile_
Long_t fwlite::internal::BMRStrategy::eventEntry_
edm::propagate_const<TTree*> fwlite::internal::BMRStrategy::eventTree_

Definition at line 59 of file BranchMapReader.h.

Referenced by fwlite::internal::Strategy::updateFile().

TUUID fwlite::internal::BMRStrategy::fileUUID_

Definition at line 62 of file BranchMapReader.h.

Referenced by fwlite::internal::Strategy::updateFile().

int fwlite::internal::BMRStrategy::fileVersion_

Definition at line 66 of file BranchMapReader.h.

Long_t fwlite::internal::BMRStrategy::luminosityBlockEntry_
edm::propagate_const<TTree*> fwlite::internal::BMRStrategy::luminosityBlockTree_

Definition at line 60 of file BranchMapReader.h.

Referenced by fwlite::internal::Strategy::updateFile().

Long_t fwlite::internal::BMRStrategy::runEntry_
edm::propagate_const<TTree*> fwlite::internal::BMRStrategy::runTree_

Definition at line 61 of file BranchMapReader.h.

Referenced by fwlite::internal::Strategy::updateFile().