![]() |
![]() |
#include <IOPool/Input/src/BranchMapperWithReader.h>
Public Member Functions | |
BranchMapperWithReader (TBranch *branch, input::EntryNumber entryNumber) | |
virtual | ~BranchMapperWithReader () |
Private Member Functions | |
virtual void | readProvenance_ () const |
Private Attributes | |
TBranch * | branchPtr_ |
input::EntryNumber | entryNumber_ |
std::vector< T > | infoVector_ |
std::vector< T > * | pInfoVector_ |
Definition at line 17 of file BranchMapperWithReader.h.
edm::BranchMapperWithReader< T >::BranchMapperWithReader | ( | TBranch * | branch, | |
input::EntryNumber | entryNumber | |||
) | [inline] |
Definition at line 33 of file BranchMapperWithReader.h.
00033 : 00034 BranchMapper(true), 00035 branchPtr_(branch), entryNumber_(entryNumber), 00036 infoVector_(), pInfoVector_(&infoVector_) 00037 { }
virtual edm::BranchMapperWithReader< T >::~BranchMapperWithReader | ( | ) | [inline, virtual] |
void edm::BranchMapperWithReader< T >::readProvenance_ | ( | ) | const [inline, private, virtual] |
Reimplemented from edm::BranchMapper.
Definition at line 42 of file BranchMapperWithReader.h.
References edm::BranchMapperWithReader< T >::branchPtr_, edm::BranchMapperWithReader< T >::entryNumber_, edm::input::getEntry(), edm::BranchMapperWithReader< T >::infoVector_, edm::BranchMapper::insert(), it, me, and edm::BranchMapperWithReader< T >::pInfoVector_.
00042 { 00043 branchPtr_->SetAddress(&pInfoVector_); 00044 input::getEntry(branchPtr_, entryNumber_); 00045 BranchMapperWithReader<T> * me = const_cast<BranchMapperWithReader<T> *>(this); 00046 for (typename std::vector<T>::const_iterator it = infoVector_.begin(), itEnd = infoVector_.end(); 00047 it != itEnd; ++it) { 00048 me->insert(it->makeEntryInfo()); 00049 } 00050 }
TBranch* edm::BranchMapperWithReader< T >::branchPtr_ [private] |
Definition at line 26 of file BranchMapperWithReader.h.
Referenced by edm::BranchMapperWithReader< T >::readProvenance_().
input::EntryNumber edm::BranchMapperWithReader< T >::entryNumber_ [private] |
Definition at line 27 of file BranchMapperWithReader.h.
Referenced by edm::BranchMapperWithReader< T >::readProvenance_().
std::vector<T> edm::BranchMapperWithReader< T >::infoVector_ [private] |
Definition at line 28 of file BranchMapperWithReader.h.
Referenced by edm::BranchMapperWithReader< T >::readProvenance_().
std::vector<T>* edm::BranchMapperWithReader< T >::pInfoVector_ [mutable, private] |
Definition at line 29 of file BranchMapperWithReader.h.
Referenced by edm::BranchMapperWithReader< T >::readProvenance_().