10 mcHyp_ (
"ttSemiEvtMCHyp"),
11 recoHyp_(
"ttSemiEvtRecoHyp"),
12 fitHyp_ (
"ttSemiEvtFitHyp")
193 edm::LogWarning(
"TtGenEventNotFilled" ) <<
"genEvt is not semi-leptonic; TtGenEvent is not filled";
206 for(
size_t ijc = 0; ijc<varval.size(); ijc++)
lrJetCombVarVal_.push_back(varval[ijc]);
215 for(
size_t ise = 0; ise<varval.size(); ise++)
lrSignalEvtVarVal_.push_back(varval[ise]);
254 addFourMomenta.
set( recHadW );
259 addFourMomenta.
set( recHadt );
266 }
else if (
getDecay() ==
"muon" ) {
272 addFourMomenta.
set( recLepW );
277 addFourMomenta.
set( recLept );
reco::Particle getCalHadW() const
bool isSemiLeptonic(bool excludeTauLeptons=false) const
check if the event can be classified as semi-laptonic
pat::Jet getRecLepb() const
const LorentzVector & p4(P4Kind kind) const
void setLRSignalEvtObservables(const std::vector< std::pair< unsigned int, double > > &varval)
reco::Particle getRecLept() const
virtual const Point & vertex() const
vertex position (overwritten by PF...)
pat::Jet getCalHadq() const
std::vector< std::pair< unsigned int, double > > lrJetCombVarVal_
pat::Particle getFitLepn() const
void setGenEvt(const edm::Handle< TtGenEvent > &aGenEvt)
pat::Particle getFitHadq() const
double getLRSignalEvtObsVal(unsigned int) const
reco::Particle getFitHadt() const
std::string getDecay() const
reco::Particle getRecHadW() const
reco::Particle getRecHadt() const
edm::Ptr< pat::Jet > hadb_
pat::Electron getRecLepe() const
virtual int charge() const final
electric charge
pat::Particle getFitHadp() const
reco::Particle getFitLepW() const
double getLRJetCombObsVal(unsigned int) const
edm::Ptr< pat::Jet > hadp_
std::vector< std::pair< unsigned int, double > > lrSignalEvtVarVal_
pat::Jet getRecHadp() const
reco::Particle getCalLept() const
void addDaughter(const Candidate &, const std::string &s="")
add a clone of the passed candidate as daughter
pat::Jet getRecHadb() const
reco::Particle getFitHadW() const
void setLRJetCombObservables(const std::vector< std::pair< unsigned int, double > > &varval)
pat::Jet getCalHadb() const
edm::Ptr< pat::Muon > muon_
edm::Ptr< pat::Electron > electron_
reco::CompositeCandidate recoHyp_
void clearDaughters()
clear daughters
edm::RefProd< TtGenEvent > theGenEvt_
edm::Ptr< pat::Jet > lepb_
pat::Particle getFitLepb() const
edm::Ptr< pat::MET > neutrino_
pat::Particle getFitHadb() const
pat::Jet getRecHadq() const
Analysis-level calorimeter jet class.
pat::Particle getFitLepl() const
pat::Muon getRecLepm() const
pat::Jet getCalLepb() const
edm::Ptr< pat::Jet > hadq_
void set(reco::Candidate &c) const
set up a candidate
pat::MET getRecLepn() const
virtual const LorentzVector & p4() const final
four-momentum Lorentz vector
reco::Particle getCalHadt() const
virtual ~TtSemiEvtSolution()
reco::Particle getRecLepW() const
Jet correctedJet(const std::string &level, const std::string &flavor="none", const std::string &set="") const
reco::Particle getCalLepW() const
reco::Particle getFitLept() const
pat::Jet getCalHadp() const