CMS 3D CMS Logo

Public Member Functions | Private Member Functions | Private Attributes

edm::OldProvenanceReader Class Reference

Inheritance diagram for edm::OldProvenanceReader:
edm::ProvenanceReaderBase

List of all members.

Public Member Functions

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

Private Member Functions

virtual void readProvenance (BranchMapper const &mapper) const

Private Attributes

DaqProvenanceHelper const * daqProvenanceHelper_
std::vector< EventEntryInfoinfoVector_
std::vector< EventEntryInfo > * pInfoVector_
RootTreerootTree_

Detailed Description

Definition at line 1852 of file RootFile.cc.


Constructor & Destructor Documentation

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

Definition at line 1864 of file RootFile.cc.

                                                   {
  }

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

Definition at line 1855 of file RootFile.cc.


Member Function Documentation

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

Implements edm::ProvenanceReaderBase.

Definition at line 1873 of file RootFile.cc.

                           {
      EventEntryDescription eed;
      EntryDescriptionRegistry::instance()->getMapped(it->entryDescriptionID(), eed);
      Parentage parentage(eed.parents());
      if(daqProvenanceHelper_) {
        ProductProvenance entry(daqProvenanceHelper_->mapBranchID(it->branchID()),
                                daqProvenanceHelper_->mapParentageID(parentage.id()));
        mapper.insertIntoSet(entry);
      } else {
        ProductProvenance entry(it->branchID(), parentage.id());
        mapper.insertIntoSet(entry);
      }
    
    }
  }

  class DummyProvenanceReader : public ProvenanceReaderBase {
  public:

Member Data Documentation

Definition at line 1861 of file RootFile.cc.

Definition at line 1859 of file RootFile.cc.

std::vector<EventEntryInfo>* edm::OldProvenanceReader::pInfoVector_ [mutable, private]

Definition at line 1860 of file RootFile.cc.

Definition at line 1858 of file RootFile.cc.