File indexing completed on 2024-04-06 12:05:01
0001 #ifndef DataFormats_Provenance_FileFormatVersion_h
0002 #define DataFormats_Provenance_FileFormatVersion_h
0003
0004 #include <iosfwd>
0005
0006 namespace edm {
0007 class FileFormatVersion {
0008 public:
0009 FileFormatVersion() : value_(-1) {}
0010 explicit FileFormatVersion(int vers) : value_(vers) {}
0011 ~FileFormatVersion() {}
0012 bool isValid() const;
0013 bool productIDIsInt() const;
0014 bool lumiNumbers() const;
0015 bool newAuxiliary() const;
0016 bool runsAndLumis() const;
0017 bool eventHistoryBranch() const;
0018 bool eventHistoryTree() const;
0019 bool perEventProductIDs() const;
0020 bool splitProductIDs() const;
0021 bool fastCopyPossible() const;
0022 bool parameterSetsByReference() const;
0023 bool triggerPathsTracked() const;
0024 bool lumiInEventID() const;
0025 bool parameterSetsTree() const;
0026 bool processHistorySameWithinRun() const;
0027 bool hasIndexIntoFile() const;
0028 bool mergeOnlySequentialRunsOrLumis() const;
0029 bool noMetaDataTrees() const;
0030 bool storedProductProvenanceUsed() const;
0031 bool useReducedProcessHistoryID() const;
0032 bool hasThinnedAssociations() const;
0033 int value() const { return value_; }
0034
0035 private:
0036 int value_;
0037 };
0038
0039 std::ostream& operator<<(std::ostream& os, FileFormatVersion const& ff);
0040
0041 }
0042 #endif