CMS 3D CMS Logo

Public Member Functions | Private Member Functions | Private Attributes

edm::FullProvenanceReader Class Reference

Inheritance diagram for edm::FullProvenanceReader:
edm::ProvenanceReaderBase

List of all members.

Public Member Functions

 FullProvenanceReader (RootTree *rootTree, DaqProvenanceHelper const *daqProvenanceHelper)
virtual ~FullProvenanceReader ()

Private Member Functions

virtual void readProvenance (BranchMapper const &mapper) const

Private Attributes

DaqProvenanceHelper const * daqProvenanceHelper_
ProductProvenanceVector infoVector_
ProductProvenanceVectorpInfoVector_
RootTreerootTree_

Detailed Description

Definition at line 1814 of file RootFile.cc.


Constructor & Destructor Documentation

edm::FullProvenanceReader::FullProvenanceReader ( RootTree rootTree,
DaqProvenanceHelper const *  daqProvenanceHelper 
) [explicit]

Definition at line 1826 of file RootFile.cc.

                                                   {
  }

  void
  FullProvenanceReader::readProvenance(BranchMapper const& mapper) const {
virtual edm::FullProvenanceReader::~FullProvenanceReader ( ) [inline, virtual]

Definition at line 1817 of file RootFile.cc.


Member Function Documentation

void edm::FullProvenanceReader::readProvenance ( BranchMapper const &  mapper) const [private, virtual]

Implements edm::ProvenanceReaderBase.

Definition at line 1835 of file RootFile.cc.

References daqProvenanceHelper_, infoVector_, edm::BranchMapper::insertIntoSet(), edm::DaqProvenanceHelper::mapBranchID(), and edm::DaqProvenanceHelper::mapParentageID().

                             {
      for(ProductProvenanceVector::const_iterator it = infoVector_.begin(), itEnd = infoVector_.end();
          it != itEnd; ++it) {
        mapper.insertIntoSet(ProductProvenance(daqProvenanceHelper_->mapBranchID(it->branchID()),
                                               daqProvenanceHelper_->mapParentageID(it->parentageID())));
      }
    } else {
      for(ProductProvenanceVector::const_iterator it = infoVector_.begin(), itEnd = infoVector_.end();
          it != itEnd; ++it) {
        mapper.insertIntoSet(*it);
      }
    }
  }

  class OldProvenanceReader : public ProvenanceReaderBase {
  public:

Member Data Documentation

Definition at line 1823 of file RootFile.cc.

Referenced by readProvenance().

Definition at line 1821 of file RootFile.cc.

Referenced by readProvenance().

Definition at line 1822 of file RootFile.cc.

Definition at line 1820 of file RootFile.cc.