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
void analyze(const edm::Event &, const edm::EventSetup &) override
def setup(process, global_tag, zero_tesla=False)
T * make(const Args &...args) const
make new ROOT object
edm::EDGetTokenT< std::vector< pat::Tau > > inputToken_
TopTauAnalyzer(const edm::ParameterSet &)
~TopTauAnalyzer() override