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.

9 : value_(-1) {}

◆ 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.

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

References value_.

◆ eventHistoryTree()

bool edm::FileFormatVersion::eventHistoryTree ( ) const

Definition at line 17 of file FileFormatVersion.cc.

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

References value_.

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

◆ fastCopyPossible()

bool edm::FileFormatVersion::fastCopyPossible ( ) const

Definition at line 23 of file FileFormatVersion.cc.

23 { return value_ >= 11; }

References value_.

◆ hasIndexIntoFile()

bool edm::FileFormatVersion::hasIndexIntoFile ( ) const

Definition at line 35 of file FileFormatVersion.cc.

35 { return value_ >= 16; }

References value_.

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

◆ hasThinnedAssociations()

bool edm::FileFormatVersion::hasThinnedAssociations ( ) const

Definition at line 45 of file FileFormatVersion.cc.

45 { return value_ >= 20; }

References value_.

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

◆ isValid()

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

Definition at line 5 of file FileFormatVersion.cc.

5 { return value_ >= 0; }

References value_.

Referenced by ntupleDataFormat._Object::_checkIsValid(), and core.AutoHandle.AutoHandle::ReallyLoad().

◆ lumiInEventID()

bool edm::FileFormatVersion::lumiInEventID ( ) const

Definition at line 29 of file FileFormatVersion.cc.

29 { return value_ >= 14; }

References value_.

◆ lumiNumbers()

bool edm::FileFormatVersion::lumiNumbers ( ) const

Definition at line 7 of file FileFormatVersion.cc.

7 { return value_ >= 2; }

References value_.

◆ mergeOnlySequentialRunsOrLumis()

bool edm::FileFormatVersion::mergeOnlySequentialRunsOrLumis ( ) const

Definition at line 37 of file FileFormatVersion.cc.

37 { return value_ >= 16; }

References value_.

◆ newAuxiliary()

bool edm::FileFormatVersion::newAuxiliary ( ) const

Definition at line 11 of file FileFormatVersion.cc.

11 { return value_ >= 3; }

References value_.

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

◆ noMetaDataTrees()

bool edm::FileFormatVersion::noMetaDataTrees ( ) const

Definition at line 39 of file FileFormatVersion.cc.

39 { return value_ >= 17; }

References value_.

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

◆ parameterSetsByReference()

bool edm::FileFormatVersion::parameterSetsByReference ( ) const

Definition at line 25 of file FileFormatVersion.cc.

25 { return value_ >= 12; }

References value_.

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

◆ parameterSetsTree()

bool edm::FileFormatVersion::parameterSetsTree ( ) const

Definition at line 31 of file FileFormatVersion.cc.

31 { return value_ >= 15; }

References value_.

◆ perEventProductIDs()

bool edm::FileFormatVersion::perEventProductIDs ( ) const

Definition at line 19 of file FileFormatVersion.cc.

19 { return value_ >= 8; }

References value_.

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

◆ processHistorySameWithinRun()

bool edm::FileFormatVersion::processHistorySameWithinRun ( ) const

Definition at line 33 of file FileFormatVersion.cc.

33 { return value_ >= 16; }

References value_.

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

◆ productIDIsInt()

bool edm::FileFormatVersion::productIDIsInt ( ) const

Definition at line 9 of file FileFormatVersion.cc.

9 { return value_ >= 2; }

References value_.

◆ runsAndLumis()

bool edm::FileFormatVersion::runsAndLumis ( ) const

Definition at line 13 of file FileFormatVersion.cc.

13 { return value_ >= 4; }

References value_.

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

◆ splitProductIDs()

bool edm::FileFormatVersion::splitProductIDs ( ) const

Definition at line 21 of file FileFormatVersion.cc.

21 { return value_ >= 11; }

References value_.

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

◆ storedProductProvenanceUsed()

bool edm::FileFormatVersion::storedProductProvenanceUsed ( ) const

Definition at line 41 of file FileFormatVersion.cc.

41 { return value_ >= 18; }

References value_.

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

◆ triggerPathsTracked()

bool edm::FileFormatVersion::triggerPathsTracked ( ) const

Definition at line 27 of file FileFormatVersion.cc.

27 { return value_ >= 13; }

References value_.

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

◆ useReducedProcessHistoryID()

bool edm::FileFormatVersion::useReducedProcessHistoryID ( ) const

Definition at line 43 of file FileFormatVersion.cc.

43 { return value_ >= 19; }

References value_.

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

◆ value()

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

Member Data Documentation

◆ value_

int edm::FileFormatVersion::value_
private
edm::FileFormatVersion::value_
int value_
Definition: FileFormatVersion.h:36