1 #ifndef HeavyFlavorAnalysis_SpecificDecay_BPHDecayToResTrkTrkSameMassBuilder_h 2 #define HeavyFlavorAnalysis_SpecificDecay_BPHDecayToResTrkTrkSameMassBuilder_h 45 template <
class ProdType,
class ResType>
58 const std::vector<res_ptr>& resCollection,
90 std::vector<res_ptr> resList;
93 resList.reserve(nRes);
94 for (iRes = 0; iRes < nRes; ++iRes) {
97 resList.push_back(rCand);
101 nRes = resList.size();
109 for (iPair = 0; iPair < nPair; ++iPair) {
111 for (iRes = 0; iRes < nRes; ++iRes) {
ProdType::const_pointer prod_ptr
~BPHDecayToResTrkTrkSameMassBuilder() override=default
BPHMassFitSelect * mFitSel
BPHDecayToResTrkTrkSameMassBuilder(const std::vector< res_ptr > &resCollection, const std::string &posName, const std::string &negName, double trkMass, double trkSigma, const BPHRecoBuilder::BPHGenericCollection *posCollection, const BPHRecoBuilder::BPHGenericCollection *negCollection)
bool accept(const BPHDecayVertex &cand) const override
select vertex
std::vector< BPHPlusMinusConstCandPtr > ttPairs
bool accept(const BPHDecayMomentum &cand) const override
select particle
const BPHEventSetupWrapper * evSetup
BPHGenericPtr< const BPHPlusMinusCandidate >::type BPHPlusMinusConstCandPtr
void fillRecList() override
BPHDecayToResTrkTrkSameMassBuilder(const BPHEventSetupWrapper &es, const std::string &resName, double resMass, double resWidth, const std::vector< res_ptr > &resCollection, const std::string &posName, const std::string &negName, double trkMass, double trkSigma, const BPHRecoBuilder::BPHGenericCollection *posCollection, const BPHRecoBuilder::BPHGenericCollection *negCollection)
common object to interface with edm collections
BPHDecayToResTrkTrkSameMassBuilder & operator=(const BPHDecayToResTrkTrkSameMassBuilder &x)=delete
const std::vector< res_ptr > * rCollection
std::vector< prod_ptr > recList
bool accept(const BPHKinematicFit &cand) const override
select particle
ResType::const_pointer res_ptr