Secondary Vertex Analyzer to run on MiniAOD
Definition at line 16 of file MiniAODSVAnalyzer.cc.
Reimplemented from DQMEDAnalyzer.
Definition at line 99 of file MiniAODSVAnalyzer.cc.
References funct::abs(), ChiSquaredProbability(), reco::deltaR(), etaMax_, dqm::impl::MonitorElement::Fill(), reco::TemplatedSecondaryVertexTagInfo< IPTI, VTX >::flightDistance(), mps_fire::i, iEvent, metsig::jet, jetfilter_cfi::jetCollection, jetToken_, n_sv_, reco::TemplatedSecondaryVertexTagInfo< IPTI, VTX >::nVertices(), ptMin_, reco::TemplatedSecondaryVertexTagInfo< IPTI, VTX >::secondaryVertex(), Measurement1D::significance(), pfDeepBoostedJetPreprocessParams_cfi::sv, sv_chi2norm_, sv_chi2prob_, sv_d3d_, sv_d3dsig_, sv_deltaR_, sv_dxy_, sv_dxysig_, sv_energyratio_, sv_mass_, sv_ntracks_, sv_pt_, sv_ptrel_, svTagInfo_, and Measurement1D::value().
112 for (
unsigned int i = 0;
i < taginfo->
nVertices();
i++) {
MonitorElement * sv_mass_
MonitorElement * sv_dxysig_
MonitorElement * sv_chi2norm_
MonitorElement * sv_ptrel_
MonitorElement * sv_energyratio_
const edm::EDGetTokenT< std::vector< pat::Jet > > jetToken_
const std::string svTagInfo_
Abs< T >::type abs(const T &t)
float ChiSquaredProbability(double chiSquared, double nrDOF)
constexpr auto deltaR(const T1 &t1, const T2 &t2) -> decltype(t1.eta())
Measurement1D flightDistance(unsigned int index, int dim=0) const
MonitorElement * sv_deltaR_
MonitorElement * sv_chi2prob_
const VTX & secondaryVertex(unsigned int index) const
double significance() const
MonitorElement * sv_ntracks_
MonitorElement * sv_d3dsig_
unsigned int nVertices() const
Implements DQMEDAnalyzer.
Definition at line 56 of file MiniAODSVAnalyzer.cc.
References dqm::implementation::IBooker::book1D(), n_sv_, dqm::impl::MonitorElement::setAxisTitle(), dqm::implementation::NavigatorBase::setCurrentFolder(), sv_chi2norm_, sv_chi2prob_, sv_d3d_, sv_d3dsig_, sv_deltaR_, sv_dxy_, sv_dxysig_, sv_energyratio_, sv_mass_, sv_ntracks_, sv_pt_, and sv_ptrel_.
59 n_sv_ = ibook.
book1D(
"n_sv",
"number of SV in jet", 5, 0, 5);
65 sv_pt_ = ibook.
book1D(
"sv_pt",
"SV transverse momentum", 40, 0., 120.);
77 sv_ptrel_ = ibook.
book1D(
"sv_ptrel",
"SV jet transverse momentum ratio", 25, 0., 1.);
86 sv_dxy_ = ibook.
book1D(
"sv_dxy",
"2D flight distance", 40, 0., 8.);
89 sv_dxysig_ = ibook.
book1D(
"sv_dxysig",
"2D flight distance significance", 25, 0., 250.);
92 sv_d3d_ = ibook.
book1D(
"sv_d3d",
"3D flight distance", 40, 0., 8.);
95 sv_d3dsig_ = ibook.
book1D(
"sv_d3dsig",
"3D flight distance significance", 25, 0., 250.);
virtual void setCurrentFolder(std::string const &fullpath)
MonitorElement * sv_mass_
MonitorElement * sv_dxysig_
MonitorElement * sv_chi2norm_
MonitorElement * sv_ptrel_
MonitorElement * sv_energyratio_
MonitorElement * sv_deltaR_
MonitorElement * sv_chi2prob_
MonitorElement * book1D(TString const &name, TString const &title, int const nchX, double const lowX, double const highX, FUNC onbooking=NOOP())
MonitorElement * sv_ntracks_
MonitorElement * sv_d3dsig_
virtual void setAxisTitle(const std::string &title, int axis=1)
set x-, y- or z-axis title (axis=1, 2, 3 respectively)