192 unsigned iPhaseBin = 1 ;
193 for(
auto& binhistos : histos) {
194 TH1F& rminus = binhistos[2] ;
195 TH1F& rplus = binhistos[5] ;
196 TH1F& rdiff = binhistos[6] ;
197 TH1F rminusfit = TH1F(rminus) ;
198 rminusfit.SetName((
string(rminus.GetName()) +
"_fit").c_str()) ;
199 TH1F rplusfit = TH1F(rplus) ;
200 rplusfit.SetName((
string(rplus.GetName()) +
"_fit").c_str()) ;
201 TH1F rdifffit = TH1F(rdiff) ;
202 rdifffit.SetName((
string(rdiff.GetName()) +
"_fit").c_str()) ;
208 double rdiff = rplus-rminus ;
209 rminusfit.SetBinContent(iTimeBin+1, rminus) ;
210 rminusfit.SetBinError(iTimeBin+1, 0.) ;
211 rplusfit.SetBinContent(iTimeBin+1, rplus) ;
212 rplusfit.SetBinError(iTimeBin+1, 0.) ;
213 rdifffit.SetBinContent(iTimeBin+1, rdiff) ;
214 rdifffit.SetBinError(iTimeBin+1, 0.) ;
216 binhistos.push_back(rminusfit) ;
217 binhistos.push_back(rplusfit) ;
218 binhistos.push_back(rdifffit) ;
TimeBinning m_timeBinning
std::complex< double > m_zcp
double meanUnmixedTime(unsigned) const
double meanUnmixedTime2(unsigned) const
const Bin & bin(IDalitzEvent &) const
Get the bin for a DalitzEvent.
std::complex< double > m_dz
double getLifetime() const
std::deque< std::deque< TH1F > > plotsVsTime(const std::string &) const
double Rbar(double, double, double, const std::complex< double > &, const std::complex< double > &) const
HadronicParameters m_hadronicPars
unsigned nBinsTime() const
double R(double, double, double, const std::complex< double > &, const std::complex< double > &) const
Get expected ratio of events (suppressed)/(favoured) at the given time for the given mixing parameter...