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 {
39 };
40 
41 static const char* const kTypeNames[] = {"Ints",
42  "Floats",
43  "Strings",
44  "TH1Fs",
45  "TH1Ss",
46  "TH1Ds",
47  "TH2Fs",
48  "TH2Ss",
49  "TH2Ds",
50  "TH3Fs",
51  "TProfiles",
52  "TProfile2Ds",
53  "TH1Is",
54  "TH2Is"};
55 
56 //Branches for each TTree type
57 static const char* const kFullNameBranch = "FullName";
58 static const char* const kFlagBranch = "Flags";
59 static const char* const kValueBranch = "Value";
60 
61 //Storage of Run and Lumi information
62 static const char* const kIndicesTree = "Indices";
63 static const char* const kRunBranch = "Run";
64 static const char* const kLumiBranch = "Lumi";
65 static const char* const kProcessHistoryIndexBranch = "ProcessHistoryIndex";
66 static const char* const kBeginTimeBranch = "BeginTime";
67 static const char* const kEndTimeBranch = "EndTime";
68 static const char* const kTypeBranch = "Type";
69 static const char* const kFirstIndex = "FirstIndex";
70 static const char* const kLastIndex = "LastIndex";
71 
72 //File GUID
73 static const char* const kCmsGuid = "cms::edm::GUID";
74 
75 //Meta data info
76 static const char* const kMetaDataDirectoryAbsolute = "/MetaData";
77 static const char* const kMetaDataDirectory = kMetaDataDirectoryAbsolute + 1;
78 
79 static const char* const kProcessHistoryTree = "ProcessHistories";
80 static const char* const kPHIndexBranch = "Index";
81 static const char* const kProcessConfigurationProcessNameBranch = "ProcessName";
82 static const char* const kProcessConfigurationParameterSetIDBranch = "ParameterSetID";
83 static const char* const kProcessConfigurationReleaseVersion = "ReleaseVersion";
84 static const char* const kProcessConfigurationPassID = "PassID";
85 
86 static const char* const kParameterSetTree = "ParameterSets";
87 static const char* const kParameterSetBranch = "ParameterSetBlob";
88 #endif
static const char *const kProcessHistoryTree
Definition: format.h:79
static const char *const kRunBranch
Definition: format.h:63
static const char *const kTypeNames[]
Definition: format.h:41
static const char *const kIndicesTree
Definition: format.h:62
static const char *const kFirstIndex
Definition: format.h:69
static const char *const kLumiBranch
Definition: format.h:64
static const char *const kFullNameBranch
Definition: format.h:57
TypeIndex
Definition: format.h:22
static const char *const kPHIndexBranch
Definition: format.h:80
static const char *const kParameterSetBranch
Definition: format.h:87
static const char *const kMetaDataDirectory
Definition: format.h:77
static const char *const kParameterSetTree
Definition: format.h:86
static const char *const kFlagBranch
Definition: format.h:58
static const char *const kTypeBranch
Definition: format.h:68
static const char *const kProcessHistoryIndexBranch
Definition: format.h:65
static const char *const kEndTimeBranch
Definition: format.h:67
static const char *const kProcessConfigurationPassID
Definition: format.h:84
static const char *const kMetaDataDirectoryAbsolute
Definition: format.h:76
static const char *const kCmsGuid
Definition: format.h:73
static const char *const kLastIndex
Definition: format.h:70
static const char *const kProcessConfigurationReleaseVersion
Definition: format.h:83
static const char *const kProcessConfigurationProcessNameBranch
Definition: format.h:81
static const char *const kBeginTimeBranch
Definition: format.h:66
static const char *const kValueBranch
Definition: format.h:59
static const char *const kProcessConfigurationParameterSetIDBranch
Definition: format.h:82