#include <TtDilepEvtSolutionMaker.h>
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 | |
using | ModuleToResolverIndicies = std::unordered_multimap< std::string, std::tuple< edm::TypeID const *, const char *, edm::ProductResolverIndex >> |
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) |
static bool | wantsGlobalLuminosityBlocks () |
static bool | wantsGlobalRuns () |
static bool | wantsStreamLuminosityBlocks () |
static bool | wantsStreamRuns () |
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_.
|
override |
Definition at line 47 of file TtDilepEvtSolutionMaker.cc.
|
overridevirtual |
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().
|
override |
Definition at line 56 of file TtDilepEvtSolutionMaker.cc.
References TtFullLepKinSolver::addKinSolInfo(), calcTopMass_, gather_cfg::cout, PFRecoTauDiscriminationAgainstElectronDeadECAL_cfi::dR, eeChannel_, electrons_cff::electrons, electronSourceToken_, emuChannel_, etauChannel_, evtSourceToken_, spr::find(), TtGenEvtProducer_cfi::genEvt, edm::Event::getByToken(), HasPositiveCharge(), cuy::ib, iEvent, createfilelist::int, metsig::jet, jetCorrScheme_, fwrapper::jets, jetSourceToken_, LepDiffCharge(), matchToGenEvt_, TtSemiLepSignalSelMVAComputer_cfi::mets, metSourceToken_, eostools::move(), mumuChannel_, nano_cff::muons, muonSourceToken_, mutauChannel_, TtDilepEvtSolProducer_cfi::nrCombJets, nrCombJets_, 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, nano_cff::taus, 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().