CMS 3D CMS Logo

SiPixelRecHitModule.h
Go to the documentation of this file.
1 #ifndef SiPixelMonitorRecHits_SiPixelRecHitModule_h
2 #define SiPixelMonitorRecHits_SiPixelRecHitModule_h
3 // -*- C++ -*-
4 //
5 // Package: SiPixelMonitorRecHits
6 // Class: SiPixelRecHitModule
7 //
18 //
19 // Original Author: Vincenzo Chiochia
20 // Created:
21 //
22 // Adapted by: Keith Rose
23 // for use in SiPixelMonitorRecHit package
24 // Updated by: Lukas Wehrli
25 // for pixel offline DQM
26 
33 #include <boost/cstdint.hpp>
34 
36 public:
40  SiPixelRecHitModule(const uint32_t &id);
43 
44  // typedef edm::DetSet<PixelRecHit>::const_iterator RecHitsIterator;
45 
47  void book(const edm::ParameterSet &iConfig,
48  DQMStore::IBooker &iBooker,
49  const edm::EventSetup &iSetup,
50  int type = 0,
51  bool twoD = true,
52  bool reducedSet = false,
53  bool isUpgrade = false);
55  void fill(const float &rechit_x,
56  const float &rechit_y,
57  const int &sizeX,
58  const int &sizeY,
59  const float &lerr_x,
60  const float &lerr_y,
61  bool modon = true,
62  bool ladon = false,
63  bool layon = false,
64  bool phion = false,
65  bool bladeon = false,
66  bool diskon = false,
67  bool ringon = false,
68  bool twoD = true,
69  bool reducedSet = false);
70  void nfill(const int &nrec,
71  bool modon = true,
72  bool ladon = false,
73  bool layon = false,
74  bool phion = false,
75  bool bladeon = false,
76  bool diskon = false,
77  bool ringon = false);
78 
79 private:
80  uint32_t id_;
89  // barrel
98 
107 
116 
117  // forward
123 
129 
138 };
139 #endif
MonitorElement * menRecHitsLay_
type
Definition: HCALResponse.h:21
MonitorElement * meXYPosPhi_px_
MonitorElement * meClustYRing_
MonitorElement * meClustXLay_
MonitorElement * meXYPosPhi_
void nfill(const int &nrec, bool modon=true, bool ladon=false, bool layon=false, bool phion=false, bool bladeon=false, bool diskon=false, bool ringon=false)
MonitorElement * meXYPosPhi_py_
MonitorElement * meErrorXDisk_
MonitorElement * meClustYPhi_
SiPixelRecHitModule()
Default constructor.
MonitorElement * meXYPosLay_py_
MonitorElement * meClustXDisk_
MonitorElement * meClustYDisk_
MonitorElement * meErrorY_
MonitorElement * meErrorYRing_
~SiPixelRecHitModule()
Destructor.
MonitorElement * meClustXLad_
MonitorElement * meErrorYPhi_
MonitorElement * meXYPosRing_px_
MonitorElement * meXYPosLay_
MonitorElement * meErrorXLad_
MonitorElement * meClustX_
MonitorElement * meClustXBlade_
MonitorElement * meClustXPhi_
MonitorElement * meXYPosLad_px_
MonitorElement * meErrorXBlade_
MonitorElement * meXYPosRing_
MonitorElement * meErrorYLad_
MonitorElement * menRecHitsRing_
MonitorElement * meXYPosLay_px_
MonitorElement * meClustXRing_
MonitorElement * meXYPos_py_
MonitorElement * meErrorYLay_
MonitorElement * meXYPos_
MonitorElement * menRecHits_
void book(const edm::ParameterSet &iConfig, DQMStore::IBooker &iBooker, const edm::EventSetup &iSetup, int type=0, bool twoD=true, bool reducedSet=false, bool isUpgrade=false)
Book histograms.
MonitorElement * meXYPosLad_
MonitorElement * meErrorYDisk_
MonitorElement * menRecHitsDisk_
MonitorElement * meErrorX_
MonitorElement * menRecHitsPhi_
MonitorElement * menRecHitsLad_
MonitorElement * meClustYLad_
MonitorElement * meClustY_
MonitorElement * meXYPosRing_py_
MonitorElement * meXYPosLad_py_
MonitorElement * meErrorXLay_
MonitorElement * menRecHitsBlade_
MonitorElement * meClustYBlade_
void fill(const float &rechit_x, const float &rechit_y, const int &sizeX, const int &sizeY, const float &lerr_x, const float &lerr_y, bool modon=true, bool ladon=false, bool layon=false, bool phion=false, bool bladeon=false, bool diskon=false, bool ringon=false, bool twoD=true, bool reducedSet=false)
Fill histograms.
MonitorElement * meClustYLay_
MonitorElement * meXYPos_px_
MonitorElement * meErrorXRing_
MonitorElement * meErrorYBlade_
MonitorElement * meErrorXPhi_