Classes | |
struct | recoPrimaryVertex |
struct | simPrimaryVertex |
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
Static Public Member Functions inherited from DQMEDAnalyzer | |
static void | globalEndJob (DQMEDAnalyzerGlobalCache const *) |
static void | globalEndLuminosityBlockProduce (edm::LuminosityBlock &lumi, edm::EventSetup const &setup, LuminosityBlockContext const *context) |
static void | globalEndRunProduce (edm::Run &run, edm::EventSetup const &setup, RunContext const *context) |
static std::unique_ptr < DQMEDAnalyzerGlobalCache > | initializeGlobalCache (edm::ParameterSet const &) |
Private Types | |
typedef math::XYZTLorentzVector | LorentzVector |
Private Member Functions | |
const edm::Ref< std::vector < TrackingParticle > > * | getMatchedTP (const reco::TrackBaseRef &, const TrackingVertexRef &) |
std::vector < Primary4DVertexValidation::recoPrimaryVertex > | getRecoPVs (const edm::Handle< edm::View< reco::Vertex >> &) |
std::vector < Primary4DVertexValidation::simPrimaryVertex > | getSimPVs (const edm::Handle< TrackingVertexCollection > &) |
void | matchReco2Sim (std::vector< recoPrimaryVertex > &, std::vector< simPrimaryVertex > &, const edm::ValueMap< float > &, const edm::ValueMap< float > &, const edm::Handle< reco::BeamSpot > &) |
bool | matchRecoTrack2SimSignal (const reco::TrackBaseRef &) |
const bool | mvaRecSel (const reco::TrackBase &, const reco::Vertex &, const double &, const double &) |
const bool | mvaTPSel (const TrackingParticle &) |
bool | select (const reco::Vertex &, int level=0) |
double | timeFromTrueMass (double, double, double, double) |
Static Private Attributes | |
static constexpr double | c_ = 2.99792458e1 |
static constexpr double | deltaZcut_ = 0.1 |
static constexpr double | etacutGEN_ = 4. |
static constexpr double | etacutREC_ = 3. |
static constexpr double | maxRank_ = 8. |
static constexpr double | maxTry_ = 10. |
static constexpr double | mvaH_ = 0.8 |
static constexpr double | mvaL_ = 0.5 |
static constexpr unsigned int | NOT_MATCHED = 66666 |
static constexpr double | pTcut_ = 0.7 |
static constexpr double | selNdof_ = 4. |
static constexpr double | simUnit_ = 1e9 |
static constexpr double | zWosMatchMax_ = 1. |
Definition at line 52 of file Primary4DVertexValidation.cc.
|
private |
Definition at line 53 of file Primary4DVertexValidation.cc.
|
explicit |
Definition at line 315 of file Primary4DVertexValidation.cc.
References edm::ParameterSet::getParameter(), HLT_FULL_cff::InputTag, momentumToken_, pathLengthToken_, Rec4DVerToken_, RecBeamSpotToken_, recoToSimAssociationToken_, RecTrackToken_, sigmat0SafePidToken_, simToRecoAssociationToken_, AlCaHLTBitMon_QueryRunRegistry::string, t0SafePidToken_, timeToken_, trackAssocToken_, trackingParticleCollectionToken_, trackingVertexCollectionToken_, trackMVAQualToken_, and vecPileupSummaryInfoToken_.
|
override |
Definition at line 343 of file Primary4DVertexValidation.cc.
|
overridevirtual |
Reimplemented from DQMEDAnalyzer.
Definition at line 1042 of file Primary4DVertexValidation.cc.
References funct::abs(), gather_cfg::cout, PVValHelper::d3D, debug_, deltaZcut_, dt, PVValHelper::dz, funct::exp(), dqm::impl::MonitorElement::Fill(), edm::Event::get(), edm::Event::getByToken(), getMatchedTP(), getRecoPVs(), getSimPVs(), iev, gpuVertexFinder::iv, lineDensityPar_, LogTrace, ResonanceBuilder::mass, matchReco2Sim(), meDeltaTfakefake_, meDeltaTfakereal_, meDeltaTrealreal_, meDeltaZfakefake_, meDeltaZfakereal_, meDeltaZrealreal_, meMatchQual_, meMVATrackEffEtaTot_, meMVATrackEffPtTot_, meMVATrackMatchedEffEtaMtd_, meMVATrackMatchedEffEtaTot_, meMVATrackMatchedEffPtMtd_, meMVATrackMatchedEffPtTot_, meMVATrackPullTot_, meMVATrackResTot_, meMVATrackZposResTot_, mePUvsOtherFakeV_, mePUvsRealV_, mePUvsSplitV_, meRecoPosInRecoOrigCollection_, meRecoPosInSimCollection_, meRecoPVPosSignal_, meRecoPVPosSignalNotHighestPt_, meRecoVtxVsLineDensity_, meRecPVT_, meRecPVZ_, meRecVerNumber_, meSimPosInSimOrigCollection_, meSimPVZ_, meTimePull_, meTimeRes_, meTimeSignalPull_, meTimeSignalRes_, meTrack3DposRes_, meTrackPull_, meTrackPullHighP_, meTrackPullHighPTot_, meTrackPullLowP_, meTrackPullLowPTot_, meTrackPullTot_, meTrackRes_, meTrackResHighP_, meTrackResHighPTot_, meTrackResLowP_, meTrackResLowPTot_, meTrackResMass_, meTrackResMassPions_, meTrackResMassProtons_, meTrackResMassTrue_, meTrackResMassTruePions_, meTrackResMassTrueProtons_, meTrackResTot_, meTrackZposRes_, meTrackZposResTot_, momentumToken_, mvaH_, mvaL_, mvaRecSel(), mvaTPSel(), NOT_MATCHED, optionalPlots_, pathLengthToken_, r2s_, Rec4DVerToken_, RecBeamSpotToken_, dt_dqm_sourceclient_common_cff::reco, recoToSimAssociationToken_, s2r_, select(), selNdof_, sigmat0SafePidToken_, simToRecoAssociationToken_, simUnit_, submitPVValidationJobs::split(), mathSSE::sqrt(), t0SafePidToken_, timeFromTrueMass(), timeToken_, trackAssocToken_, trackingParticleCollectionToken_, trackingVertexCollectionToken_, trackMVAQualToken_, reco::Vertex::tracks_begin(), reco::Vertex::tracks_end(), reco::Vertex::trackWeight(), trackweightTh_, vecPileupSummaryInfoToken_, trackerHitRTTI::vector, and z.
|
overridevirtual |
Implements DQMEDAnalyzer.
Definition at line 348 of file Primary4DVertexValidation.cc.
References dqm::implementation::IBooker::book1D(), dqm::implementation::IBooker::bookProfile(), folder_, meDeltaTfakefake_, meDeltaTfakereal_, meDeltaTrealreal_, meDeltaZfakefake_, meDeltaZfakereal_, meDeltaZrealreal_, meMatchQual_, meMVATrackEffEtaTot_, meMVATrackEffPtTot_, meMVATrackMatchedEffEtaMtd_, meMVATrackMatchedEffEtaTot_, meMVATrackMatchedEffPtMtd_, meMVATrackMatchedEffPtTot_, meMVATrackPullTot_, meMVATrackResTot_, meMVATrackZposResTot_, mePUvsOtherFakeV_, mePUvsRealV_, mePUvsSplitV_, meRecoPosInRecoOrigCollection_, meRecoPosInSimCollection_, meRecoPVPosSignal_, meRecoPVPosSignalNotHighestPt_, meRecoVtxVsLineDensity_, meRecPVT_, meRecPVZ_, meRecVerNumber_, meSimPosInSimOrigCollection_, meSimPVZ_, meTimePull_, meTimeRes_, meTimeSignalPull_, meTimeSignalRes_, meTrack3DposRes_, meTrackPull_, meTrackPullHighP_, meTrackPullHighPTot_, meTrackPullLowP_, meTrackPullLowPTot_, meTrackPullTot_, meTrackRes_, meTrackResHighP_, meTrackResHighPTot_, meTrackResLowP_, meTrackResLowPTot_, meTrackResMass_, meTrackResMassPions_, meTrackResMassProtons_, meTrackResMassTrue_, meTrackResMassTruePions_, meTrackResMassTrueProtons_, meTrackResTot_, meTrackZposRes_, meTrackZposResTot_, optionalPlots_, and dqm::implementation::NavigatorBase::setCurrentFolder().
|
static |
Definition at line 1449 of file Primary4DVertexValidation.cc.
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::add(), edm::ParameterSetDescription::addUntracked(), submitPVResolutionJobs::desc, HLT_FULL_cff::InputTag, and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 645 of file Primary4DVertexValidation.cc.
References edm::AssociationMap< Tag >::end(), edm::AssociationMap< Tag >::find(), newFWLiteAna::found, r2s_, and cmsswSequenceInfo::tp.
Referenced by analyze(), and matchReco2Sim().
|
private |
Definition at line 800 of file Primary4DVertexValidation.cc.
References funct::abs(), HLT_FULL_cff::distance, edm::AssociationMap< Tag >::end(), edm::AssociationMap< Tag >::find(), SiStripPI::min, Primary4DVertexValidation::recoPrimaryVertex::nRecoTrk, Primary4DVertexValidation::recoPrimaryVertex::num_matched_sim_tracks, Primary4DVertexValidation::recoPrimaryVertex::pt, Primary4DVertexValidation::recoPrimaryVertex::ptsq, alignCSCRings::r, r2s_, Primary4DVertexValidation::recoPrimaryVertex::recVtx, mathSSE::sqrt(), and findQualityFiles::v.
Referenced by analyze().
|
private |
Definition at line 699 of file Primary4DVertexValidation.cc.
References funct::abs(), cms::cuda::assert(), Primary4DVertexValidation::simPrimaryVertex::average_match_quality, debug_, HLT_FULL_cff::distance, alignCSCRings::e, edm::AssociationMap< Tag >::end(), Primary4DVertexValidation::simPrimaryVertex::eventId, edm::AssociationMap< Tag >::find(), SiStripPI::min, Primary4DVertexValidation::simPrimaryVertex::nGenTrk, Primary4DVertexValidation::simPrimaryVertex::num_matched_reco_tracks, Primary4DVertexValidation::simPrimaryVertex::ptot, Primary4DVertexValidation::simPrimaryVertex::ptsq, alignCSCRings::s, s2r_, use_only_charged_tracks_, and findQualityFiles::v.
Referenced by analyze().
|
private |
Definition at line 863 of file Primary4DVertexValidation.cc.
References funct::abs(), c_, funct::cos(), debug_, getMatchedTP(), mps_fire::i, iev, gpuVertexFinder::iv, isotrackApplyRegressor::k, maxRank_, maxTry_, SiStripPI::min, mvaTh_, NOT_MATCHED, funct::pow(), DiDispStaMuonMonitor_cfi::pt, BeamSpotPI::sigmaZ, funct::sin(), funct::tan(), reco::Vertex::tracks_begin(), reco::Vertex::tracks_end(), reco::Vertex::trackWeight(), trackweightTh_, and zWosMatchMax_.
Referenced by analyze().
|
private |
Definition at line 628 of file Primary4DVertexValidation.cc.
References edm::AssociationMap< Tag >::end(), edm::AssociationMap< Tag >::find(), newFWLiteAna::found, r2s_, and cmsswSequenceInfo::tp.
|
private |
Definition at line 1492 of file Primary4DVertexValidation.cc.
References funct::abs(), deltaZcut_, reco::TrackBase::eta(), etacutREC_, match(), reco::TrackBase::pt(), pTcut_, reco::Vertex::t(), reco::TrackBase::vz(), and reco::Vertex::z().
Referenced by analyze().
|
private |
Definition at line 1483 of file Primary4DVertexValidation.cc.
References funct::abs(), TrackingParticle::charge(), TrackingParticle::eta(), etacutGEN_, match(), TrackingParticle::pt(), pTcut_, and TrackingParticle::status().
Referenced by analyze().
|
private |
Definition at line 677 of file Primary4DVertexValidation.cc.
References reco::Vertex::isFake(), reco::Vertex::ndof(), and selNdof_.
Referenced by analyze().
|
private |
Definition at line 665 of file Primary4DVertexValidation.cc.
References c_, ResonanceBuilder::mass, mathSSE::sqrt(), and findQualityFiles::v.
Referenced by analyze().
|
staticprivate |
Definition at line 211 of file Primary4DVertexValidation.cc.
Referenced by matchReco2Sim(), and timeFromTrueMass().
|
private |
Definition at line 250 of file Primary4DVertexValidation.cc.
Referenced by analyze(), getSimPVs(), and matchReco2Sim().
|
staticprivate |
Definition at line 221 of file Primary4DVertexValidation.cc.
Referenced by analyze(), and mvaRecSel().
|
staticprivate |
Definition at line 218 of file Primary4DVertexValidation.cc.
Referenced by mvaTPSel().
|
staticprivate |
Definition at line 219 of file Primary4DVertexValidation.cc.
Referenced by mvaRecSel().
|
private |
Definition at line 208 of file Primary4DVertexValidation.cc.
Referenced by bookHistograms().
|
private |
Definition at line 225 of file Primary4DVertexValidation.cc.
Referenced by analyze().
|
staticprivate |
Definition at line 215 of file Primary4DVertexValidation.cc.
Referenced by matchReco2Sim().
|
staticprivate |
Definition at line 216 of file Primary4DVertexValidation.cc.
Referenced by matchReco2Sim().
|
private |
Definition at line 284 of file Primary4DVertexValidation.cc.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 285 of file Primary4DVertexValidation.cc.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 283 of file Primary4DVertexValidation.cc.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 281 of file Primary4DVertexValidation.cc.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 282 of file Primary4DVertexValidation.cc.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 280 of file Primary4DVertexValidation.cc.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 279 of file Primary4DVertexValidation.cc.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 257 of file Primary4DVertexValidation.cc.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 254 of file Primary4DVertexValidation.cc.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 259 of file Primary4DVertexValidation.cc.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 258 of file Primary4DVertexValidation.cc.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 256 of file Primary4DVertexValidation.cc.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 255 of file Primary4DVertexValidation.cc.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 261 of file Primary4DVertexValidation.cc.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 260 of file Primary4DVertexValidation.cc.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 268 of file Primary4DVertexValidation.cc.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 277 of file Primary4DVertexValidation.cc.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 276 of file Primary4DVertexValidation.cc.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 278 of file Primary4DVertexValidation.cc.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 287 of file Primary4DVertexValidation.cc.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 286 of file Primary4DVertexValidation.cc.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 289 of file Primary4DVertexValidation.cc.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 290 of file Primary4DVertexValidation.cc.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 291 of file Primary4DVertexValidation.cc.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 294 of file Primary4DVertexValidation.cc.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 293 of file Primary4DVertexValidation.cc.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 292 of file Primary4DVertexValidation.cc.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 288 of file Primary4DVertexValidation.cc.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 295 of file Primary4DVertexValidation.cc.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 273 of file Primary4DVertexValidation.cc.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 272 of file Primary4DVertexValidation.cc.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 275 of file Primary4DVertexValidation.cc.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 274 of file Primary4DVertexValidation.cc.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 271 of file Primary4DVertexValidation.cc.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 265 of file Primary4DVertexValidation.cc.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 306 of file Primary4DVertexValidation.cc.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 301 of file Primary4DVertexValidation.cc.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 305 of file Primary4DVertexValidation.cc.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 300 of file Primary4DVertexValidation.cc.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 263 of file Primary4DVertexValidation.cc.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 264 of file Primary4DVertexValidation.cc.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 304 of file Primary4DVertexValidation.cc.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 299 of file Primary4DVertexValidation.cc.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 303 of file Primary4DVertexValidation.cc.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 298 of file Primary4DVertexValidation.cc.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 266 of file Primary4DVertexValidation.cc.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 310 of file Primary4DVertexValidation.cc.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 308 of file Primary4DVertexValidation.cc.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 267 of file Primary4DVertexValidation.cc.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 311 of file Primary4DVertexValidation.cc.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 309 of file Primary4DVertexValidation.cc.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 262 of file Primary4DVertexValidation.cc.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 270 of file Primary4DVertexValidation.cc.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 269 of file Primary4DVertexValidation.cc.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 242 of file Primary4DVertexValidation.cc.
Referenced by analyze(), and Primary4DVertexValidation().
|
staticprivate |
Definition at line 213 of file Primary4DVertexValidation.cc.
Referenced by analyze().
|
staticprivate |
Definition at line 212 of file Primary4DVertexValidation.cc.
Referenced by analyze().
|
private |
Definition at line 224 of file Primary4DVertexValidation.cc.
Referenced by matchReco2Sim().
|
staticprivate |
Definition at line 209 of file Primary4DVertexValidation.cc.
Referenced by analyze(), and matchReco2Sim().
|
private |
Definition at line 251 of file Primary4DVertexValidation.cc.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 241 of file Primary4DVertexValidation.cc.
Referenced by analyze(), and Primary4DVertexValidation().
|
staticprivate |
Definition at line 220 of file Primary4DVertexValidation.cc.
Referenced by mvaRecSel(), and mvaTPSel().
|
private |
Definition at line 226 of file Primary4DVertexValidation.cc.
Referenced by analyze(), getMatchedTP(), getRecoPVs(), and matchRecoTrack2SimSignal().
|
private |
Definition at line 238 of file Primary4DVertexValidation.cc.
Referenced by analyze(), and Primary4DVertexValidation().
|
private |
Definition at line 237 of file Primary4DVertexValidation.cc.
Referenced by analyze(), and Primary4DVertexValidation().
|
private |
Definition at line 236 of file Primary4DVertexValidation.cc.
Referenced by analyze(), and Primary4DVertexValidation().
|
private |
Definition at line 229 of file Primary4DVertexValidation.cc.
Referenced by Primary4DVertexValidation().
|
private |
Definition at line 227 of file Primary4DVertexValidation.cc.
Referenced by analyze(), and getSimPVs().
|
staticprivate |
Definition at line 214 of file Primary4DVertexValidation.cc.
|
private |
Definition at line 246 of file Primary4DVertexValidation.cc.
Referenced by analyze(), and Primary4DVertexValidation().
|
private |
Definition at line 235 of file Primary4DVertexValidation.cc.
Referenced by analyze(), and Primary4DVertexValidation().
|
staticprivate |
Definition at line 210 of file Primary4DVertexValidation.cc.
Referenced by analyze().
|
private |
Definition at line 245 of file Primary4DVertexValidation.cc.
Referenced by analyze(), and Primary4DVertexValidation().
|
private |
Definition at line 243 of file Primary4DVertexValidation.cc.
Referenced by analyze(), and Primary4DVertexValidation().
|
private |
Definition at line 240 of file Primary4DVertexValidation.cc.
Referenced by analyze(), and Primary4DVertexValidation().
|
private |
Definition at line 233 of file Primary4DVertexValidation.cc.
Referenced by analyze(), and Primary4DVertexValidation().
|
private |
Definition at line 234 of file Primary4DVertexValidation.cc.
Referenced by analyze(), and Primary4DVertexValidation().
|
private |
Definition at line 247 of file Primary4DVertexValidation.cc.
Referenced by analyze(), and Primary4DVertexValidation().
|
private |
Definition at line 223 of file Primary4DVertexValidation.cc.
Referenced by analyze(), and matchReco2Sim().
|
private |
Definition at line 249 of file Primary4DVertexValidation.cc.
Referenced by getSimPVs().
|
private |
Definition at line 231 of file Primary4DVertexValidation.cc.
Referenced by analyze(), and Primary4DVertexValidation().
|
staticprivate |
Definition at line 217 of file Primary4DVertexValidation.cc.
Referenced by matchReco2Sim().