#include <TopGenEventAnalyzer.h>
|
| TopGenEventAnalyzer (const edm::ParameterSet &) |
|
| ~TopGenEventAnalyzer () override |
|
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
|
| EDAnalyzer () |
|
SerialTaskQueue * | globalLuminosityBlocksQueue () |
|
SerialTaskQueue * | globalRunsQueue () |
|
ModuleDescription const & | moduleDescription () const |
|
std::string | workerType () const |
|
| ~EDAnalyzer () override |
|
std::vector< ConsumesInfo > | consumesInfo () const |
|
void | convertCurrentProcessAlias (std::string const &processName) |
| Convert "@currentProcess" in InputTag process names to the actual current process name. More...
|
|
| EDConsumerBase () |
|
| EDConsumerBase (EDConsumerBase &&)=default |
|
| EDConsumerBase (EDConsumerBase const &)=delete |
|
ESProxyIndex const * | esGetTokenIndices (edm::Transition iTrans) const |
|
ProductResolverIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
|
void | itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
|
void | itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
|
std::vector< ProductResolverIndexAndSkipBit > const & | itemsToGetFrom (BranchType iType) const |
|
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
|
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
|
EDConsumerBase & | operator= (EDConsumerBase &&)=default |
|
EDConsumerBase const & | operator= (EDConsumerBase const &)=delete |
|
bool | registeredToConsume (ProductResolverIndex, bool, BranchType) const |
|
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
|
ProductResolverIndexAndSkipBit | uncheckedIndexFrom (EDGetToken) const |
|
void | updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet) |
|
void | updateLookup (eventsetup::ESRecordsToProxyIndices const &) |
|
virtual | ~EDConsumerBase () noexcept(false) |
|
|
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 () |
|
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
|
template<typename ProductType , BranchType B = InEvent> |
EDGetTokenT< ProductType > | consumes (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) |
|
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
|
template<BranchType B> |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
|
template<typename ProductType , BranchType B = InEvent> |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
|
Definition at line 15 of file TopGenEventAnalyzer.h.
◆ TopGenEventAnalyzer()
Definition at line 3 of file TopGenEventAnalyzer.cc.
6 nLep_ = fs->
make<TH1F>(
"nLep",
"N(Lepton)", 5, 0., 5.);
7 topPt_ = fs->make<TH1F>(
"topPt",
"pt (top)", 100, 0., 500.);
8 topEta_ = fs->make<TH1F>(
"topEta",
"eta(top)", 40, -5., 5.);
9 topPhi_ = fs->make<TH1F>(
"topPhi",
"phi(top)", 60, -3.5, 3.5);
10 topBarPt_ = fs->make<TH1F>(
"topBarPt",
"pt (topBar)", 100, 0., 500.);
11 topBarEta_ = fs->make<TH1F>(
"topBarEta",
"eta(topBar)", 40, -5., 5.);
12 topBarPhi_ = fs->make<TH1F>(
"topBarPhi",
"phi(topBar)", 60, -3.5, 3.5);
13 ttbarPt_ = fs->make<TH1F>(
"ttbarPt",
"pt (ttbar)", 100, 0., 500.);
14 ttbarEta_ = fs->make<TH1F>(
"ttbarEta",
"eta(ttbar)", 40, -5., 5.);
15 ttbarPhi_ = fs->make<TH1F>(
"ttbarPhi",
"phi(ttbar)", 60, -3.5, 3.5);
16 prodChan_ = fs->make<TH1F>(
"prodChan",
"production mode", 3, 0, 3);
17 prodChan_->GetXaxis()->SetBinLabel(1,
"gg");
18 prodChan_->GetXaxis()->SetBinLabel(2,
"qqbar");
19 prodChan_->GetXaxis()->SetBinLabel(3,
"other");
References TFileService::make(), nLep_, prodChan_, topBarEta_, topBarPhi_, topBarPt_, topEta_, topPhi_, topPt_, ttbarEta_, ttbarPhi_, and ttbarPt_.
◆ ~TopGenEventAnalyzer()
TopGenEventAnalyzer::~TopGenEventAnalyzer |
( |
| ) |
|
|
override |
◆ analyze()
Implements edm::EDAnalyzer.
Definition at line 24 of file TopGenEventAnalyzer.cc.
33 else if (
genEvent->fromQuarkAnnihilation())
References nano_cff::genEvent, edm::Event::getByToken(), inputGenEventToken_, nLep_, prodChan_, topBarEta_, topBarPhi_, topBarPt_, topEta_, topPhi_, topPt_, ttbarEta_, ttbarPhi_, and ttbarPt_.
◆ beginJob()
void TopGenEventAnalyzer::beginJob |
( |
void |
| ) |
|
|
overrideprivatevirtual |
◆ endJob()
void TopGenEventAnalyzer::endJob |
( |
void |
| ) |
|
|
overrideprivatevirtual |
◆ inputGenEventToken_
◆ nLep_
TH1F* TopGenEventAnalyzer::nLep_ |
|
private |
◆ prodChan_
TH1F* TopGenEventAnalyzer::prodChan_ |
|
private |
◆ topBarEta_
TH1F* TopGenEventAnalyzer::topBarEta_ |
|
private |
◆ topBarPhi_
TH1F* TopGenEventAnalyzer::topBarPhi_ |
|
private |
◆ topBarPt_
TH1F* TopGenEventAnalyzer::topBarPt_ |
|
private |
◆ topEta_
TH1F* TopGenEventAnalyzer::topEta_ |
|
private |
◆ topPhi_
TH1F* TopGenEventAnalyzer::topPhi_ |
|
private |
◆ topPt_
TH1F* TopGenEventAnalyzer::topPt_ |
|
private |
◆ ttbarEta_
TH1F* TopGenEventAnalyzer::ttbarEta_ |
|
private |
◆ ttbarPhi_
TH1F* TopGenEventAnalyzer::ttbarPhi_ |
|
private |
◆ ttbarPt_
TH1F* TopGenEventAnalyzer::ttbarPt_ |
|
private |