CondCore
SiPixelPlugins
plugins
SiPixel2DTemplateDBObject_PayloadInspector.cc
Go to the documentation of this file.
1
9
#include "
FWCore/MessageLogger/interface/MessageLogger.h
"
10
11
#include "
CondCore/Utilities/interface/PayloadInspectorModule.h
"
12
#include "
CondCore/Utilities/interface/PayloadInspector.h
"
13
#include "
CondCore/CondDB/interface/Time.h
"
14
#include "
CondCore/SiPixelPlugins/interface/SiPixelPayloadInspectorHelper.h
"
15
#include "
CondCore/SiPixelPlugins/interface/SiPixelTemplateHelper.h
"
16
17
#include "
CalibTracker/StandaloneTrackerTopology/interface/StandaloneTrackerTopology.h
"
18
19
// the data format of the condition to be inspected
20
#include "
CondFormats/SiPixelObjects/interface/SiPixel2DTemplateDBObject.h
"
21
#include "
CondFormats/SiPixelTransient/interface/SiPixelTemplate2D.h
"
22
#include "
DataFormats/SiPixelDetId/interface/PixelSubdetector.h
"
23
#include "
DataFormats/DetId/interface/DetId.h
"
24
#include "
FWCore/MessageLogger/interface/MessageLogger.h
"
25
26
#include <memory>
27
#include <map>
28
#include <sstream>
29
#include <iostream>
30
#include <algorithm>
31
#include <boost/range/adaptor/indexed.hpp>
32
33
// include ROOT
34
#include "TH2.h"
35
#include "TProfile2D.h"
36
#include "TH2Poly.h"
37
#include "TGraph.h"
38
#include "TH2F.h"
39
#include "TLegend.h"
40
#include "TCanvas.h"
41
#include "TLine.h"
42
#include "TGraph.h"
43
#include "TStyle.h"
44
#include "TLatex.h"
45
#include "TPave.h"
46
#include "TPaveStats.h"
47
#include "TGaxis.h"
48
49
namespace
{
50
51
//***********************************************
52
// Display of Template Titles
53
// **********************************************/
54
using namespace
templateHelper
;
55
using
SiPixel2DTemplateTitles_Display =
56
SiPixelTitles_Display<SiPixel2DTemplateDBObject, SiPixelTemplateStore2D, SiPixelTemplate2D>
;
57
58
//***********************************************
59
// Display of 2DTemplate Header
60
// **********************************************/
61
using
SiPixel2DTemplateHeaderTable =
62
SiPixelHeaderTable<SiPixel2DTemplateDBObject, SiPixelTemplateStore2D, SiPixelTemplate2D>
;
63
64
//***********************************************
65
// TH2Poly Map of IDs
66
//***********************************************/
67
using
SiPixel2DTemplateIDsBPixMap =
SiPixelIDs<SiPixel2DTemplateDBObject, SiPixelPI::t_barrel>
;
68
using
SiPixel2DTemplateIDsFPixMap =
SiPixelIDs<SiPixel2DTemplateDBObject, SiPixelPI::t_forward>
;
69
70
//************************************************
71
// Full Pixel Tracker Map of Template IDs
72
// ***********************************************/
73
using
SiPixel2DTemplateIDsFullPixelMap =
74
SiPixelFullPixelIDMap<SiPixel2DTemplateDBObject, SiPixelTemplateStore2D, SiPixelTemplate2D>
;
75
76
}
// namespace
77
78
// Register the classes as boost python plugin
79
PAYLOAD_INSPECTOR_MODULE
(
SiPixel2DTemplateDBObject
) {
80
PAYLOAD_INSPECTOR_CLASS
(SiPixel2DTemplateTitles_Display);
81
PAYLOAD_INSPECTOR_CLASS
(SiPixel2DTemplateHeaderTable);
82
PAYLOAD_INSPECTOR_CLASS
(SiPixel2DTemplateIDsBPixMap);
83
PAYLOAD_INSPECTOR_CLASS
(SiPixel2DTemplateIDsFPixMap);
84
PAYLOAD_INSPECTOR_CLASS
(SiPixel2DTemplateIDsFullPixelMap);
85
}
templateHelper::SiPixelIDs
Definition:
SiPixelTemplateHelper.h:310
PixelSubdetector.h
SiPixel2DTemplateDBObject
Definition:
SiPixel2DTemplateDBObject.h:16
SiPixel2DTemplateDBObject.h
MessageLogger.h
templateHelper::SiPixelHeaderTable
Definition:
SiPixelTemplateHelper.h:152
PayloadInspector.h
PAYLOAD_INSPECTOR_CLASS
#define PAYLOAD_INSPECTOR_CLASS(CLASS_NAME)
Definition:
PayloadInspectorModule.h:10
PayloadInspectorModule.h
templateHelper::SiPixelTitles_Display
Definition:
SiPixelTemplateHelper.h:39
StandaloneTrackerTopology.h
PAYLOAD_INSPECTOR_MODULE
#define PAYLOAD_INSPECTOR_MODULE(PAYLOAD_TYPENAME)
Definition:
PayloadInspectorModule.h:8
SiPixelTemplate2D.h
Time.h
templateHelper
Definition:
SiPixelTemplateHelper.h:33
SiPixelTemplateHelper.h
DetId.h
SiPixelPayloadInspectorHelper.h
templateHelper::SiPixelFullPixelIDMap
Definition:
SiPixelTemplateHelper.h:414
Generated for CMSSW Reference Manual by
1.8.16