1 #ifndef HeavyFlavorAnalysis_SpecificDecay_BPHMassFitSelect_h
2 #define HeavyFlavorAnalysis_SpecificDecay_BPHMassFitSelect_h
89 double mass = cand.
p4().mass();
90 return ((mass >=
mMin) && (mass <=
mMax));
~BPHMassFitSelect() override
virtual const math::XYZTLorentzVector & p4() const
compute total momentum after the fit
const edm::EventSetup & c
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
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
bool accept(const BPHKinematicFit &cand) const override
select particle
BPHMassFitSelect(const std::string &name, double mass, double minMass, double maxMass)