1 #ifndef HeavyFlavorAnalysis_SpecificDecay_BPHDecayConstrainedBuilder_h 2 #define HeavyFlavorAnalysis_SpecificDecay_BPHDecayConstrainedBuilder_h 39 template <
class ProdType,
class ResType>
44 typedef typename ResType::const_pointer
res_ptr;
52 const std::vector<res_ptr>& resCollection)
72 const std::vector<res_ptr>& rc = *this->
rCollection;
ProdType::const_pointer prod_ptr
BPHDecayConstrainedBuilder(const std::vector< res_ptr > &resCollection)
std::vector< res_ptr > rCollectSel
BPHDecayConstrainedBuilder & operator=(const BPHDecayConstrainedBuilder &x)=delete
bool accept(const BPHDecayMomentum &cand) const override
select particle
~BPHDecayConstrainedBuilder() override=default
double getMassMax() const
BPHDecayConstrainedBuilder(const BPHEventSetupWrapper &es, const std::string &resName, double resMass, double resWidth, const std::vector< res_ptr > &resCollection)
void add(const std::string &name, const BPHGenericCollection *collection, double mass=-1.0, double msig=-1.0)
const std::vector< res_ptr > * rCollection
void addResCollection(BPHRecoBuilder &brb) override
ResType::const_pointer res_ptr