Template class to fill the TtEvent structure. More...
#include "TopQuarkAnalysis/TopEventProducers/interface/TtEvtBuilder.h"
Public Member Functions | |
TtEvtBuilder (const edm::ParameterSet &) | |
default constructor More... | |
~TtEvtBuilder () | |
default destructor More... | |
Public Member Functions inherited from edm::EDProducer | |
EDProducer () | |
virtual | ~EDProducer () |
Public Member Functions inherited from edm::ProducerBase | |
ProducerBase () | |
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
boost::function< void(const BranchDescription &)> | registrationCallback () const |
used by the fwk to register list of products More... | |
virtual | ~ProducerBase () |
Private Member Functions | |
virtual void | fillSpecific (C &, const edm::Event &) |
fill data members that are decay-channel specific More... | |
template<> | |
void | fillSpecific (TtFullHadronicEvent &ttEvent, const edm::Event &evt) |
template<> | |
void | fillSpecific (TtFullLeptonicEvent &ttEvent, const edm::Event &evt) |
template<> | |
void | fillSpecific (TtSemiLeptonicEvent &ttEvent, const edm::Event &evt) |
virtual void | produce (edm::Event &, const edm::EventSetup &) |
Private Attributes | |
int | decayChnTop1_ |
int | decayChnTop2_ |
edm::InputTag | disc_ |
edm::InputTag | fitChi2_ |
edm::InputTag | fitProb_ |
edm::InputTag | genEvt_ |
TtGenEvent. More... | |
edm::ParameterSet | genMatch_ |
std::vector< std::string > | hyps_ |
vector of hypothesis class names More... | |
edm::ParameterSet | kinFit_ |
edm::ParameterSet | kinSolution_ |
edm::InputTag | meth_ |
edm::ParameterSet | mvaDisc_ |
edm::InputTag | solWeight_ |
edm::InputTag | sumDR_ |
edm::InputTag | sumPt_ |
int | verbosity_ |
vebosity level More... | |
edm::InputTag | wrongCharge_ |
Additional Inherited Members | |
Public Types inherited from edm::EDProducer | |
typedef EDProducer | ModuleType |
typedef WorkerT< EDProducer > | WorkerType |
Public Types inherited from edm::ProducerBase | |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Static Public Member Functions inherited from edm::EDProducer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
Protected Member Functions inherited from edm::EDProducer | |
CurrentProcessingContext const * | currentContext () const |
Protected Member Functions inherited from edm::ProducerBase | |
template<class TProducer , class TMethod > | |
void | callWhenNewProductsRegistered (TProducer *iProd, TMethod iMethod) |
Template class to fill the TtEvent structure.
Template class to fill the TtEvent structure for:
TtSemiLeptonicEvent TtFullLeptonicEvent TtFullHadronicEvent
event hypothesis, genEvent and extra information (if available) are read from the event and contracted into the TtEvent
Definition at line 29 of file TtEvtBuilder.h.
|
explicit |
default constructor
Definition at line 82 of file TtEvtBuilder.h.
References TtEvtBuilder< C >::disc_, edm::ParameterSet::exists(), TtEvtBuilder< C >::fitChi2_, TtEvtBuilder< C >::fitProb_, TtEvtBuilder< C >::genMatch_, edm::ParameterSet::getParameter(), TtEvtBuilder< C >::kinFit_, TtEvtBuilder< C >::kinSolution_, TtEvtBuilder< C >::meth_, TtEvtBuilder< C >::mvaDisc_, TtEvtBuilder< C >::solWeight_, TtEvtBuilder< C >::sumDR_, TtEvtBuilder< C >::sumPt_, and TtEvtBuilder< C >::wrongCharge_.
|
inline |
|
privatevirtual |
fill data members that are decay-channel specific
|
private |
Definition at line 197 of file TtEvtBuilder.h.
|
private |
Definition at line 202 of file TtEvtBuilder.h.
References edm::Event::getByLabel(), TtEvent::isHypoAvailable(), TtEvent::kKinSolution, TtFullLeptonicEvent::setSolWeight(), and TtFullLeptonicEvent::setWrongCharge().
|
private |
Definition at line 219 of file TtEvtBuilder.h.
References edm::Event::getByLabel(), h, combine::key, and TtSemiLeptonicEvent::setNumberOfRealNeutrinoSolutions().
|
privatevirtual |
produce function (this one is not even accessible for derived classes)
Implements edm::EDProducer.
Definition at line 123 of file TtEvtBuilder.h.
References funct::C, fitChi2(), TtGenEvtProducer_cfi::genEvt, edm::Event::getByLabel(), h, combine::key, TtEvent::kGenMatch, TtEvent::kKinFit, TtEvent::kMVADisc, and edm::Event::put().
|
private |
decay channels of the two top decay branches; to be filled according to WDecay::LeptonTypes in TtGenEvent
Definition at line 56 of file TtEvtBuilder.h.
|
private |
Definition at line 57 of file TtEvtBuilder.h.
|
private |
Definition at line 78 of file TtEvtBuilder.h.
Referenced by TtEvtBuilder< C >::TtEvtBuilder().
|
private |
Definition at line 62 of file TtEvtBuilder.h.
Referenced by TtEvtBuilder< C >::TtEvtBuilder().
|
private |
Definition at line 63 of file TtEvtBuilder.h.
Referenced by TtEvtBuilder< C >::TtEvtBuilder().
|
private |
Definition at line 53 of file TtEvtBuilder.h.
|
private |
input parameters for the kGenMatch hypothesis class extras
Definition at line 71 of file TtEvtBuilder.h.
Referenced by TtEvtBuilder< C >::TtEvtBuilder().
|
private |
vector of hypothesis class names
Definition at line 51 of file TtEvtBuilder.h.
|
private |
input parameters for the kKinFit hypothesis class extras
Definition at line 61 of file TtEvtBuilder.h.
Referenced by TtEvtBuilder< C >::TtEvtBuilder().
|
private |
input parameters for the kKinSolution hypothesis class extras
Definition at line 66 of file TtEvtBuilder.h.
Referenced by TtEvtBuilder< C >::TtEvtBuilder().
|
private |
Definition at line 77 of file TtEvtBuilder.h.
Referenced by TtEvtBuilder< C >::TtEvtBuilder().
|
private |
input parameters for the kMVADisc hypothesis class extras
Definition at line 76 of file TtEvtBuilder.h.
Referenced by TtEvtBuilder< C >::TtEvtBuilder().
|
private |
Definition at line 67 of file TtEvtBuilder.h.
Referenced by TtEvtBuilder< C >::TtEvtBuilder().
|
private |
Definition at line 73 of file TtEvtBuilder.h.
Referenced by TtEvtBuilder< C >::TtEvtBuilder().
|
private |
Definition at line 72 of file TtEvtBuilder.h.
Referenced by TtEvtBuilder< C >::TtEvtBuilder().
|
private |
vebosity level
Definition at line 49 of file TtEvtBuilder.h.
|
private |
Definition at line 68 of file TtEvtBuilder.h.
Referenced by TtEvtBuilder< C >::TtEvtBuilder().