CMS 3D CMS Logo

format.h
Go to the documentation of this file.
1 #ifndef DQMServices_FwkIO_format_h
2 #define DQMServices_FwkIO_format_h
3 // -*- C++ -*-
4 //
5 // Package: FwkIO
6 // Class : format
7 //
16 //
17 // Original Author:
18 // Created: Tue May 3 15:33:16 CDT 2011
19 //
20 
21 //These are the different types where each type has its own TTree
22 enum TypeIndex {
37 };
38 
39 static const char* const kTypeNames[] = {"Ints",
40  "Floats",
41  "Strings",
42  "TH1Fs",
43  "TH1Ss",
44  "TH1Ds",
45  "TH2Fs",
46  "TH2Ss",
47  "TH2Ds",
48  "TH3Fs",
49  "TProfiles",
50  "TProfile2Ds"};
51 
52 //Branches for each TTree type
53 static const char* const kFullNameBranch = "FullName";
54 static const char* const kFlagBranch = "Flags";
55 static const char* const kValueBranch = "Value";
56 
57 //Storage of Run and Lumi information
58 static const char* const kIndicesTree = "Indices";
59 static const char* const kRunBranch = "Run";
60 static const char* const kLumiBranch = "Lumi";
61 static const char* const kProcessHistoryIndexBranch = "ProcessHistoryIndex";
62 static const char* const kBeginTimeBranch = "BeginTime";
63 static const char* const kEndTimeBranch = "EndTime";
64 static const char* const kTypeBranch = "Type";
65 static const char* const kFirstIndex = "FirstIndex";
66 static const char* const kLastIndex = "LastIndex";
67 
68 //Meta data info
69 static const char* const kMetaDataDirectoryAbsolute = "/MetaData";
70 static const char* const kMetaDataDirectory = kMetaDataDirectoryAbsolute + 1;
71 
72 static const char* const kProcessHistoryTree = "ProcessHistories";
73 static const char* const kPHIndexBranch = "Index";
74 static const char* const kProcessConfigurationProcessNameBranch = "ProcessName";
75 static const char* const kProcessConfigurationParameterSetIDBranch = "ParameterSetID";
76 static const char* const kProcessConfigurationReleaseVersion = "ReleaseVersion";
77 static const char* const kProcessConfigurationPassID = "PassID";
78 
79 static const char* const kParameterSetTree = "ParameterSets";
80 static const char* const kParameterSetBranch = "ParameterSetBlob";
81 #endif
kValueBranch
static const char *const kValueBranch
Definition: format.h:55
kLastIndex
static const char *const kLastIndex
Definition: format.h:66
kTProfileIndex
Definition: format.h:33
kParameterSetBranch
static const char *const kParameterSetBranch
Definition: format.h:80
kFullNameBranch
static const char *const kFullNameBranch
Definition: format.h:53
kLumiBranch
static const char *const kLumiBranch
Definition: format.h:60
kProcessHistoryTree
static const char *const kProcessHistoryTree
Definition: format.h:72
kProcessConfigurationParameterSetIDBranch
static const char *const kProcessConfigurationParameterSetIDBranch
Definition: format.h:75
kTypeNames
static const char *const kTypeNames[]
Definition: format.h:39
kNoTypesStored
Definition: format.h:36
kTH3FIndex
Definition: format.h:32
kProcessConfigurationProcessNameBranch
static const char *const kProcessConfigurationProcessNameBranch
Definition: format.h:74
kParameterSetTree
static const char *const kParameterSetTree
Definition: format.h:79
kTypeBranch
static const char *const kTypeBranch
Definition: format.h:64
kFlagBranch
static const char *const kFlagBranch
Definition: format.h:54
kIntIndex
Definition: format.h:23
kTH1FIndex
Definition: format.h:26
kMetaDataDirectory
static const char *const kMetaDataDirectory
Definition: format.h:70
kProcessConfigurationReleaseVersion
static const char *const kProcessConfigurationReleaseVersion
Definition: format.h:76
kStringIndex
Definition: format.h:25
kPHIndexBranch
static const char *const kPHIndexBranch
Definition: format.h:73
kTH1SIndex
Definition: format.h:27
kTH2SIndex
Definition: format.h:30
kTH2FIndex
Definition: format.h:29
kProcessConfigurationPassID
static const char *const kProcessConfigurationPassID
Definition: format.h:77
kEndTimeBranch
static const char *const kEndTimeBranch
Definition: format.h:63
kMetaDataDirectoryAbsolute
static const char *const kMetaDataDirectoryAbsolute
Definition: format.h:69
TypeIndex
TypeIndex
Definition: format.h:22
kTH2DIndex
Definition: format.h:31
kNIndicies
Definition: format.h:35
kBeginTimeBranch
static const char *const kBeginTimeBranch
Definition: format.h:62
kFirstIndex
static const char *const kFirstIndex
Definition: format.h:65
kTH1DIndex
Definition: format.h:28
kFloatIndex
Definition: format.h:24
kProcessHistoryIndexBranch
static const char *const kProcessHistoryIndexBranch
Definition: format.h:61
kIndicesTree
static const char *const kIndicesTree
Definition: format.h:58
kTProfile2DIndex
Definition: format.h:34
kRunBranch
static const char *const kRunBranch
Definition: format.h:59