61 gROOT->SetStyle (
"Plain");
64 eventCont.
add(
new TH1F(
"jetPt",
"jetPt", 1000, 0, 1000) );
75 for (eventCont.
toBegin(); ! eventCont.
atEnd(); ++eventCont)
85 const vector< pat::Jet >::const_iterator kJetEnd = jetHandle->end();
86 for (vector< pat::Jet >::const_iterator jetIter = jetHandle->begin();
90 eventCont.
hist(
"jetPt")->Fill (jetIter->pt());
int main(int argc, char *argv[])
std::string & stringValue(std::string key)
void parseArguments(int argc, char **argv, bool allowArgs=false)
const EventContainer & toBegin() override
bool getByLabel(const std::type_info &iInfo, const char *iModuleLabel, const char *iProductInstanceLabel, const char *iProcessLabel, void *oData) const override
void add(TH1 *histPtr, const std::string &directory="")
bool atEnd() const override
TH1 * hist(const std::string &name)