Go to the documentation of this file. 1 #ifndef MuonTrackValidatorBase_h
2 #define MuonTrackValidatorBase_h
48 for (
unsigned int www = 0; www <
label.size(); www++) {
149 template <
typename T>
155 if (th2->GetNbinsX() ==
me->getNbinsX()) {
156 TProfile*
p1 = (TProfile*)th2->ProfileX();
157 p1->Copy(*
me->getTProfile());
160 throw cms::Exception(
"MuonTrackValidator") <<
"Different number of bins!";
183 TAxis* axis =
h->GetXaxis();
184 int bins = axis->GetNbins();
186 float from = axis->GetXmin();
187 float to = axis->GetXmax();
189 float* new_bins =
new float[
bins + 1];
191 for (
int i = 0;
i <=
bins;
i++) {
192 new_bins[
i] = TMath::Power(10, from +
i *
width);
194 axis->Set(
bins, new_bins);
std::vector< MonitorElement * > h_misiddz
std::vector< MonitorElement * > h_simulRpos
std::vector< MonitorElement * > chi2_vs_eta
std::vector< MonitorElement * > ptres_vs_phi
virtual ~MuonTrackValidatorBase() noexcept(false)
Destructor.
std::vector< MonitorElement * > ptres_vs_pt
std::vector< MonitorElement * > h_assocpT
std::vector< MonitorElement * > dzpull_vs_eta
std::vector< MonitorElement * > h_assocZpos
edm::EDGetTokenT< TrackingParticleCollection > tp_fake_Token
std::vector< MonitorElement * > h_misidphi
std::vector< edm::InputTag > label
std::vector< MonitorElement * > h_misidpu
std::vector< MonitorElement * > h_misideta
edm::InputTag label_tp_effic
std::vector< MonitorElement * > phires_vs_eta
std::vector< MonitorElement * > dxypull_vs_eta
std::vector< MonitorElement * > h_ptpulleta
std::vector< MonitorElement * > h_misidhit
std::vector< MonitorElement * > h_assocpu
std::vector< MonitorElement * > h_simulZpos
std::vector< MonitorElement * > h_recodxy
std::vector< MonitorElement * > h_simulpT
std::vector< MonitorElement * > h_dzpulleta
std::vector< MonitorElement * > thetaCotres_vs_pt
std::vector< MonitorElement * > h_recodz
std::vector< MonitorElement * > nME0hits_vs_eta
std::vector< MonitorElement * > nlosthits_vs_eta
std::vector< MonitorElement * > nPixel_LayersWithMeas_vs_eta
std::vector< MonitorElement * > etares_vs_eta
std::vector< MonitorElement * > h_nlosthits
T getUntrackedParameter(std::string const &, T const &) const
std::vector< MonitorElement * > h_nmisslayers_outer
std::vector< MonitorElement * > h_assocRpos
std::vector< MonitorElement * > h_losthits
double getEta(double eta)
std::vector< MonitorElement * > h_recopu
edm::EDGetTokenT< TrackingParticleCollection > tp_effic_Token
std::vector< MonitorElement * > h_assocFraction
std::vector< MonitorElement * > h_misidpT
std::vector< MonitorElement * > h_recoeta
edm::EDGetTokenT< std::vector< PileupSummaryInfo > > pileupinfo_Token
std::vector< MonitorElement * > phipull_vs_phi
std::vector< MonitorElement * > h_ptpullphi
std::vector< MonitorElement * > h_assoc2pT
std::vector< MonitorElement * > nCSChits_vs_eta
std::vector< MonitorElement * > h_recopT
std::vector< MonitorElement * > h_assochi2
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
edm::EDGetTokenT< reco::BeamSpot > bsSrc_Token
MuonTrackValidatorBase(const edm::ParameterSet &pset)
std::vector< MonitorElement * > h_assocdz
std::vector< MonitorElement * > h_dxypulleta
std::vector< MonitorElement * > nRPChits_vs_eta
std::vector< MonitorElement * > thetaCotres_vs_eta
std::vector< MonitorElement * > h_dzpull
std::vector< MonitorElement * > h_phipull
std::vector< MonitorElement * > h_assochi2_prob
void doProfileX(MonitorElement *th2m, MonitorElement *me)
std::vector< MonitorElement * > h_dxypull
std::vector< MonitorElement * > chi2_vs_phi
void fillPlotNoFlow(MonitorElement *h, T val)
std::vector< MonitorElement * > h_assoc2phi
std::vector< MonitorElement * > h_phipulleta
std::vector< std::string > associators
std::vector< MonitorElement * > h_etaRes
std::vector< MonitorElement * > h_thetapull
std::vector< MonitorElement * > dxyres_vs_pt
std::vector< MonitorElement * > h_assochit
std::vector< MonitorElement * > h_assocdxy
edm::ESHandle< MagneticField > theMF
std::vector< MonitorElement * > nGEMhits_vs_eta
std::vector< MonitorElement * > h_simulpu
std::vector< MonitorElement * > h_simuleta
std::vector< MonitorElement * > dxyres_vs_eta
std::vector< MonitorElement * > phipull_vs_eta
std::vector< MonitorElement * > h_nchi2_prob
std::vector< MonitorElement * > h_assoc2eta
std::vector< MonitorElement * > nDThits_vs_eta
std::vector< MonitorElement * > h_assoc2pu
std::vector< MonitorElement * > h_PurityVsQuality
std::vector< edm::EDGetTokenT< edm::View< reco::Track > > > track_Collection_Token
std::vector< MonitorElement * > h_recohit
std::string parametersDefiner
std::vector< MonitorElement * > h_assoc2hit
std::vector< MonitorElement * > h_fakes
std::vector< MonitorElement * > h_ptpull
std::vector< MonitorElement * > h_misiddxy
std::vector< MonitorElement * > ptpull_vs_phi
std::vector< MonitorElement * > nhits_vs_eta
std::vector< MonitorElement * > h_assoc2dxy
double cotThetaRes_rangeMin
std::vector< MonitorElement * > h_nmisslayers_inner
std::vector< MonitorElement * > thetapull_vs_eta
std::vector< MonitorElement * > phires_vs_phi
edm::InputTag label_pileupinfo
std::vector< MonitorElement * > dzres_vs_pt
edm::ParameterSet muonHistoParameters
void doProfileX(TH2 *th2, MonitorElement *me)
bool ignoremissingtkcollection_
std::vector< MonitorElement * > h_nhits
std::vector< MonitorElement * > h_thetapullphi
std::vector< MonitorElement * > h_assocSharedHit
std::vector< MonitorElement * > h_phipullphi
std::vector< TrackingParticle > TrackingParticleCollection
std::vector< MonitorElement * > h_thetapulleta
T getParameter(std::string const &) const
std::vector< MonitorElement * > h_tracks
std::vector< MonitorElement * > h_assoceta
edm::InputTag label_tp_fake
std::vector< MonitorElement * > h_qoverppull
dqm::legacy::MonitorElement MonitorElement
std::vector< MonitorElement * > nRecHits_vs_nSimHits
std::vector< MonitorElement * > thetapull_vs_phi
std::vector< MonitorElement * > nTRK_LayersWithMeas_vs_eta
std::vector< MonitorElement * > h_simuldz
std::vector< MonitorElement * > ptres_vs_eta
double cotThetaRes_rangeMax
std::vector< MonitorElement * > h_simuldxy
std::vector< MonitorElement * > h_simulhit
std::vector< MonitorElement * > h_nchi2
std::vector< MonitorElement * > nhits_vs_phi
std::vector< MonitorElement * > h_assoc2dz
MuonTrackValidatorBase(const edm::ParameterSet &pset, edm::ConsumesCollector iC)
Constructor.
std::vector< MonitorElement * > ptpull_vs_eta
std::vector< MonitorElement * > h_recophi
std::vector< MonitorElement * > h_charge
std::vector< MonitorElement * > chi2_vs_nhits
std::vector< MonitorElement * > phires_vs_pt
std::vector< MonitorElement * > dzres_vs_eta
std::vector< MonitorElement * > h_simulphi
std::vector< MonitorElement * > h_assocphi
virtual TH2F * getTH2F() const
dqm::legacy::DQMStore DQMStore