1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
#ifndef DataFormats_Provenance_FileFormatVersion_h
#define DataFormats_Provenance_FileFormatVersion_h
#include <iosfwd>
namespace edm {
class FileFormatVersion {
public:
FileFormatVersion() : value_(-1) {}
explicit FileFormatVersion(int vers) : value_(vers) {}
~FileFormatVersion() {}
bool isValid() const;
bool productIDIsInt() const;
bool lumiNumbers() const;
bool newAuxiliary() const;
bool runsAndLumis() const;
bool eventHistoryBranch() const;
bool eventHistoryTree() const;
bool perEventProductIDs() const;
bool splitProductIDs() const;
bool fastCopyPossible() const;
bool parameterSetsByReference() const;
bool triggerPathsTracked() const;
bool lumiInEventID() const;
bool parameterSetsTree() const;
bool processHistorySameWithinRun() const;
bool hasIndexIntoFile() const;
bool mergeOnlySequentialRunsOrLumis() const;
bool noMetaDataTrees() const;
bool storedProductProvenanceUsed() const;
bool useReducedProcessHistoryID() const;
bool hasThinnedAssociations() const;
int value() const { return value_; }
private:
int value_;
};
std::ostream& operator<<(std::ostream& os, FileFormatVersion const& ff);
} // namespace edm
#endif
|