CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes
edm::root::TFWLiteSelectorMembers Struct Reference

Public Member Functions

std::shared_ptr< BranchIDListHelper const > branchIDListHelper () const
 
std::shared_ptr< BranchIDListHelper > & branchIDListHelper ()
 
std::shared_ptr< ProductRegistry const > reg () const
 
std::shared_ptr< ProductRegistry > & reg ()
 
void setTree (TTree *iTree)
 
 TFWLiteSelectorMembers ()
 
std::shared_ptr< ThinnedAssociationsHelper const > thinnedAssociationsHelper () const
 
std::shared_ptr< ThinnedAssociationsHelper > & thinnedAssociationsHelper ()
 
TTree const * tree () const
 
TTree *& tree ()
 

Public Attributes

edm::propagate_const< std::shared_ptr< std::unordered_map< unsigned int, BranchDescription const * > > > bidToDesc_
 
edm::propagate_const< std::shared_ptr< BranchIDListHelper > > branchIDListHelper_
 
edm::propagate_const< std::shared_ptr< edm::EventPrincipal > > ep_
 
FileFormatVersion fileFormatVersion_
 
edm::ModuleDescription md_
 
edm::ProcessConfiguration pc_
 
edm::propagate_const< std::shared_ptr< ProcessHistoryRegistry > > phreg_
 
std::vector< EventEntryDescription const * > pointerToBranchBuffer_
 
ProcessHistory processNames_
 
std::vector< EventEntryDescriptionprov_
 
edm::propagate_const< std::shared_ptr< edm::ProductProvenanceRetriever > > provRetriever_
 
edm::propagate_const< std::shared_ptr< FWLiteDelayedReader > > reader_
 
edm::propagate_const< std::shared_ptr< ProductRegistry > > reg_
 
edm::propagate_const< std::shared_ptr< ThinnedAssociationsHelper > > thinnedAssociationsHelper_
 
edm::propagate_const< TTree * > tree_
 

Detailed Description

Definition at line 140 of file TFWLiteSelectorBasic.cc.

Constructor & Destructor Documentation

edm::root::TFWLiteSelectorMembers::TFWLiteSelectorMembers ( )
inline

Definition at line 141 of file TFWLiteSelectorBasic.cc.

References edm::root::FWLiteDelayedReader::bidToDesc_, and edm::get_underlying_safe().

142  : tree_(nullptr),
143  reg_(new ProductRegistry()),
144  bidToDesc_(std::make_shared<std::unordered_map<unsigned int, BranchDescription const*>>()),
145  phreg_(new ProcessHistoryRegistry()),
146  branchIDListHelper_(new BranchIDListHelper()),
147  // Note that thinned collections are not supported yet, the next
148  // line just makes it compile but when the Ref or Ptr tries to
149  // find the thinned collection it will report them not found.
150  // More work needed here if this is needed (we think no one
151  // is using TFWLiteSelector anymore and intend to implement
152  // this properly if it turns out we are wrong)
153  thinnedAssociationsHelper_(new ThinnedAssociationsHelper()),
154  processNames_(),
155  reader_(new FWLiteDelayedReader),
156  prov_(),
160  }
std::vector< EventEntryDescription const * > pointerToBranchBuffer_
std::vector< EventEntryDescription > prov_
edm::propagate_const< TTree * > tree_
edm::propagate_const< std::shared_ptr< ThinnedAssociationsHelper > > thinnedAssociationsHelper_
edm::propagate_const< std::shared_ptr< edm::ProductProvenanceRetriever > > provRetriever_
edm::propagate_const< std::shared_ptr< ProductRegistry > > reg_
edm::propagate_const< std::shared_ptr< FWLiteDelayedReader > > reader_
edm::propagate_const< std::shared_ptr< BranchIDListHelper > > branchIDListHelper_
std::shared_ptr< T > & get_underlying_safe(propagate_const< std::shared_ptr< T >> &iP)
edm::propagate_const< std::shared_ptr< std::unordered_map< unsigned int, BranchDescription const * > > > bidToDesc_
edm::propagate_const< std::shared_ptr< ProcessHistoryRegistry > > phreg_

Member Function Documentation

std::shared_ptr<BranchIDListHelper const> edm::root::TFWLiteSelectorMembers::branchIDListHelper ( ) const
inline

Definition at line 170 of file TFWLiteSelectorBasic.cc.

References edm::get_underlying_safe().

170  {
172  }
edm::propagate_const< std::shared_ptr< BranchIDListHelper > > branchIDListHelper_
std::shared_ptr< T > & get_underlying_safe(propagate_const< std::shared_ptr< T >> &iP)
std::shared_ptr<BranchIDListHelper>& edm::root::TFWLiteSelectorMembers::branchIDListHelper ( )
inline

Definition at line 173 of file TFWLiteSelectorBasic.cc.

References edm::get_underlying_safe().

edm::propagate_const< std::shared_ptr< BranchIDListHelper > > branchIDListHelper_
std::shared_ptr< T > & get_underlying_safe(propagate_const< std::shared_ptr< T >> &iP)
std::shared_ptr<ProductRegistry const> edm::root::TFWLiteSelectorMembers::reg ( ) const
inline

Definition at line 168 of file TFWLiteSelectorBasic.cc.

References edm::get_underlying_safe().

168 { return get_underlying_safe(reg_); }
edm::propagate_const< std::shared_ptr< ProductRegistry > > reg_
std::shared_ptr< T > & get_underlying_safe(propagate_const< std::shared_ptr< T >> &iP)
std::shared_ptr<ProductRegistry>& edm::root::TFWLiteSelectorMembers::reg ( )
inline

Definition at line 169 of file TFWLiteSelectorBasic.cc.

References edm::get_underlying_safe().

169 { return get_underlying_safe(reg_); }
edm::propagate_const< std::shared_ptr< ProductRegistry > > reg_
std::shared_ptr< T > & get_underlying_safe(propagate_const< std::shared_ptr< T >> &iP)
void edm::root::TFWLiteSelectorMembers::setTree ( TTree *  iTree)
inline

Definition at line 161 of file TFWLiteSelectorBasic.cc.

161  {
162  tree_ = iTree;
163  reader_->setTree(iTree);
164  }
edm::propagate_const< TTree * > tree_
edm::propagate_const< std::shared_ptr< FWLiteDelayedReader > > reader_
std::shared_ptr<ThinnedAssociationsHelper const> edm::root::TFWLiteSelectorMembers::thinnedAssociationsHelper ( ) const
inline

Definition at line 174 of file TFWLiteSelectorBasic.cc.

References edm::get_underlying_safe().

174  {
176  }
edm::propagate_const< std::shared_ptr< ThinnedAssociationsHelper > > thinnedAssociationsHelper_
std::shared_ptr< T > & get_underlying_safe(propagate_const< std::shared_ptr< T >> &iP)
std::shared_ptr<ThinnedAssociationsHelper>& edm::root::TFWLiteSelectorMembers::thinnedAssociationsHelper ( )
inline

Definition at line 177 of file TFWLiteSelectorBasic.cc.

References edm::get_underlying_safe().

177  {
179  }
edm::propagate_const< std::shared_ptr< ThinnedAssociationsHelper > > thinnedAssociationsHelper_
std::shared_ptr< T > & get_underlying_safe(propagate_const< std::shared_ptr< T >> &iP)
TTree const* edm::root::TFWLiteSelectorMembers::tree ( ) const
inline
TTree*& edm::root::TFWLiteSelectorMembers::tree ( )
inline

Member Data Documentation

edm::propagate_const<std::shared_ptr<std::unordered_map<unsigned int, BranchDescription const*> > > edm::root::TFWLiteSelectorMembers::bidToDesc_

Definition at line 183 of file TFWLiteSelectorBasic.cc.

edm::propagate_const<std::shared_ptr<BranchIDListHelper> > edm::root::TFWLiteSelectorMembers::branchIDListHelper_

Definition at line 185 of file TFWLiteSelectorBasic.cc.

edm::propagate_const<std::shared_ptr<edm::EventPrincipal> > edm::root::TFWLiteSelectorMembers::ep_

Definition at line 195 of file TFWLiteSelectorBasic.cc.

FileFormatVersion edm::root::TFWLiteSelectorMembers::fileFormatVersion_

Definition at line 191 of file TFWLiteSelectorBasic.cc.

edm::ModuleDescription edm::root::TFWLiteSelectorMembers::md_

Definition at line 196 of file TFWLiteSelectorBasic.cc.

edm::ProcessConfiguration edm::root::TFWLiteSelectorMembers::pc_

Definition at line 194 of file TFWLiteSelectorBasic.cc.

edm::propagate_const<std::shared_ptr<ProcessHistoryRegistry> > edm::root::TFWLiteSelectorMembers::phreg_

Definition at line 184 of file TFWLiteSelectorBasic.cc.

std::vector<EventEntryDescription const*> edm::root::TFWLiteSelectorMembers::pointerToBranchBuffer_

Definition at line 190 of file TFWLiteSelectorBasic.cc.

ProcessHistory edm::root::TFWLiteSelectorMembers::processNames_

Definition at line 187 of file TFWLiteSelectorBasic.cc.

std::vector<EventEntryDescription> edm::root::TFWLiteSelectorMembers::prov_

Definition at line 189 of file TFWLiteSelectorBasic.cc.

edm::propagate_const<std::shared_ptr<edm::ProductProvenanceRetriever> > edm::root::TFWLiteSelectorMembers::provRetriever_

Definition at line 193 of file TFWLiteSelectorBasic.cc.

edm::propagate_const<std::shared_ptr<FWLiteDelayedReader> > edm::root::TFWLiteSelectorMembers::reader_

Definition at line 188 of file TFWLiteSelectorBasic.cc.

edm::propagate_const<std::shared_ptr<ProductRegistry> > edm::root::TFWLiteSelectorMembers::reg_

Definition at line 182 of file TFWLiteSelectorBasic.cc.

edm::propagate_const<std::shared_ptr<ThinnedAssociationsHelper> > edm::root::TFWLiteSelectorMembers::thinnedAssociationsHelper_

Definition at line 186 of file TFWLiteSelectorBasic.cc.

edm::propagate_const<TTree*> edm::root::TFWLiteSelectorMembers::tree_

Definition at line 181 of file TFWLiteSelectorBasic.cc.