Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2023-03-17 10:59:05

0001 #ifndef DQMServices_FwkIO_format_h
0002 #define DQMServices_FwkIO_format_h
0003 // -*- C++ -*-
0004 //
0005 // Package:     FwkIO
0006 // Class  :     format
0007 //
0008 /**\class format format.h DQMServices/FwkIO/interface/format.h
0009 
0010  Description: [one line class summary]
0011 
0012  Usage:
0013     <usage>
0014 
0015 */
0016 //
0017 // Original Author:
0018 //         Created:  Tue May  3 15:33:16 CDT 2011
0019 //
0020 
0021 //These are the different types where each type has its own TTree
0022 enum TypeIndex {
0023   kIntIndex,
0024   kFloatIndex,
0025   kStringIndex,
0026   kTH1FIndex,
0027   kTH1SIndex,
0028   kTH1DIndex,
0029   kTH2FIndex,
0030   kTH2SIndex,
0031   kTH2DIndex,
0032   kTH3FIndex,
0033   kTProfileIndex,
0034   kTProfile2DIndex,
0035   kTH1IIndex,
0036   kTH2IIndex,
0037   kNIndicies,
0038   kNoTypesStored = 1000
0039 };
0040 
0041 static const char* const kTypeNames[] = {"Ints",
0042                                          "Floats",
0043                                          "Strings",
0044                                          "TH1Fs",
0045                                          "TH1Ss",
0046                                          "TH1Ds",
0047                                          "TH2Fs",
0048                                          "TH2Ss",
0049                                          "TH2Ds",
0050                                          "TH3Fs",
0051                                          "TProfiles",
0052                                          "TProfile2Ds",
0053                                          "TH1Is",
0054                                          "TH2Is"};
0055 
0056 //Branches for each TTree type
0057 static const char* const kFullNameBranch = "FullName";
0058 static const char* const kFlagBranch = "Flags";
0059 static const char* const kValueBranch = "Value";
0060 
0061 //Storage of Run and Lumi information
0062 static const char* const kIndicesTree = "Indices";
0063 static const char* const kRunBranch = "Run";
0064 static const char* const kLumiBranch = "Lumi";
0065 static const char* const kProcessHistoryIndexBranch = "ProcessHistoryIndex";
0066 static const char* const kBeginTimeBranch = "BeginTime";
0067 static const char* const kEndTimeBranch = "EndTime";
0068 static const char* const kTypeBranch = "Type";
0069 static const char* const kFirstIndex = "FirstIndex";
0070 static const char* const kLastIndex = "LastIndex";
0071 
0072 //File GUID
0073 static const char* const kCmsGuid = "cms::edm::GUID";
0074 
0075 //Meta data info
0076 static const char* const kMetaDataDirectoryAbsolute = "/MetaData";
0077 static const char* const kMetaDataDirectory = kMetaDataDirectoryAbsolute + 1;
0078 
0079 static const char* const kProcessHistoryTree = "ProcessHistories";
0080 static const char* const kPHIndexBranch = "Index";
0081 static const char* const kProcessConfigurationProcessNameBranch = "ProcessName";
0082 static const char* const kProcessConfigurationParameterSetIDBranch = "ParameterSetID";
0083 static const char* const kProcessConfigurationReleaseVersion = "ReleaseVersion";
0084 static const char* const kProcessConfigurationPassID = "PassID";
0085 
0086 static const char* const kParameterSetTree = "ParameterSets";
0087 static const char* const kParameterSetBranch = "ParameterSetBlob";
0088 #endif