11 ,
double mini,
double maxi
12 ,
const std::string& namePrefix)
20 std::cout <<
"WARNING: singleTopHatShape can only properly handle" 21 <<
"\n > two body decays." 24 <<
"\n > Please improve me." 33 , _genFct(other._genFct)
34 , _theDecay(other._theDecay)
35 , _min_sij(other._min_sij)
36 , _max_sij(other._max_sij)
37 , _prefix(other._prefix)
50 cout <<
"ERROR in singleTopHatShape::mumsRecoMass2() " 53 <<
" decays into " << asi.size() <<
" particles?\n" 57 double mumsRM = evt.
sij(asi);
62 if(
m >=
min() &&
m <
max())
return 1;
88 std::stringstream strm;
89 strm <<
"singleTopHatShape[" 90 <<
min() <<
"," <<
max() <<
"](" 101 <<
"\n\t> min, max sij: " <<
min() <<
", " <<
max()
103 <<
"\n\t> This is the decay I'm looking at:" 111 <<
"\n\t> min, max sij: " <<
min() <<
", " <<
max()
112 <<
"\n\t> This is the decay I'm looking at:" const std::string & prefix() const
void makeGeneratingFunction() const
virtual void setLimits(double sMin, double sMax)
virtual DalitzCoordinate getDalitzCoordinate(double nSigma=3) const
virtual std::string name() const
virtual void setBoxLimits(double sMin, double sMax)
virtual std::complex< double > getValue(IDalitzEvent &evt) const
const AssociatedDecayTree & _theDecay
virtual double sij(const MINT::PolymorphVector< int > &indices) const =0
MINT::counted_ptr< IGenFct > _genFct
const ValueType & getVal() const
virtual MINT::counted_ptr< IGenFct > generatingFunction() const
singleTopHatShape(const AssociatedDecayTree &decay, double mini, double maxi, const std::string &namePrefix="")
virtual void print(IDalitzEvent &evt, std::ostream &out=std::cout) const
double mumsRecoMass2(IDalitzEvent &evt) const
std::ostream & operator<<(std::ostream &out, const singleTopHatShape &ths)
void oneLiner(std::stringstream &seam, int generation=0) const
const std::vector< int > & asi() const
bool startOfDecayChain() const
void setMinMax(double min, double max)
virtual std::complex< double > getVal(IDalitzEvent &evt)