6 input_(cfg.getParameter<edm::InputTag>(
"input"))
10 mult_ = fs->
make<TH1F>(
"mult",
"multiplicity (taus)", 30, 0 , 30);
11 en_ = fs->
make<TH1F>(
"en" ,
"energy (taus)", 60, 0., 300.);
12 pt_ = fs->
make<TH1F>(
"pt" ,
"pt (taus}", 60, 0., 300.);
13 eta_ = fs->
make<TH1F>(
"eta" ,
"eta (taus)", 30, -3., 3.);
14 phi_ = fs->
make<TH1F>(
"phi" ,
"phi (taus)", 40, -4., 4.);
29 mult_->Fill( taus->size() );
30 for(std::vector<pat::Tau>::const_iterator
tau=taus->begin();
tau!=taus->end(); ++
tau){
31 en_ ->Fill(
tau->energy() );
virtual void analyze(const edm::Event &, const edm::EventSetup &)
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
TopTauAnalyzer(const edm::ParameterSet &)
T * make() const
make new ROOT object
void setup(std::vector< TH2F > &depth, std::string name, std::string units="")