CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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::BranchDescription
branchIDToBranch (const edm::BranchID &bid) const =0
 
virtual const
edm::BranchListIndexes
branchListIndexes () const =0
 
virtual const std::vector
< edm::BranchDescription > & 
getBranchDescriptions ()=0
 
virtual const
edm::BranchDescription
productToBranch (const edm::ProductID &pid)=0
 
virtual edm::BranchID productToBranchID (const edm::ProductID &pid)=0
 
virtual const
edm::ThinnedAssociationsHelper
thinnedAssociationsHelper () 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),
44  eventTree_(nullptr),
45  luminosityBlockTree_(nullptr),
46  runTree_(nullptr),
47  eventEntry_(-1),
49  runEntry_(-1),
50  fileVersion_(fileVersion) {
51  // do in derived obects
52  // updateFile(file);
53  }
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 55 of file BranchMapReader.cc.

55 {}

Member Function Documentation

virtual const edm::BranchDescription& fwlite::internal::BMRStrategy::branchIDToBranch ( const edm::BranchID bid) const
pure virtual

Implemented in fwlite::internal::Strategy.

virtual const edm::BranchListIndexes& fwlite::internal::BMRStrategy::branchListIndexes ( ) const
pure virtual
virtual const std::vector<edm::BranchDescription>& fwlite::internal::BMRStrategy::getBranchDescriptions ( )
pure virtual

Implemented in fwlite::internal::Strategy.

virtual const edm::BranchDescription& fwlite::internal::BMRStrategy::productToBranch ( const edm::ProductID pid)
pure virtual

Implemented in fwlite::internal::Strategy.

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().