1 #ifndef __TIMEBINNING_H__ 2 #define __TIMEBINNING_H__ 17 Bin(
const std::string&,
unsigned,
const std::string& fname =
"") ;
20 double nPlus()
const ;
25 void add(
double,
bool,
double weight = 1.) ;
26 void Print(
const std::string&,
unsigned, std::ostream& os = std::cout)
const ;
27 static std::string
getName(
const std::string&,
unsigned) ;
41 typedef std::deque<Bin>
Bins ;
45 TimeBinning(
const std::string&,
const std::string& fname =
"") ;
50 void Print(
const std::string&, std::ostream& os = std::cout)
const ;
51 void write(
const std::string&,
const std::string&)
const ;
53 double chiSquared(
unsigned,
unsigned,
double,
double)
const ;
57 const Bin&
bin(
unsigned,
unsigned)
const ;
58 const Bin&
binBar(
unsigned,
unsigned)
const ;
60 std::deque<TH1F>
plotVsTime(
const std::string&,
unsigned,
int)
const ;
61 std::deque<std::deque<TH1F> >
plotsVsTime(
const std::string&)
const ;
unsigned nBinsPhase() const
int timeBin(double) const
bool usePoissonErrs() const
Bin & _binBar(unsigned, unsigned)
std::deque< TH1F > plotVsTime(const std::string &, unsigned, int) const
void add(IDalitzEvent &, int, double, double weight=1.)
static std::string getName(const std::string &, unsigned)
const Bin & integratedBin(unsigned) const
const Bin & binBar(unsigned, unsigned) const
std::deque< Bins > Bins2D
void Print(const std::string &, unsigned, std::ostream &os=std::cout) const
TimeBinning(const std::vector< double > &, HadronicParameters::BinningPtr, double)
void savePlotsVsTime(const std::string &, TFile &) const
TimeBinning & operator+=(const TimeBinning &)
HadronicParameters::BinningPtr m_phaseBinning
std::vector< double > m_meant2
Bin & _bin(unsigned, unsigned)
Bin & _integratedBin(unsigned)
Bin & operator+=(const Bin &)
virtual double unmixedTimeMoment(unsigned, double, int) const
void write(const std::string &, const std::string &) const
double meanUnmixedTime(unsigned) const
TimeBinning operator+(TimeBinning) const
void add(double, bool, double weight=1.)
std::vector< double > m_meant
bool isConsistent(const TimeBinning &) const
Check that two TimeBinnings use the same binning scheme.
double meanUnmixedTime2(unsigned) const
HadronicParameters::BinningPtr phaseBinning() const
double chiSquared(unsigned, unsigned, double, double) const
const Bin & bin(unsigned, unsigned) const
std::vector< double > m_timeBins
double getLifetime() const
double chiSquared(double) const
std::deque< std::deque< TH1F > > plotsVsTime(const std::string &) const
void Print(const std::string &, std::ostream &os=std::cout) const
unsigned nBinsTime() const