|
| 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 const &)=delete |
|
| EDConsumerBase (EDConsumerBase &&)=default |
|
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 const & | operator= (EDConsumerBase const &)=delete |
|
EDConsumerBase & | operator= (EDConsumerBase &&)=default |
|
bool | registeredToConsume (ProductResolverIndex, bool, BranchType) const |
|
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
|
ProductResolverIndexAndSkipBit | uncheckedIndexFrom (EDGetToken) const |
|
void | updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet) |
|
virtual | ~EDConsumerBase () noexcept(false) |
|
Definition at line 16 of file TopGenEventAnalyzer.h.
Definition at line 28 of file TopGenEventAnalyzer.cc.
References reco::LeafCandidate::eta(), TtGenEvent::fromGluonFusion(), TtGenEvent::fromQuarkAnnihilation(), nano_cff::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_.
double eta() const final
momentum pseudorapidity
bool getByToken(EDGetToken token, Handle< PROD > &result) const
bool fromQuarkAnnihilation() const
check if the tops were produced from qqbar
double pt() const final
transverse momentum
const reco::GenParticle * top() const
return top if available; 0 else
bool fromGluonFusion() const
check if the tops were produced from a pair of gluons
edm::EDGetTokenT< TtGenEvent > inputGenEventToken_
const math::XYZTLorentzVector * topPair() const
return combined 4-vector of top and topBar
double phi() const final
momentum azimuthal angle
const reco::GenParticle * topBar() const
return anti-top if available; 0 else
bool isTtBar() const
check if the event can be classified as ttbar
int numberOfLeptons(bool fromWBoson=true) const
return number of leptons in the decay chain