#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) |
ProducerBase () | |
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
std::function< void(BranchDescription const &)> | registrationCallback () const |
used by the fwk to register list of products More... | |
virtual | ~ProducerBase () |
Public Member Functions inherited from edm::EDConsumerBase | |
std::vector< ConsumesInfo > | consumesInfo () const |
EDConsumerBase () | |
ProductHolderIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
std::vector < ProductHolderIndexAndSkipBit > const & | itemsToGetFromEvent () const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesDependentUpon (std::string const &iProcessName, std::string const &iModuleLabel, bool iPrint, std::vector< char const * > &oModuleLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
bool | registeredToConsume (ProductHolderIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
virtual | ~EDConsumerBase () |
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 |
Implements edm::EDProducer.
Definition at line 48 of file BoostedTopProducer.cc.
References reco::CompositeCandidate::addDaughter(), METzCalculator::Calculate(), caloIsoCut_, gather_cfg::cout, debug, metsig::electron, HI_PhotonSkim_cff::electrons, eleToken_, reco::LeafCandidate::energy(), edm::Event::getByToken(), cuy::ii, reco::isMuon(), edm::HandleBase::isValid(), fwrapper::jets, jetToken_, TtEvent::kMVADisc, metToken_, mTop_, metsig::muon, patZpeak::muons, muoToken_, reco::CompositeCandidate::numberOfDaughters(), Pi, singleTopDQM_cfi::preselection, Psi(), EnergyCorrector::pt, edm::Event::put(), reco::LeafCandidate::px(), reco::LeafCandidate::py(), reco::LeafCandidate::pz(), alignCSCRings::s, METzCalculator::SetMET(), METzCalculator::SetMuon(), reco::LeafCandidate::setPz(), solToken_, AlCaHLTBitMon_QueryRunRegistry::string, and TablePrint::write.
|
private |
|
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().