CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
SiPixelTrackResidualSource.h
Go to the documentation of this file.
1 #ifndef SiPixelTrackResidualSource_H
2 #define SiPixelTrackResidualSource_H
3 
4 // Package: SiPixelMonitorTrack
5 // Class: SiPixelTrackResidualSource
6 //
7 // class SiPixelTrackResidualSource SiPixelTrackResidualSource.h
8 // DQM/SiPixelMonitorTrack/interface/SiPixelTrackResidualSource.h
9 //
10 // Description: <one line class summary>
11 // Implementation: <Notes on implementation>
12 //
13 // Original Author: Shan-Huei Chuang
14 // Created: Fri Mar 23 18:41:42 CET 2007
15 //
16 // Updated by: Lukas Wehrli
17 // for pixel offline DQM
18 
19 #include <boost/cstdint.hpp>
20 
31 
32 //Files added for monitoring track quantities
36 //#include "DataFormats/SiPixelDetId/interface/PixelBarrelNameWrapper.h"
42 
44 
46 
47 
49  public:
52 
53  virtual void dqmBeginRun(const edm::Run& r, edm::EventSetup const& iSetup);
54  virtual void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override;
55  virtual void analyze(const edm::Event&, const edm::EventSetup&);
56  void triplets(double x1,double y1,double z1,double x2,double y2,double z2,double x3,double y3,double z3,
57  double ptsig, double & dc,double & dz, double kap);
58 
60 
61  private:
74 
75 
76  bool debug_;
77  bool modOn;
78  bool reducedSet;
79  //barrel:
80  bool ladOn, layOn, phiOn;
81  //forward:
83  bool isUpgrade;
84  double ptminres_;
85  bool firstRun;
86  int NTotal;
87  int NLowProb;
88 
89  std::map<uint32_t, SiPixelTrackResidualModule*> theSiPixelStructure;
90 
93 
94  std::vector<MonitorElement*> meResidualXSummedLay;
95  std::vector<MonitorElement*> meResidualYSummedLay;
96 
104  std::vector<MonitorElement*> meClChargeOnTrack_layers;
105  std::vector<MonitorElement*> meClChargeOnTrack_diskps;
106  std::vector<MonitorElement*> meClChargeOnTrack_diskms;
110  std::vector<MonitorElement*> meClChargeNotOnTrack_layers;
111  std::vector<MonitorElement*> meClChargeNotOnTrack_diskps;
112  std::vector<MonitorElement*> meClChargeNotOnTrack_diskms;
116  std::vector<MonitorElement*> meClSizeOnTrack_layers;
117  std::vector<MonitorElement*> meClSizeOnTrack_diskps;
118  std::vector<MonitorElement*> meClSizeOnTrack_diskms;
122  std::vector<MonitorElement*> meClSizeNotOnTrack_layers;
123  std::vector<MonitorElement*> meClSizeNotOnTrack_diskps;
124  std::vector<MonitorElement*> meClSizeNotOnTrack_diskms;
128  std::vector<MonitorElement*> meClSizeXOnTrack_layers;
129  std::vector<MonitorElement*> meClSizeXOnTrack_diskps;
130  std::vector<MonitorElement*> meClSizeXOnTrack_diskms;
134  std::vector<MonitorElement*> meClSizeXNotOnTrack_layers;
135  std::vector<MonitorElement*> meClSizeXNotOnTrack_diskps;
136  std::vector<MonitorElement*> meClSizeXNotOnTrack_diskms;
140  std::vector<MonitorElement*> meClSizeYOnTrack_layers;
141  std::vector<MonitorElement*> meClSizeYOnTrack_diskps;
142  std::vector<MonitorElement*> meClSizeYOnTrack_diskms;
146  std::vector<MonitorElement*> meClSizeYNotOnTrack_layers;
147  std::vector<MonitorElement*> meClSizeYNotOnTrack_diskps;
148  std::vector<MonitorElement*> meClSizeYNotOnTrack_diskms;
149 
150  //new
154  std::vector<MonitorElement*> meNClustersOnTrack_layers;
155  std::vector<MonitorElement*> meNClustersOnTrack_diskps;
156  std::vector<MonitorElement*> meNClustersOnTrack_diskms;
160  std::vector<MonitorElement*> meNClustersNotOnTrack_layers;
161  std::vector<MonitorElement*> meNClustersNotOnTrack_diskps;
162  std::vector<MonitorElement*> meNClustersNotOnTrack_diskms;
163  //
164 
165  std::vector<MonitorElement*> meClPosLayersOnTrack;
166  std::vector<MonitorElement*> meClPosLayersLadVsModOnTrack;
167  std::vector<MonitorElement*> meClPosLayersNotOnTrack;
168  std::vector<MonitorElement*> meClPosDiskspzOnTrack;
169  std::vector<MonitorElement*> meClPosDisksmzOnTrack;
170  std::vector<MonitorElement*> meClPosDiskspzNotOnTrack;
171  std::vector<MonitorElement*> meClPosDisksmzNotOnTrack;
172 
174 
177 };
178 
179 #endif
edm::EDGetTokenT< reco::TrackCollection > generalTracksToken_
std::vector< MonitorElement * > meClChargeOnTrack_layers
std::vector< MonitorElement * > meClSizeYNotOnTrack_diskps
edm::EDGetTokenT< std::vector< Trajectory > > tracksrcToken_
std::vector< MonitorElement * > meClSizeXNotOnTrack_diskms
virtual void dqmBeginRun(const edm::Run &r, edm::EventSetup const &iSetup)
virtual void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
std::vector< MonitorElement * > meClSizeXOnTrack_layers
std::vector< MonitorElement * > meNClustersNotOnTrack_diskps
std::vector< MonitorElement * > meClSizeYOnTrack_diskms
std::vector< MonitorElement * > meClSizeNotOnTrack_diskms
std::vector< MonitorElement * > meClPosLayersOnTrack
std::vector< MonitorElement * > meClPosDisksmzOnTrack
std::vector< MonitorElement * > meClSizeOnTrack_layers
std::vector< MonitorElement * > meClPosDiskspzOnTrack
std::vector< MonitorElement * > meClChargeNotOnTrack_diskps
std::vector< MonitorElement * > meClChargeOnTrack_diskms
std::vector< MonitorElement * > meClPosDiskspzNotOnTrack
SiPixelTrackResidualSource(const edm::ParameterSet &)
std::vector< MonitorElement * > meClPosLayersNotOnTrack
std::vector< MonitorElement * > meResidualXSummedLay
std::vector< MonitorElement * > meClSizeXNotOnTrack_layers
std::vector< MonitorElement * > meClChargeOnTrack_diskps
std::vector< MonitorElement * > meResidualYSummedLay
std::vector< MonitorElement * > meClSizeYNotOnTrack_diskms
void triplets(double x1, double y1, double z1, double x2, double y2, double z2, double x3, double y3, double z3, double ptsig, double &dc, double &dz, double kap)
std::vector< MonitorElement * > meClPosDisksmzNotOnTrack
edm::EDGetTokenT< std::vector< reco::Track > > trackToken_
std::vector< MonitorElement * > meClSizeYOnTrack_layers
std::vector< MonitorElement * > meNClustersOnTrack_diskps
edm::EDGetTokenT< edmNew::DetSetVector< SiPixelCluster > > clustersrcToken_
std::vector< MonitorElement * > meClSizeNotOnTrack_diskps
std::vector< MonitorElement * > meClSizeXOnTrack_diskps
std::vector< MonitorElement * > meClSizeYNotOnTrack_layers
std::vector< MonitorElement * > meClSizeYOnTrack_diskps
std::vector< MonitorElement * > meClPosLayersLadVsModOnTrack
std::map< uint32_t, SiPixelTrackResidualModule * > theSiPixelStructure
std::vector< MonitorElement * > meClChargeNotOnTrack_diskms
std::vector< MonitorElement * > meClSizeOnTrack_diskps
edm::EDGetTokenT< reco::VertexCollection > offlinePrimaryVerticesToken_
std::vector< MonitorElement * > meNClustersOnTrack_diskms
std::vector< MonitorElement * > meNClustersNotOnTrack_diskms
std::vector< MonitorElement * > meClSizeXNotOnTrack_diskps
std::vector< MonitorElement * > meClChargeNotOnTrack_layers
virtual void analyze(const edm::Event &, const edm::EventSetup &)
std::vector< MonitorElement * > meNClustersOnTrack_layers
std::vector< MonitorElement * > meClSizeNotOnTrack_layers
std::vector< MonitorElement * > meNClustersNotOnTrack_layers
std::vector< MonitorElement * > meClSizeOnTrack_diskms
edm::EDGetTokenT< reco::BeamSpot > beamSpotToken_
edm::EDGetTokenT< TrajTrackAssociationCollection > trackAssociationToken_
std::vector< MonitorElement * > meClSizeXOnTrack_diskms
Definition: Run.h:41