Go to the documentation of this file.
46 vector<BPHRecoConstCandPtr>
cList;
47 fill<BPHRecoCandidate>(
cList, builder,
mass, msig);
63 const std::vector<std::string>& nDaug =
daugNames();
65 int nd = nDaug.size();
66 for (
id = 0;
id < nd; ++
id) {
67 const string&
n = nDaug[
id];
73 int nc =
nComp.size();
74 for (ic = 0; ic < nc; ++ic) {
75 const string&
n =
nComp[ic];
const std::string & getTrackSearchList(const reco::Candidate *cand) const
retrieve track search list
double getMassSigma(const reco::Candidate *cand) const
retrieve particle mass sigma
void fill(BPHRecoCandidate *ptr, int level) const override
const edm::EventSetup * getEventSetup() const
retrieve EventSetup
virtual const reco::Candidate * getDaug(const std::string &name) const
double constrMass() const
retrieve the constraint
double constrSigma() const
virtual BPHRecoConstCandPtr getComp(const std::string &name) const
~BPHRecoCandidate() override
std::vector< std::string > nComp
virtual ParticleMass mass() const
void setConstraint(double mass, double sigma)
apply a mass constraint
virtual const std::vector< std::string > & compNames() const
BPHRecoCandidate(const edm::EventSetup *es)
virtual const reco::Candidate * originalReco(const reco::Candidate *daug) const
get the original particle from the clone
static std::vector< BPHRecoConstCandPtr > build(const BPHRecoBuilder &builder, double mass=-1, double msig=-1)
virtual void add(const std::string &name, const reco::Candidate *daug, double mass=-1.0, double sigma=-1.0)
virtual BPHRecoCandidate * clone(int level=-1) const
virtual const std::vector< std::string > & daugNames() const
bool getIndependentFit(const std::string &name) const
retrieve independent fit flag
std::vector< BPHRecoConstCandPtr > cList
void setIndependentFit(const std::string &name, bool flag=true, double mass=-1.0, double sigma=-1.0)
set a decaying daughter as an unique particle fitted independently
BPHGenericPtr< const BPHRecoCandidate >::type BPHRecoConstCandPtr