CMS 3D CMS Logo

FileFormatVersion.h
Go to the documentation of this file.
1 #ifndef DataFormats_Provenance_FileFormatVersion_h
2 #define DataFormats_Provenance_FileFormatVersion_h
3 
4 #include <iosfwd>
5 
6 namespace edm {
8  public:
10  explicit FileFormatVersion(int vers) : value_(vers) {}
12  bool isValid() const;
13  bool productIDIsInt() const;
14  bool lumiNumbers() const;
15  bool newAuxiliary() const;
16  bool runsAndLumis() const;
17  bool eventHistoryBranch() const;
18  bool eventHistoryTree() const;
19  bool perEventProductIDs() const;
20  bool splitProductIDs() const;
21  bool fastCopyPossible() const;
22  bool parameterSetsByReference() const;
23  bool triggerPathsTracked() const;
24  bool lumiInEventID() const;
25  bool parameterSetsTree() const;
26  bool processHistorySameWithinRun() const;
27  bool hasIndexIntoFile() const;
28  bool mergeOnlySequentialRunsOrLumis() const;
29  bool noMetaDataTrees() const;
30  bool storedProductProvenanceUsed() const;
31  bool useReducedProcessHistoryID() const;
32  bool hasThinnedAssociations() const;
33  int value() const { return value_; }
34 
35  private:
36  int value_;
37  };
38 
39  std::ostream& operator<<(std::ostream& os, FileFormatVersion const& ff);
40 
41 } // namespace edm
42 #endif
edm::FileFormatVersion::hasThinnedAssociations
bool hasThinnedAssociations() const
Definition: FileFormatVersion.cc:45
edm::FileFormatVersion::useReducedProcessHistoryID
bool useReducedProcessHistoryID() const
Definition: FileFormatVersion.cc:43
edm::FileFormatVersion::splitProductIDs
bool splitProductIDs() const
Definition: FileFormatVersion.cc:21
edm::FileFormatVersion::lumiNumbers
bool lumiNumbers() const
Definition: FileFormatVersion.cc:7
edm
HLT enums.
Definition: AlignableModifier.h:19
edm::FileFormatVersion::parameterSetsTree
bool parameterSetsTree() const
Definition: FileFormatVersion.cc:31
edm::FileFormatVersion::perEventProductIDs
bool perEventProductIDs() const
Definition: FileFormatVersion.cc:19
edm::FileFormatVersion::triggerPathsTracked
bool triggerPathsTracked() const
Definition: FileFormatVersion.cc:27
edm::FileFormatVersion::FileFormatVersion
FileFormatVersion()
Definition: FileFormatVersion.h:9
edm::FileFormatVersion::eventHistoryBranch
bool eventHistoryBranch() const
Definition: FileFormatVersion.cc:15
edm::operator<<
std::ostream & operator<<(std::ostream &ost, const HLTGlobalStatus &hlt)
Formatted printout of trigger tbale.
Definition: HLTGlobalStatus.h:106
edm::FileFormatVersion::noMetaDataTrees
bool noMetaDataTrees() const
Definition: FileFormatVersion.cc:39
edm::FileFormatVersion::runsAndLumis
bool runsAndLumis() const
Definition: FileFormatVersion.cc:13
edm::FileFormatVersion::eventHistoryTree
bool eventHistoryTree() const
Definition: FileFormatVersion.cc:17
edm::FileFormatVersion::fastCopyPossible
bool fastCopyPossible() const
Definition: FileFormatVersion.cc:23
alignCSCRings.ff
ff
Definition: alignCSCRings.py:148
edm::FileFormatVersion::lumiInEventID
bool lumiInEventID() const
Definition: FileFormatVersion.cc:29
edm::FileFormatVersion::newAuxiliary
bool newAuxiliary() const
Definition: FileFormatVersion.cc:11
edm::FileFormatVersion::parameterSetsByReference
bool parameterSetsByReference() const
Definition: FileFormatVersion.cc:25
edm::FileFormatVersion::mergeOnlySequentialRunsOrLumis
bool mergeOnlySequentialRunsOrLumis() const
Definition: FileFormatVersion.cc:37
edm::FileFormatVersion
Definition: FileFormatVersion.h:7
edm::FileFormatVersion::FileFormatVersion
FileFormatVersion(int vers)
Definition: FileFormatVersion.h:10
edm::FileFormatVersion::value_
int value_
Definition: FileFormatVersion.h:36
edm::FileFormatVersion::~FileFormatVersion
~FileFormatVersion()
Definition: FileFormatVersion.h:11
edm::FileFormatVersion::value
int value() const
Definition: FileFormatVersion.h:33
edm::FileFormatVersion::processHistorySameWithinRun
bool processHistorySameWithinRun() const
Definition: FileFormatVersion.cc:33
edm::FileFormatVersion::hasIndexIntoFile
bool hasIndexIntoFile() const
Definition: FileFormatVersion.cc:35
edm::FileFormatVersion::storedProductProvenanceUsed
bool storedProductProvenanceUsed() const
Definition: FileFormatVersion.cc:41
edm::FileFormatVersion::isValid
bool isValid() const
Definition: FileFormatVersion.cc:5
edm::FileFormatVersion::productIDIsInt
bool productIDIsInt() const
Definition: FileFormatVersion.cc:9