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