#include <Alignment/GeneralPurposeVertexAnalyzer/plugins/GeneralPurposeVertexAnalyzer.cc>
Classes | |
struct | IPMonitoring |
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
Static Public Member Functions inherited from edm::one::EDAnalyzerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Private Types | |
using | VertexScore = edm::ValueMap< float > |
Private Member Functions | |
void | analyze (const edm::Event &, const edm::EventSetup &) override |
void | beginJob () override |
template<typename T , typename... Args> | |
T * | book (const Args &...args) const |
void | pvTracksPlots (const reco::Vertex &v) |
void | vertexPlots (const reco::Vertex &v, const reco::BeamSpot &beamSpot, int i) |
Private Attributes | |
const edm::InputTag | beamSpotInputTag_ |
const edm::EDGetTokenT< reco::BeamSpot > | beamspotToken_ |
TH1D * | bsBeamWidthX |
TH1D * | bsBeamWidthY |
TH1D * | bsDxdz |
TH1D * | bsDydz |
TH1D * | bsSigmaZ |
TH1D * | bsType |
TH1D * | bsX |
TH1D * | bsY |
TH1D * | bsZ |
TH1D * | chi2ndf |
TH1D * | chi2prob |
const edm::ParameterSet | conf_ |
TH1D * | dxy2 |
IPMonitoring | dxy_pt1 |
IPMonitoring | dxy_pt10 |
const int | dxyBin_ |
const double | dxyMax_ |
const double | dxyMin_ |
IPMonitoring | dz_pt1 |
IPMonitoring | dz_pt10 |
const int | dzBin_ |
const double | dzMax_ |
const double | dzMin_ |
bool | errorPrinted_ |
TH1D * | eta_pt1 |
TH1D * | eta_pt10 |
const int | etaBin2D_ |
const int | etaBin_ |
const double | etaMax_ |
const double | etaMin_ |
edm::Service< TFileService > | fs_ |
TH1D * | nans [2] |
TH1I * | nbgvtx |
TH1D * | nbtksinvtx [2] |
TH1I * | nbvtx |
const int | ndof_ |
TH1D * | ntracks |
TH1D * | ntracksVsZ [2] |
TH1D * | phi_pt1 |
TH1D * | phi_pt10 |
const int | phiBin2D_ |
const int | phiBin_ |
const double | phiMax_ |
const double | phiMin_ |
TH1D * | score [2] |
const edm::EDGetTokenT< VertexScore > | scoreToken_ |
TH1D * | sumpt |
const int | tkNoBin_ |
const double | tkNoMax_ |
const double | tkNoMin_ |
TH1D * | trksWeight [2] |
TH1D * | tt [2] |
TH1D * | type [2] |
const edm::InputTag | vertexInputTag_ |
const edm::EDGetTokenT< reco::VertexCollection > | vertexToken_ |
const double | vposx_ |
const double | vposy_ |
TH1D * | vtxchi2 [2] |
TH1D * | vtxndf [2] |
TH1D * | vtxprob [2] |
TH1D * | weight |
TH1D * | xDiff [2] |
TH1D * | xerr [2] |
TH2D * | xerrVsTrks [2] |
TH1D * | xrec [2] |
TH1D * | yDiff [2] |
TH1D * | yerr [2] |
TH2D * | yerrVsTrks [2] |
TH1D * | yrec [2] |
TH1D * | zerr [2] |
TH2D * | zerrVsTrks [2] |
TH1D * | zrec [2] |
Static Private Attributes | |
static constexpr int | cmToUm = 10000 |
Additional Inherited Members | |
Public Types inherited from edm::one::EDAnalyzerBase | |
typedef EDAnalyzerBase | ModuleType |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
template<BranchType B = InEvent> | |
EDConsumerBaseAdaptor< B > | consumes (edm::InputTag tag) noexcept |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | consumes (TypeToGet const &id, edm::InputTag const &tag) |
ConsumesCollector | consumesCollector () |
Use a ConsumesCollector to gather consumes information from helper functions. More... | |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes () |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
template<Transition Tr = Transition::Event> | |
constexpr auto | esConsumes () |
template<Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag tag) |
template<Transition Tr = Transition::Event> | |
ESGetTokenGeneric | esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey) |
Used with EventSetupRecord::doGet. More... | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
void | resetItemsToGetFrom (BranchType iType) |
Description: monitor vertex properties for alignment purposes, largely copied from DQMOffline/RecoB/plugins/PrimaryVertexMonitor.cc
Definition at line 55 of file GeneralPurposeVertexAnalyzer.cc.
|
private |
Definition at line 90 of file GeneralPurposeVertexAnalyzer.cc.
|
explicit |
Definition at line 257 of file GeneralPurposeVertexAnalyzer.cc.
References TFileService::kSharedResource.
|
overridedefault |
|
overrideprivatevirtual |
Implements edm::one::EDAnalyzerBase.
Definition at line 315 of file GeneralPurposeVertexAnalyzer.cc.
References pwdgSkimBPark_cfi::beamSpot, beamSpotInputTag_, beamspotToken_, bsBeamWidthX, bsBeamWidthY, bsDxdz, bsDydz, bsSigmaZ, bsType, bsX, bsY, bsZ, cmToUm, errorPrinted_, mps_fire::i, iEvent, nbgvtx, nbvtx, ndof_, convertSQLiteXML::ok, pvTracksPlots(), score, scoreToken_, mathSSE::sqrt(), findQualityFiles::v, vertexInputTag_, vertexPlots(), vertexToken_, and btvMC_cff::vx.
|
overrideprivatevirtual |
Reimplemented from edm::one::EDAnalyzerBase.
Definition at line 551 of file GeneralPurposeVertexAnalyzer.cc.
References GeneralPurposeVertexAnalyzer::IPMonitoring::bookIPMonitor(), bsBeamWidthX, bsBeamWidthY, bsDxdz, bsDydz, bsSigmaZ, bsType, bsX, bsY, bsZ, chi2ndf, chi2prob, conf_, dxy2, dxy_pt1, dxy_pt10, dxyBin_, dxyMax_, dxyMin_, dz_pt1, dz_pt10, eta_pt1, eta_pt10, etaBin_, etaMax_, etaMin_, fs_, mps_fire::i, nans, nbgvtx, nbtksinvtx, nbvtx, ntracks, ntracksVsZ, phi_pt1, phi_pt10, phiBin_, phiMax_, phiMin_, GeneralPurposeVertexAnalyzer::IPMonitoring::pTcut_, score, AlCaHLTBitMon_QueryRunRegistry::string, sumpt, tkNoBin_, tkNoMax_, tkNoMin_, trksWeight, GeneralPurposeVertexAnalyzer::IPMonitoring::varname_, vposx_, vposy_, vtxchi2, vtxndf, vtxprob, xDiff, xerr, xerrVsTrks, xrec, yDiff, yerr, yerrVsTrks, yrec, zerr, zerrVsTrks, and zrec.
|
private |
Definition at line 545 of file GeneralPurposeVertexAnalyzer.cc.
References writedatasetfile::args, fs_, TFileService::make(), and submitPVValidationJobs::t.
|
static |
Definition at line 680 of file GeneralPurposeVertexAnalyzer.cc.
References edm::ConfigurationDescriptions::addWithDefaultLabel(), submitPVResolutionJobs::desc, ProducerED_cfi::InputTag, and M_PI.
|
private |
Definition at line 393 of file GeneralPurposeVertexAnalyzer.cc.
References chi2ndf, chi2prob, cmToUm, dxy2, dxy_pt1, dxy_pt10, dz_pt1, dz_pt10, PVValHelper::eta, eta_pt1, eta_pt10, f, reco::TrackBase::highPurity, GeneralPurposeVertexAnalyzer::IPMonitoring::IP_, GeneralPurposeVertexAnalyzer::IPMonitoring::IPErr_, GeneralPurposeVertexAnalyzer::IPMonitoring::IPErrVsEta_, GeneralPurposeVertexAnalyzer::IPMonitoring::IPErrVsEtaVsPhi_, GeneralPurposeVertexAnalyzer::IPMonitoring::IPErrVsPhi_, GeneralPurposeVertexAnalyzer::IPMonitoring::IPVsEta_, GeneralPurposeVertexAnalyzer::IPMonitoring::IPVsEtaVsPhi_, GeneralPurposeVertexAnalyzer::IPMonitoring::IPVsPhi_, ntracks, phi, phi_pt1, phi_pt10, DiDispStaMuonMonitor_cfi::pt, HLT_2024v14_cff::pt2, sumpt, submitPVValidationJobs::t, findQualityFiles::v, and w().
Referenced by analyze().
|
private |
Definition at line 488 of file GeneralPurposeVertexAnalyzer.cc.
References pwdgSkimBPark_cfi::beamSpot, ChiSquaredProbability(), cmToUm, HcalObjRepresent::Fill(), mps_fire::i, edm::isNotFinite(), dqmiolumiharvest::j, dqmdumpme::k, nans, nbtksinvtx, ntracksVsZ, submitPVValidationJobs::t, trksWeight, findQualityFiles::v, vtxchi2, vtxndf, vtxprob, xDiff, xerr, xerrVsTrks, xrec, yDiff, yerr, yerrVsTrks, yrec, zerr, zerrVsTrks, and zrec.
Referenced by analyze().
|
private |
Definition at line 88 of file GeneralPurposeVertexAnalyzer.cc.
Referenced by analyze().
|
private |
Definition at line 92 of file GeneralPurposeVertexAnalyzer.cc.
Referenced by analyze().
|
private |
Definition at line 129 of file GeneralPurposeVertexAnalyzer.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 129 of file GeneralPurposeVertexAnalyzer.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 129 of file GeneralPurposeVertexAnalyzer.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 129 of file GeneralPurposeVertexAnalyzer.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 129 of file GeneralPurposeVertexAnalyzer.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 129 of file GeneralPurposeVertexAnalyzer.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 129 of file GeneralPurposeVertexAnalyzer.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 129 of file GeneralPurposeVertexAnalyzer.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 129 of file GeneralPurposeVertexAnalyzer.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 131 of file GeneralPurposeVertexAnalyzer.cc.
Referenced by beginJob(), and pvTracksPlots().
|
private |
Definition at line 131 of file GeneralPurposeVertexAnalyzer.cc.
Referenced by beginJob(), and pvTracksPlots().
|
staticprivate |
Definition at line 94 of file GeneralPurposeVertexAnalyzer.cc.
Referenced by analyze(), pvTracksPlots(), and vertexPlots().
|
private |
Definition at line 84 of file GeneralPurposeVertexAnalyzer.cc.
Referenced by beginJob().
|
private |
Definition at line 132 of file GeneralPurposeVertexAnalyzer.cc.
Referenced by beginJob(), and pvTracksPlots().
|
private |
Definition at line 137 of file GeneralPurposeVertexAnalyzer.cc.
Referenced by beginJob(), and pvTracksPlots().
|
private |
Definition at line 138 of file GeneralPurposeVertexAnalyzer.cc.
Referenced by beginJob(), and pvTracksPlots().
|
private |
Definition at line 102 of file GeneralPurposeVertexAnalyzer.cc.
Referenced by beginJob().
|
private |
Definition at line 104 of file GeneralPurposeVertexAnalyzer.cc.
Referenced by beginJob().
|
private |
Definition at line 103 of file GeneralPurposeVertexAnalyzer.cc.
Referenced by beginJob().
|
private |
Definition at line 140 of file GeneralPurposeVertexAnalyzer.cc.
Referenced by beginJob(), and pvTracksPlots().
|
private |
Definition at line 141 of file GeneralPurposeVertexAnalyzer.cc.
Referenced by beginJob(), and pvTracksPlots().
|
private |
Definition at line 106 of file GeneralPurposeVertexAnalyzer.cc.
|
private |
Definition at line 108 of file GeneralPurposeVertexAnalyzer.cc.
|
private |
Definition at line 107 of file GeneralPurposeVertexAnalyzer.cc.
|
private |
Definition at line 86 of file GeneralPurposeVertexAnalyzer.cc.
Referenced by analyze().
|
private |
Definition at line 133 of file GeneralPurposeVertexAnalyzer.cc.
Referenced by beginJob(), and pvTracksPlots().
|
private |
Definition at line 134 of file GeneralPurposeVertexAnalyzer.cc.
Referenced by beginJob(), and pvTracksPlots().
|
private |
Definition at line 116 of file GeneralPurposeVertexAnalyzer.cc.
|
private |
Definition at line 115 of file GeneralPurposeVertexAnalyzer.cc.
Referenced by beginJob().
|
private |
Definition at line 118 of file GeneralPurposeVertexAnalyzer.cc.
Referenced by beginJob().
|
private |
Definition at line 117 of file GeneralPurposeVertexAnalyzer.cc.
Referenced by beginJob().
|
private |
Definition at line 71 of file GeneralPurposeVertexAnalyzer.cc.
Referenced by beginJob(), and book().
|
private |
Definition at line 127 of file GeneralPurposeVertexAnalyzer.cc.
Referenced by beginJob(), and vertexPlots().
|
private |
Definition at line 121 of file GeneralPurposeVertexAnalyzer.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 122 of file GeneralPurposeVertexAnalyzer.cc.
Referenced by beginJob(), and vertexPlots().
|
private |
Definition at line 121 of file GeneralPurposeVertexAnalyzer.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 85 of file GeneralPurposeVertexAnalyzer.cc.
Referenced by analyze().
|
private |
Definition at line 131 of file GeneralPurposeVertexAnalyzer.cc.
Referenced by beginJob(), and pvTracksPlots().
|
private |
Definition at line 126 of file GeneralPurposeVertexAnalyzer.cc.
Referenced by beginJob(), and vertexPlots().
|
private |
Definition at line 133 of file GeneralPurposeVertexAnalyzer.cc.
Referenced by beginJob(), and pvTracksPlots().
|
private |
Definition at line 134 of file GeneralPurposeVertexAnalyzer.cc.
Referenced by beginJob(), and pvTracksPlots().
|
private |
Definition at line 111 of file GeneralPurposeVertexAnalyzer.cc.
|
private |
Definition at line 110 of file GeneralPurposeVertexAnalyzer.cc.
Referenced by beginJob().
|
private |
Definition at line 113 of file GeneralPurposeVertexAnalyzer.cc.
Referenced by beginJob().
|
private |
Definition at line 112 of file GeneralPurposeVertexAnalyzer.cc.
Referenced by beginJob().
|
private |
Definition at line 122 of file GeneralPurposeVertexAnalyzer.cc.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 91 of file GeneralPurposeVertexAnalyzer.cc.
Referenced by analyze().
|
private |
Definition at line 131 of file GeneralPurposeVertexAnalyzer.cc.
Referenced by ZMuMuRochCorAnalyzer.DiMuon::__str__(), beginJob(), and pvTracksPlots().
|
private |
Definition at line 98 of file GeneralPurposeVertexAnalyzer.cc.
Referenced by beginJob().
|
private |
Definition at line 100 of file GeneralPurposeVertexAnalyzer.cc.
Referenced by beginJob().
|
private |
Definition at line 99 of file GeneralPurposeVertexAnalyzer.cc.
Referenced by beginJob().
|
private |
Definition at line 122 of file GeneralPurposeVertexAnalyzer.cc.
Referenced by beginJob(), and vertexPlots().
|
private |
Definition at line 123 of file GeneralPurposeVertexAnalyzer.cc.
|
private |
Definition at line 128 of file GeneralPurposeVertexAnalyzer.cc.
Referenced by core.autovars.NTupleVariable::makeBranch(), DQM.DQMReader::read_objects(), and core.AutoHandle.AutoHandle::ReallyLoad().
|
private |
Definition at line 88 of file GeneralPurposeVertexAnalyzer.cc.
Referenced by analyze().
|
private |
Definition at line 89 of file GeneralPurposeVertexAnalyzer.cc.
Referenced by analyze().
|
private |
Definition at line 96 of file GeneralPurposeVertexAnalyzer.cc.
Referenced by beginJob().
|
private |
Definition at line 97 of file GeneralPurposeVertexAnalyzer.cc.
Referenced by beginJob().
|
private |
Definition at line 127 of file GeneralPurposeVertexAnalyzer.cc.
Referenced by beginJob(), and vertexPlots().
|
private |
Definition at line 127 of file GeneralPurposeVertexAnalyzer.cc.
Referenced by beginJob(), and vertexPlots().
|
private |
Definition at line 127 of file GeneralPurposeVertexAnalyzer.cc.
Referenced by beginJob(), and vertexPlots().
|
private |
Definition at line 131 of file GeneralPurposeVertexAnalyzer.cc.
Referenced by dirstructure.Directory::calcStats(), dirstructure.Directory::get_fail_rate(), dirstructure.Directory::get_null_rate(), dirstructure.Directory::get_skiped_rate(), dirstructure.Directory::get_success_rate(), and dirstructure.Directory::print_report().
|
private |
Definition at line 124 of file GeneralPurposeVertexAnalyzer.cc.
Referenced by beginJob(), and vertexPlots().
|
private |
Definition at line 124 of file GeneralPurposeVertexAnalyzer.cc.
Referenced by python.rootplot.utilities.Hist::__init_TGraph(), python.rootplot.utilities.Hist::av_xerr(), beginJob(), python.rootplot.utilities.Hist::delete_bin(), python.rootplot.root2matplotlib.Hist::errorbar(), python.rootplot.root2matplotlib.Hist::errorbarh(), python.rootplot.utilities.Hist::TGraph(), and vertexPlots().
|
private |
Definition at line 125 of file GeneralPurposeVertexAnalyzer.cc.
Referenced by beginJob(), and vertexPlots().
|
private |
Definition at line 124 of file GeneralPurposeVertexAnalyzer.cc.
Referenced by beginJob(), and vertexPlots().
|
private |
Definition at line 124 of file GeneralPurposeVertexAnalyzer.cc.
Referenced by beginJob(), and vertexPlots().
|
private |
Definition at line 124 of file GeneralPurposeVertexAnalyzer.cc.
Referenced by python.rootplot.utilities.Hist::__init_TGraph(), python.rootplot.utilities.Hist::av_yerr(), beginJob(), python.rootplot.utilities.Hist::delete_bin(), python.rootplot.root2matplotlib.Hist::errorbar(), python.rootplot.root2matplotlib.Hist::errorbarh(), python.rootplot.utilities.Hist::min(), python.rootplot.utilities.Hist::scale(), python.rootplot.utilities.Hist::TGraph(), python.rootplot.utilities.Hist::TH1F(), and vertexPlots().
|
private |
Definition at line 125 of file GeneralPurposeVertexAnalyzer.cc.
Referenced by beginJob(), and vertexPlots().
|
private |
Definition at line 124 of file GeneralPurposeVertexAnalyzer.cc.
Referenced by beginJob(), and vertexPlots().
|
private |
Definition at line 124 of file GeneralPurposeVertexAnalyzer.cc.
Referenced by beginJob(), and vertexPlots().
|
private |
Definition at line 125 of file GeneralPurposeVertexAnalyzer.cc.
Referenced by beginJob(), and vertexPlots().
|
private |
Definition at line 124 of file GeneralPurposeVertexAnalyzer.cc.
Referenced by beginJob(), and vertexPlots().