1 #ifndef HeavyFlavorAnalysis_RecoDecay_BPHRecoCandidate_h
2 #define HeavyFlavorAnalysis_RecoDecay_BPHRecoCandidate_h
70 addK(name, daug,
"cfhpmig",
mass, sigma);
77 double sigma = -1.0) {
78 addK(name, daug, searchList,
mass, sigma);
88 static std::vector<BPHRecoConstCandPtr>
build(
const BPHRecoBuilder& builder,
double mass = -1,
double msig = -1);
114 const std::vector<BPHRecoBuilder::ComponentSet> dll = builder.
build();
120 for (i = 0; i <
n; ++
i) {
125 rc->setConstraint(mass, msig);
std::vector< BPHRecoConstCandPtr > cList
virtual void addK(const std::string &name, const reco::Candidate *daug, double mass=-1.0, double sigma=-1.0)
BPHRecoCandidate(const edm::EventSetup *es)
std::shared_ptr< T > type
BPHGenericPtr< const BPHRecoCandidate >::type BPHRecoConstCandPtr
std::vector< ComponentSet > build() const
build a set of combinations of particles fulfilling the selections
virtual ParticleMass mass() const
bool accept(const BPHRecoCandidate &cand) const
const edm::EventSetup * eventSetup() const
get the EventSetup set in the constructor
BPHRecoCandidate & operator=(const BPHRecoCandidate &x)=delete
~BPHRecoCandidate() override
virtual void add(const std::string &name, const reco::Candidate *daug, const std::string &searchList, double mass=-1.0, double sigma=-1.0)
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 void add(const std::string &name, const BPHRecoConstCandPtr &comp)
virtual BPHRecoCandidate * clone(int level=-1) const