1 #ifndef HeavyFlavorAnalysis_SpecificDecay_BPHMassFitSelect_h 2 #define HeavyFlavorAnalysis_SpecificDecay_BPHMassFitSelect_h 76 double mass = cand.
p4().mass();
77 return ( ( mass >
mMin ) && ( mass <
mMax ) );
~BPHMassFitSelect() override
virtual const math::XYZTLorentzVector & p4() const
compute total momentum after the fit
void setFitConstraint(const std::string &name, double mass, double sigma)
void setFitConstraint()
set fit constraint
BPHMassFitSelect(const std::string &name, double mass, double sigma, double minMass, double maxMass)
void setFitConstraint(const std::string &name, double mass)
const std::string & getConstrainedName() const
get fit constraint
bool accept(const BPHKinematicFit &cand) const override
select particle
virtual const RefCountedKinematicTree & kinematicTree() const
perform the kinematic fit and get the result
BPHMassFitSelect(double minMass, double maxMass)
void setFitConstraint(const std::string &name, KinematicConstraint *c)
MultiTrackKinematicConstraint * getMultiTrackKC() const
void setFitConstraint(const std::string &name, MultiTrackKinematicConstraint *c)
KinematicConstraint * getKC() const
BPHMassFitSelect(const std::string &name, MultiTrackKinematicConstraint *c, double minMass, double maxMass)
MultiTrackKinematicConstraint * mtkc
BPHMassFitSelect(const std::string &name, KinematicConstraint *c, double minMass, double maxMass)
BPHMassFitSelect & operator=(const BPHMassFitSelect &x)=delete
BPHMassFitSelect(const std::string &name, double mass, double minMass, double maxMass)