CMS 3D CMS Logo

Public Member Functions | Private Member Functions | Private Attributes

MTVHistoProducerAlgoForTracker Class Reference

#include <MTVHistoProducerAlgoForTracker.h>

Inheritance diagram for MTVHistoProducerAlgoForTracker:
MTVHistoProducerAlgo

List of all members.

Public Member Functions

void bookRecoHistos ()
void bookRecoHistosForStandaloneRunning ()
void bookSimHistos ()
void fill_dedx_recoTrack_histos (int count, edm::RefToBase< reco::Track > &trackref, std::vector< edm::ValueMap< reco::DeDxData > > v_dEdx)
void fill_generic_recoTrack_histos (int count, const reco::Track &track, math::XYZPoint bsPosition, bool isMatched, bool isSigMatched, bool isChargeMatched, int numAssocRecoTracks, int numVertices, int tpbunchcrossing, int nSimHits, double sharedFraction)
void fill_generic_simTrack_histos (int counter, ParticleBase::Vector, ParticleBase::Point vertex, int bx)
void fill_recoAssociated_simTrack_histos (int count, const TrackingParticle &tp, ParticleBase::Vector momentumTP, ParticleBase::Point vertexTP, double dxy, double dz, int nSimHits, const reco::Track *track, int numVertices, double vertz)
void fill_ResoAndPull_recoTrack_histos (int count, ParticleBase::Vector momentumTP, ParticleBase::Point vertexTP, int chargeTP, const reco::Track &track, math::XYZPoint bsPosition)
void fill_simAssociated_recoTrack_histos (int count, const reco::Track &track)
void fill_trackBased_histos (int count, int assTracks, int numRecoTracks, int numSimTracks)
void fillHistosFromVectors (int counter)
void fillProfileHistosFromVectors (int counter)
void finalHistoFits (int counter)
void initialize ()
 MTVHistoProducerAlgoForTracker (const edm::ParameterSet &pset)
virtual ~MTVHistoProducerAlgoForTracker ()

Private Member Functions

double getEta (double eta)
double getPt (double pt)
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)
void getRecoMomentum (const reco::GsfTrack &gsfTrack, double &pt, double &ptError, double &qoverp, double &qoverpError, double &lambda, double &lambdaError, double &phi, double &phiError) const
 retrieval of reconstructed momentum components based on the mode of a reco::GsfTrack
void setUpVectors ()

Private Attributes

std::vector< MonitorElement * > chi2_vs_eta
std::vector< MonitorElement * > chi2_vs_nhits
std::vector< MonitorElement * > chi2_vs_phi
int cotThetaRes_nbin
double cotThetaRes_rangeMax
double cotThetaRes_rangeMin
std::vector< MonitorElement * > cotThetares_vs_eta
std::vector< MonitorElement * > cotThetares_vs_pt
std::vector< std::vector
< double > > 
dxyintervals
std::vector< MonitorElement * > dxypull_vs_eta
int dxyRes_nbin
double dxyRes_rangeMax
double dxyRes_rangeMin
std::vector< MonitorElement * > dxyres_vs_eta
std::vector< MonitorElement * > dxyres_vs_pt
std::vector< std::vector
< double > > 
dzintervals
std::vector< MonitorElement * > dzpull_vs_eta
int dzRes_nbin
double dzRes_rangeMax
double dzRes_rangeMin
std::vector< MonitorElement * > dzres_vs_eta
std::vector< MonitorElement * > dzres_vs_pt
std::vector< std::vector
< double > > 
etaintervals
std::vector< MonitorElement * > etares_vs_eta
TrackingParticleSelectorgeneralTpSelector
std::vector< MonitorElement * > h_algo
std::vector< MonitorElement * > h_assoc2_itpu_eta
std::vector< MonitorElement * > h_assoc2_itpu_sig_eta
std::vector< MonitorElement * > h_assoc2_itpu_sig_vertcount
std::vector< MonitorElement * > h_assoc2_itpu_vertcount
std::vector< MonitorElement * > h_assoc2_ootpu_barrel
std::vector< MonitorElement * > h_assoc2_ootpu_entire
std::vector< MonitorElement * > h_assoc2_ootpu_eta
std::vector< MonitorElement * > h_assoc2_ootpu_fwdneg
std::vector< MonitorElement * > h_assoc2_ootpu_fwdpos
std::vector< MonitorElement * > h_assoc2_ootpu_vertcount
std::vector< MonitorElement * > h_assoc2_vertcount_barrel
std::vector< MonitorElement * > h_assoc2_vertcount_entire
std::vector< MonitorElement * > h_assoc2_vertcount_fwdneg
std::vector< MonitorElement * > h_assoc2_vertcount_fwdpos
std::vector< MonitorElement * > h_assoc2dxy
std::vector< MonitorElement * > h_assoc2dz
std::vector< MonitorElement * > h_assoc2eta
std::vector< MonitorElement * > h_assoc2eta_sig
std::vector< MonitorElement * > h_assoc2hit
std::vector< MonitorElement * > h_assoc2phi
std::vector< MonitorElement * > h_assoc2pT
std::vector< MonitorElement * > h_assoc_vertcount_barrel
std::vector< MonitorElement * > h_assoc_vertcount_entire
std::vector< MonitorElement * > h_assoc_vertcount_fwdneg
std::vector< MonitorElement * > h_assoc_vertcount_fwdpos
std::vector< MonitorElement * > h_assoc_vertz_barrel
std::vector< MonitorElement * > h_assoc_vertz_entire
std::vector< MonitorElement * > h_assoc_vertz_fwdneg
std::vector< MonitorElement * > h_assoc_vertz_fwdpos
std::vector< MonitorElement * > h_assocdxy
std::vector< MonitorElement * > h_assocdz
std::vector< MonitorElement * > h_assoceta
std::vector< MonitorElement * > h_assocFraction
std::vector< MonitorElement * > h_assochi2
std::vector< MonitorElement * > h_assochi2_prob
std::vector< MonitorElement * > h_assochit
std::vector< MonitorElement * > h_assocphi
std::vector< MonitorElement * > h_assocpT
std::vector< MonitorElement * > h_assocSharedHit
std::vector< MonitorElement * > h_assocvertpos
std::vector< MonitorElement * > h_assoczpos
std::vector< MonitorElement * > h_bunchxSIM
std::vector< MonitorElement * > h_charge
std::vector< MonitorElement * > h_chi2mean_vs_phi
std::vector< MonitorElement * > h_chi2meanh
std::vector< MonitorElement * > h_chi2meanhitsh
std::vector< MonitorElement * > h_con_eta
std::vector< MonitorElement * > h_con_vertcount
std::vector< MonitorElement * > h_con_zpos
std::vector< MonitorElement * > h_cotThetameanh
std::vector< MonitorElement * > h_cotThetameanhPt
std::vector< MonitorElement * > h_cotThetarmsh
std::vector< MonitorElement * > h_cotThetarmshPt
std::vector< MonitorElement * > h_CSChits_eta
std::vector< MonitorElement * > h_dedx_estim1
std::vector< MonitorElement * > h_dedx_estim2
std::vector< MonitorElement * > h_dedx_nom1
std::vector< MonitorElement * > h_dedx_nom2
std::vector< MonitorElement * > h_dedx_sat1
std::vector< MonitorElement * > h_dedx_sat2
std::vector< MonitorElement * > h_DThits_eta
std::vector< MonitorElement * > h_dxymeanh
std::vector< MonitorElement * > h_dxymeanhPt
std::vector< MonitorElement * > h_dxypulleta
std::vector< MonitorElement * > h_dxypulletamean
std::vector< MonitorElement * > h_dxyrmsh
std::vector< MonitorElement * > h_dxyrmshPt
std::vector< MonitorElement * > h_dzmeanh
std::vector< MonitorElement * > h_dzmeanhPt
std::vector< MonitorElement * > h_dzpulleta
std::vector< MonitorElement * > h_dzpulletamean
std::vector< MonitorElement * > h_dzrmsh
std::vector< MonitorElement * > h_dzrmshPt
std::vector< MonitorElement * > h_effic
std::vector< MonitorElement * > h_effic_PU_eta
std::vector< MonitorElement * > h_effic_PU_vertcount
std::vector< MonitorElement * > h_effic_PU_zpos
std::vector< MonitorElement * > h_effic_vertcount_barrel
std::vector< MonitorElement * > h_effic_vertcount_entire
std::vector< MonitorElement * > h_effic_vertcount_fwdneg
std::vector< MonitorElement * > h_effic_vertcount_fwdpos
std::vector< MonitorElement * > h_effic_vertz_barrel
std::vector< MonitorElement * > h_effic_vertz_entire
std::vector< MonitorElement * > h_effic_vertz_fwdneg
std::vector< MonitorElement * > h_effic_vertz_fwdpos
std::vector< MonitorElement * > h_effic_vs_dxy
std::vector< MonitorElement * > h_effic_vs_dz
std::vector< MonitorElement * > h_effic_vs_hit
std::vector< MonitorElement * > h_effic_vs_phi
std::vector< MonitorElement * > h_effic_vs_vertpos
std::vector< MonitorElement * > h_effic_vs_zpos
std::vector< MonitorElement * > h_efficPt
std::vector< MonitorElement * > h_eta
std::vector< MonitorElement * > h_etaSIM
std::vector< MonitorElement * > h_fake_vs_dxy
std::vector< MonitorElement * > h_fake_vs_dz
std::vector< MonitorElement * > h_fake_vs_hit
std::vector< MonitorElement * > h_fake_vs_phi
std::vector< MonitorElement * > h_fakerate
std::vector< MonitorElement * > h_fakerate_ootpu_barrel
std::vector< MonitorElement * > h_fakerate_ootpu_entire
std::vector< MonitorElement * > h_fakerate_ootpu_fwdneg
std::vector< MonitorElement * > h_fakerate_ootpu_fwdpos
std::vector< MonitorElement * > h_fakerate_vertcount_barrel
std::vector< MonitorElement * > h_fakerate_vertcount_entire
std::vector< MonitorElement * > h_fakerate_vertcount_fwdneg
std::vector< MonitorElement * > h_fakerate_vertcount_fwdpos
std::vector< MonitorElement * > h_fakeratePt
std::vector< MonitorElement * > h_fakes
std::vector< MonitorElement * > h_fomt_eta
std::vector< MonitorElement * > h_fomt_itpu_eta
std::vector< MonitorElement * > h_fomt_itpu_vertcount
std::vector< MonitorElement * > h_fomt_ootpu_eta
std::vector< MonitorElement * > h_fomt_ootpu_vertcount
std::vector< MonitorElement * > h_fomt_sig_eta
std::vector< MonitorElement * > h_fomt_sig_itpu_eta
std::vector< MonitorElement * > h_fomt_sig_itpu_vertcount
std::vector< MonitorElement * > h_fomt_sig_vertcount
std::vector< MonitorElement * > h_fomt_vertcount
std::vector< MonitorElement * > h_hits
std::vector< MonitorElement * > h_hits_eta
std::vector< MonitorElement * > h_hits_phi
std::vector< MonitorElement * > h_LayersWithMeas_eta
std::vector< MonitorElement * > h_looperdxy
std::vector< MonitorElement * > h_looperdz
std::vector< MonitorElement * > h_loopereta
std::vector< MonitorElement * > h_looperhit
std::vector< MonitorElement * > h_looperphi
std::vector< MonitorElement * > h_looperpT
std::vector< MonitorElement * > h_looprate
std::vector< MonitorElement * > h_loopratedxy
std::vector< MonitorElement * > h_loopratedz
std::vector< MonitorElement * > h_loopratehit
std::vector< MonitorElement * > h_loopratephi
std::vector< MonitorElement * > h_loopratepT
std::vector< MonitorElement * > h_losthits
std::vector< MonitorElement * > h_losthits_eta
std::vector< MonitorElement * > h_misiddxy
std::vector< MonitorElement * > h_misiddz
std::vector< MonitorElement * > h_misideta
std::vector< MonitorElement * > h_misidhit
std::vector< MonitorElement * > h_misidphi
std::vector< MonitorElement * > h_misidpT
std::vector< MonitorElement * > h_misidrate
std::vector< MonitorElement * > h_misidratedxy
std::vector< MonitorElement * > h_misidratedz
std::vector< MonitorElement * > h_misidratehit
std::vector< MonitorElement * > h_misidratephi
std::vector< MonitorElement * > h_misidratepT
std::vector< MonitorElement * > h_nchi2
std::vector< MonitorElement * > h_nchi2_prob
std::vector< MonitorElement * > h_phimeanh
std::vector< MonitorElement * > h_phimeanhPhi
std::vector< MonitorElement * > h_phimeanhPt
std::vector< MonitorElement * > h_phipulleta
std::vector< MonitorElement * > h_phipulletamean
std::vector< MonitorElement * > h_phipullphi
std::vector< MonitorElement * > h_phipullphimean
std::vector< MonitorElement * > h_phirmsh
std::vector< MonitorElement * > h_phirmshPhi
std::vector< MonitorElement * > h_phirmshPt
std::vector< MonitorElement * > h_pt
std::vector< MonitorElement * > h_ptmeanh
std::vector< MonitorElement * > h_ptmeanhPhi
std::vector< MonitorElement * > h_ptmeanhPt
std::vector< MonitorElement * > h_ptpulleta
std::vector< MonitorElement * > h_ptpulletamean
std::vector< MonitorElement * > h_ptpullphi
std::vector< MonitorElement * > h_ptpullphimean
std::vector< MonitorElement * > h_ptrmsh
std::vector< MonitorElement * > h_ptrmshPhi
std::vector< MonitorElement * > h_ptrmshPt
std::vector< MonitorElement * > h_ptshifteta
std::vector< MonitorElement * > h_ptSIM
std::vector< MonitorElement * > h_pullDxy
std::vector< MonitorElement * > h_pullDz
std::vector< MonitorElement * > h_pullPhi
std::vector< MonitorElement * > h_pullQoverp
std::vector< MonitorElement * > h_pullTheta
std::vector< MonitorElement * > h_PXBhits_eta
std::vector< MonitorElement * > h_PXFhits_eta
std::vector< MonitorElement * > h_PXLlayersWithMeas_eta
std::vector< MonitorElement * > h_reco_ootpu_barrel
std::vector< MonitorElement * > h_reco_ootpu_entire
std::vector< MonitorElement * > h_reco_ootpu_eta
std::vector< MonitorElement * > h_reco_ootpu_fwdneg
std::vector< MonitorElement * > h_reco_ootpu_fwdpos
std::vector< MonitorElement * > h_reco_ootpu_vertcount
std::vector< MonitorElement * > h_reco_vertcount_barrel
std::vector< MonitorElement * > h_reco_vertcount_entire
std::vector< MonitorElement * > h_reco_vertcount_fwdneg
std::vector< MonitorElement * > h_reco_vertcount_fwdpos
std::vector< MonitorElement * > h_recodxy
std::vector< MonitorElement * > h_recodz
std::vector< MonitorElement * > h_recoeta
std::vector< MonitorElement * > h_recohit
std::vector< MonitorElement * > h_recophi
std::vector< MonitorElement * > h_recopT
std::vector< MonitorElement * > h_RPChits_eta
std::vector< MonitorElement * > h_simul_vertcount_barrel
std::vector< MonitorElement * > h_simul_vertcount_entire
std::vector< MonitorElement * > h_simul_vertcount_fwdneg
std::vector< MonitorElement * > h_simul_vertcount_fwdpos
std::vector< MonitorElement * > h_simul_vertz_barrel
std::vector< MonitorElement * > h_simul_vertz_entire
std::vector< MonitorElement * > h_simul_vertz_fwdneg
std::vector< MonitorElement * > h_simul_vertz_fwdpos
std::vector< MonitorElement * > h_simuldxy
std::vector< MonitorElement * > h_simuldz
std::vector< MonitorElement * > h_simuleta
std::vector< MonitorElement * > h_simulhit
std::vector< MonitorElement * > h_simulphi
std::vector< MonitorElement * > h_simulpT
std::vector< MonitorElement * > h_simulvertpos
std::vector< MonitorElement * > h_simulzpos
std::vector< MonitorElement * > h_STRIPlayersWith1dMeas_eta
std::vector< MonitorElement * > h_STRIPlayersWith2dMeas_eta
std::vector< MonitorElement * > h_STRIPlayersWithMeas_eta
std::vector< MonitorElement * > h_TEChits_eta
std::vector< MonitorElement * > h_thetapulleta
std::vector< MonitorElement * > h_thetapulletamean
std::vector< MonitorElement * > h_thetapullphi
std::vector< MonitorElement * > h_thetapullphimean
std::vector< MonitorElement * > h_TIBhits_eta
std::vector< MonitorElement * > h_TIDhits_eta
std::vector< MonitorElement * > h_TOBhits_eta
std::vector< MonitorElement * > h_tracks
std::vector< MonitorElement * > h_tracksSIM
std::vector< MonitorElement * > h_vertposSIM
double maxDeDx
double maxDxy
double maxDz
double maxEta
double maxHit
double maxPhi
double maxPt
double maxVertcount
double maxVertpos
double maxZpos
double minDeDx
double minDxy
double minDz
double minEta
double minHit
double minPhi
double minPt
double minVertcount
double minVertpos
double minZpos
std::vector< MonitorElement * > nhits_vs_eta
std::vector< MonitorElement * > nhits_vs_phi
int nintDeDx
int nintDxy
int nintDz
int nintEta
int nintHit
int nintPhi
int nintPt
int nintVertcount
int nintVertpos
int nintZpos
std::vector< MonitorElement * > nLayersWithMeas_vs_eta
std::vector< MonitorElement * > nlosthits_vs_eta
std::vector< MonitorElement * > nPXBhits_vs_eta
std::vector< MonitorElement * > nPXFhits_vs_eta
std::vector< MonitorElement * > nPXLlayersWithMeas_vs_eta
std::vector< MonitorElement * > nrec_vs_nsim
std::vector< MonitorElement * > nrecHit_vs_nsimHit_rec2sim
std::vector< MonitorElement * > nrecHit_vs_nsimHit_sim2rec
std::vector< MonitorElement * > nSTRIPlayersWith1dMeas_vs_eta
std::vector< MonitorElement * > nSTRIPlayersWith2dMeas_vs_eta
std::vector< MonitorElement * > nSTRIPlayersWithMeas_vs_eta
std::vector< MonitorElement * > nTEChits_vs_eta
std::vector< MonitorElement * > nTIBhits_vs_eta
std::vector< MonitorElement * > nTIDhits_vs_eta
std::vector< MonitorElement * > nTOBhits_vs_eta
std::vector< std::vector
< double > > 
phiintervals
std::vector< MonitorElement * > phimean_vs_eta_phi
std::vector< MonitorElement * > phipull_vs_eta
std::vector< MonitorElement * > phipull_vs_phi
int phiRes_nbin
double phiRes_rangeMax
double phiRes_rangeMin
std::vector< MonitorElement * > phires_vs_eta
std::vector< MonitorElement * > phires_vs_phi
std::vector< MonitorElement * > phires_vs_pt
std::vector< std::vector
< double > > 
pTintervals
std::vector< MonitorElement * > ptmean_vs_eta_phi
std::vector< MonitorElement * > ptpull_vs_eta
std::vector< MonitorElement * > ptpull_vs_phi
int ptRes_nbin
double ptRes_rangeMax
double ptRes_rangeMin
std::vector< MonitorElement * > ptres_vs_eta
std::vector< MonitorElement * > ptres_vs_phi
std::vector< MonitorElement * > ptres_vs_pt
std::vector< MonitorElement * > thetapull_vs_eta
std::vector< MonitorElement * > thetapull_vs_phi
std::vector< std::vector< int > > totASS2_dxy
std::vector< std::vector< int > > totASS2_dz
std::vector< std::vector< int > > totASS2_hit
std::vector< std::vector< int > > totASS2_itpu_eta_entire
std::vector< std::vector< int > > totASS2_itpu_eta_entire_signal
std::vector< std::vector< int > > totASS2_itpu_vertcount_entire
std::vector< std::vector< int > > totASS2_itpu_vertcount_entire_signal
std::vector< std::vector< int > > totASS2_ootpu_barrel
std::vector< std::vector< int > > totASS2_ootpu_entire
std::vector< std::vector< int > > totASS2_ootpu_eta_entire
std::vector< std::vector< int > > totASS2_ootpu_fwdneg
std::vector< std::vector< int > > totASS2_ootpu_fwdpos
std::vector< std::vector< int > > totASS2_phi
std::vector< std::vector< int > > totASS2_vertcount_barrel
std::vector< std::vector< int > > totASS2_vertcount_entire
std::vector< std::vector< int > > totASS2_vertcount_entire_signal
std::vector< std::vector< int > > totASS2_vertcount_fwdneg
std::vector< std::vector< int > > totASS2_vertcount_fwdpos
std::vector< std::vector< int > > totASS2eta
std::vector< std::vector< int > > totASS2etaSig
std::vector< std::vector< int > > totASS2pT
std::vector< std::vector< int > > totASS_dxy
std::vector< std::vector< int > > totASS_dz
std::vector< std::vector< int > > totASS_hit
std::vector< std::vector< int > > totASS_phi
std::vector< std::vector< int > > totASS_vertcount_barrel
std::vector< std::vector< int > > totASS_vertcount_entire
std::vector< std::vector< int > > totASS_vertcount_fwdneg
std::vector< std::vector< int > > totASS_vertcount_fwdpos
std::vector< std::vector< int > > totASS_vertpos
std::vector< std::vector< int > > totASS_vertz_barrel
std::vector< std::vector< int > > totASS_vertz_entire
std::vector< std::vector< int > > totASS_vertz_fwdneg
std::vector< std::vector< int > > totASS_vertz_fwdpos
std::vector< std::vector< int > > totASS_zpos
std::vector< std::vector< int > > totASSeta
std::vector< std::vector< int > > totASSpT
std::vector< std::vector< int > > totCONeta
std::vector< std::vector< int > > totCONvertcount
std::vector< std::vector< int > > totCONzpos
std::vector< std::vector< int > > totFOMT_eta
std::vector< std::vector< int > > totFOMT_vertcount
std::vector< std::vector< int > > totloop_dxy
std::vector< std::vector< int > > totloop_dz
std::vector< std::vector< int > > totloop_hit
std::vector< std::vector< int > > totloop_phi
std::vector< std::vector< int > > totloopeta
std::vector< std::vector< int > > totlooppT
std::vector< std::vector< int > > totmisid_dxy
std::vector< std::vector< int > > totmisid_dz
std::vector< std::vector< int > > totmisid_hit
std::vector< std::vector< int > > totmisid_phi
std::vector< std::vector< int > > totmisideta
std::vector< std::vector< int > > totmisidpT
std::vector< std::vector< int > > totREC_algo
std::vector< std::vector< int > > totREC_dxy
std::vector< std::vector< int > > totREC_dz
std::vector< std::vector< int > > totREC_hit
std::vector< std::vector< int > > totREC_ootpu_barrel
std::vector< std::vector< int > > totREC_ootpu_entire
std::vector< std::vector< int > > totREC_ootpu_eta_entire
std::vector< std::vector< int > > totREC_ootpu_fwdneg
std::vector< std::vector< int > > totREC_ootpu_fwdpos
std::vector< std::vector< int > > totREC_phi
std::vector< std::vector< int > > totREC_vertcount_barrel
std::vector< std::vector< int > > totREC_vertcount_entire
std::vector< std::vector< int > > totREC_vertcount_fwdneg
std::vector< std::vector< int > > totREC_vertcount_fwdpos
std::vector< std::vector< int > > totRECeta
std::vector< std::vector< int > > totRECpT
std::vector< std::vector< int > > totSIM_dxy
std::vector< std::vector< int > > totSIM_dz
std::vector< std::vector< int > > totSIM_hit
std::vector< std::vector< int > > totSIM_phi
std::vector< std::vector< int > > totSIM_vertcount_barrel
std::vector< std::vector< int > > totSIM_vertcount_entire
std::vector< std::vector< int > > totSIM_vertcount_fwdneg
std::vector< std::vector< int > > totSIM_vertcount_fwdpos
std::vector< std::vector< int > > totSIM_vertpos
std::vector< std::vector< int > > totSIM_vertz_barrel
std::vector< std::vector< int > > totSIM_vertz_entire
std::vector< std::vector< int > > totSIM_vertz_fwdneg
std::vector< std::vector< int > > totSIM_vertz_fwdpos
std::vector< std::vector< int > > totSIM_zpos
std::vector< std::vector< int > > totSIMeta
std::vector< std::vector< int > > totSIMpT
TrackingParticleSelectorTpSelectorForEfficiencyVsCon
TrackingParticleSelectorTpSelectorForEfficiencyVsEta
TrackingParticleSelectorTpSelectorForEfficiencyVsPhi
TrackingParticleSelectorTpSelectorForEfficiencyVsPt
TrackingParticleSelectorTpSelectorForEfficiencyVsVTXR
TrackingParticleSelectorTpSelectorForEfficiencyVsVTXZ
bool useFabsEta
bool useInvPt
bool useLogPt
std::vector< std::vector
< double > > 
vertcountintervals
std::vector< std::vector
< double > > 
vertposintervals
std::vector< std::vector
< double > > 
zposintervals

Detailed Description

Definition at line 23 of file MTVHistoProducerAlgoForTracker.h.


Constructor & Destructor Documentation

MTVHistoProducerAlgoForTracker::MTVHistoProducerAlgoForTracker ( const edm::ParameterSet pset)

Definition at line 18 of file MTVHistoProducerAlgoForTracker.cc.

References cotThetaRes_nbin, cotThetaRes_rangeMax, cotThetaRes_rangeMin, dxyRes_nbin, dxyRes_rangeMax, dxyRes_rangeMin, dzRes_nbin, dzRes_rangeMax, dzRes_rangeMin, generalTpSelector, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), maxDeDx, maxDxy, maxDz, maxEta, maxHit, maxPhi, maxPt, maxVertcount, maxVertpos, maxZpos, minDeDx, minDxy, minDz, minEta, minHit, minPhi, minPt, minVertcount, minVertpos, minZpos, mergeVDriftHistosByStation::name, nintDeDx, nintDxy, nintDz, nintEta, nintHit, nintPhi, nintPt, nintVertcount, nintVertpos, nintZpos, phiRes_nbin, phiRes_rangeMax, phiRes_rangeMin, ptRes_nbin, ptRes_rangeMax, ptRes_rangeMin, TpSelectorForEfficiencyVsCon, TpSelectorForEfficiencyVsEta, TpSelectorForEfficiencyVsPhi, TpSelectorForEfficiencyVsPt, TpSelectorForEfficiencyVsVTXR, TpSelectorForEfficiencyVsVTXZ, useFabsEta, useInvPt, and useLogPt.

                                                                                         : MTVHistoProducerAlgo(pset){
  //parameters for _vs_eta plots
  minEta  = pset.getParameter<double>("minEta");  
  maxEta  = pset.getParameter<double>("maxEta");
  nintEta = pset.getParameter<int>("nintEta");
  useFabsEta = pset.getParameter<bool>("useFabsEta");

  //parameters for _vs_pt plots
  minPt  = pset.getParameter<double>("minPt");
  maxPt  = pset.getParameter<double>("maxPt");
  nintPt = pset.getParameter<int>("nintPt");
  useInvPt = pset.getParameter<bool>("useInvPt");
  useLogPt = pset.getUntrackedParameter<bool>("useLogPt",false);

  //parameters for _vs_Hit plots
  minHit  = pset.getParameter<double>("minHit");
  maxHit  = pset.getParameter<double>("maxHit");
  nintHit = pset.getParameter<int>("nintHit");
  
  //parameters for _vs_phi plots
  minPhi  = pset.getParameter<double>("minPhi");
  maxPhi  = pset.getParameter<double>("maxPhi");
  nintPhi = pset.getParameter<int>("nintPhi");

  //parameters for _vs_Dxy plots
  minDxy  = pset.getParameter<double>("minDxy");
  maxDxy  = pset.getParameter<double>("maxDxy");
  nintDxy = pset.getParameter<int>("nintDxy");
    
  //parameters for _vs_Dz plots
  minDz  = pset.getParameter<double>("minDz");
  maxDz  = pset.getParameter<double>("maxDz");
  nintDz = pset.getParameter<int>("nintDz");

  //parameters for _vs_ProductionVertexTransvPosition plots
  minVertpos  = pset.getParameter<double>("minVertpos");
  maxVertpos  = pset.getParameter<double>("maxVertpos");
  nintVertpos = pset.getParameter<int>("nintVertpos");

  //parameters for _vs_ProductionVertexZPosition plots
  minZpos  = pset.getParameter<double>("minZpos");
  maxZpos  = pset.getParameter<double>("maxZpos");
  nintZpos = pset.getParameter<int>("nintZpos");

  //parameters for dE/dx plots
  minDeDx  = pset.getParameter<double>("minDeDx");
  maxDeDx  = pset.getParameter<double>("maxDeDx");
  nintDeDx = pset.getParameter<int>("nintDeDx");
  
  //parameters for Pileup plots
  minVertcount  = pset.getParameter<double>("minVertcount");
  maxVertcount  = pset.getParameter<double>("maxVertcount");
  nintVertcount = pset.getParameter<int>("nintVertcount");

  //parameters for resolution plots
  ptRes_rangeMin = pset.getParameter<double>("ptRes_rangeMin");
  ptRes_rangeMax = pset.getParameter<double>("ptRes_rangeMax");
  ptRes_nbin = pset.getParameter<int>("ptRes_nbin");

  phiRes_rangeMin = pset.getParameter<double>("phiRes_rangeMin");
  phiRes_rangeMax = pset.getParameter<double>("phiRes_rangeMax");
  phiRes_nbin = pset.getParameter<int>("phiRes_nbin");

  cotThetaRes_rangeMin = pset.getParameter<double>("cotThetaRes_rangeMin");
  cotThetaRes_rangeMax = pset.getParameter<double>("cotThetaRes_rangeMax");
  cotThetaRes_nbin = pset.getParameter<int>("cotThetaRes_nbin");

  dxyRes_rangeMin = pset.getParameter<double>("dxyRes_rangeMin");
  dxyRes_rangeMax = pset.getParameter<double>("dxyRes_rangeMax");
  dxyRes_nbin = pset.getParameter<int>("dxyRes_nbin");

  dzRes_rangeMin = pset.getParameter<double>("dzRes_rangeMin");
  dzRes_rangeMax = pset.getParameter<double>("dzRes_rangeMax");
  dzRes_nbin = pset.getParameter<int>("dzRes_nbin");


  //--- tracking particle selectors for efficiency measurements
  using namespace edm;

  ParameterSet generalTpSelectorPSet = pset.getParameter<ParameterSet>("generalTpSelector");
  ParameterSet TpSelectorForEfficiencyVsEtaPSet = pset.getParameter<ParameterSet>("TpSelectorForEfficiencyVsEta");
  ParameterSet TpSelectorForEfficiencyVsPhiPSet = pset.getParameter<ParameterSet>("TpSelectorForEfficiencyVsPhi");
  ParameterSet TpSelectorForEfficiencyVsPtPSet = pset.getParameter<ParameterSet>("TpSelectorForEfficiencyVsPt");
  ParameterSet TpSelectorForEfficiencyVsVTXRPSet = pset.getParameter<ParameterSet>("TpSelectorForEfficiencyVsVTXR");
  ParameterSet TpSelectorForEfficiencyVsVTXZPSet = pset.getParameter<ParameterSet>("TpSelectorForEfficiencyVsVTXZ");

  ParameterSet TpSelectorForEfficiencyVsConPSet = TpSelectorForEfficiencyVsEtaPSet;
  Entry name("signalOnly",false,true);
  TpSelectorForEfficiencyVsConPSet.insert(true,"signalOnly",name);
  
  using namespace reco::modules;
  generalTpSelector               = new TrackingParticleSelector(ParameterAdapter<TrackingParticleSelector>::make(generalTpSelectorPSet));
  TpSelectorForEfficiencyVsEta    = new TrackingParticleSelector(ParameterAdapter<TrackingParticleSelector>::make(TpSelectorForEfficiencyVsEtaPSet));
  TpSelectorForEfficiencyVsCon    = new TrackingParticleSelector(ParameterAdapter<TrackingParticleSelector>::make(TpSelectorForEfficiencyVsConPSet));
  TpSelectorForEfficiencyVsPhi    = new TrackingParticleSelector(ParameterAdapter<TrackingParticleSelector>::make(TpSelectorForEfficiencyVsPhiPSet));
  TpSelectorForEfficiencyVsPt     = new TrackingParticleSelector(ParameterAdapter<TrackingParticleSelector>::make(TpSelectorForEfficiencyVsPtPSet));
  TpSelectorForEfficiencyVsVTXR   = new TrackingParticleSelector(ParameterAdapter<TrackingParticleSelector>::make(TpSelectorForEfficiencyVsVTXRPSet));
  TpSelectorForEfficiencyVsVTXZ   = new TrackingParticleSelector(ParameterAdapter<TrackingParticleSelector>::make(TpSelectorForEfficiencyVsVTXZPSet));

  // fix for the LogScale by Ryan
  if(useLogPt){
    maxPt=log10(maxPt);
    if(minPt > 0){
      minPt=log10(minPt);
    }
    else{
      edm::LogWarning("MultiTrackValidator") 
        << "minPt = "
        << minPt << " <= 0 out of range while requesting log scale.  Using minPt = 0.1.";
      minPt=log10(0.1);
    }
  }

}
MTVHistoProducerAlgoForTracker::~MTVHistoProducerAlgoForTracker ( ) [virtual]

Member Function Documentation

void MTVHistoProducerAlgoForTracker::bookRecoHistos ( ) [virtual]

these are needed to calculate efficiency during the harvesting for the automated validation

Implements MTVHistoProducerAlgo.

Definition at line 383 of file MTVHistoProducerAlgoForTracker.cc.

References MTVHistoProducerAlgo::BinLogX(), DQMStore::book1D(), DQMStore::book2D(), DQMStore::bookProfile2D(), chi2_vs_eta, chi2_vs_nhits, chi2_vs_phi, cotThetaRes_nbin, cotThetaRes_rangeMax, cotThetaRes_rangeMin, cotThetares_vs_eta, cotThetares_vs_pt, MTVHistoProducerAlgo::dbe_, dxypull_vs_eta, dxyRes_nbin, dxyRes_rangeMax, dxyRes_rangeMin, dxyres_vs_eta, dxyres_vs_pt, dzpull_vs_eta, dzRes_nbin, dzRes_rangeMax, dzRes_rangeMin, dzres_vs_eta, dzres_vs_pt, etares_vs_eta, h_algo, h_assoc2_ootpu_barrel, h_assoc2_ootpu_entire, h_assoc2_ootpu_fwdneg, h_assoc2_ootpu_fwdpos, h_assoc2_ootpu_vertcount, h_assoc2_vertcount_barrel, h_assoc2_vertcount_entire, h_assoc2_vertcount_fwdneg, h_assoc2_vertcount_fwdpos, h_assoc2dxy, h_assoc2dz, h_assoc2eta, h_assoc2hit, h_assoc2phi, h_assoc2pT, h_assoc_vertcount_barrel, h_assoc_vertcount_entire, h_assoc_vertcount_fwdneg, h_assoc_vertcount_fwdpos, h_assoc_vertz_barrel, h_assoc_vertz_entire, h_assoc_vertz_fwdneg, h_assoc_vertz_fwdpos, h_assocdxy, h_assocdz, h_assoceta, h_assocFraction, h_assochit, h_assocphi, h_assocpT, h_assocSharedHit, h_assocvertpos, h_assoczpos, h_charge, h_con_eta, h_con_vertcount, h_con_zpos, h_dedx_estim1, h_dedx_estim2, h_dedx_nom1, h_dedx_nom2, h_dedx_sat1, h_dedx_sat2, h_eta, h_fakes, h_hits, h_looperdxy, h_looperdz, h_loopereta, h_looperhit, h_looperphi, h_looperpT, h_losthits, h_misiddxy, h_misiddz, h_misideta, h_misidhit, h_misidphi, h_misidpT, h_nchi2, h_nchi2_prob, h_pt, h_pullDxy, h_pullDz, h_pullPhi, h_pullQoverp, h_pullTheta, h_reco_ootpu_barrel, h_reco_ootpu_entire, h_reco_ootpu_eta, h_reco_ootpu_fwdneg, h_reco_ootpu_fwdpos, h_reco_ootpu_vertcount, h_reco_vertcount_barrel, h_reco_vertcount_entire, h_reco_vertcount_fwdneg, h_reco_vertcount_fwdpos, h_recodxy, h_recodz, h_recoeta, h_recohit, h_recophi, h_recopT, h_simul_vertcount_barrel, h_simul_vertcount_entire, h_simul_vertcount_fwdneg, h_simul_vertcount_fwdpos, h_simul_vertz_barrel, h_simul_vertz_entire, h_simul_vertz_fwdneg, h_simul_vertz_fwdpos, h_simuldxy, h_simuldz, h_simuleta, h_simulhit, h_simulphi, h_simulpT, h_simulvertpos, h_simulzpos, h_tracks, maxDeDx, maxDxy, maxDz, maxEta, maxHit, maxPhi, maxPt, maxVertcount, maxVertpos, maxZpos, minDeDx, minDxy, minDz, minEta, minHit, minPhi, minPt, minVertcount, minVertpos, minZpos, nhits_vs_eta, nhits_vs_phi, nintDeDx, nintDxy, nintDz, nintEta, nintHit, nintPhi, nintPt, nintVertcount, nintVertpos, nintZpos, nLayersWithMeas_vs_eta, nlosthits_vs_eta, nPXBhits_vs_eta, nPXFhits_vs_eta, nPXLlayersWithMeas_vs_eta, nrec_vs_nsim, nrecHit_vs_nsimHit_rec2sim, nrecHit_vs_nsimHit_sim2rec, nSTRIPlayersWith1dMeas_vs_eta, nSTRIPlayersWith2dMeas_vs_eta, nSTRIPlayersWithMeas_vs_eta, nTEChits_vs_eta, nTIBhits_vs_eta, nTIDhits_vs_eta, nTOBhits_vs_eta, phimean_vs_eta_phi, phipull_vs_eta, phipull_vs_phi, phiRes_nbin, phiRes_rangeMax, phiRes_rangeMin, phires_vs_eta, phires_vs_phi, phires_vs_pt, ptmean_vs_eta_phi, ptpull_vs_eta, ptpull_vs_phi, ptRes_nbin, ptRes_rangeMax, ptRes_rangeMin, ptres_vs_eta, ptres_vs_phi, ptres_vs_pt, thetapull_vs_eta, thetapull_vs_phi, and useLogPt.

                                                   {
  h_tracks.push_back( dbe_->book1D("tracks","number of reconstructed tracks",401,-0.5,400.5) );
  h_fakes.push_back( dbe_->book1D("fakes","number of fake reco tracks",101,-0.5,100.5) );
  h_charge.push_back( dbe_->book1D("charge","charge",3,-1.5,1.5) );
  
  h_hits.push_back( dbe_->book1D("hits", "number of hits per track", nintHit,minHit,maxHit ) );
  h_losthits.push_back( dbe_->book1D("losthits", "number of lost hits per track", nintHit,minHit,maxHit) );
  h_nchi2.push_back( dbe_->book1D("chi2", "normalized #chi^{2}", 200, 0, 20 ) );
  h_nchi2_prob.push_back( dbe_->book1D("chi2_prob", "normalized #chi^{2} probability",100,0,1));

  h_algo.push_back( dbe_->book1D("h_algo","Tracks by algo",15,0.0,15.0) );

  h_recoeta.push_back( dbe_->book1D("num_reco_eta","N of reco track vs eta",nintEta,minEta,maxEta) );
  h_assoceta.push_back( dbe_->book1D("num_assoc(simToReco)_eta","N of associated tracks (simToReco) vs eta",nintEta,minEta,maxEta) );
  h_assoc2eta.push_back( dbe_->book1D("num_assoc(recoToSim)_eta","N of associated (recoToSim) tracks vs eta",nintEta,minEta,maxEta) );
  h_simuleta.push_back( dbe_->book1D("num_simul_eta","N of simulated tracks vs eta",nintEta,minEta,maxEta) );
  h_loopereta.push_back( dbe_->book1D("num_duplicate_eta","N of associated (recoToSim) duplicate tracks vs eta",nintEta,minEta,maxEta) );
  h_misideta.push_back( dbe_->book1D("num_chargemisid_eta","N of associated (recoToSim) charge misIDed tracks vs eta",nintEta,minEta,maxEta) );
  h_recopT.push_back( dbe_->book1D("num_reco_pT","N of reco track vs pT",nintPt,minPt,maxPt) );
  h_assocpT.push_back( dbe_->book1D("num_assoc(simToReco)_pT","N of associated tracks (simToReco) vs pT",nintPt,minPt,maxPt) );
  h_assoc2pT.push_back( dbe_->book1D("num_assoc(recoToSim)_pT","N of associated (recoToSim) tracks vs pT",nintPt,minPt,maxPt) );
  h_simulpT.push_back( dbe_->book1D("num_simul_pT","N of simulated tracks vs pT",nintPt,minPt,maxPt) );
  h_looperpT.push_back( dbe_->book1D("num_duplicate_pT","N of associated (recoToSim) duplicate tracks vs pT",nintPt,minPt,maxPt) );
  h_misidpT.push_back( dbe_->book1D("num_chargemisid_pT","N of associated (recoToSim) charge misIDed tracks vs pT",nintPt,minPt,maxPt) );
  //
  h_recohit.push_back( dbe_->book1D("num_reco_hit","N of reco track vs hit",nintHit,minHit,maxHit) );
  h_assochit.push_back( dbe_->book1D("num_assoc(simToReco)_hit","N of associated tracks (simToReco) vs hit",nintHit,minHit,maxHit) );
  h_assoc2hit.push_back( dbe_->book1D("num_assoc(recoToSim)_hit","N of associated (recoToSim) tracks vs hit",nintHit,minHit,maxHit) );
  h_simulhit.push_back( dbe_->book1D("num_simul_hit","N of simulated tracks vs hit",nintHit,minHit,maxHit) );
  h_looperhit.push_back( dbe_->book1D("num_duplicate_hit","N of associated (recoToSim) duplicate tracks vs hit",nintHit,minHit,maxHit) );
  h_misidhit.push_back( dbe_->book1D("num_chargemisid_hit","N of associated (recoToSim) charge misIDed tracks vs hit",nintHit,minHit,maxHit) );
  //
  h_recophi.push_back( dbe_->book1D("num_reco_phi","N of reco track vs phi",nintPhi,minPhi,maxPhi) );
  h_assocphi.push_back( dbe_->book1D("num_assoc(simToReco)_phi","N of associated tracks (simToReco) vs phi",nintPhi,minPhi,maxPhi) );
  h_assoc2phi.push_back( dbe_->book1D("num_assoc(recoToSim)_phi","N of associated (recoToSim) tracks vs phi",nintPhi,minPhi,maxPhi) );
  h_simulphi.push_back( dbe_->book1D("num_simul_phi","N of simulated tracks vs phi",nintPhi,minPhi,maxPhi) );
  h_looperphi.push_back( dbe_->book1D("num_duplicate_phi","N of associated (recoToSim) duplicate tracks vs phi",nintPhi,minPhi,maxPhi) );
  h_misidphi.push_back( dbe_->book1D("num_chargemisid_phi","N of associated (recoToSim) charge misIDed tracks vs phi",nintPhi,minPhi,maxPhi) );
  
  h_recodxy.push_back( dbe_->book1D("num_reco_dxy","N of reco track vs dxy",nintDxy,minDxy,maxDxy) );
  h_assocdxy.push_back( dbe_->book1D("num_assoc(simToReco)_dxy","N of associated tracks (simToReco) vs dxy",nintDxy,minDxy,maxDxy) );
  h_assoc2dxy.push_back( dbe_->book1D("num_assoc(recoToSim)_dxy","N of associated (recoToSim) tracks vs dxy",nintDxy,minDxy,maxDxy) );
  h_simuldxy.push_back( dbe_->book1D("num_simul_dxy","N of simulated tracks vs dxy",nintDxy,minDxy,maxDxy) );
  h_looperdxy.push_back( dbe_->book1D("num_duplicate_dxy","N of associated (recoToSim) looper tracks vs dxy",nintDxy,minDxy,maxDxy) );
  h_misiddxy.push_back( dbe_->book1D("num_chargemisid_dxy","N of associated (recoToSim) charge misIDed tracks vs dxy",nintDxy,minDxy,maxDxy) );
  
  h_recodz.push_back( dbe_->book1D("num_reco_dz","N of reco track vs dz",nintDz,minDz,maxDz) );
  h_assocdz.push_back( dbe_->book1D("num_assoc(simToReco)_dz","N of associated tracks (simToReco) vs dz",nintDz,minDz,maxDz) );
  h_assoc2dz.push_back( dbe_->book1D("num_assoc(recoToSim)_dz","N of associated (recoToSim) tracks vs dz",nintDz,minDz,maxDz) );
  h_simuldz.push_back( dbe_->book1D("num_simul_dz","N of simulated tracks vs dz",nintDz,minDz,maxDz) );
  h_looperdz.push_back( dbe_->book1D("num_duplicate_dz","N of associated (recoToSim) looper tracks vs dz",nintDz,minDz,maxDz) );
  h_misiddz.push_back( dbe_->book1D("num_chargemisid_versus_dz","N of associated (recoToSim) charge misIDed tracks vs dz",nintDz,minDz,maxDz) );
  
  h_assocvertpos.push_back( dbe_->book1D("num_assoc(simToReco)_vertpos",
                                         "N of associated tracks (simToReco) vs transverse vert position",       
                                         nintVertpos,minVertpos,maxVertpos) );
  h_simulvertpos.push_back( dbe_->book1D("num_simul_vertpos","N of simulated tracks vs transverse vert position",
                                         nintVertpos,minVertpos,maxVertpos) );
  
  h_assoczpos.push_back( dbe_->book1D("num_assoc(simToReco)_zpos","N of associated tracks (simToReco) vs z vert position",
                                      nintZpos,minZpos,maxZpos) );
  h_simulzpos.push_back( dbe_->book1D("num_simul_zpos","N of simulated tracks vs z vert position",nintZpos,minZpos,maxZpos) );
  

  h_reco_vertcount_entire.push_back( dbe_->book1D("num_reco_vertcount_entire","N of reco tracks vs N of pileup vertices",nintVertcount,minVertcount,maxVertcount) );
  h_assoc_vertcount_entire.push_back( dbe_->book1D("num_assoc(simToReco)_vertcount_entire","N of associated tracks (simToReco) vs N of pileup vertices",nintVertcount,minVertcount,maxVertcount) );
  h_assoc2_vertcount_entire.push_back( dbe_->book1D("num_assoc(recoToSim)_vertcount_entire","N of associated (recoToSim) tracks vs N of pileup vertices",nintVertcount,minVertcount,maxVertcount) );
  h_simul_vertcount_entire.push_back( dbe_->book1D("num_simul_vertcount_entire","N of simulated tracks vs N of pileup vertices",nintVertcount,minVertcount,maxVertcount) );

  h_reco_vertcount_barrel.push_back( dbe_->book1D("num_reco_vertcount_barrel","N of reco tracks in barrel vs N of pileup vertices",nintVertcount,minVertcount,maxVertcount) );
  h_assoc_vertcount_barrel.push_back( dbe_->book1D("num_assoc(simToReco)_vertcount_barrel","N of associated tracks (simToReco) in barrel vs N of pileup vertices",nintVertcount,minVertcount,maxVertcount) );
  h_assoc2_vertcount_barrel.push_back( dbe_->book1D("num_assoc(recoToSim)_vertcount_barrel","N of associated (recoToSim) tracks in barrel vs N of pileup vertices",nintVertcount,minVertcount,maxVertcount) );
  h_simul_vertcount_barrel.push_back( dbe_->book1D("num_simul_vertcount_barrel","N of simulated tracks in barrel vs N of pileup vertices",nintVertcount,minVertcount,maxVertcount) );

  h_reco_vertcount_fwdpos.push_back( dbe_->book1D("num_reco_vertcount_fwdpos","N of reco tracks in endcap(+) vs N of pileup vertices",nintVertcount,minVertcount,maxVertcount) );
  h_assoc_vertcount_fwdpos.push_back( dbe_->book1D("num_assoc(simToReco)_vertcount_fwdpos","N of associated tracks (simToReco) in endcap(+) vs N of pileup vertices",nintVertcount,minVertcount,maxVertcount) );
  h_assoc2_vertcount_fwdpos.push_back( dbe_->book1D("num_assoc(recoToSim)_vertcount_fwdpos","N of associated (recoToSim) tracks in endcap(+) vs N of pileup vertices",nintVertcount,minVertcount,maxVertcount) );
  h_simul_vertcount_fwdpos.push_back( dbe_->book1D("num_simul_vertcount_fwdpos","N of simulated tracks in endcap(+) vs N of pileup vertices",nintVertcount,minVertcount,maxVertcount) );

  h_reco_vertcount_fwdneg.push_back( dbe_->book1D("num_reco_vertcount_fwdneg","N of reco tracks in endcap(-) vs N of pileup vertices",nintVertcount,minVertcount,maxVertcount) );
  h_assoc_vertcount_fwdneg.push_back( dbe_->book1D("num_assoc(simToReco)_vertcount_fwdneg","N of associated tracks (simToReco) in endcap(-) vs N of pileup vertices",nintVertcount,minVertcount,maxVertcount) );
  h_assoc2_vertcount_fwdneg.push_back( dbe_->book1D("num_assoc(recoToSim)_vertcount_fwdneg","N of associated (recoToSim) tracks in endcap(-) vs N of pileup vertices",nintVertcount,minVertcount,maxVertcount) );
  h_simul_vertcount_fwdneg.push_back( dbe_->book1D("num_simul_vertcount_fwdneg","N of simulated tracks in endcap(-) vs N of pileup vertices",nintVertcount,minVertcount,maxVertcount) );

  h_assoc_vertz_entire.push_back( dbe_->book1D("num_assoc(simToReco)_vertz_entire","N of associated tracks (simToReco) in entire vs z of primary intercation vertex",nintZpos,minZpos,maxZpos) );
  h_simul_vertz_entire.push_back( dbe_->book1D("num_simul_vertz_entire","N of simulated tracks in entire vs N of pileup vertices",nintZpos,minZpos,maxZpos) );

  h_assoc_vertz_barrel.push_back( dbe_->book1D("num_assoc(simToReco)_vertz_barrel","N of associated tracks (simToReco) in barrel vs z of primary intercation vertex",nintZpos,minZpos,maxZpos) );
  h_simul_vertz_barrel.push_back( dbe_->book1D("num_simul_vertz_barrel","N of simulated tracks in barrel vs N of pileup vertices",nintZpos,minZpos,maxZpos) );

  h_assoc_vertz_fwdpos.push_back( dbe_->book1D("num_assoc(simToReco)_vertz_fwdpos","N of associated tracks (simToReco) in endcap(+) vs z of primary interaction vertex",nintZpos,minZpos,maxZpos) );
  h_simul_vertz_fwdpos.push_back( dbe_->book1D("num_simul_vertz_fwdpos","N of simulated tracks in endcap(+) vs z of primary interaction vertex",nintZpos,minZpos,maxZpos) );

  h_assoc_vertz_fwdneg.push_back( dbe_->book1D("num_assoc(simToReco)_vertz_fwdneg","N of associated tracks (simToReco) in endcap(-) vs N of pileup vertices",nintZpos,minZpos,maxZpos) );
  h_simul_vertz_fwdneg.push_back( dbe_->book1D("num_simul_vertz_fwdneg","N of simulated tracks in endcap(-) vs z of primary interaction vertex",nintZpos,minZpos,maxZpos) );
/*
  h_assoc2_itpu_eta.push_back( dbe_->book1D("num_assoc(recoToSim)_itpu_eta_entire","N of associated tracks (simToReco) from in time pileup vs eta",nintEta,minEta,maxEta) );
  h_assoc2_itpu_sig_eta.push_back( dbe_->book1D("num_assoc(recoToSim)_itpu_eta_entire_signal","N of associated tracks (simToReco) from in time pileup vs eta",nintEta,minEta,maxEta) );
  h_assoc2_itpu_vertcount.push_back( dbe_->book1D("num_assoc(recoToSim)_itpu_vertcount_entire","N of associated tracks (simToReco) from in time pileup vs N of pileup vertices",nintVertcount,minVertcount,maxVertcount) );
  h_assoc2_itpu_sig_vertcount.push_back( dbe_->book1D("num_assoc(recoToSim)_itpu_vertcount_entire_signal","N of associated tracks (simToReco) from in time pileup vs N of pileup vertices",nintVertcount,minVertcount,maxVertcount) );*/

  h_reco_ootpu_eta.push_back( dbe_->book1D("num_reco_ootpu_eta_entire","N of reco tracks vs eta",nintEta,minEta,maxEta) );
  h_reco_ootpu_vertcount.push_back( dbe_->book1D("num_reco_ootpu_vertcount_entire","N of reco tracks vs N of pileup vertices",nintVertcount,minVertcount,maxVertcount) );

  h_assoc2_ootpu_entire.push_back( dbe_->book1D("num_assoc(recoToSim)_ootpu_eta_entire","N of associated tracks (simToReco) from out of time pileup vs eta",nintEta,minEta,maxEta) );
  h_assoc2_ootpu_vertcount.push_back( dbe_->book1D("num_assoc(recoToSim)_ootpu_vertcount_entire","N of associated tracks (simToReco) from out of time pileup vs N of pileup vertices",nintVertcount,minVertcount,maxVertcount) );

  h_reco_ootpu_entire.push_back( dbe_->book1D("num_reco_ootpu_entire","N of reco tracks vs z of primary interaction vertex",nintVertcount,minVertcount,maxVertcount) );
  h_assoc2_ootpu_barrel.push_back( dbe_->book1D("num_assoc(recoToSim)_ootpu_barrel","N of associated tracks (simToReco) from out of time pileup in barrel vs N of pileup vertices",nintVertcount,minVertcount,maxVertcount) );
  h_reco_ootpu_barrel.push_back( dbe_->book1D("num_reco_ootpu_barrel","N of reco tracks in barrel vs z of primary interaction vertex",nintVertcount,minVertcount,maxVertcount) );
  h_assoc2_ootpu_fwdpos.push_back( dbe_->book1D("num_assoc(recoToSim)_ootpu_fwdpos","N of associated tracks (simToReco) from out of time pileup in endcap(+) vs N of pileup vertices",nintVertcount,minVertcount,maxVertcount) );
  h_reco_ootpu_fwdpos.push_back( dbe_->book1D("num_reco_ootpu_fwdpos","N of reco tracks in endcap(+) vs z of primary interaction vertex",nintVertcount,minVertcount,maxVertcount) );
  h_assoc2_ootpu_fwdneg.push_back( dbe_->book1D("num_assoc(recoToSim)_ootpu_fwdneg","N of associated tracks (simToReco) from out of time pileup in endcap(-) vs N of pileup vertices",nintVertcount,minVertcount,maxVertcount) );
  h_reco_ootpu_fwdneg.push_back( dbe_->book1D("num_reco_ootpu_fwdneg","N of reco tracks in endcap(-) vs z of primary interaction vertex",nintVertcount,minVertcount,maxVertcount) );


  
  h_eta.push_back( dbe_->book1D("eta", "pseudorapidity residue", 1000, -0.1, 0.1 ) );
  h_pt.push_back( dbe_->book1D("pullPt", "pull of p_{t}", 100, -10, 10 ) );
  h_pullTheta.push_back( dbe_->book1D("pullTheta","pull of #theta parameter",250,-25,25) );
  h_pullPhi.push_back( dbe_->book1D("pullPhi","pull of #phi parameter",250,-25,25) );
  h_pullDxy.push_back( dbe_->book1D("pullDxy","pull of dxy parameter",250,-25,25) );
  h_pullDz.push_back( dbe_->book1D("pullDz","pull of dz parameter",250,-25,25) );
  h_pullQoverp.push_back( dbe_->book1D("pullQoverp","pull of qoverp parameter",250,-25,25) );
  
  /* TO BE FIXED -----------
  if (associators[ww]=="TrackAssociatorByChi2"){
    h_assochi2.push_back( dbe_->book1D("assocChi2","track association #chi^{2}",1000000,0,100000) );
    h_assochi2_prob.push_back(dbe_->book1D("assocChi2_prob","probability of association #chi^{2}",100,0,1));
  } else if (associators[ww]=="quickTrackAssociatorByHits"){
    h_assocFraction.push_back( dbe_->book1D("assocFraction","fraction of shared hits",200,0,2) );
    h_assocSharedHit.push_back(dbe_->book1D("assocSharedHit","number of shared hits",20,0,20));
  }
  */
  h_assocFraction.push_back( dbe_->book1D("assocFraction","fraction of shared hits",200,0,2) );
  h_assocSharedHit.push_back(dbe_->book1D("assocSharedHit","number of shared hits",41,-0.5,40.5));
  // ----------------------

  chi2_vs_nhits.push_back( dbe_->book2D("chi2_vs_nhits","#chi^{2} vs nhits",25,0,25,100,0,10) );
  
  etares_vs_eta.push_back( dbe_->book2D("etares_vs_eta","etaresidue vs eta",nintEta,minEta,maxEta,200,-0.1,0.1) );
  nrec_vs_nsim.push_back( dbe_->book2D("nrec_vs_nsim","nrec vs nsim",401,-0.5,400.5,401,-0.5,400.5) );
  
  chi2_vs_eta.push_back( dbe_->book2D("chi2_vs_eta","chi2_vs_eta",nintEta,minEta,maxEta, 200, 0, 20 ));
  chi2_vs_phi.push_back( dbe_->book2D("chi2_vs_phi","#chi^{2} vs #phi",nintPhi,minPhi,maxPhi, 200, 0, 20 ) );
  
  nhits_vs_eta.push_back( dbe_->book2D("nhits_vs_eta","nhits vs eta",nintEta,minEta,maxEta,nintHit,minHit,maxHit) );
  nPXBhits_vs_eta.push_back( dbe_->book2D("nPXBhits_vs_eta","# PXB its vs eta",nintEta,minEta,maxEta,nintHit,minHit,maxHit) );
  nPXFhits_vs_eta.push_back( dbe_->book2D("nPXFhits_vs_eta","# PXF hits vs eta",nintEta,minEta,maxEta,nintHit,minHit,maxHit) );
  nTIBhits_vs_eta.push_back( dbe_->book2D("nTIBhits_vs_eta","# TIB hits vs eta",nintEta,minEta,maxEta,nintHit,minHit,maxHit) );
  nTIDhits_vs_eta.push_back( dbe_->book2D("nTIDhits_vs_eta","# TID hits vs eta",nintEta,minEta,maxEta,nintHit,minHit,maxHit) );
  nTOBhits_vs_eta.push_back( dbe_->book2D("nTOBhits_vs_eta","# TOB hits vs eta",nintEta,minEta,maxEta,nintHit,minHit,maxHit) );
  nTEChits_vs_eta.push_back( dbe_->book2D("nTEChits_vs_eta","# TEC hits vs eta",nintEta,minEta,maxEta,nintHit,minHit,maxHit) );

  nLayersWithMeas_vs_eta.push_back( dbe_->book2D("nLayersWithMeas_vs_eta","# Layers with measurement vs eta",
                                                nintEta,minEta,maxEta,nintHit,minHit,maxHit) );
  nPXLlayersWithMeas_vs_eta.push_back( dbe_->book2D("nPXLlayersWithMeas_vs_eta","# PXL Layers with measurement vs eta",
                                                   nintEta,minEta,maxEta,nintHit,minHit,maxHit) );
  nSTRIPlayersWithMeas_vs_eta.push_back( dbe_->book2D("nSTRIPlayersWithMeas_vs_eta","# STRIP Layers with measurement vs eta",
                                                      nintEta,minEta,maxEta,nintHit,minHit,maxHit) );
  nSTRIPlayersWith1dMeas_vs_eta.push_back( dbe_->book2D("nSTRIPlayersWith1dMeas_vs_eta","# STRIP Layers with 1D measurement vs eta",
                                                        nintEta,minEta,maxEta,nintHit,minHit,maxHit) );
  nSTRIPlayersWith2dMeas_vs_eta.push_back( dbe_->book2D("nSTRIPlayersWith2dMeas_vs_eta","# STRIP Layers with 2D measurement vs eta",
                                                       nintEta,minEta,maxEta,nintHit,minHit,maxHit) );
  
  nhits_vs_phi.push_back( dbe_->book2D("nhits_vs_phi","#hits vs #phi",nintPhi,minPhi,maxPhi,nintHit,minHit,maxHit) );
  
  nlosthits_vs_eta.push_back( dbe_->book2D("nlosthits_vs_eta","nlosthits vs eta",nintEta,minEta,maxEta,nintHit,minHit,maxHit) );
  
  //resolution of track parameters
  //                       dPt/Pt    cotTheta        Phi            TIP            LIP
  // log10(pt)<0.5        100,0.1    240,0.08     100,0.015      100,0.1000    150,0.3000
  // 0.5<log10(pt)<1.5    100,0.1    120,0.01     100,0.003      100,0.0100    150,0.0500
  // >1.5                 100,0.3    100,0.005    100,0.0008     100,0.0060    120,0.0300
  
  ptres_vs_eta.push_back(dbe_->book2D("ptres_vs_eta","ptres_vs_eta",
                                      nintEta,minEta,maxEta, ptRes_nbin, ptRes_rangeMin, ptRes_rangeMax));
  
  ptres_vs_phi.push_back( dbe_->book2D("ptres_vs_phi","p_{t} res vs #phi",
                                       nintPhi,minPhi,maxPhi, ptRes_nbin, ptRes_rangeMin, ptRes_rangeMax));
  
  ptres_vs_pt.push_back(dbe_->book2D("ptres_vs_pt","ptres_vs_pt",nintPt,minPt,maxPt, ptRes_nbin, ptRes_rangeMin, ptRes_rangeMax));
  
  cotThetares_vs_eta.push_back(dbe_->book2D("cotThetares_vs_eta","cotThetares_vs_eta",
                                            nintEta,minEta,maxEta,cotThetaRes_nbin, cotThetaRes_rangeMin, cotThetaRes_rangeMax));

  
  cotThetares_vs_pt.push_back(dbe_->book2D("cotThetares_vs_pt","cotThetares_vs_pt",
                                           nintPt,minPt,maxPt, cotThetaRes_nbin, cotThetaRes_rangeMin, cotThetaRes_rangeMax));      


  phires_vs_eta.push_back(dbe_->book2D("phires_vs_eta","phires_vs_eta",
                                       nintEta,minEta,maxEta, phiRes_nbin, phiRes_rangeMin, phiRes_rangeMax));

  phires_vs_pt.push_back(dbe_->book2D("phires_vs_pt","phires_vs_pt",
                                      nintPt,minPt,maxPt, phiRes_nbin, phiRes_rangeMin, phiRes_rangeMax));

  phires_vs_phi.push_back(dbe_->book2D("phires_vs_phi","#phi res vs #phi",
                                       nintPhi,minPhi,maxPhi,phiRes_nbin, phiRes_rangeMin, phiRes_rangeMax));

  dxyres_vs_eta.push_back(dbe_->book2D("dxyres_vs_eta","dxyres_vs_eta",
                                       nintEta,minEta,maxEta,dxyRes_nbin, dxyRes_rangeMin, dxyRes_rangeMax));
  
  dxyres_vs_pt.push_back( dbe_->book2D("dxyres_vs_pt","dxyres_vs_pt",
                                       nintPt,minPt,maxPt,dxyRes_nbin, dxyRes_rangeMin, dxyRes_rangeMax));
  
  dzres_vs_eta.push_back(dbe_->book2D("dzres_vs_eta","dzres_vs_eta",
                                      nintEta,minEta,maxEta,dzRes_nbin, dzRes_rangeMin, dzRes_rangeMax));

  dzres_vs_pt.push_back(dbe_->book2D("dzres_vs_pt","dzres_vs_pt",nintPt,minPt,maxPt,dzRes_nbin, dzRes_rangeMin, dzRes_rangeMax));
  
  ptmean_vs_eta_phi.push_back(dbe_->bookProfile2D("ptmean_vs_eta_phi","mean p_{t} vs #eta and #phi",
                                                  nintPhi,minPhi,maxPhi,nintEta,minEta,maxEta,1000,0,1000));
  phimean_vs_eta_phi.push_back(dbe_->bookProfile2D("phimean_vs_eta_phi","mean #phi vs #eta and #phi",
                                                   nintPhi,minPhi,maxPhi,nintEta,minEta,maxEta,nintPhi,minPhi,maxPhi));
  
  //pulls of track params vs eta: to be used with fitslicesytool
  dxypull_vs_eta.push_back(dbe_->book2D("dxypull_vs_eta","dxypull_vs_eta",nintEta,minEta,maxEta,100,-10,10));
  ptpull_vs_eta.push_back(dbe_->book2D("ptpull_vs_eta","ptpull_vs_eta",nintEta,minEta,maxEta,100,-10,10)); 
  dzpull_vs_eta.push_back(dbe_->book2D("dzpull_vs_eta","dzpull_vs_eta",nintEta,minEta,maxEta,100,-10,10)); 
  phipull_vs_eta.push_back(dbe_->book2D("phipull_vs_eta","phipull_vs_eta",nintEta,minEta,maxEta,100,-10,10)); 
  thetapull_vs_eta.push_back(dbe_->book2D("thetapull_vs_eta","thetapull_vs_eta",nintEta,minEta,maxEta,100,-10,10));
  
  //      h_ptshiftetamean.push_back( dbe_->book1D("h_ptshifteta_Mean","<#deltapT/pT>[%] vs #eta",nintEta,minEta,maxEta) ); 
  

  //pulls of track params vs phi
  ptpull_vs_phi.push_back(dbe_->book2D("ptpull_vs_phi","p_{t} pull vs #phi",nintPhi,minPhi,maxPhi,100,-10,10)); 
  phipull_vs_phi.push_back(dbe_->book2D("phipull_vs_phi","#phi pull vs #phi",nintPhi,minPhi,maxPhi,100,-10,10)); 
  thetapull_vs_phi.push_back(dbe_->book2D("thetapull_vs_phi","#theta pull vs #phi",nintPhi,minPhi,maxPhi,100,-10,10));

  
  nrecHit_vs_nsimHit_sim2rec.push_back( dbe_->book2D("nrecHit_vs_nsimHit_sim2rec","nrecHit vs nsimHit (Sim2RecAssoc)",
                                                     nintHit,minHit,maxHit, nintHit,minHit,maxHit ));
  nrecHit_vs_nsimHit_rec2sim.push_back( dbe_->book2D("nrecHit_vs_nsimHit_rec2sim","nrecHit vs nsimHit (Rec2simAssoc)",
                                                     nintHit,minHit,maxHit, nintHit,minHit,maxHit ));

  // dE/dx stuff
  // FIXME: it would be nice to have an array
  h_dedx_estim1.push_back( dbe_->book1D("h_dedx_estim1","dE/dx estimator 1",nintDeDx,minDeDx,maxDeDx) ); 
  h_dedx_estim2.push_back( dbe_->book1D("h_dedx_estim2","dE/dx estimator 2",nintDeDx,minDeDx,maxDeDx) ); 
  h_dedx_nom1.push_back( dbe_->book1D("h_dedx_nom1","dE/dx number of measurements",nintHit,minHit,maxHit) ); 
  h_dedx_nom2.push_back( dbe_->book1D("h_dedx_nom2","dE/dx number of measurements",nintHit,minHit,maxHit) ); 
  h_dedx_sat1.push_back( dbe_->book1D("h_dedx_sat1","dE/dx number of measurements with saturation",nintHit,minHit,maxHit) ); 
  h_dedx_sat2.push_back( dbe_->book1D("h_dedx_sat2","dE/dx number of measurements with saturation",nintHit,minHit,maxHit) ); 

  // PU special stuff
  h_con_eta.push_back( dbe_->book1D("num_con_eta","N of PU tracks vs eta",nintEta,minEta,maxEta) );
  h_con_vertcount.push_back( dbe_->book1D("num_con_vertcount","N of PU tracks vs N of pileup vertices",nintVertcount,minVertcount,maxVertcount) );
  h_con_zpos.push_back( dbe_->book1D("num_con_zpos","N of PU tracks vs z of primary interaction vertex",nintZpos,minZpos,maxZpos) );


  if(useLogPt){
    BinLogX(dzres_vs_pt.back()->getTH2F());
    BinLogX(dxyres_vs_pt.back()->getTH2F());
    BinLogX(phires_vs_pt.back()->getTH2F());
    BinLogX(cotThetares_vs_pt.back()->getTH2F());
    BinLogX(ptres_vs_pt.back()->getTH2F());
    BinLogX(h_looperpT.back()->getTH1F());
    BinLogX(h_misidpT.back()->getTH1F());
    BinLogX(h_recopT.back()->getTH1F());
    BinLogX(h_assocpT.back()->getTH1F());
    BinLogX(h_assoc2pT.back()->getTH1F());
    BinLogX(h_simulpT.back()->getTH1F());
  }  
}
void MTVHistoProducerAlgoForTracker::bookRecoHistosForStandaloneRunning ( ) [virtual]

Implements MTVHistoProducerAlgo.

Definition at line 652 of file MTVHistoProducerAlgoForTracker.cc.

References MTVHistoProducerAlgo::BinLogX(), DQMStore::book1D(), DQMStore::bookProfile(), MTVHistoProducerAlgo::dbe_, h_chi2mean_vs_phi, h_chi2meanh, h_chi2meanhitsh, h_cotThetameanh, h_cotThetameanhPt, h_cotThetarmsh, h_cotThetarmshPt, h_dxymeanh, h_dxymeanhPt, h_dxypulleta, h_dxypulletamean, h_dxyrmsh, h_dxyrmshPt, h_dzmeanh, h_dzmeanhPt, h_dzpulleta, h_dzpulletamean, h_dzrmsh, h_dzrmshPt, h_effic, h_effic_PU_eta, h_effic_PU_vertcount, h_effic_PU_zpos, h_effic_vertcount_barrel, h_effic_vertcount_entire, h_effic_vertcount_fwdneg, h_effic_vertcount_fwdpos, h_effic_vertz_barrel, h_effic_vertz_entire, h_effic_vertz_fwdneg, h_effic_vertz_fwdpos, h_effic_vs_dxy, h_effic_vs_dz, h_effic_vs_hit, h_effic_vs_phi, h_effic_vs_vertpos, h_effic_vs_zpos, h_efficPt, h_fake_vs_dxy, h_fake_vs_dz, h_fake_vs_hit, h_fake_vs_phi, h_fakerate, h_fakerate_ootpu_barrel, h_fakerate_ootpu_entire, h_fakerate_ootpu_fwdneg, h_fakerate_ootpu_fwdpos, h_fakerate_vertcount_barrel, h_fakerate_vertcount_entire, h_fakerate_vertcount_fwdneg, h_fakerate_vertcount_fwdpos, h_fakeratePt, h_fomt_eta, h_fomt_itpu_eta, h_fomt_itpu_vertcount, h_fomt_ootpu_eta, h_fomt_ootpu_vertcount, h_fomt_sig_eta, h_fomt_sig_vertcount, h_fomt_vertcount, h_hits_eta, h_hits_phi, h_LayersWithMeas_eta, h_looprate, h_loopratedxy, h_loopratedz, h_loopratehit, h_loopratephi, h_loopratepT, h_losthits_eta, h_misidrate, h_misidratedxy, h_misidratedz, h_misidratehit, h_misidratephi, h_misidratepT, h_phimeanh, h_phimeanhPhi, h_phimeanhPt, h_phipulleta, h_phipulletamean, h_phipullphi, h_phipullphimean, h_phirmsh, h_phirmshPhi, h_phirmshPt, h_ptmeanhPhi, h_ptmeanhPt, h_ptpulleta, h_ptpulletamean, h_ptpullphi, h_ptpullphimean, h_ptrmsh, h_ptrmshPhi, h_ptrmshPt, h_ptshifteta, h_PXBhits_eta, h_PXFhits_eta, h_PXLlayersWithMeas_eta, h_STRIPlayersWith1dMeas_eta, h_STRIPlayersWith2dMeas_eta, h_STRIPlayersWithMeas_eta, h_TEChits_eta, h_thetapulleta, h_thetapulletamean, h_thetapullphi, h_thetapullphimean, h_TIBhits_eta, h_TIDhits_eta, h_TOBhits_eta, maxDxy, maxDz, maxEta, maxHit, maxPhi, maxPt, maxVertcount, maxVertpos, maxZpos, minDxy, minDz, minEta, minHit, minPhi, minPt, minVertcount, minVertpos, minZpos, nintDxy, nintDz, nintEta, nintHit, nintPhi, nintPt, nintVertcount, nintVertpos, nintZpos, and useLogPt.

                                                                       {
  h_effic.push_back( dbe_->book1D("effic","efficiency vs #eta",nintEta,minEta,maxEta) );
  h_efficPt.push_back( dbe_->book1D("efficPt","efficiency vs pT",nintPt,minPt,maxPt) );
  h_effic_vs_hit.push_back( dbe_->book1D("effic_vs_hit","effic vs hit",nintHit,minHit,maxHit) );
  h_effic_vs_phi.push_back( dbe_->book1D("effic_vs_phi","effic vs phi",nintPhi,minPhi,maxPhi) );
  h_effic_vs_dxy.push_back( dbe_->book1D("effic_vs_dxy","effic vs dxy",nintDxy,minDxy,maxDxy) );
  h_effic_vs_dz.push_back( dbe_->book1D("effic_vs_dz","effic vs dz",nintDz,minDz,maxDz) );
  h_effic_vs_vertpos.push_back( dbe_->book1D("effic_vs_vertpos","effic vs vertpos",nintVertpos,minVertpos,maxVertpos) );
  h_effic_vs_zpos.push_back( dbe_->book1D("effic_vs_zpos","effic vs zpos",nintZpos,minZpos,maxZpos) );
  h_effic_vertcount_entire.push_back( dbe_->book1D("effic_vertcount_entire","efficiency vs N of pileup vertices",nintVertcount,minVertcount,maxVertcount) );
  h_effic_vertcount_barrel.push_back( dbe_->book1D("effic_vertcount_barrel","efficiency in barrel vs N of pileup vertices",nintVertcount,minVertcount,maxVertcount) );
  h_effic_vertcount_fwdpos.push_back( dbe_->book1D("effic_vertcount_fwdpos","efficiency in endcap(+) vs N of pileup vertices",nintVertcount,minVertcount,maxVertcount) );
  h_effic_vertcount_fwdneg.push_back( dbe_->book1D("effic_vertcount_fwdneg","efficiency in endcap(-) vs N of pileup vertices",nintVertcount,minVertcount,maxVertcount) );
  h_effic_vertz_entire.push_back( dbe_->book1D("effic_vertz_entire","efficiency vs z of primary interaction vertex",nintZpos,minZpos,maxZpos) );
  h_effic_vertz_barrel.push_back( dbe_->book1D("effic_vertz_barrel","efficiency in barrel vs z of primary interaction vertex",nintZpos,minZpos,maxZpos) );
  h_effic_vertz_fwdpos.push_back( dbe_->book1D("effic_vertz_fwdpos","efficiency in endcap(+) vs z of primary interaction vertex",nintZpos,minZpos,maxZpos) );
  h_effic_vertz_fwdneg.push_back( dbe_->book1D("effic_vertz_fwdneg","efficiency in endcap(-) vs z of primary interaction vertex",nintZpos,minZpos,maxZpos) );

  h_looprate.push_back( dbe_->book1D("duplicatesRate","loop rate vs #eta",nintEta,minEta,maxEta) );
  h_misidrate.push_back( dbe_->book1D("chargeMisIdRate","misid rate vs #eta",nintEta,minEta,maxEta) );
  h_fakerate.push_back( dbe_->book1D("fakerate","fake rate vs #eta",nintEta,minEta,maxEta) );
  h_loopratepT.push_back( dbe_->book1D("duplicatesRate_Pt","loop rate vs pT",nintPt,minPt,maxPt) );
  h_misidratepT.push_back( dbe_->book1D("chargeMisIdRate_Pt","misid rate vs pT",nintPt,minPt,maxPt) );
  h_fakeratePt.push_back( dbe_->book1D("fakeratePt","fake rate vs pT",nintPt,minPt,maxPt) );
  h_loopratehit.push_back( dbe_->book1D("duplicatesRate_hit","loop rate vs hit",nintHit,minHit,maxHit) );
  h_misidratehit.push_back( dbe_->book1D("chargeMisIdRate_hit","misid rate vs hit",nintHit,minHit,maxHit) );
  h_fake_vs_hit.push_back( dbe_->book1D("fakerate_vs_hit","fake rate vs hit",nintHit,minHit,maxHit) );
  h_loopratephi.push_back( dbe_->book1D("duplicatesRate_phi","loop rate vs #phi",nintPhi,minPhi,maxPhi) );
  h_misidratephi.push_back( dbe_->book1D("chargeMisIdRate_phi","misid rate vs #phi",nintPhi,minPhi,maxPhi) );
  h_fake_vs_phi.push_back( dbe_->book1D("fakerate_vs_phi","fake vs #phi",nintPhi,minPhi,maxPhi) );
  h_loopratedxy.push_back( dbe_->book1D("duplicatesRate_dxy","loop rate vs dxy",nintDxy,minDxy,maxDxy) );
  h_misidratedxy.push_back( dbe_->book1D("chargeMisIdRate_dxy","misid rate vs dxy",nintDxy,minDxy,maxDxy) );
  h_fake_vs_dxy.push_back( dbe_->book1D("fakerate_vs_dxy","fake rate vs dxy",nintDxy,minDxy,maxDxy) );
  h_loopratedz.push_back( dbe_->book1D("duplicatesRate_dz","loop rate vs dz",nintDz,minDz,maxDz) );
  h_misidratedz.push_back( dbe_->book1D("chargeMisIdRate_dz","misid rate vs dz",nintDz,minDz,maxDz) );
  h_fake_vs_dz.push_back( dbe_->book1D("fakerate_vs_dz","fake vs dz",nintDz,minDz,maxDz) );
  h_fakerate_vertcount_entire.push_back( dbe_->book1D("fakerate_vertcount_entire","fake rate vs N of pileup vertices",nintVertcount,minVertcount,maxVertcount) );
  h_fakerate_vertcount_barrel.push_back( dbe_->book1D("fakerate_vertcount_barrel","fake rate in barrel vs N of pileup vertices",nintVertcount,minVertcount,maxVertcount) );
  h_fakerate_vertcount_fwdpos.push_back( dbe_->book1D("fakerate_vertcount_fwdpos","fake rate in endcap(+) vs N of pileup vertices",nintVertcount,minVertcount,maxVertcount) );
  h_fakerate_vertcount_fwdneg.push_back( dbe_->book1D("fakerate_vertcount_fwdneg","fake rate in endcap(-) vs N of pileup vertices",nintVertcount,minVertcount,maxVertcount) );
  h_fakerate_ootpu_entire.push_back( dbe_->book1D("fakerate_ootpu_eta_entire","Out of time pileup fake rate vs N of pileup vertices",nintVertcount,minVertcount,maxVertcount) );
  h_fakerate_ootpu_barrel.push_back( dbe_->book1D("fakerate_ootpu_barrel","Out of time pileup fake rate in barrel vs N of pileup vertices",nintVertcount,minVertcount,maxVertcount) );
  h_fakerate_ootpu_fwdpos.push_back( dbe_->book1D("fakerate_ootpu_fwdpos","Out of time pileup fake rate in endcap(+) vs N of pileup vertices",nintVertcount,minVertcount,maxVertcount) );
  h_fakerate_ootpu_fwdneg.push_back( dbe_->book1D("fakerate_ootpu_fwdneg","Out of time pileup fake rate in endcap(-) vs N of pileup vertices",nintVertcount,minVertcount,maxVertcount) );

  h_fomt_eta.push_back( dbe_->book1D("fomt","fraction of misreconstructed tracks vs #eta",nintEta,minEta,maxEta) );
  h_fomt_sig_eta.push_back( dbe_->book1D("fomt_signal","fraction of misreconstructed tracks vs #eta",nintEta,minEta,maxEta) );
  h_fomt_vertcount.push_back( dbe_->book1D("fomt_vertcount","fraction of misreconstructed tracks vs N of pileup vertices",nintVertcount,minVertcount,maxVertcount) );
  h_fomt_sig_vertcount.push_back( dbe_->book1D("fomt_vertcount_signal","fraction of misreconstructed tracks vs N of pileup vertices",nintVertcount,minVertcount,maxVertcount) );
  h_fomt_ootpu_eta.push_back( dbe_->book1D("fomt_ootpu_eta","Out of time pileup fraction of misreconstructed tracks vs #eta",nintEta,minEta,maxEta) );
  h_fomt_ootpu_vertcount.push_back( dbe_->book1D("fomt_ootpu_vertcount","Out of time pileup fraction of misreconstructed tracks vs N of pileup vertices",nintVertcount,minVertcount,maxVertcount) );
  h_fomt_itpu_eta.push_back( dbe_->book1D("fomt_itpu_eta","In time pileup fraction of misreconstructed tracks vs eta",nintEta,minEta,maxEta) );
  h_fomt_itpu_vertcount.push_back( dbe_->book1D("fomt_itpu_vertcount","In time pileup fraction of misreconstructed tracks vs N of pileup vertices",nintVertcount,minVertcount,maxVertcount) );

  h_effic_PU_eta.push_back( dbe_->book1D("effic_PU_eta","PU efficiency vs #eta",nintEta,minEta,maxEta) );
  h_effic_PU_vertcount.push_back( dbe_->book1D("effic_PU_vertcount","PU efficiency s N of pileup vertices",nintVertcount,minVertcount,maxVertcount) );
  h_effic_PU_zpos.push_back( dbe_->book1D("effic_PU_zpos","PU efficiency vs z of primary interaction vertex",nintZpos,minZpos,maxZpos) );

  h_chi2meanhitsh.push_back( dbe_->bookProfile("chi2mean_vs_nhits","mean #chi^{2} vs nhits",25,0,25,100,0,10) );
  h_chi2meanh.push_back( dbe_->bookProfile("chi2mean","mean #chi^{2} vs #eta",nintEta,minEta,maxEta, 200, 0, 20) );
  h_chi2mean_vs_phi.push_back( dbe_->bookProfile("chi2mean_vs_phi","mean of #chi^{2} vs #phi",nintPhi,minPhi,maxPhi, 200, 0, 20) );

  h_hits_eta.push_back( dbe_->bookProfile("hits_eta","mean #hits vs eta",nintEta,minEta,maxEta,nintHit,minHit,maxHit) );
  h_PXBhits_eta.push_back( dbe_->bookProfile("PXBhits_eta","mean # PXB hits vs eta",nintEta,minEta,maxEta,nintHit,minHit,maxHit) );
  h_PXFhits_eta.push_back( dbe_->bookProfile("PXFhits_eta","mean # PXF hits vs eta",nintEta,minEta,maxEta,nintHit,minHit,maxHit) );
  h_TIBhits_eta.push_back( dbe_->bookProfile("TIBhits_eta","mean # TIB hits vs eta",nintEta,minEta,maxEta,nintHit,minHit,maxHit) );
  h_TIDhits_eta.push_back( dbe_->bookProfile("TIDhits_eta","mean # TID hits vs eta",nintEta,minEta,maxEta,nintHit,minHit,maxHit) );
  h_TOBhits_eta.push_back( dbe_->bookProfile("TOBhits_eta","mean # TOB hits vs eta",nintEta,minEta,maxEta,nintHit,minHit,maxHit) );
  h_TEChits_eta.push_back( dbe_->bookProfile("TEChits_eta","mean # TEC hits vs eta",nintEta,minEta,maxEta,nintHit,minHit,maxHit) );

  h_LayersWithMeas_eta.push_back(dbe_->bookProfile("LayersWithMeas_eta","mean # LayersWithMeas vs eta",
                           nintEta,minEta,maxEta,nintHit,minHit,maxHit) );
  h_PXLlayersWithMeas_eta.push_back(dbe_->bookProfile("PXLlayersWith2dMeas_eta","mean # PXLlayersWithMeas vs eta",
                              nintEta,minEta,maxEta,nintHit,minHit,maxHit) );
  h_STRIPlayersWithMeas_eta.push_back(dbe_->bookProfile("STRIPlayersWithMeas_eta","mean # STRIPlayersWithMeas vs eta",
                            nintEta,minEta,maxEta,nintHit,minHit,maxHit) );
  h_STRIPlayersWith1dMeas_eta.push_back(dbe_->bookProfile("STRIPlayersWith1dMeas_eta","mean # STRIPlayersWith1dMeas vs eta",
                              nintEta,minEta,maxEta,nintHit,minHit,maxHit) );
  h_STRIPlayersWith2dMeas_eta.push_back(dbe_->bookProfile("STRIPlayersWith2dMeas_eta","mean # STRIPlayersWith2dMeas vs eta",
                              nintEta,minEta,maxEta,nintHit,minHit,maxHit) );
  h_hits_phi.push_back( dbe_->bookProfile("hits_phi","mean #hits vs #phi",nintPhi,minPhi,maxPhi, nintHit,minHit,maxHit) );
  h_losthits_eta.push_back( dbe_->bookProfile("losthits_eta","losthits_eta",nintEta,minEta,maxEta,nintHit,minHit,maxHit) );

  h_ptrmsh.push_back( dbe_->book1D("ptres_vs_eta_Sigma","#sigma(#deltap_{t}/p_{t}) vs #eta",nintEta,minEta,maxEta) );
  h_ptmeanhPhi.push_back( dbe_->book1D("ptres_vs_phi_Mean","mean of p_{t} resolution vs #phi",nintPhi,minPhi,maxPhi));
  h_ptrmshPhi.push_back( dbe_->book1D("ptres_vs_phi_Sigma","#sigma(#deltap_{t}/p_{t}) vs #phi",nintPhi,minPhi,maxPhi) );
  h_ptmeanhPt.push_back( dbe_->book1D("ptres_vs_pt_Mean","mean of p_{t} resolution vs p_{t}",nintPt,minPt,maxPt));
  h_ptrmshPt.push_back( dbe_->book1D("ptres_vs_pt_Sigma","#sigma(#deltap_{t}/p_{t}) vs pT",nintPt,minPt,maxPt) );
  h_cotThetameanh.push_back( dbe_->book1D("cotThetares_vs_eta_Mean","#sigma(cot(#theta)) vs #eta Mean",nintEta,minEta,maxEta) );
  h_cotThetarmsh.push_back( dbe_->book1D("cotThetares_vs_eta_Sigma","#sigma(cot(#theta)) vs #eta Sigma",nintEta,minEta,maxEta) );
  h_cotThetameanhPt.push_back( dbe_->book1D("cotThetares_vs_pt_Mean","#sigma(cot(#theta)) vs pT Mean",nintPt,minPt,maxPt) );
  h_cotThetarmshPt.push_back( dbe_->book1D("cotThetares_vs_pt_Sigma","#sigma(cot(#theta)) vs pT Sigma",nintPt,minPt,maxPt) );
  h_phimeanh.push_back(dbe_->book1D("phires_vs_eta_Mean","mean of #phi res vs #eta",nintEta,minEta,maxEta));
  h_phirmsh.push_back( dbe_->book1D("phires_vs_eta_Sigma","#sigma(#delta#phi) vs #eta",nintEta,minEta,maxEta) );
  h_phimeanhPt.push_back(dbe_->book1D("phires_vs_pt_Mean","mean of #phi res vs pT",nintPt,minPt,maxPt));
  h_phirmshPt.push_back( dbe_->book1D("phires_vs_pt_Sigma","#sigma(#delta#phi) vs pT",nintPt,minPt,maxPt) );
  h_phimeanhPhi.push_back(dbe_->book1D("phires_vs_phi_Mean","mean of #phi res vs #phi",nintPhi,minPhi,maxPhi));
  h_phirmshPhi.push_back( dbe_->book1D("phires_vs_phi_Sigma","#sigma(#delta#phi) vs #phi",nintPhi,minPhi,maxPhi) );
  h_dxymeanh.push_back( dbe_->book1D("dxyres_vs_eta_Mean","mean of dxyres vs #eta",nintEta,minEta,maxEta) );
  h_dxyrmsh.push_back( dbe_->book1D("dxyres_vs_eta_Sigma","#sigma(#deltadxy) vs #eta",nintEta,minEta,maxEta) );
  h_dxymeanhPt.push_back( dbe_->book1D("dxyres_vs_pt_Mean","mean of dxyres vs pT",nintPt,minPt,maxPt) );
  h_dxyrmshPt.push_back( dbe_->book1D("dxyres_vs_pt_Sigma","#sigmadxy vs pT",nintPt,minPt,maxPt) );
  h_dzmeanh.push_back( dbe_->book1D("dzres_vs_eta_Mean","mean of dzres vs #eta",nintEta,minEta,maxEta) );
  h_dzrmsh.push_back( dbe_->book1D("dzres_vs_eta_Sigma","#sigma(#deltadz) vs #eta",nintEta,minEta,maxEta) );
  h_dzmeanhPt.push_back( dbe_->book1D("dzres_vs_pt_Mean","mean of dzres vs pT",nintPt,minPt,maxPt) );
  h_dzrmshPt.push_back( dbe_->book1D("dzres_vs_pt_Sigma","#sigma(#deltadz vs pT",nintPt,minPt,maxPt) );
  h_dxypulletamean.push_back( dbe_->book1D("h_dxypulleta_Mean","mean of dxy pull vs #eta",nintEta,minEta,maxEta) ); 
  h_ptpulletamean.push_back( dbe_->book1D("h_ptpulleta_Mean","mean of p_{t} pull vs #eta",nintEta,minEta,maxEta) ); 
  h_dzpulletamean.push_back( dbe_->book1D("h_dzpulleta_Mean","mean of dz pull vs #eta",nintEta,minEta,maxEta) ); 
  h_phipulletamean.push_back( dbe_->book1D("h_phipulleta_Mean","mean of #phi pull vs #eta",nintEta,minEta,maxEta) ); 
  h_thetapulletamean.push_back( dbe_->book1D("h_thetapulleta_Mean","mean of #theta pull vs #eta",nintEta,minEta,maxEta) );
  h_dxypulleta.push_back( dbe_->book1D("h_dxypulleta_Sigma","#sigma of dxy pull vs #eta",nintEta,minEta,maxEta) ); 
  h_ptpulleta.push_back( dbe_->book1D("h_ptpulleta_Sigma","#sigma of p_{t} pull vs #eta",nintEta,minEta,maxEta) ); 
  h_dzpulleta.push_back( dbe_->book1D("h_dzpulleta_Sigma","#sigma of dz pull vs #eta",nintEta,minEta,maxEta) ); 
  h_phipulleta.push_back( dbe_->book1D("h_phipulleta_Sigma","#sigma of #phi pull vs #eta",nintEta,minEta,maxEta) ); 
  h_thetapulleta.push_back( dbe_->book1D("h_thetapulleta_Sigma","#sigma of #theta pull vs #eta",nintEta,minEta,maxEta) );
  h_ptshifteta.push_back( dbe_->book1D("ptres_vs_eta_Mean","<#deltapT/pT>[%] vs #eta",nintEta,minEta,maxEta) ); 
  h_ptpullphimean.push_back( dbe_->book1D("h_ptpullphi_Mean","mean of p_{t} pull vs #phi",nintPhi,minPhi,maxPhi) ); 
  h_phipullphimean.push_back( dbe_->book1D("h_phipullphi_Mean","mean of #phi pull vs #phi",nintPhi,minPhi,maxPhi) );
  h_thetapullphimean.push_back( dbe_->book1D("h_thetapullphi_Mean","mean of #theta pull vs #phi",nintPhi,minPhi,maxPhi) );
  h_ptpullphi.push_back( dbe_->book1D("h_ptpullphi_Sigma","#sigma of p_{t} pull vs #phi",nintPhi,minPhi,maxPhi) ); 
  h_phipullphi.push_back( dbe_->book1D("h_phipullphi_Sigma","#sigma of #phi pull vs #phi",nintPhi,minPhi,maxPhi) );
  h_thetapullphi.push_back( dbe_->book1D("h_thetapullphi_Sigma","#sigma of #theta pull vs #phi",nintPhi,minPhi,maxPhi) );
  
  if(useLogPt){
    BinLogX(h_dzmeanhPt.back()->getTH1F());
    BinLogX(h_dzrmshPt.back()->getTH1F());
    BinLogX(h_dxymeanhPt.back()->getTH1F());
    BinLogX(h_dxyrmshPt.back()->getTH1F());
    BinLogX(h_phimeanhPt.back()->getTH1F());
    BinLogX(h_phirmshPt.back()->getTH1F());
    BinLogX(h_cotThetameanhPt.back()->getTH1F());
    BinLogX(h_cotThetarmshPt.back()->getTH1F());
    BinLogX(h_ptmeanhPt.back()->getTH1F());
    BinLogX(h_ptrmshPt.back()->getTH1F());
    BinLogX(h_efficPt.back()->getTH1F());
    BinLogX(h_fakeratePt.back()->getTH1F());
    BinLogX(h_loopratepT.back()->getTH1F());
    BinLogX(h_misidratepT.back()->getTH1F());
  }    
}
void MTVHistoProducerAlgoForTracker::bookSimHistos ( ) [virtual]

Implements MTVHistoProducerAlgo.

Definition at line 374 of file MTVHistoProducerAlgoForTracker.cc.

References DQMStore::book1D(), MTVHistoProducerAlgo::dbe_, h_bunchxSIM, h_etaSIM, h_ptSIM, h_tracksSIM, and h_vertposSIM.

                                                  {
  h_ptSIM.push_back( dbe_->book1D("ptSIM", "generated p_{t}", 5500, 0, 110 ) );
  h_etaSIM.push_back( dbe_->book1D("etaSIM", "generated pseudorapidity", 500, -2.5, 2.5 ) );
  h_tracksSIM.push_back( dbe_->book1D("tracksSIM","number of simulated tracks",200,-0.5,99.5) );
  h_vertposSIM.push_back( dbe_->book1D("vertposSIM","Transverse position of sim vertices",100,0.,120.) );  
  h_bunchxSIM.push_back( dbe_->book1D("bunchxSIM", "bunch crossing", 22, -5, 5 ) );
}
void MTVHistoProducerAlgoForTracker::fill_dedx_recoTrack_histos ( int  count,
edm::RefToBase< reco::Track > &  trackref,
std::vector< edm::ValueMap< reco::DeDxData > >  v_dEdx 
) [virtual]

Implements MTVHistoProducerAlgo.

Definition at line 978 of file MTVHistoProducerAlgoForTracker.cc.

References prof2calltree::count, h_dedx_estim1, h_dedx_estim2, h_dedx_nom1, h_dedx_nom2, h_dedx_sat1, h_dedx_sat2, and i.

                                                                                                                                                           {
//void MTVHistoProducerAlgoForTracker::fill_dedx_recoTrack_histos(reco::TrackRef trackref, std::vector< edm::ValueMap<reco::DeDxData> > v_dEdx) {
  double dedx;
  int nom;
  int sat;
  edm::ValueMap<reco::DeDxData> dEdxTrack;
  for (unsigned int i=0; i<v_dEdx.size(); i++) {
    dEdxTrack = v_dEdx.at(i);
    dedx = dEdxTrack[trackref].dEdx(); 
    nom  = dEdxTrack[trackref].numberOfMeasurements();
    sat  = dEdxTrack[trackref].numberOfSaturatedMeasurements();
    if (i==0) {
      h_dedx_estim1[count]->Fill(dedx);
      h_dedx_nom1[count]->Fill(nom);
      h_dedx_sat1[count]->Fill(sat);
    } else if (i==1) {
      h_dedx_estim2[count]->Fill(dedx);
      h_dedx_nom2[count]->Fill(nom);
      h_dedx_sat2[count]->Fill(sat);
    }
  }
}
void MTVHistoProducerAlgoForTracker::fill_generic_recoTrack_histos ( int  count,
const reco::Track track,
math::XYZPoint  bsPosition,
bool  isMatched,
bool  isSigMatched,
bool  isChargeMatched,
int  numAssocRecoTracks,
int  numVertices,
int  tpbunchcrossing,
int  nSimHits,
double  sharedFraction 
) [virtual]

Implements MTVHistoProducerAlgo.

Definition at line 1003 of file MTVHistoProducerAlgoForTracker.cc.

References reco::TrackBase::algo(), prof2calltree::count, reco::TrackBase::dxy(), dxyintervals, reco::TrackBase::dz(), dzintervals, reco::TrackBase::eta(), etaintervals, f, reco::Track::found(), getEta(), getPt(), h_assocFraction, h_assocSharedHit, maxHit, min, reco::TrackBase::momentum(), nrecHit_vs_nsimHit_rec2sim, reco::TrackBase::numberOfValidHits(), phiintervals, pTintervals, EgAmbiguityTools::sharedHits(), mathSSE::sqrt(), tmp, totASS2_dxy, totASS2_dz, totASS2_hit, totASS2_itpu_eta_entire, totASS2_itpu_eta_entire_signal, totASS2_itpu_vertcount_entire, totASS2_itpu_vertcount_entire_signal, totASS2_ootpu_barrel, totASS2_ootpu_entire, totASS2_ootpu_eta_entire, totASS2_ootpu_fwdneg, totASS2_ootpu_fwdpos, totASS2_phi, totASS2_vertcount_barrel, totASS2_vertcount_entire, totASS2_vertcount_entire_signal, totASS2_vertcount_fwdneg, totASS2_vertcount_fwdpos, totASS2eta, totASS2etaSig, totASS2pT, totloop_dxy, totloop_dz, totloop_hit, totloop_phi, totloopeta, totlooppT, totmisid_dxy, totmisid_dz, totmisid_hit, totmisid_phi, totmisideta, totmisidpT, totREC_algo, totREC_dxy, totREC_dz, totREC_hit, totREC_ootpu_barrel, totREC_ootpu_entire, totREC_ootpu_fwdneg, totREC_ootpu_fwdpos, totREC_phi, totREC_vertcount_barrel, totREC_vertcount_entire, totREC_vertcount_fwdneg, totREC_vertcount_fwdpos, totRECeta, totRECpT, and vertcountintervals.

                                                         {

  //Fill track algo histogram

  if (track.algo()>=4 && track.algo()<=14) totREC_algo[count][track.algo()-4]++;  
  int sharedHits = sharedFraction *  track.numberOfValidHits();

  //Compute fake rate vs eta
  for (unsigned int f=0; f<etaintervals[count].size()-1; f++){
    if (getEta(track.momentum().eta())>etaintervals[count][f]&&
        getEta(track.momentum().eta())<etaintervals[count][f+1]) {
      totRECeta[count][f]++;
      if (isMatched) {
        totASS2eta[count][f]++;
        if (!isChargeMatched) totmisideta[count][f]++;
        if (numAssocRecoTracks>1) totloopeta[count][f]++;
        if (tpbunchcrossing==0) totASS2_itpu_eta_entire[count][f]++;
        if (tpbunchcrossing!=0) totASS2_ootpu_eta_entire[count][f]++;
        nrecHit_vs_nsimHit_rec2sim[count]->Fill( track.numberOfValidHits(),nSimHits);
        h_assocFraction[count]->Fill( sharedFraction);
        h_assocSharedHit[count]->Fill( sharedHits);
      }
      if (isSigMatched) {
        totASS2etaSig[count][f]++;
        if (tpbunchcrossing==0) totASS2_itpu_eta_entire_signal[count][f]++;
      }
    }
  } // End for (unsigned int f=0; f<etaintervals[count].size()-1; f++){

  for (unsigned int f=0; f<phiintervals[count].size()-1; f++){
    if (track.momentum().phi()>phiintervals[count][f]&&
        track.momentum().phi()<phiintervals[count][f+1]) {
      totREC_phi[count][f]++; 
      if (isMatched) {
        totASS2_phi[count][f]++;
        if (!isChargeMatched) totmisid_phi[count][f]++;
        if (numAssocRecoTracks>1) totloop_phi[count][f]++;
      }         
    }
  } // End for (unsigned int f=0; f<phiintervals[count].size()-1; f++){

        
  for (unsigned int f=0; f<pTintervals[count].size()-1; f++){
    if (getPt(sqrt(track.momentum().perp2()))>pTintervals[count][f]&&
        getPt(sqrt(track.momentum().perp2()))<pTintervals[count][f+1]) {
      totRECpT[count][f]++; 
      if (isMatched) {
        totASS2pT[count][f]++;
        if (!isChargeMatched) totmisidpT[count][f]++;
        if (numAssocRecoTracks>1) totlooppT[count][f]++;
      }       
    }
  } // End for (unsigned int f=0; f<pTintervals[count].size()-1; f++){
  
  for (unsigned int f=0; f<dxyintervals[count].size()-1; f++){
    if (track.dxy(bsPosition)>dxyintervals[count][f]&&
        track.dxy(bsPosition)<dxyintervals[count][f+1]) {
      totREC_dxy[count][f]++; 
      if (isMatched) {
        totASS2_dxy[count][f]++;
        if (!isChargeMatched) totmisid_dxy[count][f]++;
        if (numAssocRecoTracks>1) totloop_dxy[count][f]++;
      }       
    }
  } // End for (unsigned int f=0; f<dxyintervals[count].size()-1; f++){
  
  for (unsigned int f=0; f<dzintervals[count].size()-1; f++){
    if (track.dz(bsPosition)>dzintervals[count][f]&&
        track.dz(bsPosition)<dzintervals[count][f+1]) {
      totREC_dz[count][f]++; 
      if (isMatched) {
        totASS2_dz[count][f]++;
        if (!isChargeMatched) totmisid_dz[count][f]++;
        if (numAssocRecoTracks>1) totloop_dz[count][f]++;
      }       
    }
  } // End for (unsigned int f=0; f<dzintervals[count].size()-1; f++){

  int tmp = std::min((int)track.found(),int(maxHit-1));
  totREC_hit[count][tmp]++;
  if (isMatched) {
    totASS2_hit[count][tmp]++;
    if (!isChargeMatched) totmisid_hit[count][tmp]++;
    if (numAssocRecoTracks>1) totloop_hit[count][tmp]++;
  }

  for (unsigned int f=0; f<vertcountintervals[count].size()-1; f++){
    if (numVertices ==  vertcountintervals[count][f]) {
      totREC_vertcount_entire[count][f]++;
      totREC_ootpu_entire[count][f]++;
      if (isMatched) {
        totASS2_vertcount_entire[count][f]++;
        if (tpbunchcrossing==0) totASS2_itpu_vertcount_entire[count][f]++;
        if (tpbunchcrossing!=0) totASS2_ootpu_entire[count][f]++;
      }
      if (isSigMatched) {
        totASS2_vertcount_entire_signal[count][f]++;
        if (tpbunchcrossing==0) totASS2_itpu_vertcount_entire_signal[count][f]++;
      }
    }
    if (numVertices ==  vertcountintervals[count][f] && track.eta() <= 0.9 && track.eta() >= -0.9) {
      totREC_vertcount_barrel[count][f]++;
      totREC_ootpu_barrel[count][f]++;
      if (isMatched) {
        totASS2_vertcount_barrel[count][f]++;
        if (isMatched && tpbunchcrossing!=0) totASS2_ootpu_barrel[count][f]++;
      }
    }
    if (numVertices ==  vertcountintervals[count][f] && track.eta() > 0.9) {
      totREC_vertcount_fwdpos[count][f]++;
      totREC_ootpu_fwdpos[count][f]++;
      if (isMatched) {
        totASS2_vertcount_fwdpos[count][f]++;
        if (isMatched && tpbunchcrossing!=0) totASS2_ootpu_fwdpos[count][f]++;
      }
    }
    if (numVertices ==  vertcountintervals[count][f] && track.eta() < -0.9) {
      totREC_vertcount_fwdneg[count][f]++;
      totREC_ootpu_fwdneg[count][f]++;
      if (isMatched) {
        totASS2_vertcount_fwdneg[count][f]++;
        if (isMatched && tpbunchcrossing!=0) totASS2_ootpu_fwdneg[count][f]++;
      }
    }

  }

}
void MTVHistoProducerAlgoForTracker::fill_generic_simTrack_histos ( int  counter,
ParticleBase::Vector  momentumTP,
ParticleBase::Point  vertex,
int  bx 
) [virtual]

Implements MTVHistoProducerAlgo.

Definition at line 794 of file MTVHistoProducerAlgoForTracker.cc.

References prof2calltree::count, h_bunchxSIM, h_etaSIM, h_ptSIM, h_vertposSIM, and mathSSE::sqrt().

                                         {
  h_ptSIM[count]->Fill(sqrt(momentumTP.perp2()));
  h_etaSIM[count]->Fill(momentumTP.eta());
  h_vertposSIM[count]->Fill(sqrt(vertexTP.perp2()));
  h_bunchxSIM[count]->Fill(bx);
}
void MTVHistoProducerAlgoForTracker::fill_recoAssociated_simTrack_histos ( int  count,
const TrackingParticle tp,
ParticleBase::Vector  momentumTP,
ParticleBase::Point  vertexTP,
double  dxy,
double  dz,
int  nSimHits,
const reco::Track track,
int  numVertices,
double  vertz 
) [virtual]

Implements MTVHistoProducerAlgo.

Definition at line 807 of file MTVHistoProducerAlgoForTracker.cc.

References prof2calltree::count, dxyintervals, dzintervals, etaintervals, f, getEta(), getPt(), trackerHitRTTI::isMatched(), maxHit, min, nrecHit_vs_nsimHit_sim2rec, reco::TrackBase::numberOfValidHits(), phiintervals, pTintervals, mathSSE::sqrt(), totASS_dxy, totASS_dz, totASS_hit, totASS_phi, totASS_vertcount_barrel, totASS_vertcount_entire, totASS_vertcount_fwdneg, totASS_vertcount_fwdpos, totASS_vertpos, totASS_vertz_barrel, totASS_vertz_entire, totASS_vertz_fwdneg, totASS_vertz_fwdpos, totASS_zpos, totASSeta, totASSpT, totCONeta, totCONvertcount, totCONzpos, totSIM_dxy, totSIM_dz, totSIM_hit, totSIM_phi, totSIM_vertcount_barrel, totSIM_vertcount_entire, totSIM_vertcount_fwdneg, totSIM_vertcount_fwdpos, totSIM_vertpos, totSIM_vertz_barrel, totSIM_vertz_entire, totSIM_vertz_fwdneg, totSIM_vertz_fwdpos, totSIM_zpos, totSIMeta, totSIMpT, TpSelectorForEfficiencyVsCon, TpSelectorForEfficiencyVsEta, TpSelectorForEfficiencyVsPhi, TpSelectorForEfficiencyVsPt, TpSelectorForEfficiencyVsVTXR, TpSelectorForEfficiencyVsVTXZ, vertcountintervals, vertposintervals, and zposintervals.

                                                                   {
  bool isMatched = track;

  if((*TpSelectorForEfficiencyVsEta)(tp)){
    //effic vs hits
    int nSimHitsInBounds = std::min((int)nSimHits,int(maxHit-1));
    totSIM_hit[count][nSimHitsInBounds]++;
    if(isMatched) {
      totASS_hit[count][nSimHitsInBounds]++;
      nrecHit_vs_nsimHit_sim2rec[count]->Fill( track->numberOfValidHits(),nSimHits);
    }

    //effic vs eta
    for (unsigned int f=0; f<etaintervals[count].size()-1; f++){
      if (getEta(momentumTP.eta())>etaintervals[count][f]&&
          getEta(momentumTP.eta())<etaintervals[count][f+1]) {
        totSIMeta[count][f]++;
        if (isMatched) {
          totASSeta[count][f]++;
        }
      }

    } // END for (unsigned int f=0; f<etaintervals[w].size()-1; f++){

    //effic vs num pileup vertices
    for (unsigned int f=0; f<vertcountintervals[count].size()-1; f++){
      if (numVertices == vertcountintervals[count][f]) {
        totSIM_vertcount_entire[count][f]++;
        if (isMatched) {
          totASS_vertcount_entire[count][f]++;
        }
      }
      if (numVertices == vertcountintervals[count][f] && momentumTP.eta() <= 0.9 && momentumTP.eta() >= -0.9) {
        totSIM_vertcount_barrel[count][f]++;
        if (isMatched) {
          totASS_vertcount_barrel[count][f]++;
        }
      }
      if (numVertices == vertcountintervals[count][f] && momentumTP.eta() > 0.9) {
        totSIM_vertcount_fwdpos[count][f]++;
        if (isMatched) {
          totASS_vertcount_fwdpos[count][f]++;
        }
      }
      if (numVertices == vertcountintervals[count][f] && momentumTP.eta() < -0.9) {
        totSIM_vertcount_fwdneg[count][f]++;
        if (isMatched) {
          totASS_vertcount_fwdneg[count][f]++;
        }
      }
    }

  }

  if((*TpSelectorForEfficiencyVsPhi)(tp)){
    for (unsigned int f=0; f<phiintervals[count].size()-1; f++){
      if (momentumTP.phi() > phiintervals[count][f]&&
          momentumTP.phi() <phiintervals[count][f+1]) {
        totSIM_phi[count][f]++;
        if (isMatched) {
          totASS_phi[count][f]++;
        }
      }
    } // END for (unsigned int f=0; f<phiintervals[count].size()-1; f++){
  }
        
  if((*TpSelectorForEfficiencyVsPt)(tp)){
    for (unsigned int f=0; f<pTintervals[count].size()-1; f++){
      if (getPt(sqrt(momentumTP.perp2()))>pTintervals[count][f]&&
          getPt(sqrt(momentumTP.perp2()))<pTintervals[count][f+1]) {
        totSIMpT[count][f]++;
        if (isMatched) {
          totASSpT[count][f]++;
        }
      }
    } // END for (unsigned int f=0; f<pTintervals[count].size()-1; f++){
  }     

  if((*TpSelectorForEfficiencyVsVTXR)(tp)){
    for (unsigned int f=0; f<dxyintervals[count].size()-1; f++){
      if (dxySim>dxyintervals[count][f]&&
          dxySim<dxyintervals[count][f+1]) {
        totSIM_dxy[count][f]++;
        if (isMatched) {
          totASS_dxy[count][f]++;
        }
      }
    } // END for (unsigned int f=0; f<dxyintervals[count].size()-1; f++){

    for (unsigned int f=0; f<vertposintervals[count].size()-1; f++){
      if (sqrt(vertexTP.perp2())>vertposintervals[count][f]&&
          sqrt(vertexTP.perp2())<vertposintervals[count][f+1]) {
        totSIM_vertpos[count][f]++;
        if (isMatched) {
          totASS_vertpos[count][f]++;
        }
      }
    } // END for (unsigned int f=0; f<vertposintervals[count].size()-1; f++){
  }

  if((*TpSelectorForEfficiencyVsVTXZ)(tp)){
    for (unsigned int f=0; f<dzintervals[count].size()-1; f++){
      if (dzSim>dzintervals[count][f]&&
          dzSim<dzintervals[count][f+1]) {
        totSIM_dz[count][f]++;
        if (isMatched) {
          totASS_dz[count][f]++;
        }
      }
    } // END for (unsigned int f=0; f<dzintervals[count].size()-1; f++){

  
    for (unsigned int f=0; f<zposintervals[count].size()-1; f++){
        if (vertexTP.z()>zposintervals[count][f]&&vertexTP.z()<zposintervals[count][f+1]) {
                totSIM_zpos[count][f]++;
                if (isMatched) totASS_zpos[count][f]++;
        }
        if (vertz>zposintervals[count][f]&&vertz<zposintervals[count][f+1]) {
                totSIM_vertz_entire[count][f]++;
                if (isMatched) totASS_vertz_entire[count][f]++;
        }
        if (vertz>zposintervals[count][f]&&vertz<zposintervals[count][f+1] && fabs(momentumTP.eta())<0.9) {
                totSIM_vertz_barrel[count][f]++;
                if (isMatched) totASS_vertz_barrel[count][f]++;
        }
        if (vertz>zposintervals[count][f]&&vertz<zposintervals[count][f+1] && momentumTP.eta()>0.9) {
                totSIM_vertz_fwdpos[count][f]++;
                if (isMatched) totASS_vertz_fwdpos[count][f]++;
        }
        if (vertz>zposintervals[count][f]&&vertz<zposintervals[count][f+1] && momentumTP.eta()<-0.9) {
                totSIM_vertz_fwdneg[count][f]++;
                if (isMatched) totASS_vertz_fwdneg[count][f]++;
        }
    } // END for (unsigned int f=0; f<zposintervals[count].size()-1; f++){
  }

  //Special investigations for PU  
  if(((*TpSelectorForEfficiencyVsCon)(tp)) && (!((*TpSelectorForEfficiencyVsEta)(tp)))){

   //efficPU vs eta
    for (unsigned int f=0; f<etaintervals[count].size()-1; f++){
      if (getEta(momentumTP.eta())>etaintervals[count][f]&&
          getEta(momentumTP.eta())<etaintervals[count][f+1]) {
        totCONeta[count][f]++;
      }
    } // END for (unsigned int f=0; f<etaintervals[w].size()-1; f++){

    //efficPU vs num pileup vertices
    for (unsigned int f=0; f<vertcountintervals[count].size()-1; f++){
      if (numVertices == vertcountintervals[count][f]) {
        totCONvertcount[count][f]++;
      }
    } // END for (unsigned int f=0; f<vertcountintervals[count].size()-1; f++){
  
    for (unsigned int f=0; f<zposintervals[count].size()-1; f++){
      if (vertexTP.z()>zposintervals[count][f]&&vertexTP.z()<zposintervals[count][f+1]) {
        totCONzpos[count][f]++;
      }
    } // END for (unsigned int f=0; f<zposintervals[count].size()-1; f++){

  }

}
void MTVHistoProducerAlgoForTracker::fill_ResoAndPull_recoTrack_histos ( int  count,
ParticleBase::Vector  momentumTP,
ParticleBase::Point  vertexTP,
int  chargeTP,
const reco::Track track,
math::XYZPoint  bsPosition 
) [virtual]

Implements MTVHistoProducerAlgo.

Definition at line 1184 of file MTVHistoProducerAlgoForTracker.cc.

References chi2_vs_phi, funct::cos(), cotThetares_vs_eta, cotThetares_vs_pt, prof2calltree::count, reco::TrackBase::dxy(), reco::TrackBase::dxyError(), dxypull_vs_eta, dxyres_vs_eta, dxyres_vs_pt, reco::TrackBase::dz(), reco::TrackBase::dzError(), dzpull_vs_eta, dzres_vs_eta, dzres_vs_pt, reco::TrackBase::eta(), etares_vs_eta, getEta(), getPt(), getRecoMomentum(), h_eta, h_pt, h_pullDxy, h_pullDz, h_pullPhi, h_pullQoverp, h_pullTheta, LogTrace, M_PI, nhits_vs_phi, reco::TrackBase::normalizedChi2(), reco::TrackBase::numberOfValidHits(), phimean_vs_eta_phi, phipull_vs_eta, phipull_vs_phi, phires_vs_eta, phires_vs_phi, phires_vs_pt, ptmean_vs_eta_phi, ptpull_vs_eta, ptpull_vs_phi, ptres_vs_eta, ptres_vs_phi, ptres_vs_pt, funct::sin(), mathSSE::sqrt(), funct::tan(), reco::TrackBase::theta(), thetapull_vs_eta, and thetapull_vs_phi.

                                                                                               {

  // evaluation of TP parameters
  double qoverpSim = chargeTP/sqrt(momentumTP.x()*momentumTP.x()+momentumTP.y()*momentumTP.y()+momentumTP.z()*momentumTP.z());
  double lambdaSim = M_PI/2-momentumTP.theta();
  double phiSim    = momentumTP.phi();
  double dxySim    = (-vertexTP.x()*sin(momentumTP.phi())+vertexTP.y()*cos(momentumTP.phi()));
  double dzSim     = vertexTP.z() - (vertexTP.x()*momentumTP.x()+vertexTP.y()*momentumTP.y())/sqrt(momentumTP.perp2()) 
    * momentumTP.z()/sqrt(momentumTP.perp2());

          
  //  reco::Track::ParameterVector rParameters = track.parameters(); // UNUSED
  
  double qoverpRec(0);
  double qoverpErrorRec(0); 
  double ptRec(0);
  double ptErrorRec(0);
  double lambdaRec(0); 
  double lambdaErrorRec(0);
  double phiRec(0);
  double phiErrorRec(0);

  /* TO BE FIXED LATER  -----------
  //loop to decide whether to take gsfTrack (utilisation of mode-function) or common track
  const GsfTrack* gsfTrack(0);
  if(useGsf){
    gsfTrack = dynamic_cast<const GsfTrack*>(&(*track));
    if (gsfTrack==0) edm::LogInfo("TrackValidator") << "Trying to access mode for a non-GsfTrack";
  }
  
  if (gsfTrack) {
    // get values from mode
    getRecoMomentum(*gsfTrack, ptRec, ptErrorRec, qoverpRec, qoverpErrorRec, 
                    lambdaRec,lambdaErrorRec, phiRec, phiErrorRec); 
  }
         
  else {
    // get values from track (without mode) 
    getRecoMomentum(*track, ptRec, ptErrorRec, qoverpRec, qoverpErrorRec, 
                    lambdaRec,lambdaErrorRec, phiRec, phiErrorRec); 
  }
  */
  getRecoMomentum(track, ptRec, ptErrorRec, qoverpRec, qoverpErrorRec, 
                  lambdaRec,lambdaErrorRec, phiRec, phiErrorRec); 
  // -------------

  double ptError = ptErrorRec;  
  double ptres=ptRec-sqrt(momentumTP.perp2()); 
  double etares=track.eta()-momentumTP.Eta();


  double dxyRec    = track.dxy(bsPosition);
  double dzRec     = track.dz(bsPosition);

  // eta residue; pt, k, theta, phi, dxy, dz pulls
  double qoverpPull=(qoverpRec-qoverpSim)/qoverpErrorRec;
  double thetaPull=(lambdaRec-lambdaSim)/lambdaErrorRec;
  double phiPull=(phiRec-phiSim)/phiErrorRec;
  double dxyPull=(dxyRec-dxySim)/track.dxyError();
  double dzPull=(dzRec-dzSim)/track.dzError();

  double contrib_Qoverp = ((qoverpRec-qoverpSim)/qoverpErrorRec)*
    ((qoverpRec-qoverpSim)/qoverpErrorRec)/5;
  double contrib_dxy = ((dxyRec-dxySim)/track.dxyError())*((dxyRec-dxySim)/track.dxyError())/5;
  double contrib_dz = ((dzRec-dzSim)/track.dzError())*((dzRec-dzSim)/track.dzError())/5;
  double contrib_theta = ((lambdaRec-lambdaSim)/lambdaErrorRec)*
    ((lambdaRec-lambdaSim)/lambdaErrorRec)/5;
  double contrib_phi = ((phiRec-phiSim)/phiErrorRec)*
    ((phiRec-phiSim)/phiErrorRec)/5;

  LogTrace("TrackValidatorTEST") 
    //<< "assocChi2=" << tp.begin()->second << "\n"
    << "" <<  "\n"
    << "ptREC=" << ptRec << "\n" << "etaREC=" << track.eta() << "\n" << "qoverpREC=" << qoverpRec << "\n"
    << "dxyREC=" << dxyRec << "\n" << "dzREC=" << dzRec << "\n"
    << "thetaREC=" << track.theta() << "\n" << "phiREC=" << phiRec << "\n"
    << "" <<  "\n"
    << "qoverpError()=" << qoverpErrorRec << "\n" << "dxyError()=" << track.dxyError() << "\n"<< "dzError()=" 
    << track.dzError() << "\n"
    << "thetaError()=" << lambdaErrorRec << "\n" << "phiError()=" << phiErrorRec << "\n"
    << "" <<  "\n"
    << "ptSIM=" << sqrt(momentumTP.perp2()) << "\n"<< "etaSIM=" << momentumTP.Eta() << "\n"<< "qoverpSIM=" << qoverpSim << "\n"
    << "dxySIM=" << dxySim << "\n"<< "dzSIM=" << dzSim << "\n" << "thetaSIM=" << M_PI/2-lambdaSim << "\n" 
    << "phiSIM=" << phiSim << "\n"
    << "" << "\n"
    << "contrib_Qoverp=" << contrib_Qoverp << "\n"<< "contrib_dxy=" << contrib_dxy << "\n"<< "contrib_dz=" << contrib_dz << "\n"
    << "contrib_theta=" << contrib_theta << "\n"<< "contrib_phi=" << contrib_phi << "\n"
    << "" << "\n"
    <<"chi2PULL="<<contrib_Qoverp+contrib_dxy+contrib_dz+contrib_theta+contrib_phi<<"\n";

  h_pullQoverp[count]->Fill(qoverpPull);
  h_pullTheta[count]->Fill(thetaPull);
  h_pullPhi[count]->Fill(phiPull);
  h_pullDxy[count]->Fill(dxyPull);
  h_pullDz[count]->Fill(dzPull);


  h_pt[count]->Fill(ptres/ptError);
  h_eta[count]->Fill(etares);
  etares_vs_eta[count]->Fill(getEta(track.eta()),etares);
  

        
  //resolution of track params: fill 2D histos
  dxyres_vs_eta[count]->Fill(getEta(track.eta()),dxyRec-dxySim);
  ptres_vs_eta[count]->Fill(getEta(track.eta()),(ptRec-sqrt(momentumTP.perp2()))/ptRec);
  dzres_vs_eta[count]->Fill(getEta(track.eta()),dzRec-dzSim);
  phires_vs_eta[count]->Fill(getEta(track.eta()),phiRec-phiSim);
  cotThetares_vs_eta[count]->Fill(getEta(track.eta()),1/tan(M_PI*0.5-lambdaRec)-1/tan(M_PI*0.5-lambdaSim));         
  
  //same as before but vs pT
  dxyres_vs_pt[count]->Fill(getPt(ptRec),dxyRec-dxySim);
  ptres_vs_pt[count]->Fill(getPt(ptRec),(ptRec-sqrt(momentumTP.perp2()))/ptRec);
  dzres_vs_pt[count]->Fill(getPt(ptRec),dzRec-dzSim);
  phires_vs_pt[count]->Fill(getPt(ptRec),phiRec-phiSim);
  cotThetares_vs_pt[count]->Fill(getPt(ptRec),1/tan(M_PI*0.5-lambdaRec)-1/tan(M_PI*0.5-lambdaSim));      
        
  //pulls of track params vs eta: fill 2D histos
  dxypull_vs_eta[count]->Fill(getEta(track.eta()),dxyPull);
  ptpull_vs_eta[count]->Fill(getEta(track.eta()),ptres/ptError);
  dzpull_vs_eta[count]->Fill(getEta(track.eta()),dzPull);
  phipull_vs_eta[count]->Fill(getEta(track.eta()),phiPull);
  thetapull_vs_eta[count]->Fill(getEta(track.eta()),thetaPull);
        
  //plots vs phi
  nhits_vs_phi[count]->Fill(phiRec,track.numberOfValidHits());
  chi2_vs_phi[count]->Fill(phiRec,track.normalizedChi2());
  ptmean_vs_eta_phi[count]->Fill(phiRec,getEta(track.eta()),ptRec);
  phimean_vs_eta_phi[count]->Fill(phiRec,getEta(track.eta()),phiRec);
  ptres_vs_phi[count]->Fill(phiRec,(ptRec-sqrt(momentumTP.perp2()))/ptRec);
  phires_vs_phi[count]->Fill(phiRec,phiRec-phiSim); 
  ptpull_vs_phi[count]->Fill(phiRec,ptres/ptError);
  phipull_vs_phi[count]->Fill(phiRec,phiPull); 
  thetapull_vs_phi[count]->Fill(phiRec,thetaPull); 


}
void MTVHistoProducerAlgoForTracker::fill_simAssociated_recoTrack_histos ( int  count,
const reco::Track track 
) [virtual]

Implements MTVHistoProducerAlgo.

Definition at line 1142 of file MTVHistoProducerAlgoForTracker.cc.

References reco::TrackBase::charge(), reco::TrackBase::chi2(), chi2_vs_eta, chi2_vs_nhits, prof2calltree::count, reco::TrackBase::eta(), getEta(), h_charge, h_hits, h_losthits, h_nchi2, h_nchi2_prob, reco::TrackBase::hitPattern(), reco::TrackBase::ndof(), nhits_vs_eta, nLayersWithMeas_vs_eta, nlosthits_vs_eta, reco::TrackBase::normalizedChi2(), nPXBhits_vs_eta, nPXFhits_vs_eta, nPXLlayersWithMeas_vs_eta, nSTRIPlayersWith1dMeas_vs_eta, nSTRIPlayersWith2dMeas_vs_eta, nSTRIPlayersWithMeas_vs_eta, nTEChits_vs_eta, nTIBhits_vs_eta, nTIDhits_vs_eta, nTOBhits_vs_eta, reco::TrackBase::numberOfLostHits(), and reco::TrackBase::numberOfValidHits().

                                                                                                {
    //nchi2 and hits global distributions
    h_nchi2[count]->Fill(track.normalizedChi2());
    h_nchi2_prob[count]->Fill(TMath::Prob(track.chi2(),(int)track.ndof()));
    h_hits[count]->Fill(track.numberOfValidHits());
    h_losthits[count]->Fill(track.numberOfLostHits());
    chi2_vs_nhits[count]->Fill(track.numberOfValidHits(),track.normalizedChi2());
    h_charge[count]->Fill( track.charge() );
    
    //chi2 and #hit vs eta: fill 2D histos
    chi2_vs_eta[count]->Fill(getEta(track.eta()),track.normalizedChi2());
    nhits_vs_eta[count]->Fill(getEta(track.eta()),track.numberOfValidHits());
    nPXBhits_vs_eta[count]->Fill(getEta(track.eta()),track.hitPattern().numberOfValidPixelBarrelHits());
    nPXFhits_vs_eta[count]->Fill(getEta(track.eta()),track.hitPattern().numberOfValidPixelEndcapHits());
    nTIBhits_vs_eta[count]->Fill(getEta(track.eta()),track.hitPattern().numberOfValidStripTIBHits());
    nTIDhits_vs_eta[count]->Fill(getEta(track.eta()),track.hitPattern().numberOfValidStripTIDHits());
    nTOBhits_vs_eta[count]->Fill(getEta(track.eta()),track.hitPattern().numberOfValidStripTOBHits());
    nTEChits_vs_eta[count]->Fill(getEta(track.eta()),track.hitPattern().numberOfValidStripTECHits());
    nLayersWithMeas_vs_eta[count]->Fill(getEta(track.eta()),track.hitPattern().trackerLayersWithMeasurement());
    nPXLlayersWithMeas_vs_eta[count]->Fill(getEta(track.eta()),track.hitPattern().pixelLayersWithMeasurement());
    int LayersAll = track.hitPattern().stripLayersWithMeasurement();
    int Layers2D = track.hitPattern().numberOfValidStripLayersWithMonoAndStereo(); 
    int Layers1D = LayersAll - Layers2D;        
    nSTRIPlayersWithMeas_vs_eta[count]->Fill(getEta(track.eta()),LayersAll);
    nSTRIPlayersWith1dMeas_vs_eta[count]->Fill(getEta(track.eta()),Layers1D);
    nSTRIPlayersWith2dMeas_vs_eta[count]->Fill(getEta(track.eta()),Layers2D);
        
    nlosthits_vs_eta[count]->Fill(getEta(track.eta()),track.numberOfLostHits());
}
void MTVHistoProducerAlgoForTracker::fill_trackBased_histos ( int  count,
int  assTracks,
int  numRecoTracks,
int  numSimTracks 
) [virtual]

Implements MTVHistoProducerAlgo.

Definition at line 1174 of file MTVHistoProducerAlgoForTracker.cc.

References prof2calltree::count, h_fakes, h_tracks, and nrec_vs_nsim.

                                                                                                                        {

        h_tracks[count]->Fill(assTracks);
        h_fakes[count]->Fill(numRecoTracks-assTracks);
        nrec_vs_nsim[count]->Fill(numRecoTracks,numSimTracks);

}
void MTVHistoProducerAlgoForTracker::fillHistosFromVectors ( int  counter) [virtual]

Implements MTVHistoProducerAlgo.

Definition at line 1538 of file MTVHistoProducerAlgoForTracker.cc.

References MTVHistoProducerAlgo::fillPlotFromVector(), h_algo, h_assoc2_ootpu_barrel, h_assoc2_ootpu_entire, h_assoc2_ootpu_fwdneg, h_assoc2_ootpu_fwdpos, h_assoc2_vertcount_barrel, h_assoc2_vertcount_entire, h_assoc2_vertcount_fwdneg, h_assoc2_vertcount_fwdpos, h_assoc2dxy, h_assoc2dz, h_assoc2eta, h_assoc2hit, h_assoc2phi, h_assoc2pT, h_assoc_vertcount_barrel, h_assoc_vertcount_entire, h_assoc_vertcount_fwdneg, h_assoc_vertcount_fwdpos, h_assoc_vertz_barrel, h_assoc_vertz_entire, h_assoc_vertz_fwdneg, h_assoc_vertz_fwdpos, h_assocdxy, h_assocdz, h_assoceta, h_assochit, h_assocphi, h_assocpT, h_assocvertpos, h_assoczpos, h_con_eta, h_con_vertcount, h_con_zpos, h_looperdxy, h_looperdz, h_loopereta, h_looperhit, h_looperphi, h_looperpT, h_misiddxy, h_misiddz, h_misideta, h_misidhit, h_misidphi, h_misidpT, h_reco_ootpu_barrel, h_reco_ootpu_entire, h_reco_ootpu_fwdneg, h_reco_ootpu_fwdpos, h_reco_vertcount_barrel, h_reco_vertcount_entire, h_reco_vertcount_fwdneg, h_reco_vertcount_fwdpos, h_recodxy, h_recodz, h_recoeta, h_recohit, h_recophi, h_recopT, h_simul_vertcount_barrel, h_simul_vertcount_entire, h_simul_vertcount_fwdneg, h_simul_vertcount_fwdpos, h_simul_vertz_barrel, h_simul_vertz_entire, h_simul_vertz_fwdneg, h_simul_vertz_fwdpos, h_simuldxy, h_simuldz, h_simuleta, h_simulhit, h_simulphi, h_simulpT, h_simulvertpos, h_simulzpos, totASS2_dxy, totASS2_dz, totASS2_hit, totASS2_ootpu_barrel, totASS2_ootpu_entire, totASS2_ootpu_fwdneg, totASS2_ootpu_fwdpos, totASS2_phi, totASS2_vertcount_barrel, totASS2_vertcount_entire, totASS2_vertcount_fwdneg, totASS2_vertcount_fwdpos, totASS2eta, totASS2pT, totASS_dxy, totASS_dz, totASS_hit, totASS_phi, totASS_vertcount_barrel, totASS_vertcount_entire, totASS_vertcount_fwdneg, totASS_vertcount_fwdpos, totASS_vertpos, totASS_vertz_barrel, totASS_vertz_entire, totASS_vertz_fwdneg, totASS_vertz_fwdpos, totASS_zpos, totASSeta, totASSpT, totCONeta, totCONvertcount, totCONzpos, totloop_dxy, totloop_dz, totloop_hit, totloop_phi, totloopeta, totlooppT, totmisid_dxy, totmisid_dz, totmisid_hit, totmisid_phi, totmisideta, totmisidpT, totREC_algo, totREC_dxy, totREC_dz, totREC_hit, totREC_ootpu_barrel, totREC_ootpu_entire, totREC_ootpu_fwdneg, totREC_ootpu_fwdpos, totREC_phi, totREC_vertcount_barrel, totREC_vertcount_entire, totREC_vertcount_fwdneg, totREC_vertcount_fwdpos, totRECeta, totRECpT, totSIM_dxy, totSIM_dz, totSIM_hit, totSIM_phi, totSIM_vertcount_barrel, totSIM_vertcount_entire, totSIM_vertcount_fwdneg, totSIM_vertcount_fwdpos, totSIM_vertpos, totSIM_vertz_barrel, totSIM_vertz_entire, totSIM_vertz_fwdneg, totSIM_vertz_fwdpos, totSIM_zpos, totSIMeta, and totSIMpT.

                                                                     {
  fillPlotFromVector(h_algo[counter],totREC_algo[counter]);

  fillPlotFromVector(h_recoeta[counter],totRECeta[counter]);
  fillPlotFromVector(h_simuleta[counter],totSIMeta[counter]);
  fillPlotFromVector(h_assoceta[counter],totASSeta[counter]);
  fillPlotFromVector(h_assoc2eta[counter],totASS2eta[counter]);
  fillPlotFromVector(h_loopereta[counter],totloopeta[counter]);
  fillPlotFromVector(h_misideta[counter],totmisideta[counter]);
  
  fillPlotFromVector(h_recopT[counter],totRECpT[counter]);
  fillPlotFromVector(h_simulpT[counter],totSIMpT[counter]);
  fillPlotFromVector(h_assocpT[counter],totASSpT[counter]);
  fillPlotFromVector(h_assoc2pT[counter],totASS2pT[counter]);
  fillPlotFromVector(h_looperpT[counter],totlooppT[counter]);
  fillPlotFromVector(h_misidpT[counter],totmisidpT[counter]);
  
  fillPlotFromVector(h_recohit[counter],totREC_hit[counter]);
  fillPlotFromVector(h_simulhit[counter],totSIM_hit[counter]);
  fillPlotFromVector(h_assochit[counter],totASS_hit[counter]);
  fillPlotFromVector(h_assoc2hit[counter],totASS2_hit[counter]);
  fillPlotFromVector(h_looperhit[counter],totloop_hit[counter]);
  fillPlotFromVector(h_misidhit[counter],totmisid_hit[counter]);
  
  fillPlotFromVector(h_recophi[counter],totREC_phi[counter]);
  fillPlotFromVector(h_simulphi[counter],totSIM_phi[counter]);
  fillPlotFromVector(h_assocphi[counter],totASS_phi[counter]);
  fillPlotFromVector(h_assoc2phi[counter],totASS2_phi[counter]);
  fillPlotFromVector(h_looperphi[counter],totloop_phi[counter]);
  fillPlotFromVector(h_misidphi[counter],totmisid_phi[counter]);
  
  fillPlotFromVector(h_recodxy[counter],totREC_dxy[counter]);
  fillPlotFromVector(h_simuldxy[counter],totSIM_dxy[counter]);
  fillPlotFromVector(h_assocdxy[counter],totASS_dxy[counter]);
  fillPlotFromVector(h_assoc2dxy[counter],totASS2_dxy[counter]);
  fillPlotFromVector(h_looperdxy[counter],totloop_dxy[counter]);
  fillPlotFromVector(h_misiddxy[counter],totmisid_dxy[counter]);

  fillPlotFromVector(h_recodz[counter],totREC_dz[counter]);
  fillPlotFromVector(h_simuldz[counter],totSIM_dz[counter]);
  fillPlotFromVector(h_assocdz[counter],totASS_dz[counter]);
  fillPlotFromVector(h_assoc2dz[counter],totASS2_dz[counter]);
  fillPlotFromVector(h_looperdz[counter],totloop_dz[counter]);
  fillPlotFromVector(h_misiddz[counter],totmisid_dz[counter]);
  
  fillPlotFromVector(h_simulvertpos[counter],totSIM_vertpos[counter]);
  fillPlotFromVector(h_assocvertpos[counter],totASS_vertpos[counter]);
  
  fillPlotFromVector(h_simulzpos[counter],totSIM_zpos[counter]);
  fillPlotFromVector(h_assoczpos[counter],totASS_zpos[counter]);  

  fillPlotFromVector(h_reco_vertcount_entire[counter],totREC_vertcount_entire[counter]);
  fillPlotFromVector(h_simul_vertcount_entire[counter],totSIM_vertcount_entire[counter]);
  fillPlotFromVector(h_assoc_vertcount_entire[counter],totASS_vertcount_entire[counter]);
  fillPlotFromVector(h_assoc2_vertcount_entire[counter],totASS2_vertcount_entire[counter]);
  
  fillPlotFromVector(h_reco_vertcount_barrel[counter],totREC_vertcount_barrel[counter]);
  fillPlotFromVector(h_simul_vertcount_barrel[counter],totSIM_vertcount_barrel[counter]);
  fillPlotFromVector(h_assoc_vertcount_barrel[counter],totASS_vertcount_barrel[counter]);
  fillPlotFromVector(h_assoc2_vertcount_barrel[counter],totASS2_vertcount_barrel[counter]);
  
  fillPlotFromVector(h_reco_vertcount_fwdpos[counter],totREC_vertcount_fwdpos[counter]);
  fillPlotFromVector(h_simul_vertcount_fwdpos[counter],totSIM_vertcount_fwdpos[counter]);
  fillPlotFromVector(h_assoc_vertcount_fwdpos[counter],totASS_vertcount_fwdpos[counter]);
  fillPlotFromVector(h_assoc2_vertcount_fwdpos[counter],totASS2_vertcount_fwdpos[counter]);
  
  fillPlotFromVector(h_reco_vertcount_fwdneg[counter],totREC_vertcount_fwdneg[counter]);
  fillPlotFromVector(h_simul_vertcount_fwdneg[counter],totSIM_vertcount_fwdneg[counter]);
  fillPlotFromVector(h_assoc_vertcount_fwdneg[counter],totASS_vertcount_fwdneg[counter]);
  fillPlotFromVector(h_assoc2_vertcount_fwdneg[counter],totASS2_vertcount_fwdneg[counter]);
  
  fillPlotFromVector(h_simul_vertz_entire[counter],totSIM_vertz_entire[counter]);
  fillPlotFromVector(h_assoc_vertz_entire[counter],totASS_vertz_entire[counter]);
  
  fillPlotFromVector(h_simul_vertz_barrel[counter],totSIM_vertz_barrel[counter]);
  fillPlotFromVector(h_assoc_vertz_barrel[counter],totASS_vertz_barrel[counter]);
  
  fillPlotFromVector(h_simul_vertz_fwdpos[counter],totSIM_vertz_fwdpos[counter]);
  fillPlotFromVector(h_assoc_vertz_fwdpos[counter],totASS_vertz_fwdpos[counter]);
  
  fillPlotFromVector(h_simul_vertz_fwdneg[counter],totSIM_vertz_fwdneg[counter]);
  fillPlotFromVector(h_assoc_vertz_fwdneg[counter],totASS_vertz_fwdneg[counter]);
  
  fillPlotFromVector(h_reco_ootpu_entire[counter],totREC_ootpu_entire[counter]);
  fillPlotFromVector(h_assoc2_ootpu_entire[counter],totASS2_ootpu_entire[counter]);
  
  fillPlotFromVector(h_reco_ootpu_barrel[counter],totREC_ootpu_barrel[counter]);
  fillPlotFromVector(h_assoc2_ootpu_barrel[counter],totASS2_ootpu_barrel[counter]);
  
  fillPlotFromVector(h_reco_ootpu_fwdpos[counter],totREC_ootpu_fwdpos[counter]);
  fillPlotFromVector(h_assoc2_ootpu_fwdpos[counter],totASS2_ootpu_fwdpos[counter]);
  
  fillPlotFromVector(h_reco_ootpu_fwdneg[counter],totREC_ootpu_fwdneg[counter]);
  fillPlotFromVector(h_assoc2_ootpu_fwdneg[counter],totASS2_ootpu_fwdneg[counter]);

  fillPlotFromVector(h_con_eta[counter],totCONeta[counter]);
  fillPlotFromVector(h_con_vertcount[counter],totCONvertcount[counter]);
  fillPlotFromVector(h_con_zpos[counter],totCONzpos[counter]);
  
}
void MTVHistoProducerAlgoForTracker::fillProfileHistosFromVectors ( int  counter) [virtual]

Implements MTVHistoProducerAlgo.

Definition at line 1508 of file MTVHistoProducerAlgoForTracker.cc.

References chi2_vs_eta, chi2_vs_nhits, chi2_vs_phi, MTVHistoProducerAlgo::doProfileX(), h_chi2mean_vs_phi, h_chi2meanh, h_chi2meanhitsh, h_hits_eta, h_hits_phi, h_LayersWithMeas_eta, h_losthits_eta, h_PXBhits_eta, h_PXFhits_eta, h_PXLlayersWithMeas_eta, h_STRIPlayersWith1dMeas_eta, h_STRIPlayersWith2dMeas_eta, h_STRIPlayersWithMeas_eta, h_TEChits_eta, h_TIBhits_eta, h_TIDhits_eta, h_TOBhits_eta, nhits_vs_eta, nhits_vs_phi, nLayersWithMeas_vs_eta, nlosthits_vs_eta, nPXBhits_vs_eta, nPXFhits_vs_eta, nPXLlayersWithMeas_vs_eta, nSTRIPlayersWith1dMeas_vs_eta, nSTRIPlayersWith2dMeas_vs_eta, nSTRIPlayersWithMeas_vs_eta, nTEChits_vs_eta, nTIBhits_vs_eta, nTIDhits_vs_eta, and nTOBhits_vs_eta.

                                                                            {
  //chi2 and #hit vs eta: get mean from 2D histos
  doProfileX(chi2_vs_eta[counter],h_chi2meanh[counter]);
  doProfileX(nhits_vs_eta[counter],h_hits_eta[counter]);
  doProfileX(nPXBhits_vs_eta[counter],h_PXBhits_eta[counter]);
  doProfileX(nPXFhits_vs_eta[counter],h_PXFhits_eta[counter]);
  doProfileX(nTIBhits_vs_eta[counter],h_TIBhits_eta[counter]);
  doProfileX(nTIDhits_vs_eta[counter],h_TIDhits_eta[counter]);
  doProfileX(nTOBhits_vs_eta[counter],h_TOBhits_eta[counter]);
  doProfileX(nTEChits_vs_eta[counter],h_TEChits_eta[counter]);

  doProfileX(nLayersWithMeas_vs_eta[counter],h_LayersWithMeas_eta[counter]);
  doProfileX(nPXLlayersWithMeas_vs_eta[counter],h_PXLlayersWithMeas_eta[counter]);    
  doProfileX(nSTRIPlayersWithMeas_vs_eta[counter],h_STRIPlayersWithMeas_eta[counter]);    
  doProfileX(nSTRIPlayersWith1dMeas_vs_eta[counter],h_STRIPlayersWith1dMeas_eta[counter]);
  doProfileX(nSTRIPlayersWith2dMeas_vs_eta[counter],h_STRIPlayersWith2dMeas_eta[counter]);



  doProfileX(nlosthits_vs_eta[counter],h_losthits_eta[counter]);
  //vs phi
  doProfileX(chi2_vs_nhits[counter],h_chi2meanhitsh[counter]); 
  //      doProfileX(ptres_vs_eta[counter],h_ptresmean_vs_eta[counter]);
  //      doProfileX(phires_vs_eta[counter],h_phiresmean_vs_eta[counter]);
  doProfileX(chi2_vs_phi[counter],h_chi2mean_vs_phi[counter]);
  doProfileX(nhits_vs_phi[counter],h_hits_phi[counter]);
  //       doProfileX(ptres_vs_phi[counter],h_ptresmean_vs_phi[counter]);
  //       doProfileX(phires_vs_phi[counter],h_phiresmean_vs_phi[counter]);
}
void MTVHistoProducerAlgoForTracker::finalHistoFits ( int  counter) [virtual]

Implements MTVHistoProducerAlgo.

Definition at line 1377 of file MTVHistoProducerAlgoForTracker.cc.

References cotThetares_vs_eta, cotThetares_vs_pt, dxypull_vs_eta, dxyres_vs_eta, dxyres_vs_pt, dzpull_vs_eta, dzres_vs_eta, dzres_vs_pt, MTVHistoProducerAlgo::fillPlotFromVectors(), FitSlicesYTool::getFittedMeanWithError(), FitSlicesYTool::getFittedSigmaWithError(), h_cotThetameanh, h_cotThetameanhPt, h_cotThetarmsh, h_cotThetarmshPt, h_dxymeanh, h_dxymeanhPt, h_dxypulleta, h_dxypulletamean, h_dxyrmsh, h_dxyrmshPt, h_dzmeanh, h_dzmeanhPt, h_dzpulleta, h_dzpulletamean, h_dzrmsh, h_dzrmshPt, h_effic, h_effic_PU_eta, h_effic_PU_vertcount, h_effic_PU_zpos, h_effic_vertcount_barrel, h_effic_vertcount_entire, h_effic_vertcount_fwdneg, h_effic_vertcount_fwdpos, h_effic_vertz_barrel, h_effic_vertz_entire, h_effic_vertz_fwdneg, h_effic_vertz_fwdpos, h_effic_vs_dxy, h_effic_vs_dz, h_effic_vs_hit, h_effic_vs_phi, h_effic_vs_vertpos, h_effic_vs_zpos, h_efficPt, h_fake_vs_dxy, h_fake_vs_dz, h_fake_vs_hit, h_fake_vs_phi, h_fakerate, h_fakerate_ootpu_barrel, h_fakerate_ootpu_entire, h_fakerate_ootpu_fwdneg, h_fakerate_ootpu_fwdpos, h_fakerate_vertcount_barrel, h_fakerate_vertcount_entire, h_fakerate_vertcount_fwdneg, h_fakerate_vertcount_fwdpos, h_fakeratePt, h_fomt_eta, h_fomt_itpu_eta, h_fomt_itpu_vertcount, h_fomt_ootpu_eta, h_fomt_ootpu_vertcount, h_fomt_sig_eta, h_fomt_sig_vertcount, h_fomt_vertcount, h_looprate, h_loopratedxy, h_loopratedz, h_loopratehit, h_loopratephi, h_loopratepT, h_misidrate, h_misidratedxy, h_misidratedz, h_misidratehit, h_misidratephi, h_misidratepT, h_phimeanh, h_phimeanhPhi, h_phimeanhPt, h_phipulleta, h_phipulletamean, h_phipullphi, h_phipullphimean, h_phirmsh, h_phirmshPhi, h_phirmshPt, h_ptmeanhPhi, h_ptmeanhPt, h_ptpulleta, h_ptpulletamean, h_ptpullphi, h_ptpullphimean, h_ptrmsh, h_ptrmshPhi, h_ptrmshPt, h_ptshifteta, h_thetapulleta, h_thetapulletamean, h_thetapullphi, h_thetapullphimean, phipull_vs_eta, phipull_vs_phi, phires_vs_eta, phires_vs_phi, phires_vs_pt, ptpull_vs_eta, ptpull_vs_phi, ptres_vs_eta, ptres_vs_phi, ptres_vs_pt, thetapull_vs_eta, thetapull_vs_phi, totASS2_dxy, totASS2_dz, totASS2_hit, totASS2_itpu_eta_entire, totASS2_itpu_eta_entire_signal, totASS2_itpu_vertcount_entire, totASS2_itpu_vertcount_entire_signal, totASS2_ootpu_barrel, totASS2_ootpu_entire, totASS2_ootpu_eta_entire, totASS2_ootpu_fwdneg, totASS2_ootpu_fwdpos, totASS2_phi, totASS2_vertcount_barrel, totASS2_vertcount_entire, totASS2_vertcount_entire_signal, totASS2_vertcount_fwdneg, totASS2_vertcount_fwdpos, totASS2eta, totASS2etaSig, totASS2pT, totASS_dxy, totASS_dz, totASS_hit, totASS_phi, totASS_vertcount_barrel, totASS_vertcount_entire, totASS_vertcount_fwdneg, totASS_vertcount_fwdpos, totASS_vertpos, totASS_vertz_barrel, totASS_vertz_entire, totASS_vertz_fwdneg, totASS_vertz_fwdpos, totASS_zpos, totASSeta, totASSpT, totCONeta, totCONvertcount, totCONzpos, totFOMT_eta, totFOMT_vertcount, totloop_dxy, totloop_dz, totloop_hit, totloop_phi, totloopeta, totlooppT, totmisid_dxy, totmisid_dz, totmisid_hit, totmisid_phi, totmisideta, totmisidpT, totREC_dxy, totREC_dz, totREC_hit, totREC_ootpu_barrel, totREC_ootpu_entire, totREC_ootpu_fwdneg, totREC_ootpu_fwdpos, totREC_phi, totREC_vertcount_barrel, totREC_vertcount_entire, totREC_vertcount_fwdneg, totREC_vertcount_fwdpos, totRECeta, totRECpT, totSIM_dxy, totSIM_dz, totSIM_hit, totSIM_phi, totSIM_vertcount_barrel, totSIM_vertcount_entire, totSIM_vertcount_fwdneg, totSIM_vertcount_fwdpos, totSIM_vertpos, totSIM_vertz_barrel, totSIM_vertz_entire, totSIM_vertz_fwdneg, totSIM_vertz_fwdpos, totSIM_zpos, totSIMeta, and totSIMpT.

                                                              {
  //resolution of track params: get sigma from 2D histos
  FitSlicesYTool fsyt_dxy(dxyres_vs_eta[counter]);
  fsyt_dxy.getFittedSigmaWithError(h_dxyrmsh[counter]);
  fsyt_dxy.getFittedMeanWithError(h_dxymeanh[counter]);
  FitSlicesYTool fsyt_dxyPt(dxyres_vs_pt[counter]);
  fsyt_dxyPt.getFittedSigmaWithError(h_dxyrmshPt[counter]);
  fsyt_dxyPt.getFittedMeanWithError(h_dxymeanhPt[counter]);
  FitSlicesYTool fsyt_pt(ptres_vs_eta[counter]);
  fsyt_pt.getFittedSigmaWithError(h_ptrmsh[counter]);
  fsyt_pt.getFittedMeanWithError(h_ptshifteta[counter]);      
  FitSlicesYTool fsyt_ptPt(ptres_vs_pt[counter]);
  fsyt_ptPt.getFittedSigmaWithError(h_ptrmshPt[counter]);
  fsyt_ptPt.getFittedMeanWithError(h_ptmeanhPt[counter]);
  FitSlicesYTool fsyt_ptPhi(ptres_vs_phi[counter]); 
  fsyt_ptPhi.getFittedSigmaWithError(h_ptrmshPhi[counter]);
  fsyt_ptPhi.getFittedMeanWithError(h_ptmeanhPhi[counter]);
  FitSlicesYTool fsyt_dz(dzres_vs_eta[counter]);
  fsyt_dz.getFittedSigmaWithError(h_dzrmsh[counter]);
  fsyt_dz.getFittedMeanWithError(h_dzmeanh[counter]);
  FitSlicesYTool fsyt_dzPt(dzres_vs_pt[counter]);
  fsyt_dzPt.getFittedSigmaWithError(h_dzrmshPt[counter]);
  fsyt_dzPt.getFittedMeanWithError(h_dzmeanhPt[counter]);
  FitSlicesYTool fsyt_phi(phires_vs_eta[counter]);
  fsyt_phi.getFittedSigmaWithError(h_phirmsh[counter]);
  fsyt_phi.getFittedMeanWithError(h_phimeanh[counter]);
  FitSlicesYTool fsyt_phiPt(phires_vs_pt[counter]);
  fsyt_phiPt.getFittedSigmaWithError(h_phirmshPt[counter]);
  fsyt_phiPt.getFittedMeanWithError(h_phimeanhPt[counter]);
  FitSlicesYTool fsyt_phiPhi(phires_vs_phi[counter]); 
  fsyt_phiPhi.getFittedSigmaWithError(h_phirmshPhi[counter]); 
  fsyt_phiPhi.getFittedMeanWithError(h_phimeanhPhi[counter]); 
  FitSlicesYTool fsyt_cotTheta(cotThetares_vs_eta[counter]);
  fsyt_cotTheta.getFittedSigmaWithError(h_cotThetarmsh[counter]);
  fsyt_cotTheta.getFittedMeanWithError(h_cotThetameanh[counter]);
  FitSlicesYTool fsyt_cotThetaPt(cotThetares_vs_pt[counter]);
  fsyt_cotThetaPt.getFittedSigmaWithError(h_cotThetarmshPt[counter]);
  fsyt_cotThetaPt.getFittedMeanWithError(h_cotThetameanhPt[counter]);

  //pulls of track params vs eta: get sigma from 2D histos
  FitSlicesYTool fsyt_dxyp(dxypull_vs_eta[counter]);
  fsyt_dxyp.getFittedSigmaWithError(h_dxypulleta[counter]);
  fsyt_dxyp.getFittedMeanWithError(h_dxypulletamean[counter]);
  FitSlicesYTool fsyt_ptp(ptpull_vs_eta[counter]);
  fsyt_ptp.getFittedSigmaWithError(h_ptpulleta[counter]);
  fsyt_ptp.getFittedMeanWithError(h_ptpulletamean[counter]);
  FitSlicesYTool fsyt_dzp(dzpull_vs_eta[counter]);
  fsyt_dzp.getFittedSigmaWithError(h_dzpulleta[counter]);
  fsyt_dzp.getFittedMeanWithError(h_dzpulletamean[counter]);
  FitSlicesYTool fsyt_phip(phipull_vs_eta[counter]);
  fsyt_phip.getFittedSigmaWithError(h_phipulleta[counter]);
  fsyt_phip.getFittedMeanWithError(h_phipulletamean[counter]);
  FitSlicesYTool fsyt_thetap(thetapull_vs_eta[counter]);
  fsyt_thetap.getFittedSigmaWithError(h_thetapulleta[counter]);
  fsyt_thetap.getFittedMeanWithError(h_thetapulletamean[counter]);
  //vs phi
  FitSlicesYTool fsyt_ptpPhi(ptpull_vs_phi[counter]);
  fsyt_ptpPhi.getFittedSigmaWithError(h_ptpullphi[counter]);
  fsyt_ptpPhi.getFittedMeanWithError(h_ptpullphimean[counter]);
  FitSlicesYTool fsyt_phipPhi(phipull_vs_phi[counter]);
  fsyt_phipPhi.getFittedSigmaWithError(h_phipullphi[counter]);
  fsyt_phipPhi.getFittedMeanWithError(h_phipullphimean[counter]);
  FitSlicesYTool fsyt_thetapPhi(thetapull_vs_phi[counter]);
  fsyt_thetapPhi.getFittedSigmaWithError(h_thetapullphi[counter]);
  fsyt_thetapPhi.getFittedMeanWithError(h_thetapullphimean[counter]);
  
  //effic&fake;
  for (unsigned int ite = 0;ite<totASSeta[counter].size();ite++) totFOMT_eta[counter][ite]=totASS2eta[counter][ite]-totASS2etaSig[counter][ite];
  for (unsigned int ite = 0;ite<totASS2_vertcount_entire[counter].size();ite++)  
    totFOMT_vertcount[counter][ite]=totASS2_vertcount_entire[counter][ite]-totASS2_vertcount_entire_signal[counter][ite];
  for (unsigned int ite = 0;ite<totASS2_itpu_eta_entire[counter].size();ite++) totASS2_itpu_eta_entire[counter][ite]-=totASS2_itpu_eta_entire_signal[counter][ite];
  for (unsigned int ite = 0;ite<totASS2_itpu_vertcount_entire[counter].size();ite++) totASS2_itpu_vertcount_entire[counter][ite]-=totASS2_itpu_vertcount_entire_signal[counter][ite];

  fillPlotFromVectors(h_effic[counter],totASSeta[counter],totSIMeta[counter],"effic");
  fillPlotFromVectors(h_fakerate[counter],totASS2eta[counter],totRECeta[counter],"fakerate");
  fillPlotFromVectors(h_looprate[counter],totloopeta[counter],totRECeta[counter],"effic");
  fillPlotFromVectors(h_misidrate[counter],totmisideta[counter],totRECeta[counter],"effic");
  fillPlotFromVectors(h_efficPt[counter],totASSpT[counter],totSIMpT[counter],"effic");
  fillPlotFromVectors(h_fakeratePt[counter],totASS2pT[counter],totRECpT[counter],"fakerate");
  fillPlotFromVectors(h_loopratepT[counter],totlooppT[counter],totRECpT[counter],"effic");
  fillPlotFromVectors(h_misidratepT[counter],totmisidpT[counter],totRECpT[counter],"effic");
  fillPlotFromVectors(h_effic_vs_hit[counter],totASS_hit[counter],totSIM_hit[counter],"effic");
  fillPlotFromVectors(h_fake_vs_hit[counter],totASS2_hit[counter],totREC_hit[counter],"fakerate");
  fillPlotFromVectors(h_loopratehit[counter],totloop_hit[counter],totREC_hit[counter],"effic");
  fillPlotFromVectors(h_misidratehit[counter],totmisid_hit[counter],totREC_hit[counter],"effic");
  fillPlotFromVectors(h_effic_vs_phi[counter],totASS_phi[counter],totSIM_phi[counter],"effic");
  fillPlotFromVectors(h_fake_vs_phi[counter],totASS2_phi[counter],totREC_phi[counter],"fakerate");
  fillPlotFromVectors(h_loopratephi[counter],totloop_phi[counter],totREC_phi[counter],"effic");
  fillPlotFromVectors(h_misidratephi[counter],totmisid_phi[counter],totREC_phi[counter],"effic");
  fillPlotFromVectors(h_effic_vs_dxy[counter],totASS_dxy[counter],totSIM_dxy[counter],"effic");
  fillPlotFromVectors(h_fake_vs_dxy[counter],totASS2_dxy[counter],totREC_dxy[counter],"fakerate");
  fillPlotFromVectors(h_loopratedxy[counter],totloop_dxy[counter],totREC_dxy[counter],"effic");
  fillPlotFromVectors(h_misidratedxy[counter],totmisid_dxy[counter],totREC_dxy[counter],"effic");
  fillPlotFromVectors(h_effic_vs_dz[counter],totASS_dz[counter],totSIM_dz[counter],"effic");
  fillPlotFromVectors(h_fake_vs_dz[counter],totASS2_dz[counter],totREC_dz[counter],"fakerate");
  fillPlotFromVectors(h_loopratedz[counter],totloop_dz[counter],totREC_dz[counter],"effic");
  fillPlotFromVectors(h_misidratedz[counter],totmisid_dz[counter],totREC_dz[counter],"effic");
  fillPlotFromVectors(h_effic_vs_vertpos[counter],totASS_vertpos[counter],totSIM_vertpos[counter],"effic");
  fillPlotFromVectors(h_effic_vs_zpos[counter],totASS_zpos[counter],totSIM_zpos[counter],"effic");
  fillPlotFromVectors(h_effic_vertcount_entire[counter],totASS_vertcount_entire[counter],totSIM_vertcount_entire[counter],"effic");
  fillPlotFromVectors(h_effic_vertcount_barrel[counter],totASS_vertcount_barrel[counter],totSIM_vertcount_barrel[counter],"effic");
  fillPlotFromVectors(h_effic_vertcount_fwdpos[counter],totASS_vertcount_fwdpos[counter],totSIM_vertcount_fwdpos[counter],"effic");
  fillPlotFromVectors(h_effic_vertcount_fwdneg[counter],totASS_vertcount_fwdneg[counter],totSIM_vertcount_fwdneg[counter],"effic");
  fillPlotFromVectors(h_fakerate_vertcount_entire[counter],totASS2_vertcount_entire[counter],totREC_vertcount_entire[counter],"fakerate");
  fillPlotFromVectors(h_fakerate_vertcount_barrel[counter],totASS2_vertcount_barrel[counter],totREC_vertcount_barrel[counter],"fakerate");
  fillPlotFromVectors(h_fakerate_vertcount_fwdpos[counter],totASS2_vertcount_fwdpos[counter],totREC_vertcount_fwdpos[counter],"fakerate");
  fillPlotFromVectors(h_fakerate_vertcount_fwdneg[counter],totASS2_vertcount_fwdneg[counter],totREC_vertcount_fwdneg[counter],"fakerate");
  fillPlotFromVectors(h_effic_vertz_entire[counter],totASS_vertz_entire[counter],totSIM_vertz_entire[counter],"effic");
  fillPlotFromVectors(h_effic_vertz_barrel[counter],totASS_vertz_barrel[counter],totSIM_vertz_barrel[counter],"effic");
  fillPlotFromVectors(h_effic_vertz_fwdpos[counter],totASS_vertz_fwdpos[counter],totSIM_vertz_fwdpos[counter],"effic");
  fillPlotFromVectors(h_effic_vertz_fwdneg[counter],totASS_vertz_fwdneg[counter],totSIM_vertz_fwdneg[counter],"effic");
  fillPlotFromVectors(h_fakerate_ootpu_entire[counter],totASS2_ootpu_entire[counter],totREC_ootpu_entire[counter],"effic");
  fillPlotFromVectors(h_fakerate_ootpu_barrel[counter],totASS2_ootpu_barrel[counter],totREC_ootpu_barrel[counter],"effic");
  fillPlotFromVectors(h_fakerate_ootpu_fwdpos[counter],totASS2_ootpu_fwdpos[counter],totREC_ootpu_fwdpos[counter],"effic");
  fillPlotFromVectors(h_fakerate_ootpu_fwdneg[counter],totASS2_ootpu_fwdneg[counter],totREC_ootpu_fwdneg[counter],"effic");

  fillPlotFromVectors(h_fomt_eta[counter],totFOMT_eta[counter],totASS2etaSig[counter],"pileup");
  fillPlotFromVectors(h_fomt_vertcount[counter],totFOMT_vertcount[counter],totASS2_vertcount_entire_signal[counter],"pileup");
  fillPlotFromVectors(h_fomt_sig_eta[counter],totASS2etaSig[counter],totRECeta[counter],"fakerate");
  fillPlotFromVectors(h_fomt_sig_vertcount[counter],totASS2_vertcount_entire_signal[counter],totREC_vertcount_entire[counter],"fakerate");
  fillPlotFromVectors(h_fomt_itpu_eta[counter],totASS2_itpu_eta_entire[counter],totRECeta[counter],"effic");
  fillPlotFromVectors(h_fomt_itpu_vertcount[counter],totASS2_itpu_vertcount_entire[counter],totREC_vertcount_entire[counter],"effic");
  fillPlotFromVectors(h_fomt_ootpu_eta[counter],totASS2_ootpu_eta_entire[counter],totRECeta[counter],"effic");
  fillPlotFromVectors(h_fomt_ootpu_vertcount[counter],totASS2_ootpu_entire[counter],totREC_ootpu_entire[counter],"effic");

  fillPlotFromVectors(h_effic_PU_eta[counter],totASSeta[counter],totCONeta[counter],"pileup");
  fillPlotFromVectors(h_effic_PU_vertcount[counter],totASS_vertcount_entire[counter],totCONvertcount[counter],"pileup");
  fillPlotFromVectors(h_effic_PU_zpos[counter],totASS_zpos[counter],totCONzpos[counter],"pileup");

}
double MTVHistoProducerAlgoForTracker::getEta ( double  eta) [private, virtual]
double MTVHistoProducerAlgoForTracker::getPt ( double  pt) [private, virtual]

Implements MTVHistoProducerAlgo.

Definition at line 1371 of file MTVHistoProducerAlgoForTracker.cc.

References useInvPt.

Referenced by fill_generic_recoTrack_histos(), fill_recoAssociated_simTrack_histos(), and fill_ResoAndPull_recoTrack_histos().

                                               {
  if (useInvPt && pt!=0) return 1/pt;
  else return pt;
}
void MTVHistoProducerAlgoForTracker::getRecoMomentum ( const reco::GsfTrack gsfTrack,
double &  pt,
double &  ptError,
double &  qoverp,
double &  qoverpError,
double &  lambda,
double &  lambdaError,
double &  phi,
double &  phiError 
) const [private]

retrieval of reconstructed momentum components based on the mode of a reco::GsfTrack

Definition at line 1348 of file MTVHistoProducerAlgoForTracker.cc.

References reco::GsfTrack::lambdaMode(), reco::GsfTrack::lambdaModeError(), reco::GsfTrack::phiMode(), reco::GsfTrack::phiModeError(), reco::GsfTrack::ptMode(), reco::GsfTrack::ptModeError(), reco::GsfTrack::qoverpMode(), and reco::GsfTrack::qoverpModeError().

                                                                                        {

  pt = gsfTrack.ptMode();
  ptError = gsfTrack.ptModeError();
  qoverp = gsfTrack.qoverpMode();
  qoverpError = gsfTrack.qoverpModeError();
  lambda = gsfTrack.lambdaMode();
  lambdaError = gsfTrack.lambdaModeError(); 
  phi = gsfTrack.phiMode(); 
  phiError = gsfTrack.phiModeError();
  //   cout <<"test2" << endl;

}
void MTVHistoProducerAlgoForTracker::getRecoMomentum ( const reco::Track track,
double &  pt,
double &  ptError,
double &  qoverp,
double &  qoverpError,
double &  lambda,
double &  lambdaError,
double &  phi,
double &  phiError 
) const [private]

retrieval of reconstructed momentum components from reco::Track (== mean values for GSF)

Definition at line 1330 of file MTVHistoProducerAlgoForTracker.cc.

References reco::TrackBase::lambda(), reco::TrackBase::lambdaError(), reco::TrackBase::phi(), reco::TrackBase::phiError(), reco::TrackBase::pt(), reco::TrackBase::ptError(), reco::TrackBase::qoverp(), and reco::TrackBase::qoverpError().

Referenced by fill_ResoAndPull_recoTrack_histos().

                                                                                       {
  pt = track.pt();
  ptError = track.ptError();
  qoverp = track.qoverp();
  qoverpError = track.qoverpError();
  lambda = track.lambda();
  lambdaError = track.lambdaError(); 
  phi = track.phi(); 
  phiError = track.phiError();
  //   cout <<"test1" << endl; 
  


}
void MTVHistoProducerAlgoForTracker::initialize ( ) [inline, virtual]

Implements MTVHistoProducerAlgo.

Definition at line 28 of file MTVHistoProducerAlgoForTracker.h.

References setUpVectors().

void MTVHistoProducerAlgoForTracker::setUpVectors ( ) [private]

Definition at line 143 of file MTVHistoProducerAlgoForTracker.cc.

References dxyintervals, dzintervals, etaintervals, i, gen::k, maxDxy, maxDz, maxEta, maxPhi, maxPt, maxVertcount, maxVertpos, maxZpos, minDxy, minDz, minEta, minPhi, minPt, minVertcount, minVertpos, minZpos, nintDxy, nintDz, nintEta, nintHit, nintPhi, nintPt, nintVertcount, nintVertpos, nintZpos, phiintervals, funct::pow(), pTintervals, launcher::step, totASS2_dxy, totASS2_dz, totASS2_hit, totASS2_itpu_eta_entire, totASS2_itpu_eta_entire_signal, totASS2_itpu_vertcount_entire, totASS2_itpu_vertcount_entire_signal, totASS2_ootpu_barrel, totASS2_ootpu_entire, totASS2_ootpu_eta_entire, totASS2_ootpu_fwdneg, totASS2_ootpu_fwdpos, totASS2_phi, totASS2_vertcount_barrel, totASS2_vertcount_entire, totASS2_vertcount_entire_signal, totASS2_vertcount_fwdneg, totASS2_vertcount_fwdpos, totASS2eta, totASS2etaSig, totASS2pT, totASS_dxy, totASS_dz, totASS_hit, totASS_phi, totASS_vertcount_barrel, totASS_vertcount_entire, totASS_vertcount_fwdneg, totASS_vertcount_fwdpos, totASS_vertpos, totASS_vertz_barrel, totASS_vertz_entire, totASS_vertz_fwdneg, totASS_vertz_fwdpos, totASS_zpos, totASSeta, totASSpT, totCONeta, totCONvertcount, totCONzpos, totFOMT_eta, totFOMT_vertcount, totloop_dxy, totloop_dz, totloop_hit, totloop_phi, totloopeta, totlooppT, totmisid_dxy, totmisid_dz, totmisid_hit, totmisid_phi, totmisideta, totmisidpT, totREC_algo, totREC_dxy, totREC_dz, totREC_hit, totREC_ootpu_barrel, totREC_ootpu_entire, totREC_ootpu_fwdneg, totREC_ootpu_fwdpos, totREC_phi, totREC_vertcount_barrel, totREC_vertcount_entire, totREC_vertcount_fwdneg, totREC_vertcount_fwdpos, totRECeta, totRECpT, totSIM_dxy, totSIM_dz, totSIM_hit, totSIM_phi, totSIM_vertcount_barrel, totSIM_vertcount_entire, totSIM_vertcount_fwdneg, totSIM_vertcount_fwdpos, totSIM_vertpos, totSIM_vertz_barrel, totSIM_vertz_entire, totSIM_vertz_fwdneg, totSIM_vertz_fwdpos, totSIM_zpos, totSIMeta, totSIMpT, useLogPt, vertcountintervals, vertposintervals, and zposintervals.

Referenced by initialize().

                                                 {
  std::vector<double> etaintervalsv;
  std::vector<double> phiintervalsv;
  std::vector<double> pTintervalsv;
  std::vector<double> dxyintervalsv;
  std::vector<double> dzintervalsv;
  std::vector<double> vertposintervalsv;
  std::vector<double> zposintervalsv;
  std::vector<double> vertcountintervalsv;

  std::vector<int>    totSIMveta,totASSveta,totASS2veta,totloopveta,totmisidveta,totASS2vetaSig,totRECveta;
  std::vector<int>    totSIMvpT,totASSvpT,totASS2vpT,totRECvpT,totloopvpT,totmisidvpT;
  std::vector<int>    totSIMv_hit,totASSv_hit,totASS2v_hit,totRECv_hit,totloopv_hit,totmisidv_hit;
  std::vector<int>    totSIMv_phi,totASSv_phi,totASS2v_phi,totRECv_phi,totloopv_phi,totmisidv_phi;
  std::vector<int>    totSIMv_dxy,totASSv_dxy,totASS2v_dxy,totRECv_dxy,totloopv_dxy,totmisidv_dxy;
  std::vector<int>    totSIMv_dz,totASSv_dz,totASS2v_dz,totRECv_dz,totloopv_dz,totmisidv_dz;

  std::vector<int>    totSIMv_vertpos,totASSv_vertpos,totSIMv_zpos,totASSv_zpos; 
  std::vector<int>    totSIMv_vertcount,totASSv_vertcount,totRECv_vertcount,totASS2v_vertcount; 
  std::vector<int>    totRECv_algo;

  double step=(maxEta-minEta)/nintEta;
  //std::ostringstream title,name; ///BM, what is this?
  etaintervalsv.push_back(minEta);
  for (int k=1;k<nintEta+1;k++) {
    double d=minEta+k*step;
    etaintervalsv.push_back(d);
    totSIMveta.push_back(0);
    totASSveta.push_back(0);
    totASS2veta.push_back(0);
    totloopveta.push_back(0);
    totmisidveta.push_back(0);
    totASS2vetaSig.push_back(0);
    totRECveta.push_back(0);
  }   
  etaintervals.push_back(etaintervalsv);
  totSIMeta.push_back(totSIMveta);
  totCONeta.push_back(totASSveta);
  totASSeta.push_back(totASSveta);
  totASS2eta.push_back(totASS2veta);
  totloopeta.push_back(totloopveta);
  totmisideta.push_back(totmisidveta);
  totASS2etaSig.push_back(totASS2vetaSig);
  totRECeta.push_back(totRECveta);
  totFOMT_eta.push_back(totASSveta);
    
  totASS2_itpu_eta_entire.push_back(totASS2veta);
  totASS2_itpu_eta_entire_signal.push_back(totASS2vetaSig);
  totASS2_ootpu_eta_entire.push_back(totASS2veta);

  for (size_t i = 0; i < 15; i++) {
    totRECv_algo.push_back(0);
  }
  totREC_algo.push_back(totRECv_algo);

  double stepPt = (maxPt-minPt)/nintPt;
  pTintervalsv.push_back(minPt);
  for (int k=1;k<nintPt+1;k++) {
    double d=0;
    if(useLogPt)d=pow(10,minPt+k*stepPt);
    else d=minPt+k*stepPt;
    pTintervalsv.push_back(d);
    totSIMvpT.push_back(0);
    totASSvpT.push_back(0);
    totASS2vpT.push_back(0);
    totRECvpT.push_back(0);
    totloopvpT.push_back(0);
    totmisidvpT.push_back(0);
  }
  pTintervals.push_back(pTintervalsv);
  totSIMpT.push_back(totSIMvpT);
  totASSpT.push_back(totASSvpT);
  totASS2pT.push_back(totASS2vpT);
  totRECpT.push_back(totRECvpT);
  totlooppT.push_back(totloopvpT);
  totmisidpT.push_back(totmisidvpT);
  
  for (int k=1;k<nintHit+1;k++) {
    totSIMv_hit.push_back(0);
    totASSv_hit.push_back(0);
    totASS2v_hit.push_back(0);
    totRECv_hit.push_back(0);
    totloopv_hit.push_back(0);
    totmisidv_hit.push_back(0);
  }
  totSIM_hit.push_back(totSIMv_hit);
  totASS_hit.push_back(totASSv_hit);
  totASS2_hit.push_back(totASS2v_hit);
  totREC_hit.push_back(totRECv_hit);
  totloop_hit.push_back(totloopv_hit);
  totmisid_hit.push_back(totmisidv_hit);
  
  double stepPhi = (maxPhi-minPhi)/nintPhi;
  phiintervalsv.push_back(minPhi);
  for (int k=1;k<nintPhi+1;k++) {
    double d=minPhi+k*stepPhi;
    phiintervalsv.push_back(d);
    totSIMv_phi.push_back(0);
    totASSv_phi.push_back(0);
    totASS2v_phi.push_back(0);
    totRECv_phi.push_back(0);
    totloopv_phi.push_back(0);
    totmisidv_phi.push_back(0);
  }
  phiintervals.push_back(phiintervalsv);
  totSIM_phi.push_back(totSIMv_phi);
  totASS_phi.push_back(totASSv_phi);
  totASS2_phi.push_back(totASS2v_phi);
  totREC_phi.push_back(totRECv_phi);
  totloop_phi.push_back(totloopv_phi);
  totmisid_phi.push_back(totmisidv_phi);
  
  double stepDxy = (maxDxy-minDxy)/nintDxy;
  dxyintervalsv.push_back(minDxy);
  for (int k=1;k<nintDxy+1;k++) {
    double d=minDxy+k*stepDxy;
    dxyintervalsv.push_back(d);
    totSIMv_dxy.push_back(0);
    totASSv_dxy.push_back(0);
    totASS2v_dxy.push_back(0);
    totRECv_dxy.push_back(0);
    totloopv_dxy.push_back(0);
    totmisidv_dxy.push_back(0);
  }
  dxyintervals.push_back(dxyintervalsv);
  totSIM_dxy.push_back(totSIMv_dxy);
  totASS_dxy.push_back(totASSv_dxy);
  totASS2_dxy.push_back(totASS2v_dxy);
  totREC_dxy.push_back(totRECv_dxy);
  totloop_dxy.push_back(totloopv_dxy);
  totmisid_dxy.push_back(totmisidv_dxy);
  
  
  double stepDz = (maxDz-minDz)/nintDz;
  dzintervalsv.push_back(minDz);
  for (int k=1;k<nintDz+1;k++) {
    double d=minDz+k*stepDz;
    dzintervalsv.push_back(d);
    totSIMv_dz.push_back(0);
    totASSv_dz.push_back(0);
    totASS2v_dz.push_back(0);
    totRECv_dz.push_back(0);
    totloopv_dz.push_back(0);
    totmisidv_dz.push_back(0);
  }
  dzintervals.push_back(dzintervalsv);
  totSIM_dz.push_back(totSIMv_dz);
  totASS_dz.push_back(totASSv_dz);
  totASS2_dz.push_back(totASS2v_dz);
  totREC_dz.push_back(totRECv_dz);
  totloop_dz.push_back(totloopv_dz);
  totmisid_dz.push_back(totmisidv_dz);
  
  double stepVertpos = (maxVertpos-minVertpos)/nintVertpos;
  vertposintervalsv.push_back(minVertpos);
  for (int k=1;k<nintVertpos+1;k++) {
    double d=minVertpos+k*stepVertpos;
    vertposintervalsv.push_back(d);
    totSIMv_vertpos.push_back(0);
    totASSv_vertpos.push_back(0);
  }
  vertposintervals.push_back(vertposintervalsv);
  totSIM_vertpos.push_back(totSIMv_vertpos);
  totASS_vertpos.push_back(totASSv_vertpos);
    
  double stepZpos = (maxZpos-minZpos)/nintZpos;
  zposintervalsv.push_back(minZpos);
  for (int k=1;k<nintZpos+1;k++) {
    double d=minZpos+k*stepZpos;
    zposintervalsv.push_back(d);
    totSIMv_zpos.push_back(0);
    totASSv_zpos.push_back(0);
  }
  zposintervals.push_back(zposintervalsv);
  totSIM_zpos.push_back(totSIMv_zpos);
  totCONzpos.push_back(totSIMv_zpos);
  totASS_zpos.push_back(totASSv_zpos);
  totSIM_vertz_entire.push_back(totSIMv_zpos);
  totASS_vertz_entire.push_back(totASSv_zpos);
  totSIM_vertz_barrel.push_back(totSIMv_zpos);
  totASS_vertz_barrel.push_back(totASSv_zpos);
  totSIM_vertz_fwdpos.push_back(totSIMv_zpos);
  totASS_vertz_fwdpos.push_back(totASSv_zpos);
  totSIM_vertz_fwdneg.push_back(totSIMv_zpos);
  totASS_vertz_fwdneg.push_back(totASSv_zpos);

  double stepVertcount=(maxVertcount-minVertcount)/nintVertcount;
  vertcountintervalsv.push_back(minVertcount);
  for (int k=1;k<nintVertcount+1;k++) {
    double d=minVertcount+k*stepVertcount;
    vertcountintervalsv.push_back(d);
    totSIMv_vertcount.push_back(0);
    totASSv_vertcount.push_back(0);
    totASS2v_vertcount.push_back(0);
    totRECv_vertcount.push_back(0);
  }   
  vertcountintervals.push_back(vertcountintervalsv);
  totSIM_vertcount_entire.push_back(totSIMv_vertcount);
  totCONvertcount.push_back(totSIMv_vertcount);
  totASS_vertcount_entire.push_back(totASSv_vertcount);
  totASS2_vertcount_entire.push_back(totASS2v_vertcount);
  totASS2_vertcount_entire_signal.push_back(totASS2v_vertcount);
  totREC_vertcount_entire.push_back(totRECv_vertcount);
  totSIM_vertcount_barrel.push_back(totSIMv_vertcount);
  totASS_vertcount_barrel.push_back(totASSv_vertcount);
  totASS2_vertcount_barrel.push_back(totASS2v_vertcount);
  totREC_vertcount_barrel.push_back(totRECv_vertcount);
  totSIM_vertcount_fwdpos.push_back(totSIMv_vertcount);
  totASS_vertcount_fwdpos.push_back(totASSv_vertcount);
  totASS2_vertcount_fwdpos.push_back(totASS2v_vertcount);
  totREC_vertcount_fwdpos.push_back(totRECv_vertcount);
  totSIM_vertcount_fwdneg.push_back(totSIMv_vertcount);
  totASS_vertcount_fwdneg.push_back(totASSv_vertcount);
  totASS2_vertcount_fwdneg.push_back(totASS2v_vertcount);
  totREC_vertcount_fwdneg.push_back(totRECv_vertcount);
  totFOMT_vertcount.push_back(totASSv_vertcount);
    
  totASS2_itpu_vertcount_entire.push_back(totASS2v_vertcount);
  totASS2_itpu_vertcount_entire_signal.push_back(totASS2v_vertcount);

  totASS2_ootpu_entire.push_back(totASS2v_vertcount);
  totREC_ootpu_entire.push_back(totRECv_vertcount);
  totASS2_ootpu_barrel.push_back(totASS2v_vertcount);
  totREC_ootpu_barrel.push_back(totRECv_vertcount);
  totASS2_ootpu_fwdpos.push_back(totASS2v_vertcount);
  totREC_ootpu_fwdpos.push_back(totRECv_vertcount);
  totASS2_ootpu_fwdneg.push_back(totASS2v_vertcount);
  totREC_ootpu_fwdneg.push_back(totRECv_vertcount);

}

Member Data Documentation

std::vector< std::vector<double> > MTVHistoProducerAlgoForTracker::dxyintervals [private]
std::vector< std::vector<double> > MTVHistoProducerAlgoForTracker::dzintervals [private]
std::vector< std::vector<double> > MTVHistoProducerAlgoForTracker::etaintervals [private]

Definition at line 155 of file MTVHistoProducerAlgoForTracker.h.

Referenced by bookRecoHistos(), and fillHistosFromVectors().

Definition at line 163 of file MTVHistoProducerAlgoForTracker.h.

Definition at line 163 of file MTVHistoProducerAlgoForTracker.h.

Definition at line 164 of file MTVHistoProducerAlgoForTracker.h.

Definition at line 164 of file MTVHistoProducerAlgoForTracker.h.

Definition at line 157 of file MTVHistoProducerAlgoForTracker.h.

Referenced by bookRecoHistos(), and fillHistosFromVectors().

Definition at line 156 of file MTVHistoProducerAlgoForTracker.h.

Referenced by bookRecoHistos(), and fillHistosFromVectors().

Definition at line 165 of file MTVHistoProducerAlgoForTracker.h.

Definition at line 159 of file MTVHistoProducerAlgoForTracker.h.

Referenced by bookRecoHistos(), and fillHistosFromVectors().

Definition at line 158 of file MTVHistoProducerAlgoForTracker.h.

Referenced by bookRecoHistos(), and fillHistosFromVectors().

Definition at line 165 of file MTVHistoProducerAlgoForTracker.h.

Referenced by bookRecoHistos().

Definition at line 148 of file MTVHistoProducerAlgoForTracker.h.

Referenced by bookRecoHistos(), and fillHistosFromVectors().

Definition at line 147 of file MTVHistoProducerAlgoForTracker.h.

Referenced by bookRecoHistos(), and fillHistosFromVectors().

Definition at line 150 of file MTVHistoProducerAlgoForTracker.h.

Referenced by bookRecoHistos(), and fillHistosFromVectors().

Definition at line 149 of file MTVHistoProducerAlgoForTracker.h.

Referenced by bookRecoHistos(), and fillHistosFromVectors().

Definition at line 142 of file MTVHistoProducerAlgoForTracker.h.

Referenced by bookRecoHistos(), and fillHistosFromVectors().

Definition at line 143 of file MTVHistoProducerAlgoForTracker.h.

Referenced by bookRecoHistos(), and fillHistosFromVectors().

Definition at line 138 of file MTVHistoProducerAlgoForTracker.h.

Referenced by bookRecoHistos(), and fillHistosFromVectors().

Definition at line 163 of file MTVHistoProducerAlgoForTracker.h.

Definition at line 140 of file MTVHistoProducerAlgoForTracker.h.

Referenced by bookRecoHistos(), and fillHistosFromVectors().

Definition at line 141 of file MTVHistoProducerAlgoForTracker.h.

Referenced by bookRecoHistos(), and fillHistosFromVectors().

Definition at line 139 of file MTVHistoProducerAlgoForTracker.h.

Referenced by bookRecoHistos(), and fillHistosFromVectors().

Definition at line 148 of file MTVHistoProducerAlgoForTracker.h.

Referenced by bookRecoHistos(), and fillHistosFromVectors().

Definition at line 147 of file MTVHistoProducerAlgoForTracker.h.

Referenced by bookRecoHistos(), and fillHistosFromVectors().

Definition at line 150 of file MTVHistoProducerAlgoForTracker.h.

Referenced by bookRecoHistos(), and fillHistosFromVectors().

Definition at line 149 of file MTVHistoProducerAlgoForTracker.h.

Referenced by bookRecoHistos(), and fillHistosFromVectors().

Definition at line 152 of file MTVHistoProducerAlgoForTracker.h.

Referenced by bookRecoHistos(), and fillHistosFromVectors().

Definition at line 151 of file MTVHistoProducerAlgoForTracker.h.

Referenced by bookRecoHistos(), and fillHistosFromVectors().

Definition at line 154 of file MTVHistoProducerAlgoForTracker.h.

Referenced by bookRecoHistos(), and fillHistosFromVectors().

Definition at line 153 of file MTVHistoProducerAlgoForTracker.h.

Referenced by bookRecoHistos(), and fillHistosFromVectors().

Definition at line 142 of file MTVHistoProducerAlgoForTracker.h.

Referenced by bookRecoHistos(), and fillHistosFromVectors().

Definition at line 143 of file MTVHistoProducerAlgoForTracker.h.

Referenced by bookRecoHistos(), and fillHistosFromVectors().

Definition at line 138 of file MTVHistoProducerAlgoForTracker.h.

Referenced by bookRecoHistos(), and fillHistosFromVectors().

Definition at line 253 of file MTVHistoProducerAlgoForTracker.h.

Definition at line 253 of file MTVHistoProducerAlgoForTracker.h.

Definition at line 140 of file MTVHistoProducerAlgoForTracker.h.

Referenced by bookRecoHistos(), and fillHistosFromVectors().

Definition at line 141 of file MTVHistoProducerAlgoForTracker.h.

Referenced by bookRecoHistos(), and fillHistosFromVectors().

Definition at line 139 of file MTVHistoProducerAlgoForTracker.h.

Referenced by bookRecoHistos(), and fillHistosFromVectors().

Definition at line 145 of file MTVHistoProducerAlgoForTracker.h.

Referenced by bookRecoHistos(), and fillHistosFromVectors().

Definition at line 145 of file MTVHistoProducerAlgoForTracker.h.

Referenced by bookRecoHistos(), and fillHistosFromVectors().

Definition at line 168 of file MTVHistoProducerAlgoForTracker.h.

Referenced by bookRecoHistos(), and fillHistosFromVectors().

Definition at line 168 of file MTVHistoProducerAlgoForTracker.h.

Referenced by bookRecoHistos(), and fillHistosFromVectors().

Definition at line 168 of file MTVHistoProducerAlgoForTracker.h.

Referenced by bookRecoHistos(), and fillHistosFromVectors().

Definition at line 197 of file MTVHistoProducerAlgoForTracker.h.

Definition at line 173 of file MTVHistoProducerAlgoForTracker.h.

Referenced by bookRecoHistos(), and fill_dedx_recoTrack_histos().

Definition at line 174 of file MTVHistoProducerAlgoForTracker.h.

Referenced by bookRecoHistos(), and fill_dedx_recoTrack_histos().

Definition at line 175 of file MTVHistoProducerAlgoForTracker.h.

Referenced by bookRecoHistos(), and fill_dedx_recoTrack_histos().

Definition at line 176 of file MTVHistoProducerAlgoForTracker.h.

Referenced by bookRecoHistos(), and fill_dedx_recoTrack_histos().

Definition at line 177 of file MTVHistoProducerAlgoForTracker.h.

Referenced by bookRecoHistos(), and fill_dedx_recoTrack_histos().

Definition at line 178 of file MTVHistoProducerAlgoForTracker.h.

Referenced by bookRecoHistos(), and fill_dedx_recoTrack_histos().

Definition at line 197 of file MTVHistoProducerAlgoForTracker.h.

Definition at line 137 of file MTVHistoProducerAlgoForTracker.h.

Referenced by bookRecoHistos(), and fill_trackBased_histos().

Definition at line 161 of file MTVHistoProducerAlgoForTracker.h.

Definition at line 161 of file MTVHistoProducerAlgoForTracker.h.

Definition at line 142 of file MTVHistoProducerAlgoForTracker.h.

Referenced by bookRecoHistos(), and fillHistosFromVectors().

Definition at line 143 of file MTVHistoProducerAlgoForTracker.h.

Referenced by bookRecoHistos(), and fillHistosFromVectors().

Definition at line 138 of file MTVHistoProducerAlgoForTracker.h.

Referenced by bookRecoHistos(), and fillHistosFromVectors().

Definition at line 140 of file MTVHistoProducerAlgoForTracker.h.

Referenced by bookRecoHistos(), and fillHistosFromVectors().

Definition at line 141 of file MTVHistoProducerAlgoForTracker.h.

Referenced by bookRecoHistos(), and fillHistosFromVectors().

Definition at line 139 of file MTVHistoProducerAlgoForTracker.h.

Referenced by bookRecoHistos(), and fillHistosFromVectors().

Definition at line 142 of file MTVHistoProducerAlgoForTracker.h.

Referenced by bookRecoHistos(), and fillHistosFromVectors().

Definition at line 143 of file MTVHistoProducerAlgoForTracker.h.

Referenced by bookRecoHistos(), and fillHistosFromVectors().

Definition at line 138 of file MTVHistoProducerAlgoForTracker.h.

Referenced by bookRecoHistos(), and fillHistosFromVectors().

Definition at line 140 of file MTVHistoProducerAlgoForTracker.h.

Referenced by bookRecoHistos(), and fillHistosFromVectors().

Definition at line 141 of file MTVHistoProducerAlgoForTracker.h.

Referenced by bookRecoHistos(), and fillHistosFromVectors().

Definition at line 139 of file MTVHistoProducerAlgoForTracker.h.

Referenced by bookRecoHistos(), and fillHistosFromVectors().

Definition at line 270 of file MTVHistoProducerAlgoForTracker.h.

Definition at line 157 of file MTVHistoProducerAlgoForTracker.h.

Referenced by bookRecoHistos(), and fillHistosFromVectors().

Definition at line 156 of file MTVHistoProducerAlgoForTracker.h.

Referenced by bookRecoHistos(), and fillHistosFromVectors().

Definition at line 166 of file MTVHistoProducerAlgoForTracker.h.

Referenced by bookRecoHistos().

Definition at line 159 of file MTVHistoProducerAlgoForTracker.h.

Referenced by bookRecoHistos(), and fillHistosFromVectors().

Definition at line 158 of file MTVHistoProducerAlgoForTracker.h.

Referenced by bookRecoHistos(), and fillHistosFromVectors().

Definition at line 166 of file MTVHistoProducerAlgoForTracker.h.

Referenced by bookRecoHistos().

Definition at line 148 of file MTVHistoProducerAlgoForTracker.h.

Referenced by bookRecoHistos(), and fillHistosFromVectors().

Definition at line 147 of file MTVHistoProducerAlgoForTracker.h.

Referenced by bookRecoHistos(), and fillHistosFromVectors().

Definition at line 150 of file MTVHistoProducerAlgoForTracker.h.

Referenced by bookRecoHistos(), and fillHistosFromVectors().

Definition at line 149 of file MTVHistoProducerAlgoForTracker.h.

Referenced by bookRecoHistos(), and fillHistosFromVectors().

Definition at line 142 of file MTVHistoProducerAlgoForTracker.h.

Referenced by bookRecoHistos(), and fillHistosFromVectors().

Definition at line 143 of file MTVHistoProducerAlgoForTracker.h.

Referenced by bookRecoHistos(), and fillHistosFromVectors().

Definition at line 138 of file MTVHistoProducerAlgoForTracker.h.

Referenced by bookRecoHistos(), and fillHistosFromVectors().

Definition at line 140 of file MTVHistoProducerAlgoForTracker.h.

Referenced by bookRecoHistos(), and fillHistosFromVectors().

Definition at line 141 of file MTVHistoProducerAlgoForTracker.h.

Referenced by bookRecoHistos(), and fillHistosFromVectors().

Definition at line 139 of file MTVHistoProducerAlgoForTracker.h.

Referenced by bookRecoHistos(), and fillHistosFromVectors().

Definition at line 197 of file MTVHistoProducerAlgoForTracker.h.

Definition at line 148 of file MTVHistoProducerAlgoForTracker.h.

Referenced by bookRecoHistos(), and fillHistosFromVectors().

Definition at line 147 of file MTVHistoProducerAlgoForTracker.h.

Referenced by bookRecoHistos(), and fillHistosFromVectors().

Definition at line 150 of file MTVHistoProducerAlgoForTracker.h.

Referenced by bookRecoHistos(), and fillHistosFromVectors().

Definition at line 149 of file MTVHistoProducerAlgoForTracker.h.

Referenced by bookRecoHistos(), and fillHistosFromVectors().

Definition at line 152 of file MTVHistoProducerAlgoForTracker.h.

Referenced by bookRecoHistos(), and fillHistosFromVectors().

Definition at line 151 of file MTVHistoProducerAlgoForTracker.h.

Referenced by bookRecoHistos(), and fillHistosFromVectors().

Definition at line 154 of file MTVHistoProducerAlgoForTracker.h.

Referenced by bookRecoHistos(), and fillHistosFromVectors().

Definition at line 153 of file MTVHistoProducerAlgoForTracker.h.

Referenced by bookRecoHistos(), and fillHistosFromVectors().

Definition at line 142 of file MTVHistoProducerAlgoForTracker.h.

Referenced by bookRecoHistos(), and fillHistosFromVectors().

Definition at line 143 of file MTVHistoProducerAlgoForTracker.h.

Referenced by bookRecoHistos(), and fillHistosFromVectors().

Definition at line 138 of file MTVHistoProducerAlgoForTracker.h.

Referenced by bookRecoHistos(), and fillHistosFromVectors().

Definition at line 140 of file MTVHistoProducerAlgoForTracker.h.

Referenced by bookRecoHistos(), and fillHistosFromVectors().

Definition at line 141 of file MTVHistoProducerAlgoForTracker.h.

Referenced by bookRecoHistos(), and fillHistosFromVectors().

Definition at line 139 of file MTVHistoProducerAlgoForTracker.h.

Referenced by bookRecoHistos(), and fillHistosFromVectors().

Definition at line 145 of file MTVHistoProducerAlgoForTracker.h.

Referenced by bookRecoHistos(), and fillHistosFromVectors().

Definition at line 145 of file MTVHistoProducerAlgoForTracker.h.

Referenced by bookRecoHistos(), and fillHistosFromVectors().

Definition at line 137 of file MTVHistoProducerAlgoForTracker.h.

Referenced by bookRecoHistos(), and fill_trackBased_histos().

Definition at line 134 of file MTVHistoProducerAlgoForTracker.h.

Referenced by bookSimHistos().

Definition at line 181 of file MTVHistoProducerAlgoForTracker.h.

Referenced by bookRecoHistos(), and fill_trackBased_histos().

std::vector< std::vector<double> > MTVHistoProducerAlgoForTracker::phiintervals [private]
std::vector< std::vector<double> > MTVHistoProducerAlgoForTracker::pTintervals [private]
std::vector< std::vector<int> > MTVHistoProducerAlgoForTracker::totASS2_dxy [private]
std::vector< std::vector<int> > MTVHistoProducerAlgoForTracker::totASS2_dz [private]
std::vector< std::vector<int> > MTVHistoProducerAlgoForTracker::totASS2_hit [private]
std::vector< std::vector<int> > MTVHistoProducerAlgoForTracker::totASS2_itpu_eta_entire [private]
std::vector< std::vector<int> > MTVHistoProducerAlgoForTracker::totASS2_itpu_eta_entire_signal [private]
std::vector< std::vector<int> > MTVHistoProducerAlgoForTracker::totASS2_itpu_vertcount_entire [private]
std::vector< std::vector<int> > MTVHistoProducerAlgoForTracker::totASS2_ootpu_barrel [private]
std::vector< std::vector<int> > MTVHistoProducerAlgoForTracker::totASS2_ootpu_entire [private]
std::vector< std::vector<int> > MTVHistoProducerAlgoForTracker::totASS2_ootpu_eta_entire [private]
std::vector< std::vector<int> > MTVHistoProducerAlgoForTracker::totASS2_ootpu_fwdneg [private]
std::vector< std::vector<int> > MTVHistoProducerAlgoForTracker::totASS2_ootpu_fwdpos [private]
std::vector< std::vector<int> > MTVHistoProducerAlgoForTracker::totASS2_phi [private]
std::vector< std::vector<int> > MTVHistoProducerAlgoForTracker::totASS2_vertcount_barrel [private]
std::vector< std::vector<int> > MTVHistoProducerAlgoForTracker::totASS2_vertcount_entire [private]
std::vector< std::vector<int> > MTVHistoProducerAlgoForTracker::totASS2_vertcount_entire_signal [private]
std::vector< std::vector<int> > MTVHistoProducerAlgoForTracker::totASS2_vertcount_fwdneg [private]
std::vector< std::vector<int> > MTVHistoProducerAlgoForTracker::totASS2_vertcount_fwdpos [private]
std::vector< std::vector<int> > MTVHistoProducerAlgoForTracker::totASS2eta [private]
std::vector< std::vector<int> > MTVHistoProducerAlgoForTracker::totASS2etaSig [private]
std::vector< std::vector<int> > MTVHistoProducerAlgoForTracker::totASS2pT [private]
std::vector< std::vector<int> > MTVHistoProducerAlgoForTracker::totASS_dxy [private]
std::vector< std::vector<int> > MTVHistoProducerAlgoForTracker::totASS_dz [private]
std::vector< std::vector<int> > MTVHistoProducerAlgoForTracker::totASS_hit [private]
std::vector< std::vector<int> > MTVHistoProducerAlgoForTracker::totASS_phi [private]
std::vector< std::vector<int> > MTVHistoProducerAlgoForTracker::totASS_vertcount_barrel [private]
std::vector< std::vector<int> > MTVHistoProducerAlgoForTracker::totASS_vertcount_entire [private]
std::vector< std::vector<int> > MTVHistoProducerAlgoForTracker::totASS_vertcount_fwdneg [private]
std::vector< std::vector<int> > MTVHistoProducerAlgoForTracker::totASS_vertcount_fwdpos [private]
std::vector< std::vector<int> > MTVHistoProducerAlgoForTracker::totASS_vertpos [private]
std::vector< std::vector<int> > MTVHistoProducerAlgoForTracker::totASS_vertz_barrel [private]
std::vector< std::vector<int> > MTVHistoProducerAlgoForTracker::totASS_vertz_entire [private]
std::vector< std::vector<int> > MTVHistoProducerAlgoForTracker::totASS_vertz_fwdneg [private]
std::vector< std::vector<int> > MTVHistoProducerAlgoForTracker::totASS_vertz_fwdpos [private]
std::vector< std::vector<int> > MTVHistoProducerAlgoForTracker::totASS_zpos [private]
std::vector< std::vector<int> > MTVHistoProducerAlgoForTracker::totASSeta [private]
std::vector< std::vector<int> > MTVHistoProducerAlgoForTracker::totASSpT [private]
std::vector< std::vector<int> > MTVHistoProducerAlgoForTracker::totCONeta [private]
std::vector< std::vector<int> > MTVHistoProducerAlgoForTracker::totCONvertcount [private]
std::vector< std::vector<int> > MTVHistoProducerAlgoForTracker::totCONzpos [private]
std::vector< std::vector<int> > MTVHistoProducerAlgoForTracker::totFOMT_eta [private]

Definition at line 235 of file MTVHistoProducerAlgoForTracker.h.

Referenced by finalHistoFits(), and setUpVectors().

std::vector< std::vector<int> > MTVHistoProducerAlgoForTracker::totFOMT_vertcount [private]

Definition at line 235 of file MTVHistoProducerAlgoForTracker.h.

Referenced by finalHistoFits(), and setUpVectors().

std::vector< std::vector<int> > MTVHistoProducerAlgoForTracker::totloop_dxy [private]
std::vector< std::vector<int> > MTVHistoProducerAlgoForTracker::totloop_dz [private]
std::vector< std::vector<int> > MTVHistoProducerAlgoForTracker::totloop_hit [private]
std::vector< std::vector<int> > MTVHistoProducerAlgoForTracker::totloop_phi [private]
std::vector< std::vector<int> > MTVHistoProducerAlgoForTracker::totloopeta [private]
std::vector< std::vector<int> > MTVHistoProducerAlgoForTracker::totlooppT [private]
std::vector< std::vector<int> > MTVHistoProducerAlgoForTracker::totmisid_dxy [private]
std::vector< std::vector<int> > MTVHistoProducerAlgoForTracker::totmisid_dz [private]
std::vector< std::vector<int> > MTVHistoProducerAlgoForTracker::totmisid_hit [private]
std::vector< std::vector<int> > MTVHistoProducerAlgoForTracker::totmisid_phi [private]
std::vector< std::vector<int> > MTVHistoProducerAlgoForTracker::totmisideta [private]
std::vector< std::vector<int> > MTVHistoProducerAlgoForTracker::totmisidpT [private]
std::vector< std::vector<int> > MTVHistoProducerAlgoForTracker::totREC_algo [private]
std::vector< std::vector<int> > MTVHistoProducerAlgoForTracker::totREC_dxy [private]
std::vector< std::vector<int> > MTVHistoProducerAlgoForTracker::totREC_dz [private]
std::vector< std::vector<int> > MTVHistoProducerAlgoForTracker::totREC_hit [private]
std::vector< std::vector<int> > MTVHistoProducerAlgoForTracker::totREC_ootpu_barrel [private]
std::vector< std::vector<int> > MTVHistoProducerAlgoForTracker::totREC_ootpu_entire [private]
std::vector< std::vector<int> > MTVHistoProducerAlgoForTracker::totREC_ootpu_eta_entire [private]

Definition at line 233 of file MTVHistoProducerAlgoForTracker.h.

std::vector< std::vector<int> > MTVHistoProducerAlgoForTracker::totREC_ootpu_fwdneg [private]
std::vector< std::vector<int> > MTVHistoProducerAlgoForTracker::totREC_ootpu_fwdpos [private]
std::vector< std::vector<int> > MTVHistoProducerAlgoForTracker::totREC_phi [private]
std::vector< std::vector<int> > MTVHistoProducerAlgoForTracker::totREC_vertcount_barrel [private]
std::vector< std::vector<int> > MTVHistoProducerAlgoForTracker::totREC_vertcount_entire [private]
std::vector< std::vector<int> > MTVHistoProducerAlgoForTracker::totREC_vertcount_fwdneg [private]
std::vector< std::vector<int> > MTVHistoProducerAlgoForTracker::totREC_vertcount_fwdpos [private]
std::vector< std::vector<int> > MTVHistoProducerAlgoForTracker::totRECeta [private]
std::vector< std::vector<int> > MTVHistoProducerAlgoForTracker::totRECpT [private]
std::vector< std::vector<int> > MTVHistoProducerAlgoForTracker::totSIM_dxy [private]
std::vector< std::vector<int> > MTVHistoProducerAlgoForTracker::totSIM_dz [private]
std::vector< std::vector<int> > MTVHistoProducerAlgoForTracker::totSIM_hit [private]
std::vector< std::vector<int> > MTVHistoProducerAlgoForTracker::totSIM_phi [private]
std::vector< std::vector<int> > MTVHistoProducerAlgoForTracker::totSIM_vertcount_barrel [private]
std::vector< std::vector<int> > MTVHistoProducerAlgoForTracker::totSIM_vertcount_entire [private]
std::vector< std::vector<int> > MTVHistoProducerAlgoForTracker::totSIM_vertcount_fwdneg [private]
std::vector< std::vector<int> > MTVHistoProducerAlgoForTracker::totSIM_vertcount_fwdpos [private]
std::vector< std::vector<int> > MTVHistoProducerAlgoForTracker::totSIM_vertpos [private]
std::vector< std::vector<int> > MTVHistoProducerAlgoForTracker::totSIM_vertz_barrel [private]
std::vector< std::vector<int> > MTVHistoProducerAlgoForTracker::totSIM_vertz_entire [private]
std::vector< std::vector<int> > MTVHistoProducerAlgoForTracker::totSIM_vertz_fwdneg [private]
std::vector< std::vector<int> > MTVHistoProducerAlgoForTracker::totSIM_vertz_fwdpos [private]
std::vector< std::vector<int> > MTVHistoProducerAlgoForTracker::totSIM_zpos [private]
std::vector< std::vector<int> > MTVHistoProducerAlgoForTracker::totSIMeta [private]
std::vector< std::vector<int> > MTVHistoProducerAlgoForTracker::totSIMpT [private]

Definition at line 114 of file MTVHistoProducerAlgoForTracker.h.

Referenced by getEta(), and MTVHistoProducerAlgoForTracker().

Definition at line 115 of file MTVHistoProducerAlgoForTracker.h.

Referenced by getPt(), and MTVHistoProducerAlgoForTracker().

std::vector< std::vector<double> > MTVHistoProducerAlgoForTracker::vertcountintervals [private]
std::vector< std::vector<double> > MTVHistoProducerAlgoForTracker::vertposintervals [private]
std::vector< std::vector<double> > MTVHistoProducerAlgoForTracker::zposintervals [private]