CMS 3D CMS Logo

CMSSW_4_4_3_patch1/src/DQMServices/FwkIO/plugins/format.h

Go to the documentation of this file.
00001 #ifndef DQMServices_FwkIO_format_h
00002 #define DQMServices_FwkIO_format_h
00003 // -*- C++ -*-
00004 //
00005 // Package:     FwkIO
00006 // Class  :     format
00007 // 
00016 //
00017 // Original Author:  
00018 //         Created:  Tue May  3 15:33:16 CDT 2011
00019 // $Id: format.h,v 1.6 2011/05/16 17:26:42 chrjones Exp $
00020 //
00021 
00022 
00023 //These are the different types where each type has its own TTree
00024 enum TypeIndex {kIntIndex, kFloatIndex, kStringIndex,
00025                 kTH1FIndex, kTH1SIndex, kTH1DIndex,
00026                 kTH2FIndex,kTH2SIndex, kTH2DIndex, kTH3FIndex,
00027                 kTProfileIndex,kTProfile2DIndex,kNIndicies,kNoTypesStored=1000};
00028 
00029 static const char* const kTypeNames[]={"Ints","Floats","Strings",
00030                                        "TH1Fs","TH1Ss","TH1Ds",
00031                                        "TH2Fs", "TH2Ss", "TH2Ds",
00032                                        "TH3Fs", "TProfiles","TProfile2Ds"};
00033 
00034 //Branches for each TTree type
00035 static const char* const kFullNameBranch = "FullName";
00036 static const char* const kFlagBranch = "Flags";
00037 static const char* const kValueBranch = "Value";
00038 
00039 
00040 //Storage of Run and Lumi information
00041 static const char* const kIndicesTree = "Indices";
00042 static const char* const kRunBranch = "Run";
00043 static const char* const kLumiBranch = "Lumi";
00044 static const char* const kProcessHistoryIndexBranch = "ProcessHistoryIndex";
00045 static const char* const kBeginTimeBranch = "BeginTime";
00046 static const char* const kEndTimeBranch = "EndTime";
00047 static const char* const kTypeBranch = "Type";
00048 static const char* const kFirstIndex = "FirstIndex";
00049 static const char* const kLastIndex = "LastIndex";
00050 
00051 //Meta data info
00052 static const char* const kMetaDataDirectoryAbsolute = "/MetaData";
00053 static const char* const kMetaDataDirectory = kMetaDataDirectoryAbsolute+1;
00054 
00055 static const char* const kProcessHistoryTree = "ProcessHistories";
00056 static const char* const kPHIndexBranch = "Index";
00057 static const char* const kProcessConfigurationProcessNameBranch = "ProcessName";
00058 static const char* const kProcessConfigurationParameterSetIDBranch = "ParameterSetID";
00059 static const char* const kProcessConfigurationReleaseVersion = "ReleaseVersion";
00060 static const char* const kProcessConfigurationPassID = "PassID";
00061 
00062 static const char* const kParameterSetTree = "ParameterSets";
00063 static const char* const kParameterSetBranch = "ParameterSetBlob";
00064 #endif