#include <BoostedTopProducer.cc>
Public Member Functions | |
BoostedTopProducer (const edm::ParameterSet &) | |
~BoostedTopProducer () | |
Public Member Functions inherited from edm::EDProducer | |
EDProducer () | |
ModuleDescription const & | moduleDescription () const |
virtual | ~EDProducer () |
Public Member Functions inherited from edm::ProducerBase | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
std::vector< edm::ProductResolverIndex > const & | indiciesForPutProducts (BranchType iBranchType) const |
ProducerBase () | |
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
std::function< void(BranchDescription const &)> | registrationCallback () const |
used by the fwk to register list of products More... | |
void | resolvePutIndicies (BranchType iBranchType, std::unordered_multimap< std::string, edm::ProductResolverIndex > const &iIndicies, std::string const &moduleLabel) |
virtual | ~ProducerBase () noexcept(false) |
Public Member Functions inherited from edm::EDConsumerBase | |
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 |
void | updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet) |
virtual | ~EDConsumerBase () noexcept(false) |
Private Member Functions | |
virtual void | beginJob (const edm::EventSetup &) |
virtual void | endJob () |
virtual void | produce (edm::Event &, const edm::EventSetup &) |
double | Psi (const TLorentzVector &p1, const TLorentzVector &p2, double mass) |
Private Attributes | |
double | caloIsoCut_ |
edm::EDGetTokenT< std::vector< pat::Electron > > | eleToken_ |
edm::EDGetTokenT< std::vector< pat::Jet > > | jetToken_ |
edm::EDGetTokenT< std::vector< pat::MET > > | metToken_ |
double | mTop_ |
edm::EDGetTokenT< std::vector< pat::Muon > > | muoToken_ |
edm::EDGetTokenT< TtSemiLeptonicEvent > | solToken_ |
Additional Inherited Members | |
Public Types inherited from edm::EDProducer | |
typedef EDProducer | ModuleType |
Public Types inherited from edm::ProducerBase | |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from edm::EDProducer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Protected Member Functions inherited from edm::EDConsumerBase | |
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 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) |
Description: Class to examine boosted ttbar pairs in multiple mass regions.
This will produce a ttbar solution, which will take one of two forms: a) lv jj jj Full reconstruction.
ttbar-> (hadt -> (hadW -> hadp + hadq) + hadb) + (lept -> (lepW -> lepton + neutrino) + lepb)
b) lv jj (j) Partial reconstruction, associate at least 1 jet to the lepton hemisphere, and at least one jet in the opposite hemisphere.
ttbar-> (hadt -> (hadJet1 [+ hadJet2] ) ) + (lept -> (lepW -> lepton + neutrino) + lepJet1 )
There will also be two subcategories of (b) that will correspond to physics cases:
b1) Lepton is isolated: Moderate ttbar mass. b2) Lepton is nonisolated: High ttbar mass.
Implementation: To implement this, we use the NamedCompositeCandidate structures from the Candidate model. This provides flexibility in the definition of the output objects and allows automatic plotting in the Starter Kit. We use the PAT objects to construct the ttbar solutions in the different ranges as follows: a) Full reconstruction: We use TtSemiEventSolutions made upstream of this module. b) Partial reconstruction: Association of variables using the "Psi" variable, which is a more rapidity-invariant version of deltaR.
Definition at line 83 of file BoostedTopProducer.h.
|
explicit |
Definition at line 23 of file BoostedTopProducer.cc.
BoostedTopProducer::~BoostedTopProducer | ( | ) |
Definition at line 37 of file BoostedTopProducer.cc.
|
privatevirtual |
Definition at line 375 of file BoostedTopProducer.cc.
|
privatevirtual |
Reimplemented from edm::EDProducer.
Definition at line 381 of file BoostedTopProducer.cc.
|
privatevirtual |
Definition at line 48 of file BoostedTopProducer.cc.
References reco::CompositeCandidate::addDaughter(), METzCalculator::Calculate(), caloIsoCut_, gather_cfg::cout, debug, metsig::electron, genericTrackCleaner_cfi::electrons, eleToken_, reco::LeafCandidate::energy(), TtEvent::eventHypo(), edm::Event::getByToken(), cuy::ii, reco::isMuon(), edm::HandleBase::isValid(), fwrapper::jets, jetToken_, TtEvent::kMVADisc, TtSemiLepSignalSelMVAComputer_cfi::mets, metToken_, eostools::move(), mTop_, electronCleaner_cfi::muons, muoToken_, reco::CompositeCandidate::numberOfDaughters(), Pi, electronCleaner_cfi::preselection, Psi(), EnergyCorrector::pt, edm::Event::put(), reco::LeafCandidate::px(), reco::LeafCandidate::py(), reco::LeafCandidate::pz(), alignCSCRings::s, AddFourMomenta::set(), METzCalculator::SetMET(), METzCalculator::SetMuon(), reco::LeafCandidate::setPz(), solToken_, AlCaHLTBitMon_QueryRunRegistry::string, and TriggerAnalyzer::write().
|
private |
Definition at line 385 of file BoostedTopProducer.cc.
References Abs(), DEFINE_FWK_MODULE, p2, and Pi.
Referenced by produce().
|
private |
Definition at line 103 of file BoostedTopProducer.h.
Referenced by produce().
|
private |
Definition at line 96 of file BoostedTopProducer.h.
Referenced by produce().
|
private |
Definition at line 98 of file BoostedTopProducer.h.
Referenced by produce().
|
private |
Definition at line 99 of file BoostedTopProducer.h.
Referenced by produce().
|
private |
Definition at line 104 of file BoostedTopProducer.h.
Referenced by produce().
|
private |
Definition at line 97 of file BoostedTopProducer.h.
Referenced by produce().
|
private |
Definition at line 100 of file BoostedTopProducer.h.
Referenced by produce().