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