1 #ifndef HeavyFlavorAnalysis_SpecificDecay_BPHMassFitSelect_h 2 #define HeavyFlavorAnalysis_SpecificDecay_BPHMassFitSelect_h 76 double mass = cand.
p4().mass();
77 return ( ( mass >
mMin ) && ( mass <
mMax ) );
virtual const math::XYZTLorentzVector & p4() const
compute total momentum after the fit
virtual ~BPHMassFitSelect()
void setFitConstraint(const std::string &name, double mass, double sigma)
void setFitConstraint()
set fit constraint
BPHMassFitSelect & operator=(const BPHMassFitSelect &x)
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
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)
virtual bool accept(const BPHKinematicFit &cand) const
select particle
BPHMassFitSelect(const std::string &name, double mass, double minMass, double maxMass)