#include <TtFullLepKinSolutionProducer.h>
Classes | |
struct | Compare |
Public Member Functions | |
virtual void | beginJob () |
virtual void | endJob () |
virtual void | produce (edm::Event &evt, const edm::EventSetup &iSetup) |
TtFullLepKinSolutionProducer (const edm::ParameterSet &iConfig) | |
~TtFullLepKinSolutionProducer () | |
Public Member Functions inherited from edm::EDProducer | |
EDProducer () | |
ModuleDescription const & | moduleDescription () const |
virtual | ~EDProducer () |
Public Member Functions inherited from edm::ProducerBase | |
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 | eeChannel_ |
edm::EDGetTokenT< std::vector < pat::Electron > > | electronsToken_ |
bool | emuChannel_ |
std::string | jetCorrLevel_ |
edm::EDGetTokenT< std::vector < pat::Jet > > | jetsToken_ |
int | maxNComb_ |
int | maxNJets_ |
edm::EDGetTokenT< std::vector < pat::MET > > | metsToken_ |
bool | mumuChannel_ |
edm::EDGetTokenT< std::vector < pat::Muon > > | muonsToken_ |
std::vector< double > | nupars_ |
bool | searchWrongCharge_ |
TtFullLepKinSolver * | solver |
double | tmassbegin_ |
double | tmassend_ |
double | tmassstep_ |
Additional Inherited Members | |
Public Types inherited from edm::EDProducer | |
typedef EDProducer | ModuleType |
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) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Protected Member Functions inherited from edm::ProducerBase | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
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 20 of file TtFullLepKinSolutionProducer.h.
|
explicit |
Definition at line 73 of file TtFullLepKinSolutionProducer.h.
References eeChannel_, electronsToken_, emuChannel_, edm::ParameterSet::getParameter(), jetCorrLevel_, jetsToken_, maxNComb_, maxNJets_, metsToken_, mumuChannel_, muonsToken_, nupars_, searchWrongCharge_, AlCaHLTBitMon_QueryRunRegistry::string, tmassbegin_, tmassend_, and tmassstep_.
TtFullLepKinSolutionProducer::~TtFullLepKinSolutionProducer | ( | ) |
Definition at line 100 of file TtFullLepKinSolutionProducer.h.
|
virtual |
Reimplemented from edm::EDProducer.
Definition at line 104 of file TtFullLepKinSolutionProducer.h.
References nupars_, solver, tmassbegin_, tmassend_, and tmassstep_.
|
virtual |
Reimplemented from edm::EDProducer.
Definition at line 109 of file TtFullLepKinSolutionProducer.h.
References solver.
|
inlineprivate |
Definition at line 68 of file TtFullLepKinSolutionProducer.h.
References reco::Candidate::charge().
Referenced by produce().
|
inlineprivate |
Definition at line 63 of file TtFullLepKinSolutionProducer.h.
References reco::Candidate::charge().
Referenced by produce().
|
virtual |
Implements edm::EDProducer.
Definition at line 114 of file TtFullLepKinSolutionProducer.h.
References eeChannel_, HI_PhotonSkim_cff::electrons, electronsToken_, emuChannel_, relval_parameters_module::energy, plotBeamSpotDB::first, edm::Event::getByToken(), TtFullLepKinSolver::getNuSolution(), HasPositiveCharge(), i, cuy::ib, jetCorrLevel_, fwrapper::jets, jetsToken_, LepDiffCharge(), maxNComb_, maxNJets_, metsToken_, mumuChannel_, patZpeak::muons, muonsToken_, TtFullLepKinSolver::NeutrinoSolution::neutrino, TtFullLepKinSolver::NeutrinoSolution::neutrinoBar, PTComp(), edm::Event::put(), searchWrongCharge_, edm::second(), TtFullLepKinSolver::SetConstraints(), reco::Candidate::size, solver, python.multivaluedict::sort(), and TtFullLepKinSolver::NeutrinoSolution::weight.
|
inlineprivate |
Definition at line 58 of file TtFullLepKinSolutionProducer.h.
References reco::Candidate::pt().
Referenced by produce().
|
private |
Definition at line 51 of file TtFullLepKinSolutionProducer.h.
Referenced by produce(), and TtFullLepKinSolutionProducer().
|
private |
Definition at line 45 of file TtFullLepKinSolutionProducer.h.
Referenced by produce(), and TtFullLepKinSolutionProducer().
|
private |
Definition at line 51 of file TtFullLepKinSolutionProducer.h.
Referenced by produce(), and TtFullLepKinSolutionProducer().
|
private |
Definition at line 49 of file TtFullLepKinSolutionProducer.h.
Referenced by produce(), and TtFullLepKinSolutionProducer().
|
private |
Definition at line 44 of file TtFullLepKinSolutionProducer.h.
Referenced by produce(), and TtFullLepKinSolutionProducer().
|
private |
Definition at line 50 of file TtFullLepKinSolutionProducer.h.
Referenced by produce(), and TtFullLepKinSolutionProducer().
|
private |
Definition at line 50 of file TtFullLepKinSolutionProducer.h.
Referenced by produce(), and TtFullLepKinSolutionProducer().
|
private |
Definition at line 47 of file TtFullLepKinSolutionProducer.h.
Referenced by produce(), and TtFullLepKinSolutionProducer().
|
private |
Definition at line 51 of file TtFullLepKinSolutionProducer.h.
Referenced by produce(), and TtFullLepKinSolutionProducer().
|
private |
Definition at line 46 of file TtFullLepKinSolutionProducer.h.
Referenced by produce(), and TtFullLepKinSolutionProducer().
|
private |
Definition at line 53 of file TtFullLepKinSolutionProducer.h.
Referenced by beginJob(), and TtFullLepKinSolutionProducer().
|
private |
Definition at line 51 of file TtFullLepKinSolutionProducer.h.
Referenced by produce(), and TtFullLepKinSolutionProducer().
|
private |
Definition at line 55 of file TtFullLepKinSolutionProducer.h.
Referenced by beginJob(), endJob(), and produce().
|
private |
Definition at line 52 of file TtFullLepKinSolutionProducer.h.
Referenced by beginJob(), and TtFullLepKinSolutionProducer().
|
private |
Definition at line 52 of file TtFullLepKinSolutionProducer.h.
Referenced by beginJob(), and TtFullLepKinSolutionProducer().
|
private |
Definition at line 52 of file TtFullLepKinSolutionProducer.h.
Referenced by beginJob(), and TtFullLepKinSolutionProducer().