#include <BPHRecoCandidate.h>
Public Member Functions | |
virtual void | add (const std::string &name, const reco::Candidate *daug, double mass=-1.0, double sigma=-1.0) |
virtual void | add (const std::string &name, const reco::Candidate *daug, const std::string &searchList, double mass=-1.0, double sigma=-1.0) |
virtual void | add (const std::string &name, const BPHRecoConstCandPtr &comp) |
BPHRecoCandidate (const edm::EventSetup *es) | |
BPHRecoCandidate (const edm::EventSetup *es, const BPHRecoBuilder::ComponentSet &compSet) | |
~BPHRecoCandidate () override | |
Public Member Functions inherited from BPHKinematicFit | |
double | constrMass () const |
retrieve the constraint More... | |
double | constrSigma () const |
virtual const RefCountedKinematicVertex | currentDecayVertex () const |
virtual const RefCountedKinematicParticle | currentParticle () const |
virtual bool | isEmpty () const |
virtual bool | isValidFit () const |
virtual const RefCountedKinematicTree & | kinematicTree () const |
perform the kinematic fit and get the result More... | |
virtual const RefCountedKinematicTree & | kinematicTree (const std::string &name, double mass, double sigma) const |
virtual const RefCountedKinematicTree & | kinematicTree (const std::string &name, double mass) const |
virtual const RefCountedKinematicTree & | kinematicTree (const std::string &name, KinematicConstraint *kc) const |
virtual const RefCountedKinematicTree & | kinematicTree (const std::string &name, MultiTrackKinematicConstraint *kc) const |
virtual const std::vector< RefCountedKinematicParticle > & | kinParticles () const |
get kinematic particles More... | |
virtual std::vector< RefCountedKinematicParticle > | kinParticles (const std::vector< std::string > &names) const |
virtual ParticleMass | mass () const |
virtual const math::XYZTLorentzVector & | p4 () const |
compute total momentum after the fit More... | |
virtual void | resetKinematicFit () const |
reset the kinematic fit More... | |
void | setConstraint (double mass, double sigma) |
apply a mass constraint More... | |
~BPHKinematicFit () override | |
Public Member Functions inherited from BPHDecayVertex | |
const reco::Track * | getTrack (const reco::Candidate *cand) const |
get Track for a daughter More... | |
const std::string & | getTrackSearchList (const reco::Candidate *cand) const |
retrieve track search list More... | |
reco::TransientTrack * | getTransientTrack (const reco::Candidate *cand) const |
get TransientTrack for a daughter More... | |
const std::vector< const reco::Track * > & | tracks () const |
get list of Tracks More... | |
const std::vector< reco::TransientTrack > & | transientTracks () const |
get list of TransientTracks More... | |
virtual bool | validTracks () const |
check for valid reconstructed vertex More... | |
virtual bool | validVertex () const |
virtual const reco::Vertex & | vertex () const |
get reconstructed vertex More... | |
~BPHDecayVertex () override | |
Public Member Functions inherited from BPHDecayMomentum | |
virtual const std::vector< std::string > & | compNames () const |
virtual const pat::CompositeCandidate & | composite () const |
get a composite by the simple sum of simple particles More... | |
virtual const std::vector< BPHRecoConstCandPtr > & | daughComp () const |
virtual const std::vector< const reco::Candidate * > & | daughFull () const |
virtual const std::vector< const reco::Candidate * > & | daughters () const |
virtual const std::vector< std::string > & | daugNames () const |
virtual BPHRecoConstCandPtr | getComp (const std::string &name) const |
virtual const reco::Candidate * | getDaug (const std::string &name) const |
virtual const reco::Candidate * | originalReco (const reco::Candidate *daug) const |
get the original particle from the clone More... | |
virtual | ~BPHDecayMomentum () |
Static Public Member Functions | |
static std::vector< BPHRecoConstCandPtr > | build (const BPHRecoBuilder &builder, double mass=-1, double msig=-1) |
Static Protected Member Functions | |
template<class T > | |
static void | fill (std::vector< typename BPHGenericPtr< const T >::type > &cList, const BPHRecoBuilder &builder, double mass=-1, double msig=-1) |
Additional Inherited Members | |
Protected Member Functions inherited from BPHKinematicFit | |
virtual void | addK (const std::string &name, const reco::Candidate *daug, double mass=-1.0, double sigma=-1.0) |
virtual void | addK (const std::string &name, const reco::Candidate *daug, const std::string &searchList, double mass=-1.0, double sigma=-1.0) |
virtual void | addK (const std::string &name, const BPHRecoConstCandPtr &comp) |
add a previously reconstructed particle giving it a name More... | |
BPHKinematicFit () | |
BPHKinematicFit (const BPHKinematicFit *ptr) | |
void | setNotUpdated () const override |
Protected Member Functions inherited from BPHDecayVertex | |
virtual void | addV (const std::string &name, const reco::Candidate *daug, const std::string &searchList, double mass) |
virtual void | addV (const std::string &name, const BPHRecoConstCandPtr &comp) |
add a previously reconstructed particle giving it a name More... | |
BPHDecayVertex (const edm::EventSetup *es) | |
BPHDecayVertex (const BPHDecayVertex *ptr, const edm::EventSetup *es) | |
Protected Member Functions inherited from BPHDecayMomentum | |
virtual void | addP (const std::string &name, const reco::Candidate *daug, double mass=-1.0) |
virtual void | addP (const std::string &name, const BPHRecoConstCandPtr &comp) |
add a previously reconstructed particle giving it a name More... | |
BPHDecayMomentum () | |
BPHDecayMomentum (const std::map< std::string, Component > &daugMap) | |
BPHDecayMomentum (const std::map< std::string, Component > &daugMap, const std::map< std::string, BPHRecoConstCandPtr > compMap) | |
const std::vector< Component > & | componentList () const |
Description: High level class for reconstructed decay candidates:
Definition at line 46 of file BPHRecoCandidate.h.
BPHRecoCandidate::BPHRecoCandidate | ( | const edm::EventSetup * | es | ) |
Constructors are privatecreate an "empty" object to add daughters later (see BPHDecayMomentum)
Definition at line 33 of file BPHRecoCandidate.cc.
BPHRecoCandidate::BPHRecoCandidate | ( | const edm::EventSetup * | es, |
const BPHRecoBuilder::ComponentSet & | compSet | ||
) |
Definition at line 38 of file BPHRecoCandidate.cc.
|
override |
|
inlinevirtual |
Operationsadd a simple particle giving it a name particles are cloned, eventually specifying a different mass and a sigma
Reimplemented in BPHPlusMinusCandidate.
Definition at line 68 of file BPHRecoCandidate.h.
Referenced by counter.Counter::register().
|
inlinevirtual |
Reimplemented in BPHPlusMinusCandidate.
Definition at line 72 of file BPHRecoCandidate.h.
References ResonanceBuilder::mass.
Referenced by counter.Counter::register().
|
inlinevirtual |
Definition at line 77 of file BPHRecoCandidate.h.
References lumiContext::fill, and ResonanceBuilder::mass.
Referenced by counter.Counter::register().
|
static |
look for candidates starting from particle collections as specified in the BPHRecoBuilder
Definition at line 55 of file BPHRecoCandidate.cc.
References BPHDecayMomentum::cList, and BPHKinematicFit::mass().
Referenced by BPHBdToJPsiKxBuilder::build(), BPHBsToJPsiPhiBuilder::build(), and BPHBuToJPsiKBuilder::build().
|
staticprotected |
Definition at line 102 of file BPHRecoCandidate.h.
References BPHRecoBuilder::accept(), BPHRecoBuilder::build(), BPHRecoBuilder::eventSetup(), mps_fire::i, and gen::n.