CMS 3D CMS Logo

MuonTrackValidatorBase.h
Go to the documentation of this file.
1 #ifndef MuonTrackValidatorBase_h
2 #define MuonTrackValidatorBase_h
3 
9 #include <memory>
10 
15 
18 
24 
27 
30 
31 #include <iostream>
32 #include <sstream>
33 #include <string>
34 #include <TH1F.h>
35 #include <TH2F.h>
36 
40 
41 public:
47  else
49  pileupinfo_Token = iC.consumes<std::vector<PileupSummaryInfo> >(label_pileupinfo);
50  for (unsigned int www = 0; www < label.size(); www++) {
52  }
53  }
54 
56  : label(pset.getParameter<std::vector<edm::InputTag> >("label")),
57  bsSrc(pset.getParameter<edm::InputTag>("beamSpot")),
58  label_tp(pset.getParameter<edm::InputTag>("label_tp")),
59  label_tp_refvector(pset.getParameter<bool>("label_tp_refvector")),
60  label_pileupinfo(pset.getParameter<edm::InputTag>("label_pileupinfo")),
61  associators(pset.getParameter<std::vector<std::string> >("associators")),
62  out(pset.getParameter<std::string>("outputFile")),
63  parametersDefiner(pset.getParameter<std::string>("parametersDefiner")),
64  muonHistoParameters(pset.getParameter<edm::ParameterSet>("muonHistoParameters")),
65  ignoremissingtkcollection_(pset.getUntrackedParameter<bool>("ignoremissingtrackcollection", false))
66 
67  {
68  minEta = muonHistoParameters.getParameter<double>("minEta");
69  maxEta = muonHistoParameters.getParameter<double>("maxEta");
70  nintEta = muonHistoParameters.getParameter<int>("nintEta");
71  useFabsEta = muonHistoParameters.getParameter<bool>("useFabsEta");
72  minPt = muonHistoParameters.getParameter<double>("minPt");
73  maxPt = muonHistoParameters.getParameter<double>("maxPt");
74  nintPt = muonHistoParameters.getParameter<int>("nintPt");
75  useLogPt = muonHistoParameters.getUntrackedParameter<bool>("useLogPt", false);
76  useInvPt = muonHistoParameters.getParameter<bool>("useInvPt");
77  minNHit = muonHistoParameters.getParameter<double>("minNHit");
78  maxNHit = muonHistoParameters.getParameter<double>("maxNHit");
79  nintNHit = muonHistoParameters.getParameter<int>("nintNHit");
80  //
81  minDTHit = muonHistoParameters.getParameter<double>("minDTHit");
82  maxDTHit = muonHistoParameters.getParameter<double>("maxDTHit");
83  nintDTHit = muonHistoParameters.getParameter<int>("nintDTHit");
84  //
85  minCSCHit = muonHistoParameters.getParameter<double>("minCSCHit");
86  maxCSCHit = muonHistoParameters.getParameter<double>("maxCSCHit");
87  nintCSCHit = muonHistoParameters.getParameter<int>("nintCSCHit");
88  //
89  minRPCHit = muonHistoParameters.getParameter<double>("minRPCHit");
90  maxRPCHit = muonHistoParameters.getParameter<double>("maxRPCHit");
91  nintRPCHit = muonHistoParameters.getParameter<int>("nintRPCHit");
92  //
93 
94  minNTracks = muonHistoParameters.getParameter<int>("minNTracks");
95  maxNTracks = muonHistoParameters.getParameter<int>("maxNTracks");
96  nintNTracks = muonHistoParameters.getParameter<int>("nintNTracks");
97  minFTracks = muonHistoParameters.getParameter<int>("minFTracks");
98  maxFTracks = muonHistoParameters.getParameter<int>("maxFTracks");
99  nintFTracks = muonHistoParameters.getParameter<int>("nintFTracks");
100  minLayers = muonHistoParameters.getParameter<double>("minLayers");
101  maxLayers = muonHistoParameters.getParameter<double>("maxLayers");
102  nintLayers = muonHistoParameters.getParameter<int>("nintLayers");
103  minPixels = muonHistoParameters.getParameter<double>("minPixels");
104  maxPixels = muonHistoParameters.getParameter<double>("maxPixels");
105  nintPixels = muonHistoParameters.getParameter<int>("nintPixels");
106  minPhi = muonHistoParameters.getParameter<double>("minPhi");
107  maxPhi = muonHistoParameters.getParameter<double>("maxPhi");
108  nintPhi = muonHistoParameters.getParameter<int>("nintPhi");
109  minDxy = muonHistoParameters.getParameter<double>("minDxy");
110  maxDxy = muonHistoParameters.getParameter<double>("maxDxy");
111  nintDxy = muonHistoParameters.getParameter<int>("nintDxy");
112  minDz = muonHistoParameters.getParameter<double>("minDz");
113  maxDz = muonHistoParameters.getParameter<double>("maxDz");
114  nintDz = muonHistoParameters.getParameter<int>("nintDz");
115  minRpos = muonHistoParameters.getParameter<double>("minRpos");
116  maxRpos = muonHistoParameters.getParameter<double>("maxRpos");
117  nintRpos = muonHistoParameters.getParameter<int>("nintRpos");
118  minZpos = muonHistoParameters.getParameter<double>("minZpos");
119  maxZpos = muonHistoParameters.getParameter<double>("maxZpos");
120  nintZpos = muonHistoParameters.getParameter<int>("nintZpos");
121  minPU = muonHistoParameters.getParameter<double>("minPU");
122  maxPU = muonHistoParameters.getParameter<double>("maxPU");
123  nintPU = muonHistoParameters.getParameter<int>("nintPU");
124  //
125  ptRes_rangeMin = muonHistoParameters.getParameter<double>("ptRes_rangeMin");
126  ptRes_rangeMax = muonHistoParameters.getParameter<double>("ptRes_rangeMax");
127  ptRes_nbin = muonHistoParameters.getParameter<int>("ptRes_nbin");
128  etaRes_rangeMin = muonHistoParameters.getParameter<double>("etaRes_rangeMin");
129  etaRes_rangeMax = muonHistoParameters.getParameter<double>("etaRes_rangeMax");
130  etaRes_nbin = muonHistoParameters.getParameter<int>("etaRes_nbin");
131  phiRes_rangeMin = muonHistoParameters.getParameter<double>("phiRes_rangeMin");
132  phiRes_rangeMax = muonHistoParameters.getParameter<double>("phiRes_rangeMax");
133  phiRes_nbin = muonHistoParameters.getParameter<int>("phiRes_nbin");
134  cotThetaRes_rangeMin = muonHistoParameters.getParameter<double>("cotThetaRes_rangeMin");
135  cotThetaRes_rangeMax = muonHistoParameters.getParameter<double>("cotThetaRes_rangeMax");
136  cotThetaRes_nbin = muonHistoParameters.getParameter<int>("cotThetaRes_nbin");
137  dxyRes_rangeMin = muonHistoParameters.getParameter<double>("dxyRes_rangeMin");
138  dxyRes_rangeMax = muonHistoParameters.getParameter<double>("dxyRes_rangeMax");
139  dxyRes_nbin = muonHistoParameters.getParameter<int>("dxyRes_nbin");
140  dzRes_rangeMin = muonHistoParameters.getParameter<double>("dzRes_rangeMin");
141  dzRes_rangeMax = muonHistoParameters.getParameter<double>("dzRes_rangeMax");
142  dzRes_nbin = muonHistoParameters.getParameter<int>("dzRes_nbin");
143  //
144  usetracker = muonHistoParameters.getParameter<bool>("usetracker");
145  usemuon = muonHistoParameters.getParameter<bool>("usemuon");
146  do_TRKhitsPlots = muonHistoParameters.getParameter<bool>("do_TRKhitsPlots");
147  do_MUOhitsPlots = muonHistoParameters.getParameter<bool>("do_MUOhitsPlots");
148 
149  if (useLogPt) {
150  minPt = log10(std::max(0.01, minPt));
151  maxPt = log10(maxPt);
152  }
153  }
154 
156  virtual ~MuonTrackValidatorBase() noexcept(false) {}
157 
158  template <typename T>
160  h->Fill(std::min(std::max(val, ((T)h->getTH1()->GetXaxis()->GetXmin())), ((T)h->getTH1()->GetXaxis()->GetXmax())));
161  }
162 
163  void doProfileX(TH2* th2, MonitorElement* me) {
164  if (th2->GetNbinsX() == me->getNbinsX()) {
165  TProfile* p1 = (TProfile*)th2->ProfileX();
166  p1->Copy(*me->getTProfile());
167  delete p1;
168  } else {
169  throw cms::Exception("MuonTrackValidator") << "Different number of bins!";
170  }
171  }
172 
174 
175  // virtual double getEta(double eta) {
176  double getEta(double eta) {
177  if (useFabsEta)
178  return fabs(eta);
179  else
180  return eta;
181  }
182 
183  // virtual double getPt(double pt) {
184  double getPt(double pt) {
185  if (useInvPt && pt != 0)
186  return 1 / pt;
187  else
188  return pt;
189  }
190 
191  void BinLogX(TH1* h) {
192  TAxis* axis = h->GetXaxis();
193  int bins = axis->GetNbins();
194 
195  float from = axis->GetXmin();
196  float to = axis->GetXmax();
197  float width = (to - from) / bins;
198  float* new_bins = new float[bins + 1];
199 
200  for (int i = 0; i <= bins; i++) {
201  new_bins[i] = TMath::Power(10, from + i * width);
202  }
203  axis->Set(bins, new_bins);
204  delete[] new_bins;
205  }
206 
207 protected:
208  std::vector<edm::InputTag> label;
213  std::vector<std::string> associators;
216  std::vector<edm::EDGetTokenT<edm::View<reco::Track> > > track_Collection_Token;
222 
224 
227  double minEta, maxEta;
228  int nintEta;
230  double minPt, maxPt;
231  int nintPt;
232  bool useLogPt;
233  bool useInvPt;
234  double minNHit, maxNHit;
235  int nintNHit;
246  double minPhi, maxPhi;
247  int nintPhi;
248  double minDxy, maxDxy;
249  int nintDxy;
250  double minDz, maxDz;
251  int nintDz;
252  double minRpos, maxRpos;
253  int nintRpos;
254  double minZpos, maxZpos;
255  int nintZpos;
256  double minPU, maxPU;
257  int nintPU;
258  //
271 
275 
276  //1D
277  std::vector<MonitorElement*> h_tracks, h_fakes, h_nhits, h_charge;
278  std::vector<MonitorElement*> h_recoeta, h_assoceta, h_assoc2eta, h_simuleta, h_misideta;
279  std::vector<MonitorElement*> h_recopT, h_assocpT, h_assoc2pT, h_simulpT, h_misidpT;
280  std::vector<MonitorElement*> h_recohit, h_assochit, h_assoc2hit, h_simulhit, h_misidhit;
281  std::vector<MonitorElement*> h_recophi, h_assocphi, h_assoc2phi, h_simulphi, h_misidphi;
282  std::vector<MonitorElement*> h_recodxy, h_assocdxy, h_assoc2dxy, h_simuldxy, h_misiddxy;
283  std::vector<MonitorElement*> h_recodz, h_assocdz, h_assoc2dz, h_simuldz, h_misiddz;
284  std::vector<MonitorElement*> h_recopu, h_assocpu, h_assoc2pu, h_simulpu, h_misidpu;
285 
286  std::vector<MonitorElement*> h_assocRpos, h_simulRpos, h_assocZpos, h_simulZpos;
287  std::vector<MonitorElement*> h_etaRes;
288 
289  std::vector<MonitorElement*> h_nchi2, h_nchi2_prob, h_losthits;
290  std::vector<MonitorElement*> h_nmisslayers_inner, h_nmisslayers_outer, h_nlosthits;
291  std::vector<MonitorElement*> h_assochi2, h_assochi2_prob;
292  std::vector<MonitorElement*> h_assocFraction, h_assocSharedHit;
293 
294  //2D
295  std::vector<MonitorElement*> nRecHits_vs_nSimHits;
296  std::vector<MonitorElement*> h_PurityVsQuality;
297  std::vector<MonitorElement*> chi2_vs_nhits, etares_vs_eta;
298  std::vector<MonitorElement*> ptres_vs_phi, chi2_vs_phi, nhits_vs_phi, phires_vs_phi;
299 
302  std::vector<MonitorElement*> chi2_vs_eta, nlosthits_vs_eta;
304 
307 
309  std::vector<MonitorElement*> ptpull_vs_phi, phipull_vs_phi, thetapull_vs_phi;
311  std::vector<MonitorElement*> h_ptpullphi, h_phipullphi, h_thetapullphi;
312  std::vector<MonitorElement*> h_ptpull, h_qoverppull, h_thetapull, h_phipull, h_dxypull, h_dzpull;
313 };
314 
315 #endif
MuonTrackValidatorBase::h_misiddz
std::vector< MonitorElement * > h_misiddz
Definition: MuonTrackValidatorBase.h:283
MuonTrackValidatorBase::h_simulRpos
std::vector< MonitorElement * > h_simulRpos
Definition: MuonTrackValidatorBase.h:286
MuonTrackValidatorBase::chi2_vs_eta
std::vector< MonitorElement * > chi2_vs_eta
Definition: MuonTrackValidatorBase.h:302
MuonTrackValidatorBase::ptres_vs_phi
std::vector< MonitorElement * > ptres_vs_phi
Definition: MuonTrackValidatorBase.h:298
MuonTrackValidatorBase::~MuonTrackValidatorBase
virtual ~MuonTrackValidatorBase() noexcept(false)
Destructor.
Definition: MuonTrackValidatorBase.h:156
MuonTrackValidatorBase::ptRes_rangeMax
double ptRes_rangeMax
Definition: MuonTrackValidatorBase.h:259
ApeEstimator_cff.width
width
Definition: ApeEstimator_cff.py:24
MuonTrackValidatorBase::ptres_vs_pt
std::vector< MonitorElement * > ptres_vs_pt
Definition: MuonTrackValidatorBase.h:306
MuonTrackValidatorBase::maxNHit
double maxNHit
Definition: MuonTrackValidatorBase.h:234
MuonTrackValidatorBase::h_assocpT
std::vector< MonitorElement * > h_assocpT
Definition: MuonTrackValidatorBase.h:279
PileupSummaryInfo.h
electrons_cff.bool
bool
Definition: electrons_cff.py:366
MuonTrackValidatorBase::dzpull_vs_eta
std::vector< MonitorElement * > dzpull_vs_eta
Definition: MuonTrackValidatorBase.h:308
MuonTrackValidatorBase::h_assocZpos
std::vector< MonitorElement * > h_assocZpos
Definition: MuonTrackValidatorBase.h:286
mps_fire.i
i
Definition: mps_fire.py:428
MuonTrackValidatorBase::h_misidphi
std::vector< MonitorElement * > h_misidphi
Definition: MuonTrackValidatorBase.h:281
funct::false
false
Definition: Factorize.h:29
MuonTrackValidatorBase::label
std::vector< edm::InputTag > label
Definition: MuonTrackValidatorBase.h:208
MuonTrackValidatorBase::nintEta
int nintEta
Definition: MuonTrackValidatorBase.h:228
CosmicTrackingParticleSelector.h
MuonTrackValidatorBase::h_misidpu
std::vector< MonitorElement * > h_misidpu
Definition: MuonTrackValidatorBase.h:284
MuonTrackValidatorBase::h_misideta
std::vector< MonitorElement * > h_misideta
Definition: MuonTrackValidatorBase.h:278
MuonTrackValidatorBase::nintNHit
int nintNHit
Definition: MuonTrackValidatorBase.h:235
MuonTrackValidatorBase::maxRPCHit
double maxRPCHit
Definition: MuonTrackValidatorBase.h:240
MuonTrackValidatorBase::nintRpos
int nintRpos
Definition: MuonTrackValidatorBase.h:253
ESHandle.h
MuonTrackValidatorBase::minRpos
double minRpos
Definition: MuonTrackValidatorBase.h:252
MuonTrackValidatorBase::nintLayers
int nintLayers
Definition: MuonTrackValidatorBase.h:243
MuonTrackValidatorBase::phires_vs_eta
std::vector< MonitorElement * > phires_vs_eta
Definition: MuonTrackValidatorBase.h:305
MuonTrackValidatorBase::maxZpos
double maxZpos
Definition: MuonTrackValidatorBase.h:254
MuonTrackValidatorBase::BinLogX
void BinLogX(TH1 *h)
Definition: MuonTrackValidatorBase.h:191
MuonTrackValidatorBase::minZpos
double minZpos
Definition: MuonTrackValidatorBase.h:254
MuonTrackValidatorBase::dxypull_vs_eta
std::vector< MonitorElement * > dxypull_vs_eta
Definition: MuonTrackValidatorBase.h:308
DiDispStaMuonMonitor_cfi.pt
pt
Definition: DiDispStaMuonMonitor_cfi.py:39
MuonTrackValidatorBase::etaRes_rangeMin
double etaRes_rangeMin
Definition: MuonTrackValidatorBase.h:261
MuonTrackValidatorBase::minDxy
double minDxy
Definition: MuonTrackValidatorBase.h:248
min
T min(T a, T b)
Definition: MathUtil.h:58
MuonTrackValidatorBase::h_ptpulleta
std::vector< MonitorElement * > h_ptpulleta
Definition: MuonTrackValidatorBase.h:310
edm::EDGetTokenT< reco::BeamSpot >
MuonTrackValidatorBase::nintZpos
int nintZpos
Definition: MuonTrackValidatorBase.h:255
edm
HLT enums.
Definition: AlignableModifier.h:19
MuonTrackValidatorBase::minPt
double minPt
Definition: MuonTrackValidatorBase.h:230
MuonTrackValidatorBase::maxPt
double maxPt
Definition: MuonTrackValidatorBase.h:230
MuonTrackValidatorBase::h_misidhit
std::vector< MonitorElement * > h_misidhit
Definition: MuonTrackValidatorBase.h:280
MuonTrackValidatorBase::h_assocpu
std::vector< MonitorElement * > h_assocpu
Definition: MuonTrackValidatorBase.h:284
MuonTrackValidatorBase::h_simulZpos
std::vector< MonitorElement * > h_simulZpos
Definition: MuonTrackValidatorBase.h:286
TrackingParticleSelector.h
MuonTrackValidatorBase::h_recodxy
std::vector< MonitorElement * > h_recodxy
Definition: MuonTrackValidatorBase.h:282
MuonTrackValidatorBase::h_simulpT
std::vector< MonitorElement * > h_simulpT
Definition: MuonTrackValidatorBase.h:279
MuonTrackValidatorBase::useLogPt
bool useLogPt
Definition: MuonTrackValidatorBase.h:232
MuonTrackValidatorBase::minCSCHit
double minCSCHit
Definition: MuonTrackValidatorBase.h:238
HLT_FULL_cff.InputTag
InputTag
Definition: HLT_FULL_cff.py:89301
MuonTrackValidatorBase::maxDTHit
double maxDTHit
Definition: MuonTrackValidatorBase.h:236
MuonTrackValidatorBase::h_dzpulleta
std::vector< MonitorElement * > h_dzpulleta
Definition: MuonTrackValidatorBase.h:310
MuonTrackValidatorBase::cotThetaRes_nbin
int cotThetaRes_nbin
Definition: MuonTrackValidatorBase.h:266
MuonTrackValidatorBase::thetaCotres_vs_pt
std::vector< MonitorElement * > thetaCotres_vs_pt
Definition: MuonTrackValidatorBase.h:306
MuonTrackValidatorBase::h_recodz
std::vector< MonitorElement * > h_recodz
Definition: MuonTrackValidatorBase.h:283
MuonTrackValidatorBase::minFTracks
int minFTracks
Definition: MuonTrackValidatorBase.h:226
MuonTrackValidatorBase::do_TRKhitsPlots
bool do_TRKhitsPlots
Definition: MuonTrackValidatorBase.h:273
MuonTrackValidatorBase::nME0hits_vs_eta
std::vector< MonitorElement * > nME0hits_vs_eta
Definition: MuonTrackValidatorBase.h:300
to
MuonTrackValidatorBase::maxRpos
double maxRpos
Definition: MuonTrackValidatorBase.h:252
MuonTrackValidatorBase::nlosthits_vs_eta
std::vector< MonitorElement * > nlosthits_vs_eta
Definition: MuonTrackValidatorBase.h:302
MuonTrackValidatorBase::nPixel_LayersWithMeas_vs_eta
std::vector< MonitorElement * > nPixel_LayersWithMeas_vs_eta
Definition: MuonTrackValidatorBase.h:303
MuonTrackValidatorBase::tp_Token
edm::EDGetTokenT< TrackingParticleCollection > tp_Token
Definition: MuonTrackValidatorBase.h:218
DQMStore.h
MuonTrackValidatorBase::etares_vs_eta
std::vector< MonitorElement * > etares_vs_eta
Definition: MuonTrackValidatorBase.h:297
MuonTrackValidatorBase::h_nlosthits
std::vector< MonitorElement * > h_nlosthits
Definition: MuonTrackValidatorBase.h:290
dqm::legacy::MonitorElement
Definition: MonitorElement.h:462
MuonTrackValidatorBase::do_MUOhitsPlots
bool do_MUOhitsPlots
Definition: MuonTrackValidatorBase.h:273
edm::ParameterSet::getUntrackedParameter
T getUntrackedParameter(std::string const &, T const &) const
edm::RefVector< TrackingParticleCollection >
MuonTrackValidatorBase::h_nmisslayers_outer
std::vector< MonitorElement * > h_nmisslayers_outer
Definition: MuonTrackValidatorBase.h:290
MuonTrackValidatorBase::h_assocRpos
std::vector< MonitorElement * > h_assocRpos
Definition: MuonTrackValidatorBase.h:286
MuonTrackValidatorBase::h_losthits
std::vector< MonitorElement * > h_losthits
Definition: MuonTrackValidatorBase.h:289
MuonTrackValidatorBase::minPU
double minPU
Definition: MuonTrackValidatorBase.h:256
MuonTrackValidatorBase::getEta
double getEta(double eta)
Definition: MuonTrackValidatorBase.h:176
MuonTrackValidatorBase::dzRes_rangeMin
double dzRes_rangeMin
Definition: MuonTrackValidatorBase.h:269
MuonTrackValidatorBase::h_recopu
std::vector< MonitorElement * > h_recopu
Definition: MuonTrackValidatorBase.h:284
MuonTrackValidatorBase::nintDTHit
int nintDTHit
Definition: MuonTrackValidatorBase.h:237
MuonTrackValidatorBase::maxPU
double maxPU
Definition: MuonTrackValidatorBase.h:256
MuonTrackValidatorBase::h_assocFraction
std::vector< MonitorElement * > h_assocFraction
Definition: MuonTrackValidatorBase.h:292
MuonTrackValidatorBase::minRPCHit
double minRPCHit
Definition: MuonTrackValidatorBase.h:240
MuonTrackValidatorBase::maxPixels
double maxPixels
Definition: MuonTrackValidatorBase.h:244
MuonTrackValidatorBase::h_misidpT
std::vector< MonitorElement * > h_misidpT
Definition: MuonTrackValidatorBase.h:279
MuonTrackValidatorBase::minEta
double minEta
Definition: MuonTrackValidatorBase.h:227
MuonTrackValidatorBase::h_recoeta
std::vector< MonitorElement * > h_recoeta
Definition: MuonTrackValidatorBase.h:278
Track.h
dqm::legacy::DQMStore
Definition: DQMStore.h:728
BeamSpot.h
MuonTrackValidatorBase::pileupinfo_Token
edm::EDGetTokenT< std::vector< PileupSummaryInfo > > pileupinfo_Token
Definition: MuonTrackValidatorBase.h:220
MuonTrackValidatorBase::dxyRes_rangeMin
double dxyRes_rangeMin
Definition: MuonTrackValidatorBase.h:267
MuonTrackValidatorBase::phipull_vs_phi
std::vector< MonitorElement * > phipull_vs_phi
Definition: MuonTrackValidatorBase.h:309
MuonTrackValidatorBase::maxNTracks
int maxNTracks
Definition: MuonTrackValidatorBase.h:225
MuonTrackValidatorBase::nintPhi
int nintPhi
Definition: MuonTrackValidatorBase.h:247
MuonTrackValidatorBase::dxyRes_nbin
int dxyRes_nbin
Definition: MuonTrackValidatorBase.h:268
MuonTrackValidatorBase::phiRes_rangeMin
double phiRes_rangeMin
Definition: MuonTrackValidatorBase.h:263
Service.h
PVValHelper::eta
Definition: PVValidationHelpers.h:70
MuonTrackValidatorBase::minNHit
double minNHit
Definition: MuonTrackValidatorBase.h:234
MuonTrackValidatorBase::nintPU
int nintPU
Definition: MuonTrackValidatorBase.h:257
MuonTrackValidatorBase::h_ptpullphi
std::vector< MonitorElement * > h_ptpullphi
Definition: MuonTrackValidatorBase.h:311
MuonTrackValidatorBase::h_assoc2pT
std::vector< MonitorElement * > h_assoc2pT
Definition: MuonTrackValidatorBase.h:279
MuonTrackValidatorBase::nCSChits_vs_eta
std::vector< MonitorElement * > nCSChits_vs_eta
Definition: MuonTrackValidatorBase.h:300
MuonTrackValidatorBase::tp_refvector_Token
edm::EDGetTokenT< TrackingParticleRefVector > tp_refvector_Token
Definition: MuonTrackValidatorBase.h:219
reco::BeamSpot
Definition: BeamSpot.h:21
MuonTrackValidatorBase::h_recopT
std::vector< MonitorElement * > h_recopT
Definition: MuonTrackValidatorBase.h:279
MuonTrackValidatorBase::ptRes_nbin
int ptRes_nbin
Definition: MuonTrackValidatorBase.h:260
IdealMagneticFieldRecord.h
edm::ESHandle< MagneticField >
MuonTrackValidatorBase::h_assochi2
std::vector< MonitorElement * > h_assochi2
Definition: MuonTrackValidatorBase.h:291
MuonTrackValidatorBase::nintDxy
int nintDxy
Definition: MuonTrackValidatorBase.h:249
edm::ConsumesCollector::consumes
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
Definition: ConsumesCollector.h:55
MuonTrackValidatorBase::bsSrc_Token
edm::EDGetTokenT< reco::BeamSpot > bsSrc_Token
Definition: MuonTrackValidatorBase.h:217
MuonTrackValidatorBase::nintRPCHit
int nintRPCHit
Definition: MuonTrackValidatorBase.h:241
h
MuonTrackValidatorBase::dzRes_rangeMax
double dzRes_rangeMax
Definition: MuonTrackValidatorBase.h:269
MuonTrackValidatorBase::MuonTrackValidatorBase
MuonTrackValidatorBase(const edm::ParameterSet &pset)
Definition: MuonTrackValidatorBase.h:55
MuonTrackValidatorBase::h_assocdz
std::vector< MonitorElement * > h_assocdz
Definition: MuonTrackValidatorBase.h:283
MuonTrackValidatorBase::h_dxypulleta
std::vector< MonitorElement * > h_dxypulleta
Definition: MuonTrackValidatorBase.h:310
MuonTrackValidatorBase::nRPChits_vs_eta
std::vector< MonitorElement * > nRPChits_vs_eta
Definition: MuonTrackValidatorBase.h:300
MuonTrackValidatorBase::thetaCotres_vs_eta
std::vector< MonitorElement * > thetaCotres_vs_eta
Definition: MuonTrackValidatorBase.h:305
MuonTrackValidatorBase::h_dzpull
std::vector< MonitorElement * > h_dzpull
Definition: MuonTrackValidatorBase.h:312
MuonTrackValidatorBase::h_phipull
std::vector< MonitorElement * > h_phipull
Definition: MuonTrackValidatorBase.h:312
MuonTrackValidatorBase::h_assochi2_prob
std::vector< MonitorElement * > h_assochi2_prob
Definition: MuonTrackValidatorBase.h:291
MuonTrackValidatorBase::nintPt
int nintPt
Definition: MuonTrackValidatorBase.h:231
MuonTrackValidatorBase::etaRes_nbin
int etaRes_nbin
Definition: MuonTrackValidatorBase.h:262
edm::View
Definition: CaloClusterFwd.h:14
MuonTrackValidatorBase::doProfileX
void doProfileX(MonitorElement *th2m, MonitorElement *me)
Definition: MuonTrackValidatorBase.h:173
MuonTrackValidatorBase::useInvPt
bool useInvPt
Definition: MuonTrackValidatorBase.h:233
MuonTrackValidatorBase::h_dxypull
std::vector< MonitorElement * > h_dxypull
Definition: MuonTrackValidatorBase.h:312
MuonTrackValidatorBase::chi2_vs_phi
std::vector< MonitorElement * > chi2_vs_phi
Definition: MuonTrackValidatorBase.h:298
edm::ParameterSet
Definition: ParameterSet.h:47
MuonTrackValidatorBase::fillPlotNoFlow
void fillPlotNoFlow(MonitorElement *h, T val)
Definition: MuonTrackValidatorBase.h:159
MuonTrackValidatorBase::maxDz
double maxDz
Definition: MuonTrackValidatorBase.h:250
MuonTrackValidatorBase::h_assoc2phi
std::vector< MonitorElement * > h_assoc2phi
Definition: MuonTrackValidatorBase.h:281
Event.h
MuonTrackValidatorBase::nintFTracks
int nintFTracks
Definition: MuonTrackValidatorBase.h:226
MuonTrackValidatorBase::h_phipulleta
std::vector< MonitorElement * > h_phipulleta
Definition: MuonTrackValidatorBase.h:310
ParameterSet
Definition: Functions.h:16
MuonTrackValidatorBase::etaRes_rangeMax
double etaRes_rangeMax
Definition: MuonTrackValidatorBase.h:261
MuonTrackValidatorBase::associators
std::vector< std::string > associators
Definition: MuonTrackValidatorBase.h:213
SiStripPI::max
Definition: SiStripPayloadInspectorHelper.h:169
MuonTrackValidatorBase::h_etaRes
std::vector< MonitorElement * > h_etaRes
Definition: MuonTrackValidatorBase.h:287
MuonTrackValidatorBase::h_thetapull
std::vector< MonitorElement * > h_thetapull
Definition: MuonTrackValidatorBase.h:312
MuonTrackValidatorBase::minDz
double minDz
Definition: MuonTrackValidatorBase.h:250
MuonTrackValidatorBase::dxyres_vs_pt
std::vector< MonitorElement * > dxyres_vs_pt
Definition: MuonTrackValidatorBase.h:306
MuonTrackValidatorBase::h_assochit
std::vector< MonitorElement * > h_assochit
Definition: MuonTrackValidatorBase.h:280
MuonTrackValidatorBase::phiRes_nbin
int phiRes_nbin
Definition: MuonTrackValidatorBase.h:264
MuonTrackValidatorBase::h_assocdxy
std::vector< MonitorElement * > h_assocdxy
Definition: MuonTrackValidatorBase.h:282
MuonTrackValidatorBase::nintDz
int nintDz
Definition: MuonTrackValidatorBase.h:251
MuonTrackValidatorBase::minPhi
double minPhi
Definition: MuonTrackValidatorBase.h:246
MuonTrackValidatorBase::theMF
edm::ESHandle< MagneticField > theMF
Definition: MuonTrackValidatorBase.h:221
MuonTrackValidatorBase::label_tp
edm::InputTag label_tp
Definition: MuonTrackValidatorBase.h:210
MuonTrackValidatorBase::nGEMhits_vs_eta
std::vector< MonitorElement * > nGEMhits_vs_eta
Definition: MuonTrackValidatorBase.h:300
MuonTrackValidatorBase::h_simulpu
std::vector< MonitorElement * > h_simulpu
Definition: MuonTrackValidatorBase.h:284
MuonTrackValidatorBase::dzRes_nbin
int dzRes_nbin
Definition: MuonTrackValidatorBase.h:270
MuonTrackValidatorBase::minNTracks
int minNTracks
Definition: MuonTrackValidatorBase.h:225
MuonTrackValidatorBase::h_simuleta
std::vector< MonitorElement * > h_simuleta
Definition: MuonTrackValidatorBase.h:278
MuonTrackValidatorBase::minPixels
double minPixels
Definition: MuonTrackValidatorBase.h:244
MuonTrackValidatorBase::dxyres_vs_eta
std::vector< MonitorElement * > dxyres_vs_eta
Definition: MuonTrackValidatorBase.h:305
MuonTrackValidatorBase::nintNTracks
int nintNTracks
Definition: MuonTrackValidatorBase.h:225
MuonTrackValidatorBase::nintCSCHit
int nintCSCHit
Definition: MuonTrackValidatorBase.h:239
MuonTrackValidatorBase::phipull_vs_eta
std::vector< MonitorElement * > phipull_vs_eta
Definition: MuonTrackValidatorBase.h:308
trackerHitRTTI::vector
Definition: trackerHitRTTI.h:21
MuonTrackValidatorBase::maxPhi
double maxPhi
Definition: MuonTrackValidatorBase.h:246
MuonTrackValidatorBase::h_nchi2_prob
std::vector< MonitorElement * > h_nchi2_prob
Definition: MuonTrackValidatorBase.h:289
p1
double p1[4]
Definition: TauolaWrapper.h:89
MuonTrackValidatorBase::h_assoc2eta
std::vector< MonitorElement * > h_assoc2eta
Definition: MuonTrackValidatorBase.h:278
MuonTrackValidatorBase::nDThits_vs_eta
std::vector< MonitorElement * > nDThits_vs_eta
Definition: MuonTrackValidatorBase.h:300
MuonTrackValidatorBase::h_assoc2pu
std::vector< MonitorElement * > h_assoc2pu
Definition: MuonTrackValidatorBase.h:284
MagneticField.h
MuonTrackValidatorBase::usemuon
bool usemuon
Definition: MuonTrackValidatorBase.h:272
MuonTrackValidatorBase::h_PurityVsQuality
std::vector< MonitorElement * > h_PurityVsQuality
Definition: MuonTrackValidatorBase.h:296
MuonTrackValidatorBase::track_Collection_Token
std::vector< edm::EDGetTokenT< edm::View< reco::Track > > > track_Collection_Token
Definition: MuonTrackValidatorBase.h:216
MuonTrackValidatorBase::h_recohit
std::vector< MonitorElement * > h_recohit
Definition: MuonTrackValidatorBase.h:280
MuonTrackValidatorBase::parametersDefiner
std::string parametersDefiner
Definition: MuonTrackValidatorBase.h:215
MuonTrackValidatorBase::h_assoc2hit
std::vector< MonitorElement * > h_assoc2hit
Definition: MuonTrackValidatorBase.h:280
MuonTrackValidatorBase::useFabsEta
bool useFabsEta
Definition: MuonTrackValidatorBase.h:229
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
MuonTrackValidatorBase::h_fakes
std::vector< MonitorElement * > h_fakes
Definition: MuonTrackValidatorBase.h:277
MuonTrackValidatorBase::h_ptpull
std::vector< MonitorElement * > h_ptpull
Definition: MuonTrackValidatorBase.h:312
MuonTrackValidatorBase::h_misiddxy
std::vector< MonitorElement * > h_misiddxy
Definition: MuonTrackValidatorBase.h:282
MuonTrackValidatorBase::ptpull_vs_phi
std::vector< MonitorElement * > ptpull_vs_phi
Definition: MuonTrackValidatorBase.h:309
MuonTrackValidatorBase::ptRes_rangeMin
double ptRes_rangeMin
Definition: MuonTrackValidatorBase.h:259
MuonTrackValidatorBase::nhits_vs_eta
std::vector< MonitorElement * > nhits_vs_eta
Definition: MuonTrackValidatorBase.h:300
MuonTrackValidatorBase::h_assoc2dxy
std::vector< MonitorElement * > h_assoc2dxy
Definition: MuonTrackValidatorBase.h:282
MuonTrackValidatorBase::cotThetaRes_rangeMin
double cotThetaRes_rangeMin
Definition: MuonTrackValidatorBase.h:265
TrackingParticle.h
MuonTrackValidatorBase::h_nmisslayers_inner
std::vector< MonitorElement * > h_nmisslayers_inner
Definition: MuonTrackValidatorBase.h:290
MuonTrackValidatorBase
Definition: MuonTrackValidatorBase.h:37
MuonTrackValidatorBase::thetapull_vs_eta
std::vector< MonitorElement * > thetapull_vs_eta
Definition: MuonTrackValidatorBase.h:308
MuonTrackValidatorBase::phires_vs_phi
std::vector< MonitorElement * > phires_vs_phi
Definition: MuonTrackValidatorBase.h:298
heppy_batch.val
val
Definition: heppy_batch.py:351
MuonTrackValidatorBase::label_pileupinfo
edm::InputTag label_pileupinfo
Definition: MuonTrackValidatorBase.h:212
std
Definition: JetResolutionObject.h:76
MuonTrackValidatorBase::dzres_vs_pt
std::vector< MonitorElement * > dzres_vs_pt
Definition: MuonTrackValidatorBase.h:306
MuonTrackValidatorBase::muonHistoParameters
edm::ParameterSet muonHistoParameters
Definition: MuonTrackValidatorBase.h:223
TrackingParticleFwd.h
MuonTrackValidatorBase::doProfileX
void doProfileX(TH2 *th2, MonitorElement *me)
Definition: MuonTrackValidatorBase.h:163
T
long double T
Definition: Basic3DVectorLD.h:48
MuonTrackValidatorBase::ignoremissingtkcollection_
bool ignoremissingtkcollection_
Definition: MuonTrackValidatorBase.h:274
MuonTrackValidatorBase::out
std::string out
Definition: MuonTrackValidatorBase.h:214
MuonTrackValidatorBase::phiRes_rangeMax
double phiRes_rangeMax
Definition: MuonTrackValidatorBase.h:263
Exception
Definition: hltDiff.cc:245
MuonTrackValidatorBase::h_nhits
std::vector< MonitorElement * > h_nhits
Definition: MuonTrackValidatorBase.h:277
MuonTrackValidatorBase::h_thetapullphi
std::vector< MonitorElement * > h_thetapullphi
Definition: MuonTrackValidatorBase.h:311
MuonTrackValidatorBase::bsSrc
edm::InputTag bsSrc
Definition: MuonTrackValidatorBase.h:209
MuonTrackValidatorBase::maxEta
double maxEta
Definition: MuonTrackValidatorBase.h:227
MuonTrackValidatorBase::label_tp_refvector
bool label_tp_refvector
Definition: MuonTrackValidatorBase.h:211
MuonTrackValidatorBase::h_assocSharedHit
std::vector< MonitorElement * > h_assocSharedHit
Definition: MuonTrackValidatorBase.h:292
MuonTrackValidatorBase::usetracker
bool usetracker
Definition: MuonTrackValidatorBase.h:272
MuonTrackValidatorBase::h_phipullphi
std::vector< MonitorElement * > h_phipullphi
Definition: MuonTrackValidatorBase.h:311
TrackingParticleCollection
std::vector< TrackingParticle > TrackingParticleCollection
Definition: TrackingParticleFwd.h:9
MuonTrackValidatorBase::h_thetapulleta
std::vector< MonitorElement * > h_thetapulleta
Definition: MuonTrackValidatorBase.h:310
MuonTrackValidatorBase::maxCSCHit
double maxCSCHit
Definition: MuonTrackValidatorBase.h:238
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
MuonTrackValidatorBase::h_tracks
std::vector< MonitorElement * > h_tracks
Definition: MuonTrackValidatorBase.h:277
MuonTrackValidatorBase::h_assoceta
std::vector< MonitorElement * > h_assoceta
Definition: MuonTrackValidatorBase.h:278
MuonTrackValidatorBase::minLayers
double minLayers
Definition: MuonTrackValidatorBase.h:242
MuonTrackValidatorBase::h_qoverppull
std::vector< MonitorElement * > h_qoverppull
Definition: MuonTrackValidatorBase.h:312
MuonTrackValidatorBase::MonitorElement
dqm::legacy::MonitorElement MonitorElement
Definition: MuonTrackValidatorBase.h:39
MuonTrackValidatorBase::nRecHits_vs_nSimHits
std::vector< MonitorElement * > nRecHits_vs_nSimHits
Definition: MuonTrackValidatorBase.h:295
ConsumesCollector.h
trigObjTnPSource_cfi.bins
bins
Definition: trigObjTnPSource_cfi.py:20
MuonTrackValidatorBase::thetapull_vs_phi
std::vector< MonitorElement * > thetapull_vs_phi
Definition: MuonTrackValidatorBase.h:309
ParameterSet.h
MuonTrackValidatorBase::nTRK_LayersWithMeas_vs_eta
std::vector< MonitorElement * > nTRK_LayersWithMeas_vs_eta
Definition: MuonTrackValidatorBase.h:303
MuonTrackValidatorBase::h_simuldz
std::vector< MonitorElement * > h_simuldz
Definition: MuonTrackValidatorBase.h:283
MuonTrackValidatorBase::dxyRes_rangeMax
double dxyRes_rangeMax
Definition: MuonTrackValidatorBase.h:267
MuonTrackValidatorBase::ptres_vs_eta
std::vector< MonitorElement * > ptres_vs_eta
Definition: MuonTrackValidatorBase.h:305
hlt_dqm_clientPB-live_cfg.me
me
Definition: hlt_dqm_clientPB-live_cfg.py:61
MuonTrackValidatorBase::maxFTracks
int maxFTracks
Definition: MuonTrackValidatorBase.h:226
MuonTrackValidatorBase::cotThetaRes_rangeMax
double cotThetaRes_rangeMax
Definition: MuonTrackValidatorBase.h:265
MuonTrackValidatorBase::getPt
double getPt(double pt)
Definition: MuonTrackValidatorBase.h:184
MuonTrackValidatorBase::h_simuldxy
std::vector< MonitorElement * > h_simuldxy
Definition: MuonTrackValidatorBase.h:282
MuonTrackValidatorBase::h_simulhit
std::vector< MonitorElement * > h_simulhit
Definition: MuonTrackValidatorBase.h:280
MuonTrackValidatorBase::h_nchi2
std::vector< MonitorElement * > h_nchi2
Definition: MuonTrackValidatorBase.h:289
MuonTrackValidatorBase::nhits_vs_phi
std::vector< MonitorElement * > nhits_vs_phi
Definition: MuonTrackValidatorBase.h:298
MuonTrackValidatorBase::h_assoc2dz
std::vector< MonitorElement * > h_assoc2dz
Definition: MuonTrackValidatorBase.h:283
MuonTrackValidatorBase::MuonTrackValidatorBase
MuonTrackValidatorBase(const edm::ParameterSet &pset, edm::ConsumesCollector iC)
Constructor.
Definition: MuonTrackValidatorBase.h:43
MuonTrackValidatorBase::ptpull_vs_eta
std::vector< MonitorElement * > ptpull_vs_eta
Definition: MuonTrackValidatorBase.h:308
MuonTrackValidatorBase::h_recophi
std::vector< MonitorElement * > h_recophi
Definition: MuonTrackValidatorBase.h:281
MuonTrackValidatorBase::h_charge
std::vector< MonitorElement * > h_charge
Definition: MuonTrackValidatorBase.h:277
MuonTrackValidatorBase::chi2_vs_nhits
std::vector< MonitorElement * > chi2_vs_nhits
Definition: MuonTrackValidatorBase.h:297
MuonTrackValidatorBase::phires_vs_pt
std::vector< MonitorElement * > phires_vs_pt
Definition: MuonTrackValidatorBase.h:306
edm::InputTag
Definition: InputTag.h:15
MuonTrackValidatorBase::dzres_vs_eta
std::vector< MonitorElement * > dzres_vs_eta
Definition: MuonTrackValidatorBase.h:305
edm::ConsumesCollector
Definition: ConsumesCollector.h:45
MuonTrackValidatorBase::minDTHit
double minDTHit
Definition: MuonTrackValidatorBase.h:236
MuonTrackValidatorBase::maxDxy
double maxDxy
Definition: MuonTrackValidatorBase.h:248
muonDTDigis_cfi.pset
pset
Definition: muonDTDigis_cfi.py:27
MuonTrackValidatorBase::h_simulphi
std::vector< MonitorElement * > h_simulphi
Definition: MuonTrackValidatorBase.h:281
MuonTrackValidatorBase::h_assocphi
std::vector< MonitorElement * > h_assocphi
Definition: MuonTrackValidatorBase.h:281
MuonTrackValidatorBase::nintPixels
int nintPixels
Definition: MuonTrackValidatorBase.h:245
dqm::legacy::MonitorElement::getTH2F
virtual TH2F * getTH2F() const
Definition: MonitorElement.h:491
MuonTrackValidatorBase::DQMStore
dqm::legacy::DQMStore DQMStore
Definition: MuonTrackValidatorBase.h:38
MuonTrackValidatorBase::maxLayers
double maxLayers
Definition: MuonTrackValidatorBase.h:242