Go to the documentation of this file. 1 #ifndef Validation_RecoTrack_MTVHistoProducerAlgoForTracker_h
2 #define Validation_RecoTrack_MTVHistoProducerAlgoForTracker_h
179 int nSimStripMonoAndStereoLayers,
187 const std::vector<float>& mvas,
188 unsigned int selectsLoose,
189 unsigned int selectsHP)
const;
200 int numVertices)
const;
216 bool isChargeMatched,
217 int numAssocRecoTracks,
220 double sharedFraction,
223 const std::vector<float>& mvas,
224 unsigned int selectsLoose,
225 unsigned int selectsHP)
const;
238 int numRecoTracksSelected,
239 int numSimTracksSelected)
const;
363 std::tuple<SeedingLayerSetsBuilder::SeedingLayerId, bool>;
std::unique_ptr< RecoTrackSelectorBase > trackSelectorVsEta
std::vector< METype > h_recodz
std::vector< METype > h_assoc2dzpv
dqm::reco::DQMStore DQMStore
std::vector< METype > dzres_vs_pt
std::vector< METype > h_misidlayer
std::vector< std::vector< METype > > h_dedx_sat
std::vector< METype > h_assocdzpv
std::vector< METype > h_looperpixellayer
void bookRecoPVAssociationHistos(DQMStore::IBooker &ibook, Histograms &histograms)
std::vector< METype > assoc_chi2_vs_eta
std::vector< METype > h_looperhit
std::vector< METype > nrecHit_vs_nsimHit_rec2sim
std::vector< METype > h_recochi2
std::vector< METype > h_losthits
std::vector< std::vector< METype > > h_assoc2_mvacut_hp
std::vector< METype > dxypull_vs_eta
std::vector< METype > ptpull_vs_pt
std::vector< METype > nrec_vs_nsim
void fill_duplicate_histos(const Histograms &histograms, int count, const reco::Track &track1, const reco::Track &track2) const
std::unique_ptr< GenParticleCustomSelector > generalGpSelector
std::vector< METype > h_simuldxypv
std::vector< METype > h_assocdr
std::vector< std::vector< METype > > h_assoc2_mvacut
std::vector< METype > h_assocFraction
std::vector< METype > h_assoc2_itpu_eta
unsigned int getSeedingLayerSetBin(const reco::Track &track, const TrackerTopology &ttopo) const
std::vector< METype > h_assochi2
std::vector< METype > chi2_vs_phi
std::vector< METype > h_pileupchi2prob
std::vector< METype > h_simuldzpvzoomed
std::vector< METype > nlosthits_vs_eta
void bookSeedHistos(DQMStore::IBooker &ibook, Histograms &histograms)
std::vector< METype > h_recophi
std::unique_ptr< GenParticleCustomSelector > GpSelectorForEfficiencyVsEta
std::vector< METype > h_simuldrj
std::vector< METype > h_algo
std::vector< METype > h_misidpTvseta
std::vector< METype > nTEChits_vs_eta
std::vector< METype > nTIDhits_vs_eta
std::vector< METype > nPXFhits_vs_eta
std::vector< METype > h_misidphi
std::vector< METype > h_pileup_dzpvsigcut
std::vector< METype > ptres_vs_pt
std::vector< METype > dzres_vs_phi
std::vector< METype > h_pileupchi2
std::vector< METype > h_nmisslayers_outer
std::vector< std::vector< METype > > h_assoc2_mva_vs_eta_hp
std::unique_ptr< TrackingParticleSelector > TpSelectorForEfficiencyVsVTXR
std::vector< METype > h_reco_simpvz
std::vector< std::vector< METype > > h_dedx_estim
std::unique_ptr< GenParticleCustomSelector > GpSelectorForEfficiencyVsPt
std::unique_ptr< GenParticleCustomSelector > GpSelectorForEfficiencyVsVTXZ
std::vector< METype > cotThetares_vs_eta
std::vector< METype > ptres_vs_phi
std::vector< METype > h_pullDz
std::vector< METype > h_recopT
std::vector< std::vector< METype > > h_assoc_mvacut
std::vector< METype > h_assoc2_itpu_vertcount
void fill_trackBased_histos(const Histograms &histograms, int count, int assTracks, int numRecoTracks, int numRecoTracksSelected, int numSimTracksSelected) const
std::vector< METype > h_assocphi
std::vector< METype > phipull_vs_phi
std::vector< METype > h_nmisslayers_inner
std::vector< std::vector< METype > > h_fake_mva_vs_pt_hp
std::vector< METype > h_looperpu
std::vector< METype > h_fakes
std::vector< METype > h_assoc2zpos
std::vector< METype > h_simuleta
std::vector< METype > h_con_zpos
std::vector< std::vector< METype > > h_assoc2_mva_vs_pt
std::vector< METype > chi2_vs_pt
std::vector< METype > h_assoc2_ootpu_eta
std::vector< METype > h_reco_ootpu_eta
std::unique_ptr< TrackingParticleSelector > TpSelectorForEfficiencyVsEta
std::unique_ptr< RecoTrackSelectorBase > trackSelectorVsPhi
std::vector< std::vector< METype > > h_reco_mva_hp
void fill_ResoAndPull_recoTrack_histos(const Histograms &histograms, int count, const TrackingParticle::Vector &momentumTP, const TrackingParticle::Point &vertexTP, int chargeTP, const reco::Track &track, const math::XYZPoint &bsPosition) const
std::unique_ptr< TrackingParticleSelector > TpSelectorForEfficiencyVsPt
std::vector< METype > h_recodxy
std::vector< std::vector< METype > > h_assoc2_mva_hp
std::vector< METype > h_assoc2dz
std::vector< METype > h_assoc2_dzpvcut
math::XYZVectorD Vector
point in the space
std::vector< METype > h_assoc2eta_sig
std::vector< std::vector< METype > > h_assoc2_mva_vs_eta
std::vector< METype > h_reco2eta
std::vector< METype > h_assoc2chi2prob
std::vector< METype > h_recolayer
std::vector< METype > h_pileup_dzpvcut
std::vector< METype > dxyres_vs_phi
std::vector< METype > nhits_vs_phi
std::vector< METype > h_loopervertpos
std::vector< METype > h_looperdr
std::vector< METype > h_misiddzpv
std::vector< std::vector< METype > > h_reco_mva
std::vector< METype > h_looperdxy
std::vector< METype > h_recopixellayer
std::vector< METype > assoc_chi2prob_vs_drj
std::vector< METype > thetapull_vs_pt
std::vector< METype > h_simulpu
std::vector< METype > assoc_chi2_vs_pt
std::vector< METype > h_simuldz
std::unique_ptr< GenParticleCustomSelector > GpSelectorForEfficiencyVsPhi
std::vector< METype > h_pullTheta
std::vector< METype > h_looperzpos
std::vector< METype > h_assocdxypv
std::vector< METype > dxyres_vs_pt
std::vector< METype > h_pileupdxy
std::vector< METype > h_misidhit
std::vector< METype > h_tracks
std::vector< METype > h_assochi2_prob
std::vector< METype > h_charge
std::vector< METype > h_assoc2chi2
std::vector< METype > phires_vs_phi
std::vector< METype > dzres_vs_eta
std::vector< METype > h_assoc_dzpvsigcut
std::vector< METype > h_looperphi
std::vector< std::vector< METype > > h_assoc2_mva_vs_pt_hp
std::vector< METype > phipull_vs_pt
std::vector< METype > nrecHit_vs_nsimHit_sim2rec
std::vector< METype > h_recopu
std::vector< METype > h_misidchi2
std::vector< METype > h_looper3Dlayer
void bookSimTrackPVAssociationHistos(DQMStore::IBooker &ibook, Histograms &histograms)
std::vector< METype > h_assoc23Dlayer
std::vector< std::vector< METype > > h_assoc_mvacut_hp
std::vector< METype > h_pileuphit
std::vector< std::vector< METype > > h_simul2_mvacut_hp
std::vector< METype > chi2_vs_eta
std::vector< METype > h_assoczpos
std::vector< METype > h_pileupdrj
std::vector< METype > h_pileup_seedingLayerSet
std::vector< METype > h_pileup3Dlayer
std::vector< METype > h_assoceta
std::vector< METype > h_assocdrj
std::vector< METype > h_recodxypvzoomed
std::vector< std::vector< METype > > h_fake_mva_vs_pt
std::vector< METype > h_recopTvseta
std::vector< METype > dxyres_vs_eta
std::vector< METype > ptres_vs_eta
std::vector< METype > h_assoc2dxypvzoomed
std::vector< METype > h_pileuppixellayer
std::vector< METype > h_assoc_simpvz
Monte Carlo truth information used for tracking validation.
std::vector< METype > h_reco2pTvseta
std::vector< METype > nBTLhits_vs_eta
std::vector< METype > h_loopereta
std::vector< METype > h_pt
std::vector< METype > chi2_vs_nhits
void bookSimHistos(DQMStore::IBooker &ibook, Histograms &histograms)
std::vector< METype > h_recodrj
std::vector< METype > h_assoc2pixellayer
std::vector< METype > h_pileupdzpv
std::vector< METype > h_assoc2_seedingLayerSet
std::vector< METype > h_assocvertpos
std::vector< METype > h_assoc_dzpvcut
std::vector< METype > h_ptshifteta
void fill_simTrackBased_histos(const Histograms &histograms, int numSimTracks) const
std::vector< METype > h_assocpu
std::vector< METype > h_assoc2_ootpu_vertcount
std::vector< METype > h_reco_ootpu_vertcount
std::vector< METype > h_con_vertcount
std::vector< METype > h_simulpixellayer
std::vector< METype > h_assocpT
std::vector< METype > h_recodzpvzoomed
std::vector< METype > h_assocdz
std::vector< METype > nSTRIPlayersWith1dMeas_vs_eta
std::vector< METype > h_pileupdxypvzoomed
std::vector< METype > thetapull_vs_phi
void bookMVAHistos(DQMStore::IBooker &ibook, Histograms &histograms, size_t nMVAs)
std::vector< METype > h_simulpT
std::vector< METype > phires_vs_pt
std::vector< METype > phimean_vs_eta_phi
std::vector< METype > h_eta
std::vector< METype > h_pileupeta
std::vector< METype > h_reco2pu
std::vector< METype > h_looperpT
bool isMatched(TrackingRecHit const &hit)
std::vector< METype > h_assoc2hit
std::vector< METype > h_assocdxypvzoomed
std::vector< METype > h_assoc2_simpvz
XYZPointD XYZPoint
point in space with cartesian internal representation
std::vector< METype > h_simul_dzpvcut
std::vector< METype > h_looperlayer
std::array< SeedingLayerId, 4 > SeedingLayerSetId
std::unique_ptr< RecoTrackSelectorBase > trackSelectorVsPt
std::tuple< SeedingLayerSetsBuilder::SeedingLayerId, bool > SeedingLayerId
std::vector< METype > assoc_chi2prob_vs_pt
std::vector< METype > h_pullDxy
std::vector< METype > h_assocpixellayer
std::vector< METype > h_looperchi2prob
std::vector< METype > h_misidpixellayer
std::vector< METype > nTIBhits_vs_eta
std::vector< METype > dxypull_vs_pt
std::vector< METype > assoc_chi2prob_vs_eta
std::vector< std::vector< METype > > h_fake_mva_vs_eta_hp
std::vector< METype > h_assoc2pu
std::vector< METype > h_assoc2eta
std::vector< METype > h_looperdz
std::vector< METype > h_recodr
std::vector< METype > h_assoc2_itpu_sig_eta
std::vector< METype > h_assoc2drj
std::vector< METype > h_simul2_dzpvcut
std::vector< METype > h_simuldr
std::vector< METype > h_pileuppT
std::vector< METype > h_simuldxypvzoomed
std::vector< METype > h_looperdzpv
std::vector< METype > ptpull_vs_phi
std::vector< METype > chi2_vs_drj
std::vector< METype > h_assoc2dzpvzoomed
std::vector< METype > h_pullPhi
std::vector< METype > h_recodxypv
std::vector< METype > h_recochi2prob
std::vector< METype > h_assoc2pTvseta
std::unique_ptr< TrackingParticleSelector > TpSelectorForEfficiencyVsVTXZ
std::vector< METype > h_looperpTvseta
std::vector< METype > h_assocdxy
std::vector< METype > h_duplicates_oriAlgo_vs_oriAlgo
std::vector< METype > h_nchi2
std::vector< METype > h_looperdzpvzoomed
std::vector< METype > h_pileupphi
std::vector< METype > nMTDhits_vs_eta
std::vector< METype > nLayersWithMeas_vs_eta
std::vector< METype > h_seedsFitFailedFraction
std::vector< METype > h_reco2pT
double cotThetaRes_rangeMin
std::vector< METype > h_looper_simpvz
std::vector< METype > h_assocSharedHit
std::vector< METype > h_con_eta
std::vector< METype > h_misiddz
std::vector< METype > h_misiddxypv
std::vector< METype > h_recovertpos
std::vector< METype > h_pileupdr
void getRecoMomentum(const reco::Track &track, double &pt, double &ptError, double &qoverp, double &qoverpError, double &lambda, double &lambdaError, double &phi, double &phiError) const
retrieval of reconstructed momentum components from reco::Track (== mean values for GSF)
std::vector< METype > phipull_vs_eta
std::vector< METype > assoc_chi2_vs_drj
std::vector< METype > h_reco_dzpvcut
std::vector< METype > h_nchi2_prob
std::vector< METype > h_misid3Dlayer
std::vector< METype > h_pileup_simpvz
std::vector< METype > h_recoeta
std::vector< METype > nSTRIPlayersWithMeas_vs_eta
std::vector< METype > h_reco3Dlayer
std::vector< METype > ptpull_vs_eta
std::vector< METype > h_assocpTvseta
double getEta(double eta) const
std::vector< METype > nPXBhits_vs_eta
void fill_dedx_recoTrack_histos(const Histograms &histograms, int count, const edm::RefToBase< reco::Track > &trackref, const std::vector< const edm::ValueMap< reco::DeDxData > * > &v_dEdx) const
std::vector< std::vector< METype > > h_dedx_nom
std::vector< METype > h_simulphi
std::vector< METype > h_seedsFitFailed
std::vector< METype > h_simul_simpvz
std::vector< METype > h_assocdzpvzoomed
std::vector< METype > h_assoc2dxy
double getPt(double pt) const
std::vector< std::vector< METype > > h_fake_mva_vs_eta
std::vector< METype > nETLhits_vs_eta
void fill_generic_recoTrack_histos(const Histograms &histograms, int count, const reco::Track &track, const TrackerTopology &ttopo, const math::XYZPoint &bsPosition, const math::XYZPoint *pvPosition, const TrackingVertex::LorentzVector *simPVPosition, bool isMatched, bool isSigMatched, bool isChargeMatched, int numAssocRecoTracks, int numVertices, int nSimHits, double sharedFraction, double dR, double dR_jet, const std::vector< float > &mvas, unsigned int selectsLoose, unsigned int selectsHP) const
std::vector< METype > h_misiddxy
std::vector< METype > h_assoclayer
std::vector< std::vector< METype > > h_assoc2_mva
std::vector< METype > h_simulhit
std::vector< METype > h_pileupvertpos
std::vector< METype > cotThetares_vs_pt
std::vector< METype > h_misidchi2prob
std::vector< METype > h_assoc2dr
std::vector< METype > h_assoc2_itpu_sig_vertcount
std::vector< std::string > seedingLayerSetNames
std::vector< METype > h_pileupzpos
std::vector< METype > h_misidpu
std::unique_ptr< TrackingParticleSelector > generalTpSelector
std::vector< METype > h_simullayer
std::vector< METype > h_simul3Dlayer
std::vector< std::vector< METype > > h_simul2_mvacut
std::vector< METype > h_looper_seedingLayerSet
std::vector< METype > h_simul_dzpvsigcut
std::vector< METype > h_pullQoverp
std::vector< METype > h_pileuppTvseta
std::vector< METype > h_recodzpv
std::vector< METype > h_misiddxypvzoomed
std::vector< METype > h_assoc3Dlayer
std::vector< METype > h_looperdxypv
std::vector< METype > h_assoc2layer
std::vector< METype > h_assoc2phi
std::vector< METype > dzpull_vs_eta
std::vector< METype > nhits_vs_eta
std::vector< METype > h_recozpos
std::vector< METype > nPXLhits_vs_eta
std::vector< METype > h_recohit
std::vector< METype > h_pileuppu
const bool doDzPVcutPlots_
std::vector< METype > h_simul2_dzpvsigcut
std::vector< METype > h_pileuplayer
void fill_generic_simTrack_histos(const Histograms &histograms, const TrackingParticle::Vector &, const TrackingParticle::Point &vertex, int bx) const
void bookSimTrackHistos(DQMStore::IBooker &ibook, Histograms &histograms, bool doResolutionPlots)
std::vector< std::vector< METype > > h_reco_mvacut_hp
std::vector< METype > nTOBhits_vs_eta
std::vector< METype > etares_vs_eta
std::vector< METype > h_pileupdxypv
std::vector< METype > h_assoc2dxypv
std::vector< METype > nSTRIPlayersWith2dMeas_vs_eta
std::vector< METype > h_simulvertpos
std::vector< METype > h_reco_seedingLayerSet
math::XYZPointD Point
point in the space
std::vector< METype > h_assoc2pT
std::vector< METype > phires_vs_eta
std::unique_ptr< GenParticleCustomSelector > GpSelectorForEfficiencyVsVTXR
std::vector< METype > h_looperchi2
std::vector< METype > h_reco_dzpvsigcut
std::vector< METype > h_misideta
std::vector< METype > h_assoc2_dzpvsigcut
void fill_simAssociated_recoTrack_histos(const Histograms &histograms, int count, const reco::Track &track) const
std::vector< METype > h_simuldzpv
std::vector< METype > h_simulpTvseta
std::vector< METype > h_simuldxy
static std::unique_ptr< RecoTrackSelectorBase > makeRecoTrackSelectorFromTPSelectorParameters(const edm::ParameterSet &pset)
MTVHistoProducerAlgoForTracker(const edm::ParameterSet &pset, const bool doSeedPlots)
std::vector< METype > h_assochit
std::vector< METype > h_hits
std::vector< METype > h_misiddzpvzoomed
std::vector< METype > h_pileupdz
void bookRecoHistos(DQMStore::IBooker &ibook, Histograms &histograms, bool doResolutionPlots)
std::vector< std::vector< METype > > h_reco_mvacut
double cotThetaRes_rangeMax
std::vector< METype > h_misidpT
~MTVHistoProducerAlgoForTracker()
std::vector< METype > nPXLlayersWithMeas_vs_eta
std::vector< METype > h_simulzpos
std::vector< METype > h_looperdxypvzoomed
void bookRecodEdxHistos(DQMStore::IBooker &ibook, Histograms &histograms)
std::map< SeedingLayerSetId, unsigned int > seedingLayerSetToBin
std::vector< METype > nSTRIPhits_vs_eta
std::vector< METype > ptmean_vs_eta_phi
std::vector< METype > h_pileupdzpvzoomed
math::XYZTLorentzVectorD LorentzVector
std::vector< METype > h_looperdrj
std::unique_ptr< TrackingParticleSelector > TpSelectorForEfficiencyVsPhi
std::vector< METype > h_assoc2vertpos
std::vector< METype > thetapull_vs_eta
void fill_seed_histos(const Histograms &histograms, int count, int seedsFitFailed, int seedsTotal) const
std::vector< METype > dzpull_vs_pt
void fill_recoAssociated_simTrack_histos(const Histograms &histograms, int count, const TrackingParticle &tp, const TrackingParticle::Vector &momentumTP, const TrackingParticle::Point &vertexTP, double dxy, double dz, double dxyPV, double dzPV, int nSimHits, int nSimLayers, int nSimPixelLayers, int nSimStripMonoAndStereoLayers, const reco::Track *track, int numVertices, double dR, double dR_jet, const math::XYZPoint *pvPosition, const TrackingVertex::LorentzVector *simPVPosition, const math::XYZPoint &bsPosition, const std::vector< float > &mvas, unsigned int selectsLoose, unsigned int selectsHP) const