CMS 3D CMS Logo

edm::FileBlock Class Reference

#include <FWCore/Framework/interface/FileBlock.h>

List of all members.

Public Member Functions

BranchChildren const & branchChildren () const
bool fastClonable () const
 FileBlock (FileFormatVersion const &version, TTree const *ev, TTree const *meta, TTree const *lumi, TTree const *lumiMeta, TTree const *run, TTree const *runMeta, bool fastCopy, std::string const &fileName, boost::shared_ptr< BranchChildren > branchChildren)
 FileBlock ()
FileFormatVersion const & fileFormatVersion () const
std::string const & fileName () const
TTree *const lumiMetaTree () const
TTree *const lumiTree () const
TTree *const metaTree () const
TTree *const runMetaTree () const
TTree *const runTree () const
void setNotFastCopyable ()
TTree *const tree () const
 ~FileBlock ()

Private Attributes

boost::shared_ptr< BranchChildrenbranchChildren_
bool fastCopyable_
FileFormatVersion fileFormatVersion_
std::string fileName_
TTree * lumiMetaTree_
TTree * lumiTree_
TTree * metaTree_
TTree * runMetaTree_
TTree * runTree_
TTree * tree_


Detailed Description

Definition at line 22 of file FileBlock.h.


Constructor & Destructor Documentation

edm::FileBlock::FileBlock (  )  [inline]

Definition at line 24 of file FileBlock.h.

00024                 : 
00025       fileFormatVersion_(),
00026       tree_(0), metaTree_(0),
00027       lumiTree_(0), lumiMetaTree_(0),
00028       runTree_(0), runMetaTree_(0),
00029       fastCopyable_(false), fileName_(),
00030       branchChildren_(new BranchChildren) {}

edm::FileBlock::FileBlock ( FileFormatVersion const &  version,
TTree const *  ev,
TTree const *  meta,
TTree const *  lumi,
TTree const *  lumiMeta,
TTree const *  run,
TTree const *  runMeta,
bool  fastCopy,
std::string const &  fileName,
boost::shared_ptr< BranchChildren branchChildren 
) [inline]

Definition at line 32 of file FileBlock.h.

00038                                                               :
00039       fileFormatVersion_(version),
00040       tree_(const_cast<TTree *>(ev)), 
00041       metaTree_(const_cast<TTree *>(meta)), 
00042       lumiTree_(const_cast<TTree *>(lumi)), 
00043       lumiMetaTree_(const_cast<TTree *>(lumiMeta)), 
00044       runTree_(const_cast<TTree *>(run)), 
00045       runMetaTree_(const_cast<TTree *>(runMeta)), 
00046       fastCopyable_(fastCopy), 
00047       fileName_(fileName), 
00048       branchChildren_(branchChildren) {}
    

edm::FileBlock::~FileBlock (  )  [inline]

Definition at line 50 of file FileBlock.h.

00050 {}


Member Function Documentation

BranchChildren const& edm::FileBlock::branchChildren (  )  const [inline]

Definition at line 64 of file FileBlock.h.

References branchChildren_.

00064 { return *branchChildren_; }

bool edm::FileBlock::fastClonable (  )  const [inline]

Definition at line 60 of file FileBlock.h.

References fastCopyable_.

Referenced by edm::RootOutputFile::beginInputFile().

00060 {return fastCopyable_;}

FileFormatVersion const& edm::FileBlock::fileFormatVersion (  )  const [inline]

Definition at line 52 of file FileBlock.h.

References fileFormatVersion_.

Referenced by edm::PoolOutputModule::openFile().

00052 {return fileFormatVersion_;}

std::string const& edm::FileBlock::fileName (  )  const [inline]

Definition at line 61 of file FileBlock.h.

References fileName_.

00061 {return fileName_;}

TTree* const edm::FileBlock::lumiMetaTree (  )  const [inline]

Definition at line 56 of file FileBlock.h.

References lumiMetaTree_.

00056 {return lumiMetaTree_;}

TTree* const edm::FileBlock::lumiTree (  )  const [inline]

Definition at line 55 of file FileBlock.h.

References lumiTree_.

Referenced by edm::PoolOutputModule::respondToOpenInputFile().

00055 {return lumiTree_;}

TTree* const edm::FileBlock::metaTree (  )  const [inline]

Definition at line 54 of file FileBlock.h.

References metaTree_.

00054 {return metaTree_;}

TTree* const edm::FileBlock::runMetaTree (  )  const [inline]

Definition at line 58 of file FileBlock.h.

References runMetaTree_.

00058 {return runMetaTree_;}

TTree* const edm::FileBlock::runTree (  )  const [inline]

Definition at line 57 of file FileBlock.h.

References runTree_.

Referenced by edm::PoolOutputModule::respondToOpenInputFile().

00057 {return runTree_;}

void edm::FileBlock::setNotFastCopyable (  )  [inline]

Definition at line 63 of file FileBlock.h.

References fastCopyable_.

00063 {fastCopyable_ = false;}

TTree* const edm::FileBlock::tree (  )  const [inline]

Definition at line 53 of file FileBlock.h.

References tree_.

Referenced by edm::RootOutputFile::beginInputFile(), edm::PoolOutputModule::openFile(), and edm::PoolOutputModule::respondToOpenInputFile().

00053 {return tree_;}


Member Data Documentation

boost::shared_ptr<BranchChildren> edm::FileBlock::branchChildren_ [private]

Definition at line 77 of file FileBlock.h.

Referenced by branchChildren().

bool edm::FileBlock::fastCopyable_ [private]

Definition at line 75 of file FileBlock.h.

Referenced by fastClonable(), and setNotFastCopyable().

FileFormatVersion edm::FileBlock::fileFormatVersion_ [private]

Definition at line 67 of file FileBlock.h.

Referenced by fileFormatVersion().

std::string edm::FileBlock::fileName_ [private]

Definition at line 76 of file FileBlock.h.

Referenced by fileName().

TTree* edm::FileBlock::lumiMetaTree_ [private]

Definition at line 72 of file FileBlock.h.

Referenced by lumiMetaTree().

TTree* edm::FileBlock::lumiTree_ [private]

Definition at line 71 of file FileBlock.h.

Referenced by lumiTree().

TTree* edm::FileBlock::metaTree_ [private]

Definition at line 70 of file FileBlock.h.

Referenced by metaTree().

TTree* edm::FileBlock::runMetaTree_ [private]

Definition at line 74 of file FileBlock.h.

Referenced by runMetaTree().

TTree* edm::FileBlock::runTree_ [private]

Definition at line 73 of file FileBlock.h.

Referenced by runTree().

TTree* edm::FileBlock::tree_ [private]

Definition at line 69 of file FileBlock.h.

Referenced by tree().


The documentation for this class was generated from the following file:
Generated on Tue Jun 9 18:41:01 2009 for CMSSW by  doxygen 1.5.4