61 gROOT->SetStyle (
"Plain");
64 eventCont.
add(
new TH1F(
"jetPt",
"jetPt", 1000, 0, 1000) );
75 for (eventCont.
toBegin(); ! eventCont.
atEnd(); ++eventCont)
85 const vector< reco::CaloJet >::const_iterator kJetEnd = jetHandle->end();
86 for (vector< reco::CaloJet >::const_iterator jetIter = jetHandle->begin();
90 eventCont.
hist(
"jetPt")->Fill (jetIter->pt());
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
int main(int argc, char *argv[])
void add(TH1 *histPtr, const std::string &directory="")
bool atEnd() const override
TH1 * hist(const std::string &name)