17 setRange(0.0, 10e10, -10.0, 10.0, -3.14, 3.14);
78 if (
dR.getParameter<
bool>(
"switchOn")) {
82 dR.getParameter<int32_t>(
"nBin"),
83 dR.getParameter<
double>(
"xMin"),
84 dR.getParameter<
double>(
"xMax"));
88 book2D(
b,
"delta_frac_VS_frac_muon_",
"#DeltaFraction_Vs_Fraction(muon)", 100, 0.0, 1.0, 100, -1.0, 1.0);
90 book2D(
b,
"delta_frac_VS_frac_photon_",
"#DeltaFraction_Vs_Fraction(photon)", 100, 0.0, 1.0, 100, -1.0, 1.0);
92 b,
"delta_frac_VS_frac_electron_",
"#DeltaFraction_Vs_Fraction(electron)", 100, 0.0, 1.0, 100, -1.0, 1.0);
94 "delta_frac_VS_frac_charged_hadron_",
95 "#DeltaFraction_Vs_Fraction(charged hadron)",
103 "delta_frac_VS_frac_neutral_hadron_",
104 "#DeltaFraction_Vs_Fraction(neutral hadron)",
125 book2D(
b,
"delta_frac_VS_frac_muon_",
"#DeltaFraction_Vs_Fraction(muon)", 100, 0.0, 1.0, 100, -1.0, 1.0);
127 book2D(
b,
"delta_frac_VS_frac_photon_",
"#DeltaFraction_Vs_Fraction(photon)", 100, 0.0, 1.0, 100, -1.0, 1.0);
129 b,
"delta_frac_VS_frac_electron_",
"#DeltaFraction_Vs_Fraction(electron)", 100, 0.0, 1.0, 100, -1.0, 1.0);
131 "delta_frac_VS_frac_charged_hadron_",
132 "#DeltaFraction_Vs_Fraction(charged hadron)",
140 "delta_frac_VS_frac_neutral_hadron_",
141 "#DeltaFraction_Vs_Fraction(neutral hadron)",
171 float del_frac_muon = -99.9;
172 float del_frac_elec = -99.9;
173 float del_frac_phot = -99.9;
174 float del_frac_ch_had = -99.9;
175 float del_frac_neu_had = -99.9;
191 if (mult_neu_had > 0)
void setDirectory(TDirectory *dir) override
set directory (to use in ROOT)
TH1F * book1D(DQMStore::IBooker &b, const char *histname, const char *title, int nbins, float xmin, float xmax)
book a 1D histogram, either with DQM or plain root depending if DQM_ has been initialized in a child ...
T getParameter(std::string const &) const
CandidateBenchmark candBench_
int chargedHadronMultiplicity() const
chargedHadronMultiplicity
Base class for all types of Jets.
void setup(DQMStore::IBooker &b)
book histograms
virtual void setDirectory(TDirectory *dir)
bool createPFractionHistos_
TH2F * delta_frac_VS_frac_muon_
MatchCandidateBenchmark matchCandBench_
ParameterSet const & parameterSet(StableProvenance const &provenance, ProcessHistory const &history)
int photonMultiplicity() const
photonMultiplicity
Jets made from PFObjects.
void setup(DQMStore::IBooker &b)
book histograms
TH2F * delta_frac_VS_frac_neutral_hadron_
int electronMultiplicity() const
electronMultiplicity
void setParameters(Mode mode)
PFJetMonitor(float dRMax=0.3, bool matchCharge=true, Benchmark::Mode mode=Benchmark::DEFAULT)
int neutralHadronMultiplicity() const
neutralHadronMultiplicity
TH2F * book2D(DQMStore::IBooker &b, const char *histname, const char *title, int nbinsx, float xmin, float xmax, int nbinsy, float ymin, float ymax)
book a 2D histogram, either with DQM or plain root depending if DQM_ has been initialized in a child ...
void setParameters(const edm::ParameterSet ¶meterSet)
set the parameters accessing them from ParameterSet
void fillOne(const reco::Jet &jet, const reco::Jet &matchedJet)
int muonMultiplicity() const
muonMultiplicity
TH2F * delta_frac_VS_frac_photon_
TH2F * delta_frac_VS_frac_electron_
void setRange(float ptMin, float ptMax, float etaMin, float etaMax, float phiMin, float phiMax)
TH2F * delta_frac_VS_frac_charged_hadron_
void setup(DQMStore::IBooker &b)
book histograms