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

◆ BMRStrategy()

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  }

◆ ~BMRStrategy()

fwlite::internal::BMRStrategy::~BMRStrategy ( )
virtual

Definition at line 55 of file BranchMapReader.cc.

55 {}

Member Function Documentation

◆ branchIDToBranch()

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

Implemented in fwlite::internal::Strategy.

◆ branchListIndexes()

virtual const edm::BranchListIndexes& fwlite::internal::BMRStrategy::branchListIndexes ( ) const
pure virtual

◆ getBranchDescriptions()

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

Implemented in fwlite::internal::Strategy.

◆ productToBranch()

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

Implemented in fwlite::internal::Strategy.

◆ productToBranchID()

virtual edm::BranchID fwlite::internal::BMRStrategy::productToBranchID ( const edm::ProductID pid)
pure virtual

◆ thinnedAssociationsHelper()

virtual const edm::ThinnedAssociationsHelper& fwlite::internal::BMRStrategy::thinnedAssociationsHelper ( ) const
pure virtual

Implemented in fwlite::internal::Strategy.

◆ updateEvent()

virtual bool fwlite::internal::BMRStrategy::updateEvent ( Long_t  eventEntry)
pure virtual

◆ updateFile()

virtual bool fwlite::internal::BMRStrategy::updateFile ( TFile *  file)
pure virtual

◆ updateLuminosityBlock()

virtual bool fwlite::internal::BMRStrategy::updateLuminosityBlock ( Long_t  luminosityBlockEntry)
pure virtual

◆ updateMap()

virtual bool fwlite::internal::BMRStrategy::updateMap ( )
pure virtual

◆ updateRun()

virtual bool fwlite::internal::BMRStrategy::updateRun ( Long_t  runEntry)
pure virtual

Member Data Documentation

◆ currentFile_

edm::propagate_const<TFile*> fwlite::internal::BMRStrategy::currentFile_

◆ eventEntry_

Long_t fwlite::internal::BMRStrategy::eventEntry_

◆ eventTree_

edm::propagate_const<TTree*> fwlite::internal::BMRStrategy::eventTree_

Definition at line 59 of file BranchMapReader.h.

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

◆ fileUUID_

TUUID fwlite::internal::BMRStrategy::fileUUID_

Definition at line 62 of file BranchMapReader.h.

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

◆ fileVersion_

int fwlite::internal::BMRStrategy::fileVersion_

Definition at line 66 of file BranchMapReader.h.

◆ luminosityBlockEntry_

Long_t fwlite::internal::BMRStrategy::luminosityBlockEntry_

◆ luminosityBlockTree_

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

Definition at line 60 of file BranchMapReader.h.

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

◆ runEntry_

Long_t fwlite::internal::BMRStrategy::runEntry_

◆ runTree_

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

Definition at line 61 of file BranchMapReader.h.

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

fwlite::internal::BMRStrategy::eventEntry_
Long_t eventEntry_
Definition: BranchMapReader.h:63
fwlite::internal::BMRStrategy::eventTree_
edm::propagate_const< TTree * > eventTree_
Definition: BranchMapReader.h:59
fwlite::internal::BMRStrategy::luminosityBlockEntry_
Long_t luminosityBlockEntry_
Definition: BranchMapReader.h:64
fwlite::internal::BMRStrategy::currentFile_
edm::propagate_const< TFile * > currentFile_
Definition: BranchMapReader.h:58
FrontierConditions_GlobalTag_cff.file
file
Definition: FrontierConditions_GlobalTag_cff.py:13
fwlite::internal::BMRStrategy::luminosityBlockTree_
edm::propagate_const< TTree * > luminosityBlockTree_
Definition: BranchMapReader.h:60
fwlite::internal::BMRStrategy::runEntry_
Long_t runEntry_
Definition: BranchMapReader.h:65
fwlite::internal::BMRStrategy::runTree_
edm::propagate_const< TTree * > runTree_
Definition: BranchMapReader.h:61
fwlite::internal::BMRStrategy::fileVersion_
int fileVersion_
Definition: BranchMapReader.h:66