CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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.

10 : value_(-1) { }
edm::FileFormatVersion::FileFormatVersion ( int  vers)
inlineexplicit

Definition at line 11 of file FileFormatVersion.h.

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

Definition at line 12 of file FileFormatVersion.h.

12 {}

Member Function Documentation

bool edm::FileFormatVersion::eventHistoryBranch ( ) const

Definition at line 31 of file FileFormatVersion.cc.

References value_.

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().

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

Definition at line 51 of file FileFormatVersion.cc.

References value_.

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(), and edm::printEventsInLumis().

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().

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

Definition at line 6 of file FileFormatVersion.cc.

References value_.

Referenced by core.AutoHandle.AutoHandle::ReallyLoad().

6  {
7  return value_ >= 0;
8  }
bool edm::FileFormatVersion::lumiInEventID ( ) const

Definition at line 66 of file FileFormatVersion.cc.

References value_.

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

Definition at line 11 of file FileFormatVersion.cc.

References value_.

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

Definition at line 86 of file FileFormatVersion.cc.

References value_.

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().

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().

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

Definition at line 71 of file FileFormatVersion.cc.

References value_.

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().

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_().

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

Definition at line 16 of file FileFormatVersion.cc.

References value_.

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().

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(), and edm::RootFile::makeProvenanceReaderMaker().

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().

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().

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(), and edm::RootFile::validateFile().

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

Member Data Documentation

int edm::FileFormatVersion::value_
private