CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
edm::MakeOldProvenanceReader Class Reference
Inheritance diagram for edm::MakeOldProvenanceReader:
edm::MakeProvenanceReader

Public Member Functions

 MakeOldProvenanceReader (std::unique_ptr< EntryDescriptionMap > &&entryDescriptionMap)
 
std::unique_ptr< ProvenanceReaderBasemakeReader (RootTree &eventTree, DaqProvenanceHelper const *daqProvenanceHelper) const override
 
- Public Member Functions inherited from edm::MakeProvenanceReader
virtual ~MakeProvenanceReader ()=default
 

Private Attributes

edm::propagate_const< std::unique_ptr< EntryDescriptionMap > > entryDescriptionMap_
 

Detailed Description

Definition at line 81 of file RootFile.cc.

Constructor & Destructor Documentation

◆ MakeOldProvenanceReader()

edm::MakeOldProvenanceReader::MakeOldProvenanceReader ( std::unique_ptr< EntryDescriptionMap > &&  entryDescriptionMap)
inline

Definition at line 83 of file RootFile.cc.

84  : MakeProvenanceReader(), entryDescriptionMap_(std::move(entryDescriptionMap)) {}
edm::propagate_const< std::unique_ptr< EntryDescriptionMap > > entryDescriptionMap_
Definition: RootFile.cc:89
def move(src, dest)
Definition: eostools.py:511

Member Function Documentation

◆ makeReader()

std::unique_ptr< ProvenanceReaderBase > edm::MakeOldProvenanceReader::makeReader ( RootTree eventTree,
DaqProvenanceHelper const *  daqProvenanceHelper 
) const
overridevirtual

Implements edm::MakeProvenanceReader.

Definition at line 2521 of file RootFile.cc.

References entryDescriptionMap_.

2522  {
2523  return std::make_unique<OldProvenanceReader>(&rootTree, *entryDescriptionMap_, daqProvenanceHelper);
2524  }
edm::propagate_const< std::unique_ptr< EntryDescriptionMap > > entryDescriptionMap_
Definition: RootFile.cc:89

Member Data Documentation

◆ entryDescriptionMap_

edm::propagate_const<std::unique_ptr<EntryDescriptionMap> > edm::MakeOldProvenanceReader::entryDescriptionMap_
private

Definition at line 89 of file RootFile.cc.

Referenced by makeReader().