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 8 of file FileFormatVersion.h.

Constructor & Destructor Documentation

edm::FileFormatVersion::FileFormatVersion ( )
inline

Definition at line 10 of file FileFormatVersion.h.

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

Definition at line 11 of file FileFormatVersion.h.

11 : value_(vers) { }
edm::FileFormatVersion::~FileFormatVersion ( )
inline

Member Function Documentation

bool edm::FileFormatVersion::eventHistoryBranch ( ) const

Definition at line 31 of file FileFormatVersion.cc.

References value_.

Referenced by ~FileFormatVersion().

31  {
32  return value_ >= 5 && value_ < 7;
33  }
bool edm::FileFormatVersion::eventHistoryTree ( ) const

Definition at line 36 of file FileFormatVersion.cc.

References value_.

Referenced by edm::RootFile::fillEventHistory(), and ~FileFormatVersion().

36  {
37  return value_ >= 7 && value_ < 17;
38  }
bool edm::FileFormatVersion::fastCopyPossible ( ) const

Definition at line 51 of file FileFormatVersion.cc.

References value_.

Referenced by ~FileFormatVersion().

51  {
52  return value_ >= 11;
53  }
bool edm::FileFormatVersion::hasIndexIntoFile ( ) const

Definition at line 81 of file FileFormatVersion.cc.

References value_.

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

81  {
82  return value_ >= 16;
83  }
bool edm::FileFormatVersion::hasThinnedAssociations ( ) const

Definition at line 106 of file FileFormatVersion.cc.

References value_.

Referenced by edm::RootFile::RootFile(), and ~FileFormatVersion().

106  {
107  return value_ >= 20;
108  }
bool edm::FileFormatVersion::isValid ( void  ) const
bool edm::FileFormatVersion::lumiInEventID ( ) const

Definition at line 66 of file FileFormatVersion.cc.

References value_.

Referenced by ~FileFormatVersion().

66  {
67  return value_ >= 14;
68  }
bool edm::FileFormatVersion::lumiNumbers ( ) const

Definition at line 11 of file FileFormatVersion.cc.

References value_.

Referenced by ~FileFormatVersion().

11  {
12  return value_ >= 2;
13  }
bool edm::FileFormatVersion::mergeOnlySequentialRunsOrLumis ( ) const

Definition at line 86 of file FileFormatVersion.cc.

References value_.

Referenced by ~FileFormatVersion().

86  {
87  return value_ >= 16;
88  }
bool edm::FileFormatVersion::newAuxiliary ( ) const
bool edm::FileFormatVersion::noMetaDataTrees ( ) const

Definition at line 91 of file FileFormatVersion.cc.

References value_.

Referenced by edm::RootFile::fillEventHistory(), and ~FileFormatVersion().

91  {
92  return value_ >= 17;
93  }
bool edm::FileFormatVersion::parameterSetsByReference ( ) const

Definition at line 56 of file FileFormatVersion.cc.

References value_.

Referenced by fwlite::Event::fillParameterSetRegistry(), and ~FileFormatVersion().

56  {
57  return value_ >= 12;
58  }
bool edm::FileFormatVersion::parameterSetsTree ( ) const

Definition at line 71 of file FileFormatVersion.cc.

References value_.

Referenced by ~FileFormatVersion().

71  {
72  return value_ >= 15;
73  }
bool edm::FileFormatVersion::perEventProductIDs ( ) const

Definition at line 41 of file FileFormatVersion.cc.

References value_.

Referenced by edm::RootFile::makeProvenanceReaderMaker(), and ~FileFormatVersion().

41  {
42  return value_ >= 8;
43  }
bool edm::FileFormatVersion::processHistorySameWithinRun ( ) const

Definition at line 76 of file FileFormatVersion.cc.

References value_.

Referenced by edm::RootFile::readRunAuxiliary_(), and ~FileFormatVersion().

76  {
77  return value_ >= 16;
78  }
bool edm::FileFormatVersion::productIDIsInt ( ) const

Definition at line 16 of file FileFormatVersion.cc.

References value_.

Referenced by ~FileFormatVersion().

16  {
17  return value_ >= 2;
18  }
bool edm::FileFormatVersion::runsAndLumis ( ) const

Definition at line 26 of file FileFormatVersion.cc.

References value_.

Referenced by edm::RootFile::fillLumiAuxiliary(), and ~FileFormatVersion().

26  {
27  return value_ >= 4;
28  }
bool edm::FileFormatVersion::splitProductIDs ( ) const

Definition at line 46 of file FileFormatVersion.cc.

References value_.

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

46  {
47  return value_ >= 11;
48  }
bool edm::FileFormatVersion::storedProductProvenanceUsed ( ) const

Definition at line 96 of file FileFormatVersion.cc.

References value_.

Referenced by edm::RootFile::makeProvenanceReaderMaker(), and ~FileFormatVersion().

96  {
97  return value_ >= 18;
98  }
bool edm::FileFormatVersion::triggerPathsTracked ( ) const

Definition at line 61 of file FileFormatVersion.cc.

References value_.

Referenced by fwlite::Event::fillParameterSetRegistry(), and ~FileFormatVersion().

61  {
62  return value_ >= 13;
63  }
bool edm::FileFormatVersion::useReducedProcessHistoryID ( ) const

Definition at line 101 of file FileFormatVersion.cc.

References value_.

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

101  {
102  return value_ >= 19;
103  }
int edm::FileFormatVersion::value ( ) const
inline

Member Data Documentation

int edm::FileFormatVersion::value_
private