#include <TtDilepEvtSolutionMaker.h>
Public Member Functions | |
virtual void | beginJob () |
virtual void | produce (edm::Event &iEvent, const edm::EventSetup &iSetup) |
TtDilepEvtSolutionMaker (const edm::ParameterSet &iConfig) | |
~TtDilepEvtSolutionMaker () | |
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 (const std::string &iProcessName, std::vector< const char * > &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 | |
bool | HasPositiveCharge (const reco::Candidate *) const |
bool | LepDiffCharge (const reco::Candidate *, const reco::Candidate *) const |
bool | PTComp (const reco::Candidate *, const reco::Candidate *) const |
Private Attributes | |
bool | calcTopMass_ |
bool | eeChannel_ |
edm::EDGetTokenT< std::vector < pat::Electron > > | electronSourceToken_ |
bool | emuChannel_ |
bool | etauChannel_ |
edm::EDGetTokenT< TtGenEvent > | evtSourceToken_ |
int | jetCorrScheme_ |
edm::EDGetTokenT< std::vector < pat::Jet > > | jetSourceToken_ |
bool | matchToGenEvt_ |
edm::EDGetTokenT< std::vector < pat::MET > > | metSourceToken_ |
bool | mumuChannel_ |
edm::EDGetTokenT< std::vector < pat::Muon > > | muonSourceToken_ |
bool | mutauChannel_ |
TtDilepLRSignalSelObservables * | myLRSignalSelObservables |
unsigned int | nrCombJets_ |
std::vector< double > | nupars_ |
TtFullLepKinSolver * | solver |
edm::EDGetTokenT< std::vector < pat::Tau > > | tauSourceToken_ |
bool | tautauChannel_ |
double | tmassbegin_ |
double | tmassend_ |
double | tmassstep_ |
bool | useMCforBest_ |
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) |
Definition at line 14 of file TtDilepEvtSolutionMaker.h.
|
explicit |
Definition at line 16 of file TtDilepEvtSolutionMaker.cc.
References calcTopMass_, edm::EDConsumerBase::consumesCollector(), eeChannel_, electronSourceToken_, emuChannel_, etauChannel_, evtSourceToken_, edm::ParameterSet::getParameter(), jetCorrScheme_, jetSourceToken_, matchToGenEvt_, metSourceToken_, mumuChannel_, muonSourceToken_, mutauChannel_, myLRSignalSelObservables, nrCombJets_, nupars_, tauSourceToken_, tautauChannel_, tmassbegin_, tmassend_, tmassstep_, and useMCforBest_.
TtDilepEvtSolutionMaker::~TtDilepEvtSolutionMaker | ( | ) |
Definition at line 47 of file TtDilepEvtSolutionMaker.cc.
|
virtual |
Reimplemented from edm::EDProducer.
Definition at line 51 of file TtDilepEvtSolutionMaker.cc.
References nupars_, solver, tmassbegin_, tmassend_, and tmassstep_.
|
inlineprivate |
Definition at line 60 of file TtDilepEvtSolutionMaker.h.
References reco::Candidate::charge().
Referenced by produce().
|
inlineprivate |
Definition at line 55 of file TtDilepEvtSolutionMaker.h.
References reco::Candidate::charge().
Referenced by produce().
|
virtual |
Implements edm::EDProducer.
Definition at line 56 of file TtDilepEvtSolutionMaker.cc.
References TtFullLepKinSolver::addKinSolInfo(), calcTopMass_, gather_cfg::cout, PFRecoTauDiscriminationAgainstElectronDeadECAL_cfi::dR, eeChannel_, electronSourceToken_, emuChannel_, etauChannel_, evtSourceToken_, spr::find(), TtGenEvtProducer_cfi::genEvt, edm::Event::getByToken(), HasPositiveCharge(), cuy::ib, iEvent, metsig::jet, jetCorrScheme_, fwrapper::jets, jetSourceToken_, LepDiffCharge(), matchToGenEvt_, metSourceToken_, mumuChannel_, patZpeak::muons, muonSourceToken_, mutauChannel_, nrCombJets_, NULL, PTComp(), edm::Event::put(), alignCSCRings::s, TtDilepEvtSolution::setB(), TtDilepEvtSolution::setBbar(), TtFullLepKinSolver::SetConstraints(), TtDilepEvtSolution::setElectronm(), TtDilepEvtSolution::setElectronp(), TtDilepEvtSolution::setGenEvt(), TtDilepEvtSolution::setJetCorrectionScheme(), TtDilepEvtSolution::setMET(), TtDilepEvtSolution::setMuonm(), TtDilepEvtSolution::setMuonp(), TtDilepEvtSolution::setTaum(), TtDilepEvtSolution::setTaup(), solver, metsig::tau, tauSourceToken_, tautauChannel_, useMCforBest_, and TtFullLepKinSolver::useWeightFromMC().
|
inlineprivate |
Definition at line 50 of file TtDilepEvtSolutionMaker.h.
References reco::Candidate::pt().
Referenced by produce().
|
private |
Definition at line 41 of file TtDilepEvtSolutionMaker.h.
Referenced by produce(), and TtDilepEvtSolutionMaker().
|
private |
Definition at line 42 of file TtDilepEvtSolutionMaker.h.
Referenced by produce(), and TtDilepEvtSolutionMaker().
|
private |
Definition at line 33 of file TtDilepEvtSolutionMaker.h.
Referenced by produce(), and TtDilepEvtSolutionMaker().
|
private |
Definition at line 42 of file TtDilepEvtSolutionMaker.h.
Referenced by produce(), and TtDilepEvtSolutionMaker().
|
private |
Definition at line 42 of file TtDilepEvtSolutionMaker.h.
Referenced by produce(), and TtDilepEvtSolutionMaker().
|
private |
Definition at line 38 of file TtDilepEvtSolutionMaker.h.
Referenced by produce(), and TtDilepEvtSolutionMaker().
|
private |
Definition at line 39 of file TtDilepEvtSolutionMaker.h.
Referenced by produce(), and TtDilepEvtSolutionMaker().
|
private |
Definition at line 37 of file TtDilepEvtSolutionMaker.h.
Referenced by produce(), and TtDilepEvtSolutionMaker().
|
private |
Definition at line 41 of file TtDilepEvtSolutionMaker.h.
Referenced by produce(), and TtDilepEvtSolutionMaker().
|
private |
Definition at line 36 of file TtDilepEvtSolutionMaker.h.
Referenced by produce(), and TtDilepEvtSolutionMaker().
|
private |
Definition at line 42 of file TtDilepEvtSolutionMaker.h.
Referenced by produce(), and TtDilepEvtSolutionMaker().
|
private |
Definition at line 34 of file TtDilepEvtSolutionMaker.h.
Referenced by produce(), and TtDilepEvtSolutionMaker().
|
private |
Definition at line 42 of file TtDilepEvtSolutionMaker.h.
Referenced by produce(), and TtDilepEvtSolutionMaker().
|
private |
Definition at line 46 of file TtDilepEvtSolutionMaker.h.
Referenced by TtDilepEvtSolutionMaker().
|
private |
Definition at line 40 of file TtDilepEvtSolutionMaker.h.
Referenced by produce(), and TtDilepEvtSolutionMaker().
|
private |
Definition at line 44 of file TtDilepEvtSolutionMaker.h.
Referenced by beginJob(), and TtDilepEvtSolutionMaker().
|
private |
Definition at line 47 of file TtDilepEvtSolutionMaker.h.
Referenced by beginJob(), and produce().
|
private |
Definition at line 35 of file TtDilepEvtSolutionMaker.h.
Referenced by produce(), and TtDilepEvtSolutionMaker().
|
private |
Definition at line 42 of file TtDilepEvtSolutionMaker.h.
Referenced by produce(), and TtDilepEvtSolutionMaker().
|
private |
Definition at line 43 of file TtDilepEvtSolutionMaker.h.
Referenced by beginJob(), and TtDilepEvtSolutionMaker().
|
private |
Definition at line 43 of file TtDilepEvtSolutionMaker.h.
Referenced by beginJob(), and TtDilepEvtSolutionMaker().
|
private |
Definition at line 43 of file TtDilepEvtSolutionMaker.h.
Referenced by beginJob(), and TtDilepEvtSolutionMaker().
|
private |
Definition at line 41 of file TtDilepEvtSolutionMaker.h.
Referenced by produce(), and TtDilepEvtSolutionMaker().