1 #ifndef HeavyFlavorAnalysis_SpecificDecay_BPHDecayToResResBuilder_h 2 #define HeavyFlavorAnalysis_SpecificDecay_BPHDecayToResResBuilder_h 38 template <
class ProdType,
class Res1Type,
class Res2Type>
44 typedef typename Res1Type::const_pointer
res1_ptr;
45 typedef typename Res2Type::const_pointer
res2_ptr;
53 const std::vector<res1_ptr>& res1Collection,
55 const std::vector<res2_ptr>& res2Collection)
73 const std::vector<res2_ptr>& res2Collection)
81 const std::vector<res2_ptr>& sc = *this->
sCollection;
ProdType::const_pointer prod_ptr
Res1Type::const_pointer res1_ptr
const std::vector< res2_ptr > * sCollection
Res2Type::const_pointer res2_ptr
bool accept(const BPHDecayMomentum &cand) const override
select particle
BPHDecayToResResBuilder & operator=(const BPHDecayToResResBuilder &x)=delete
std::vector< res2_ptr > sCollectSel
double getMassMax() const
void addRes2Collection(BPHRecoBuilder &brb) override
void add(const std::string &name, const BPHGenericCollection *collection, double mass=-1.0, double msig=-1.0)
BPHDecayToResResBuilder(const BPHEventSetupWrapper &es, const std::string &res1Name, double res1Mass, double res1Width, const std::vector< res1_ptr > &res1Collection, const std::string &res2Name, const std::vector< res2_ptr > &res2Collection)
~BPHDecayToResResBuilder() override=default
BPHDecayToResResBuilder(const std::vector< res1_ptr > &res1Collection, const std::string &res2Name, const std::vector< res2_ptr > &res2Collection)