CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
edm::FileFormatVersion Class Reference

#include <FileFormatVersion.h>

Public Member Functions

bool eventHistoryBranch () const
 
bool eventHistoryTree () const
 
bool fastCopyPossible () const
 
 FileFormatVersion ()
 
 FileFormatVersion (int vers)
 
bool hasIndexIntoFile () const
 
bool hasThinnedAssociations () const
 
bool isValid () const
 
bool lumiInEventID () const
 
bool lumiNumbers () const
 
bool mergeOnlySequentialRunsOrLumis () const
 
bool newAuxiliary () const
 
bool noMetaDataTrees () const
 
bool parameterSetsByReference () const
 
bool parameterSetsTree () const
 
bool perEventProductIDs () const
 
bool processHistorySameWithinRun () const
 
bool productIDIsInt () const
 
bool runsAndLumis () const
 
bool splitProductIDs () const
 
bool storedProductProvenanceUsed () const
 
bool triggerPathsTracked () const
 
bool useReducedProcessHistoryID () const
 
int value () const
 
 ~FileFormatVersion ()
 

Private Attributes

int value_
 

Detailed Description

Definition at line 7 of file FileFormatVersion.h.

Constructor & Destructor Documentation

◆ FileFormatVersion() [1/2]

edm::FileFormatVersion::FileFormatVersion ( )
inline

Definition at line 9 of file FileFormatVersion.h.

◆ FileFormatVersion() [2/2]

edm::FileFormatVersion::FileFormatVersion ( int  vers)
inlineexplicit

Definition at line 10 of file FileFormatVersion.h.

10 : value_(vers) {}

◆ ~FileFormatVersion()

edm::FileFormatVersion::~FileFormatVersion ( )
inline

Definition at line 11 of file FileFormatVersion.h.

11 {}

Member Function Documentation

◆ eventHistoryBranch()

bool edm::FileFormatVersion::eventHistoryBranch ( ) const

Definition at line 15 of file FileFormatVersion.cc.

References value_.

15 { return value_ >= 5 && value_ < 7; }

◆ eventHistoryTree()

bool edm::FileFormatVersion::eventHistoryTree ( ) const

Definition at line 17 of file FileFormatVersion.cc.

References value_.

Referenced by edm::RootFile::fillEventHistory().

17 { return value_ >= 7 && value_ < 17; }

◆ fastCopyPossible()

bool edm::FileFormatVersion::fastCopyPossible ( ) const

Definition at line 23 of file FileFormatVersion.cc.

References value_.

23 { return value_ >= 11; }

◆ hasIndexIntoFile()

bool edm::FileFormatVersion::hasIndexIntoFile ( ) const

Definition at line 35 of file FileFormatVersion.cc.

References value_.

Referenced by edm::printEventLists(), and edm::printEventsInLumis().

35 { return value_ >= 16; }

◆ hasThinnedAssociations()

bool edm::FileFormatVersion::hasThinnedAssociations ( ) const

Definition at line 45 of file FileFormatVersion.cc.

References value_.

Referenced by edm::RootFile::RootFile().

45 { return value_ >= 20; }

◆ isValid()

bool edm::FileFormatVersion::isValid ( void  ) const

◆ lumiInEventID()

bool edm::FileFormatVersion::lumiInEventID ( ) const

Definition at line 29 of file FileFormatVersion.cc.

References value_.

29 { return value_ >= 14; }

◆ lumiNumbers()

bool edm::FileFormatVersion::lumiNumbers ( ) const

Definition at line 7 of file FileFormatVersion.cc.

References value_.

7 { return value_ >= 2; }

◆ mergeOnlySequentialRunsOrLumis()

bool edm::FileFormatVersion::mergeOnlySequentialRunsOrLumis ( ) const

Definition at line 37 of file FileFormatVersion.cc.

References value_.

37 { return value_ >= 16; }

◆ newAuxiliary()

bool edm::FileFormatVersion::newAuxiliary ( ) const

◆ noMetaDataTrees()

bool edm::FileFormatVersion::noMetaDataTrees ( ) const

Definition at line 39 of file FileFormatVersion.cc.

References value_.

Referenced by edm::RootFile::fillEventHistory().

39 { return value_ >= 17; }

◆ parameterSetsByReference()

bool edm::FileFormatVersion::parameterSetsByReference ( ) const

Definition at line 25 of file FileFormatVersion.cc.

References value_.

Referenced by fwlite::Event::fillParameterSetRegistry().

25 { return value_ >= 12; }

◆ parameterSetsTree()

bool edm::FileFormatVersion::parameterSetsTree ( ) const

Definition at line 31 of file FileFormatVersion.cc.

References value_.

31 { return value_ >= 15; }

◆ perEventProductIDs()

bool edm::FileFormatVersion::perEventProductIDs ( ) const

Definition at line 19 of file FileFormatVersion.cc.

References value_.

Referenced by edm::RootFile::makeProvenanceReaderMaker().

19 { return value_ >= 8; }

◆ processHistorySameWithinRun()

bool edm::FileFormatVersion::processHistorySameWithinRun ( ) const

Definition at line 33 of file FileFormatVersion.cc.

References value_.

Referenced by edm::RootFile::readRunAuxiliary_().

33 { return value_ >= 16; }

◆ productIDIsInt()

bool edm::FileFormatVersion::productIDIsInt ( ) const

Definition at line 9 of file FileFormatVersion.cc.

References value_.

9 { return value_ >= 2; }

◆ runsAndLumis()

bool edm::FileFormatVersion::runsAndLumis ( ) const

Definition at line 13 of file FileFormatVersion.cc.

References value_.

Referenced by edm::RootFile::fillLumiAuxiliary().

13 { return value_ >= 4; }

◆ splitProductIDs()

bool edm::FileFormatVersion::splitProductIDs ( ) const

Definition at line 21 of file FileFormatVersion.cc.

References value_.

Referenced by edm::RootFile::fillEventHistory(), and edm::RootFile::makeProvenanceReaderMaker().

21 { return value_ >= 11; }

◆ storedProductProvenanceUsed()

bool edm::FileFormatVersion::storedProductProvenanceUsed ( ) const

Definition at line 41 of file FileFormatVersion.cc.

References value_.

Referenced by edm::RootFile::makeProvenanceReaderMaker().

41 { return value_ >= 18; }

◆ triggerPathsTracked()

bool edm::FileFormatVersion::triggerPathsTracked ( ) const

Definition at line 27 of file FileFormatVersion.cc.

References value_.

Referenced by fwlite::Event::fillParameterSetRegistry().

27 { return value_ >= 13; }

◆ useReducedProcessHistoryID()

bool edm::FileFormatVersion::useReducedProcessHistoryID ( ) const

Definition at line 43 of file FileFormatVersion.cc.

References value_.

Referenced by edm::RootFile::readCurrentEvent(), and edm::RootFile::validateFile().

43 { return value_ >= 19; }

◆ value()

int edm::FileFormatVersion::value ( ) const
inline

Member Data Documentation

◆ value_

int edm::FileFormatVersion::value_
private