1 #ifndef HeavyFlavorAnalysis_RecoDecay_BPHRecoCandidate_h 2 #define HeavyFlavorAnalysis_RecoDecay_BPHRecoCandidate_h 78 double sigma = -1.0) {
96 static std::vector<BPHRecoConstCandPtr>
build(
const BPHRecoBuilder& builder,
double mass = -1,
double msig = -1);
124 const std::vector<BPHRecoBuilder::ComponentSet> dll = builder.
build();
130 for (
i = 0;
i <
n; ++
i) {
135 rc->setConstraint(
mass, msig);
std::vector< BPHRecoConstCandPtr > cList
BPHGenericPtr< BPHRecoCandidate >::type BPHRecoCandidatePtr
virtual void addK(const std::string &name, const reco::Candidate *daug, double mass=-1.0, double sigma=-1.0)
virtual BPHRecoCandidate * clone(int level=-1) const
std::shared_ptr< T > type
bool accept(const BPHRecoCandidate &cand) const
BPHGenericPtr< const BPHRecoCandidate >::type BPHRecoConstCandPtr
BPHRecoCandidate & operator=(const BPHRecoCandidate &x)=delete
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
BPHRecoCandidatePtr pointer
virtual void add(const std::string &name, const reco::Candidate *daug, double mass=-1.0, double sigma=-1.0)
BPHRecoConstCandPtr const_pointer
BPHRecoCandidate(const BPHEventSetupWrapper *es, int daugNum=2, int compNum=2)
std::vector< ComponentSet > build() const
build a set of combinations of particles fulfilling the selections
virtual void add(const std::string &name, const BPHRecoConstCandPtr &comp)
~BPHRecoCandidate() override=default
const BPHEventSetupWrapper * eventSetup() const
get the EventSetup set in the constructor
virtual ParticleMass mass() const
static std::vector< BPHRecoConstCandPtr > build(const BPHRecoBuilder &builder, const BuilderParameters &par)