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