Definition at line 29 of file RecoTauPlotDiscriminator.cc.
Definition at line 43 of file RecoTauPlotDiscriminator.cc.
References discs_, edm::ParameterSet::getParameter(), histos_, edm::InputTag::label(), max(), min, ExpressReco_HICollisions_FallBack::nbins, and GlobalPosition_Frontier_DevDB_cff::tag.
55 fs->make<TH1F>(tag.
label().c_str(), tag.
label().c_str(),
59 std::string vs_pt_name = tag.
label()+
"_pt";
61 fs->make<TH2F>(vs_pt_name.c_str(), vs_pt_name.c_str(),
64 std::string vs_eta_name = tag.
label()+
"_eta";
66 fs->make<TH2F>(vs_eta_name.c_str(), vs_eta_name.c_str(),
69 std::string vs_dm_name = tag.
label()+
"_dm";
71 fs->make<TH2F>(vs_dm_name.c_str(), vs_dm_name.c_str(),
T getParameter(std::string const &) const
const T & max(const T &a, const T &b)
std::map< std::string, TH1 * > HistoMap
virtual RecoTauPlotDiscriminator::~RecoTauPlotDiscriminator |
( |
| ) |
|
|
inlinevirtual |
Implements edm::EDAnalyzer.
Definition at line 78 of file RecoTauPlotDiscriminator.cc.
References discs_, edm::Event::getByLabel(), histos_, collect_tpl::input, edm::InputTag::label(), query::result, src_, GlobalPosition_Frontier_DevDB_cff::tag, and metsig::tau.
86 reco::tau::castView<reco::PFTauRefVector>(
input);
97 mymap[
"plain"]->Fill(result);
98 mymap[
"vs_pt"]->Fill(result, tau->pt());
99 mymap[
"vs_eta"]->Fill(result, tau->eta());
100 mymap[
"vs_dm"]->Fill(result, tau->decayMode());
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
std::map< std::string, TH1 * > HistoMap
DiscMap RecoTauPlotDiscriminator::histos_ |
|
private |