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
43
44
45
46
47
48
49
50
51
|
#include "DataFormats/Provenance/interface/FileFormatVersion.h"
#include <ostream>
namespace edm {
bool FileFormatVersion::isValid() const { return value_ >= 0; }
bool FileFormatVersion::lumiNumbers() const { return value_ >= 2; }
bool FileFormatVersion::productIDIsInt() const { return value_ >= 2; }
bool FileFormatVersion::newAuxiliary() const { return value_ >= 3; }
bool FileFormatVersion::runsAndLumis() const { return value_ >= 4; }
bool FileFormatVersion::eventHistoryBranch() const { return value_ >= 5 && value_ < 7; }
bool FileFormatVersion::eventHistoryTree() const { return value_ >= 7 && value_ < 17; }
bool FileFormatVersion::perEventProductIDs() const { return value_ >= 8; }
bool FileFormatVersion::splitProductIDs() const { return value_ >= 11; }
bool FileFormatVersion::fastCopyPossible() const { return value_ >= 11; }
bool FileFormatVersion::parameterSetsByReference() const { return value_ >= 12; }
bool FileFormatVersion::triggerPathsTracked() const { return value_ >= 13; }
bool FileFormatVersion::lumiInEventID() const { return value_ >= 14; }
bool FileFormatVersion::parameterSetsTree() const { return value_ >= 15; }
bool FileFormatVersion::processHistorySameWithinRun() const { return value_ >= 16; }
bool FileFormatVersion::hasIndexIntoFile() const { return value_ >= 16; }
bool FileFormatVersion::mergeOnlySequentialRunsOrLumis() const { return value_ >= 16; }
bool FileFormatVersion::noMetaDataTrees() const { return value_ >= 17; }
bool FileFormatVersion::storedProductProvenanceUsed() const { return value_ >= 18; }
bool FileFormatVersion::useReducedProcessHistoryID() const { return value_ >= 19; }
bool FileFormatVersion::hasThinnedAssociations() const { return value_ >= 20; }
std::ostream& operator<<(std::ostream& os, FileFormatVersion const& ff) {
os << ff.value();
return os;
}
} // namespace edm
|