CMS 3D CMS Logo

SiPixel2DTemplateDBObject_PayloadInspector.cc
Go to the documentation of this file.
1 
10 
16 
18 
19 // the data format of the condition to be inspected
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 =
57 
58  //***********************************************
59  // Display of 2DTemplate Header
60  // **********************************************/
61  using SiPixel2DTemplateHeaderTable =
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 =
75 
76 } // namespace
77 
78 // Register the classes as boost python plugin
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 }
#define PAYLOAD_INSPECTOR_CLASS(CLASS_NAME)
#define PAYLOAD_INSPECTOR_MODULE(PAYLOAD_TYPENAME)