16 :
Benchmark(mode), candBench_(mode), matchCandBench_(mode), dRMax_(dRMax), matchCharge_(matchCharge) {
17 setRange(0.0, 10e10, -10.0, 10.0, -3.14, 3.14);
75 setRange(ptmin, ptmax, etamin, etamax, phimin, phimax);
98 setRange(ptmin, ptmax, etamin, etamax, phimin, phimax);
122 book2D(b,
"delta_frac_VS_frac_muon_",
"#DeltaFraction_Vs_Fraction(muon)", 100, 0.0, 1.0, 100, -1.0, 1.0);
124 book2D(b,
"delta_frac_VS_frac_photon_",
"#DeltaFraction_Vs_Fraction(photon)", 100, 0.0, 1.0, 100, -1.0, 1.0);
126 b,
"delta_frac_VS_frac_electron_",
"#DeltaFraction_Vs_Fraction(electron)", 100, 0.0, 1.0, 100, -1.0, 1.0);
128 "delta_frac_VS_frac_charged_hadron_",
129 "#DeltaFraction_Vs_Fraction(charged hadron)",
137 "delta_frac_VS_frac_neutral_hadron_",
138 "#DeltaFraction_Vs_Fraction(neutral hadron)",
159 book2D(b,
"delta_frac_VS_frac_muon_",
"#DeltaFraction_Vs_Fraction(muon)", 100, 0.0, 1.0, 100, -1.0, 1.0);
161 book2D(b,
"delta_frac_VS_frac_photon_",
"#DeltaFraction_Vs_Fraction(photon)", 100, 0.0, 1.0, 100, -1.0, 1.0);
163 b,
"delta_frac_VS_frac_electron_",
"#DeltaFraction_Vs_Fraction(electron)", 100, 0.0, 1.0, 100, -1.0, 1.0);
165 "delta_frac_VS_frac_charged_hadron_",
166 "#DeltaFraction_Vs_Fraction(charged hadron)",
174 "delta_frac_VS_frac_neutral_hadron_",
175 "#DeltaFraction_Vs_Fraction(neutral hadron)",
205 float del_frac_muon = -99.9;
206 float del_frac_elec = -99.9;
207 float del_frac_phot = -99.9;
208 float del_frac_ch_had = -99.9;
209 float del_frac_neu_had = -99.9;
225 if (mult_neu_had > 0)
void setDirectory(TDirectory *dir) override
set directory (to use in ROOT)
T getParameter(std::string const &) const
TH1F * book1D(DQMStore::IBooker &b, const char *histname, const char *title, int nbins, float xmin, float xmax)
book a 1D histogram, either through IBooker or plain root
int photonMultiplicity() const
photonMultiplicity
CandidateBenchmark candBench_
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_
Jets made from PFObjects.
void setup(DQMStore::IBooker &b)
book histograms
TH2F * delta_frac_VS_frac_neutral_hadron_
void setParameters(float dRMax, bool matchCharge, Benchmark::Mode mode, float ptmin, float ptmax, float etamin, float etamax, float phimin, float phimax, bool fracHistoFlag=true)
set the parameters locally
int neutralHadronMultiplicity() const
neutralHadronMultiplicity
void setParameters(Mode mode)
PFJetMonitor(float dRMax=0.3, bool matchCharge=true, Benchmark::Mode mode=Benchmark::DEFAULT)
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 through IBooker or plain root
void fillOne(const reco::Jet &jet, const reco::Jet &matchedJet)
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)
int chargedHadronMultiplicity() const
chargedHadronMultiplicity
int muonMultiplicity() const
muonMultiplicity
TH2F * delta_frac_VS_frac_charged_hadron_
void setup(DQMStore::IBooker &b)
book histograms
ParameterSet const & parameterSet(Provenance const &provenance)
int electronMultiplicity() const
electronMultiplicity