Go to the documentation of this file. 1 #ifndef HeavyFlavorAnalysis_RecoDecay_BPHRecoCandidate_h
2 #define HeavyFlavorAnalysis_RecoDecay_BPHRecoCandidate_h
77 double sigma = -1.0) {
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::shared_ptr< T > type
void fill(BPHRecoCandidate *ptr, int level) const override
virtual void add(const std::string &name, const BPHRecoConstCandPtr &comp)
virtual void add(const std::string &name, const reco::Candidate *daug, const std::string &searchList, double mass=-1.0, double sigma=-1.0)
std::vector< ComponentSet > build() const
build a set of combinations of particles fulfilling the selections
const edm::EventSetup * eventSetup() const
get the EventSetup set in the constructor
~BPHRecoCandidate() override
virtual ParticleMass mass() const
BPHRecoCandidate(const edm::EventSetup *es)
virtual void addK(const std::string &name, const reco::Candidate *daug, double mass=-1.0, double sigma=-1.0)
static std::vector< BPHRecoConstCandPtr > build(const BPHRecoBuilder &builder, double mass=-1, double msig=-1)
BPHRecoCandidate & operator=(const BPHRecoCandidate &x)=delete
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
bool accept(const BPHRecoCandidate &cand) const
std::vector< BPHRecoConstCandPtr > cList
BPHGenericPtr< const BPHRecoCandidate >::type BPHRecoConstCandPtr