![]() |
![]() |
#include <TopGenEventAnalyzer.h>
Private Member Functions | |
void | analyze (const edm::Event &, const edm::EventSetup &) override |
void | beginJob () override |
void | endJob () override |
Private Attributes | |
edm::EDGetTokenT< TtGenEvent > | inputGenEventToken_ |
TH1F * | nLep_ |
TH1F * | prodChan_ |
TH1F * | topBarEta_ |
TH1F * | topBarPhi_ |
TH1F * | topBarPt_ |
TH1F * | topEta_ |
TH1F * | topPhi_ |
TH1F * | topPt_ |
TH1F * | ttbarEta_ |
TH1F * | ttbarPhi_ |
TH1F * | ttbarPt_ |
Additional Inherited Members | |
![]() | |
typedef EDAnalyzer | ModuleType |
![]() | |
typedef ProductLabels | Labels |
![]() | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &) |
static bool | wantsGlobalLuminosityBlocks () |
static bool | wantsGlobalRuns () |
static bool | wantsStreamLuminosityBlocks () |
static bool | wantsStreamRuns () |
![]() | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | consumes (TypeToGet const &id, edm::InputTag const &tag) |
ConsumesCollector | consumesCollector () |
Use a ConsumesCollector to gather consumes information from helper functions. More... | |
template<typename ProductType , BranchType B = InEvent> | |
void | consumesMany () |
void | consumesMany (const TypeToGet &id) |
template<BranchType B> | |
void | consumesMany (const TypeToGet &id) |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes () |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
Definition at line 16 of file TopGenEventAnalyzer.h.
|
explicit |
Definition at line 3 of file TopGenEventAnalyzer.cc.
References TFileService::make(), nLep_, prodChan_, topBarEta_, topBarPhi_, topBarPt_, topEta_, topPhi_, topPt_, ttbarEta_, ttbarPhi_, and ttbarPt_.
|
override |
Definition at line 23 of file TopGenEventAnalyzer.cc.
|
overrideprivate |
Definition at line 28 of file TopGenEventAnalyzer.cc.
References reco::LeafCandidate::eta(), TtGenEvent::fromGluonFusion(), TtGenEvent::fromQuarkAnnihilation(), genWeightsTable_cfi::genEvent, edm::Event::getByToken(), inputGenEventToken_, TtGenEvent::isTtBar(), nLep_, TopGenEvent::numberOfLeptons(), reco::LeafCandidate::phi(), prodChan_, reco::LeafCandidate::pt(), TopGenEvent::top(), TopGenEvent::topBar(), topBarEta_, topBarPhi_, topBarPt_, topEta_, TtGenEvent::topPair(), topPhi_, topPt_, ttbarEta_, ttbarPhi_, and ttbarPt_.
|
overrideprivatevirtual |
|
overrideprivatevirtual |
|
private |
Definition at line 29 of file TopGenEventAnalyzer.h.
Referenced by analyze().
|
private |
Definition at line 31 of file TopGenEventAnalyzer.h.
Referenced by analyze(), and TopGenEventAnalyzer().
|
private |
Definition at line 41 of file TopGenEventAnalyzer.h.
Referenced by analyze(), and TopGenEventAnalyzer().
|
private |
Definition at line 36 of file TopGenEventAnalyzer.h.
Referenced by analyze(), and TopGenEventAnalyzer().
|
private |
Definition at line 37 of file TopGenEventAnalyzer.h.
Referenced by analyze(), and TopGenEventAnalyzer().
|
private |
Definition at line 35 of file TopGenEventAnalyzer.h.
Referenced by analyze(), and TopGenEventAnalyzer().
|
private |
Definition at line 33 of file TopGenEventAnalyzer.h.
Referenced by analyze(), and TopGenEventAnalyzer().
|
private |
Definition at line 34 of file TopGenEventAnalyzer.h.
Referenced by analyze(), and TopGenEventAnalyzer().
|
private |
Definition at line 32 of file TopGenEventAnalyzer.h.
Referenced by analyze(), and TopGenEventAnalyzer().
|
private |
Definition at line 39 of file TopGenEventAnalyzer.h.
Referenced by analyze(), and TopGenEventAnalyzer().
|
private |
Definition at line 40 of file TopGenEventAnalyzer.h.
Referenced by analyze(), and TopGenEventAnalyzer().
|
private |
Definition at line 38 of file TopGenEventAnalyzer.h.
Referenced by analyze(), and TopGenEventAnalyzer().