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];
std::vector< BPHRecoConstCandPtr > cList
const edm::EventSetup & c
const edm::EventSetup * getEventSetup() const
retrieve EventSetup
uint16_t *__restrict__ id
BPHRecoCandidate(const edm::EventSetup *es)
BPHGenericPtr< const BPHRecoCandidate >::type BPHRecoConstCandPtr
virtual double mass() const =0
mass
virtual ParticleMass mass() const
const std::string & getTrackSearchList(const reco::Candidate *cand) const
retrieve track search list
double constrSigma() const
double constrMass() const
retrieve the constraint
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
~BPHRecoCandidate() override
void fill(BPHRecoCandidate *ptr, int level) const override
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 const reco::Candidate * originalReco(const reco::Candidate *daug) const
get the original particle from the clone
virtual BPHRecoCandidate * clone(int level=-1) const
virtual BPHRecoConstCandPtr getComp(const std::string &name) const
virtual const std::vector< std::string > & compNames() const
void setConstraint(double mass, double sigma)
apply a mass constraint
virtual const std::vector< std::string > & daugNames() const
virtual const reco::Candidate * getDaug(const std::string &name) const
bool getIndependentFit(const std::string &name) const
retrieve independent fit flag
std::vector< std::string > nComp
double getMassSigma(const reco::Candidate *cand) const
retrieve particle mass sigma