1 #ifndef PrimaryVertexValidation_h 2 #define PrimaryVertexValidation_h 74 std::pair<Double_t,Double_t>
getMAD(TH1F *histo);
75 std::pair<std::pair<Double_t,Double_t>, std::pair<Double_t,Double_t> >
fitResiduals(TH1 *
hist);
76 void fillTrendPlot(TH1F* trendPlot, TH1F *residualsPlot[100], TString fitPar_, TString var_);
81 void add(std::map<std::string, TH1*>& h, TH1* hist);
83 void fill(std::map<std::string, TH1*>& h,
std::string s,
double x,
double y);
84 void fillMap(TH2F* trendMap, TH1F* residualsMapPlot[100][100], TString fitPar_);
510 std::map<std::string, TH1*>
hDA;
TH1F * n_dxyPhiMedianTrend
TH1F * n_dzPhiResiduals[nMaxBins_]
TH1F * n_dzEtaMedianTrend
TH1F * n_dxyEtaMADBiasTrend
TH1F * a_dxyPhiMedianBiasTrend
TH1F * n_dxyPhiMADBiasTrend
TH1F * a_d3DPhiResiduals[nMaxBins_]
TH1F * n_dzResidualsMap[nMaxBins_][nMaxBins_]
TH1F * a_dzPhiMedianBiasTrend
TH1F * a_dxyEtaWidthBiasTrend
TH1F * a_IP3DEtaResiduals[nMaxBins_]
std::vector< unsigned int > runControlNumbers_
TH1F * n_dxyEtaMedianTrend
TH1F * n_dxyEtaMeanBiasTrend
TH1F * a_dzEtaWidthBiasTrend
TH1F * a_dzPhiMADBiasTrend
TH1F * h_probeRefitVSigXY_
static const int nMaxtracks_
TH1F * h_probeRefitVSigZ_
static bool vtxSort(const reco::Vertex &a, const reco::Vertex &b)
TH1F * n_dxyEtaMedianBiasTrend
TH1F * a_dxyEtaMADBiasTrend
TH1F * h_probesignIP2DRefitV_
int nhits1D_[nMaxtracks_]
TH1F * n_IP2DPhiResiduals[nMaxBins_]
TrackFilterForPVFindingBase * theTrackFilter_
TH1F * a_dxyResidualsMap[nMaxBins_][nMaxBins_]
std::map< std::string, TH1 * > hDA
TH1F * n_dxyEtaBiasResiduals[nMaxBins_]
PrimaryVertexValidation(const edm::ParameterSet &)
std::pair< Double_t, Double_t > getMAD(TH1F *histo)
TH1F * a_dzEtaMADBiasTrend
TH1F * n_dxyBiasResidualsMap[nMaxBins_][nMaxBins_]
TH1F * h_xErrOfflineVertex
float DOFUnbiasedVertex_[nMaxtracks_]
TH1F * a_dzPhiBiasResiduals[nMaxBins_]
TH1F * n_dzPhiWidthBiasTrend
bool passesTrackCuts(const reco::Track &track, const reco::Vertex &vertex, std::string qualityString_, double dxyErrMax_, double dzErrMax_, double ptErrMax_)
double d3DFromMyVertex_[nMaxtracks_]
TH1F * n_dzEtaBiasResiduals[nMaxBins_]
virtual void analyze(const edm::Event &, const edm::EventSetup &)
double dxyBs_[nMaxtracks_]
double zPCA_[nMaxtracks_]
TH1F * a_dxyPhiWidthBiasTrend
float chi2ProbUnbiasedVertex_[nMaxtracks_]
double dxyFromMyVertex_[nMaxtracks_]
TH1F * a_dzPhiWidthBiasTrend
TH1F * h_probeRefitVSig3D_
TH1F * h_probereszRefitV_
double dzErrorFromMyVertex_[nMaxtracks_]
TH1F * n_d3DEtaResiduals[nMaxBins_]
void fillTrackHistos(std::map< std::string, TH1 * > &h, const std::string &ttype, const reco::TransientTrack *tt, const reco::Vertex &v, const reco::BeamSpot &beamSpot, double fBfield)
int isHighPurity_[nMaxtracks_]
int nhitsTIB_[nMaxtracks_]
TH1F * h_probeRefitVSigResZ_
TH1F * a_dxyPhiBiasResiduals[nMaxBins_]
double qoverp_[nMaxtracks_]
TH1F * a_d3DEtaResiduals[nMaxBins_]
double IPTsigFromMyVertex_[nMaxtracks_]
std::pair< Double_t, Double_t > getMedian(TH1F *histo)
TH1F * a_dzEtaMedianTrend
double theta_[nMaxtracks_]
TH1F * a_dxyPhiMedianTrend
void fillMap(TH2F *trendMap, TH1F *residualsMapPlot[100][100], TString fitPar_)
TH1F * a_IP2DEtaResiduals[nMaxBins_]
TH1F * a_dzPhiMeanBiasTrend
edm::ParameterSet theConfig
int tracksUsedForVertexing_[nMaxtracks_]
TH1F * h_fitVtxTrackAverageWeight_
TH1F * n_IP2DEtaResiduals[nMaxBins_]
int isGoodTrack_[nMaxtracks_]
std::pair< bool, bool > pixelHitsCheck(const reco::TransientTrack track)
TH1F * a_dxyPhiMADBiasTrend
unsigned int LuminosityBlockNumber_
TH1F * a_dxyPhiWidthTrend
double zErrOfflineVertex_
TH1F * h_yErrOfflineVertex
int nhitsFPIX_[nMaxtracks_]
bool useTracksFromRecoVtx_
~PrimaryVertexValidation()
bool hasFirstLayerPixelHits(const reco::TransientTrack track)
TH1F * n_reszEtaResiduals[nMaxBins_]
TH1F * n_dzPhiMADBiasTrend
TH1F * n_dzPhiBiasResiduals[nMaxBins_]
double yUnbiasedVertex_[nMaxtracks_]
TH1F * h_probeRecoVSigXY_
std::pair< std::pair< Double_t, Double_t >, std::pair< Double_t, Double_t > > fitResiduals(TH1 *hist)
TH1F * h_probeRefitVLogSig3D_
TH1F * h_fitVtxTrackWeights_
TH1F * n_dxyEtaResiduals[nMaxBins_]
TH1F * n_dxyPhiResiduals[nMaxBins_]
TH1F * n_IP3DEtaResiduals[nMaxBins_]
unsigned int EventNumber_
TH1F * a_dxPhiResiduals[nMaxBins_]
int nhitsTID_[nMaxtracks_]
double zUnbiasedVertex_[nMaxtracks_]
TH1F * a_reszPhiResiduals[nMaxBins_]
TH1F * a_dzPhiMedianTrend
float chi2normUnbiasedVertex_[nMaxtracks_]
TH1F * n_d3DResidualsMap[nMaxBins_][nMaxBins_]
edm::EDGetTokenT< reco::VertexCollection > theVertexCollectionToken
TH1F * n_dzEtaWidthBiasTrend
TH1F * a_d3DResidualsMap[nMaxBins_][nMaxBins_]
TH1F * n_dzEtaMADBiasTrend
double IPLsigFromMyVertex_[nMaxtracks_]
double dzBs_[nMaxtracks_]
double yPCA_[nMaxtracks_]
TH1F * a_dxyEtaWidthTrend
TH1F * a_dyPhiResiduals[nMaxBins_]
TH1F * n_dzPhiMeanBiasTrend
TH1F * h_nOfflineVertices
int nhits2D_[nMaxtracks_]
TH1F * a_dxyEtaMedianBiasTrend
static const int nMaxBins_
TH1F * a_IP2DPhiResiduals[nMaxBins_]
TH1F * n_dzPhiMedianBiasTrend
TH1F * a_dzPhiResiduals[nMaxBins_]
TH1F * n_dzEtaMeanBiasTrend
bool isHit2D(const TrackingRecHit &hit) const
int nhitsTOB_[nMaxtracks_]
double chi2ndof_[nMaxtracks_]
TH1F * n_dxyPhiBiasResiduals[nMaxBins_]
int nhitsTEC_[nMaxtracks_]
TrackClusterizerInZ * theTrackClusterizer_
double yErrOfflineVertex_
double xPCA_[nMaxtracks_]
double xUnbiasedVertex_[nMaxtracks_]
TH1F * a_dxyPhiResiduals[nMaxBins_]
TH1F * n_dxyPhiWidthTrend
TH1F * a_dxyEtaMeanBiasTrend
TH1F * a_dxyEtaBiasResiduals[nMaxBins_]
edm::EDGetTokenT< reco::BeamSpot > theBeamspotToken
edm::EDGetTokenT< reco::TrackCollection > theTrackCollectionToken
TH1F * a_dzEtaMedianBiasTrend
double dzFromMyVertex_[nMaxtracks_]
TH1F * n_IP3DPhiResiduals[nMaxBins_]
TH1F * n_dxyEtaWidthTrend
TH1F * a_dyEtaResiduals[nMaxBins_]
TH1F * a_dxyPhiMeanBiasTrend
void add(std::map< std::string, TH1 * > &h, TH1 *hist)
TH1F * a_dzEtaResiduals[nMaxBins_]
TH1F * h_recoVtxChi2Prob_
TH1F * h_probeHitsInBPIX_
TH1F * h_probeHitsInFPIX_
TH1F * n_dxyEtaWidthBiasTrend
TH1F * n_d3DPhiResiduals[nMaxBins_]
void fill(std::map< std::string, TH1 * > &h, std::string s, double x)
TH1F * a_dxyEtaResiduals[nMaxBins_]
TH1F * a_reszEtaResiduals[nMaxBins_]
TH1F * a_dxyBiasResidualsMap[nMaxBins_][nMaxBins_]
TH1F * h_zErrOfflineVertex
TH1F * a_IP3DPhiResiduals[nMaxBins_]
TH1F * n_dxyResidualsMap[nMaxBins_][nMaxBins_]
TH1F * n_dzPhiMedianTrend
double dxyErrorFromMyVertex_[nMaxtracks_]
TH1F * n_dxyPhiWidthBiasTrend
TH1F * n_reszPhiResiduals[nMaxBins_]
float sumOfWeightsUnbiasedVertex_[nMaxtracks_]
TH1F * a_dxEtaResiduals[nMaxBins_]
TH1F * n_dzBiasResidualsMap[nMaxBins_][nMaxBins_]
double d3DErrorFromMyVertex_[nMaxtracks_]
TH1F * n_dzEtaMedianBiasTrend
TH1F * a_dzBiasResidualsMap[nMaxBins_][nMaxBins_]
TH1F * a_dzEtaBiasResiduals[nMaxBins_]
TH1F * a_dxyEtaMedianTrend
void fillTrendPlot(TH1F *trendPlot, TH1F *residualsPlot[100], TString fitPar_, TString var_)
int hasRecVertex_[nMaxtracks_]
TH1F * a_dzResidualsMap[nMaxBins_][nMaxBins_]
TH1F * n_dzEtaResiduals[nMaxBins_]
double xErrOfflineVertex_
TH1F * a_dzEtaMeanBiasTrend
float chi2UnbiasedVertex_[nMaxtracks_]
TH1F * n_dxyPhiMedianBiasTrend
TH1F * n_dxyPhiMeanBiasTrend
double chi2_[nMaxtracks_]
std::map< std::string, TH1 * > bookVertexHistograms(TFileDirectory dir)
int nhitsBPIX_[nMaxtracks_]
double IP3DsigFromMyVertex_[nMaxtracks_]