1 #ifndef DALITZEVENTLIST_HH 2 #define DALITZEVENTLIST_HH 64 TH1D*
makePlot(
const std::vector<int> sij
65 ,
const std::string& name
72 TH2D*
makePlot2D(
const std::vector<int> sijIndicesX
73 ,
const std::vector<int> sijIndicesY
74 ,
const std::string& name
81 TNtupleD*
makePlotNtp(
const std::string& name_prefix=
"DalitzPlotNtp" 91 bool makePlots(
const std::string& filename)
const;
109 bool save(
const std::string& fname =
"DalitzEvents.root")
const;
110 bool fromFile(
const std::string& fname =
"DalitzEvents.root");
113 TNtupleD*
makeNtuple(
const std::string& ntpName)
const;
115 bool saveAsNtuple(
const std::string& fname=
"DalitzEvents.root")
const;
117 ,
const std::string& ntpName
122 bool fromNtupleFile(
const std::string& fname=
"DalitzEvents.root");
bool fromFile(const std::string &fname="DalitzEvents.root")
virtual ~DalitzEventList()
TNtupleD * makeNtuple() const
DalitzHistoSet weighedReWeightedHistoSet(MINT::IReturnRealForEvent< IDalitzEvent > *w)
bool save(const std::string &fname="DalitzEvents.root") const
TH2D * makePlot2D(const std::vector< int > sijIndicesX, const std::vector< int > sijIndicesY, const std::string &name, MINT::IReturnRealForEvent< IDalitzEvent > *weightFunction=0, int nbins=10, double units=GeV *GeV, char opt='s')
DalitzHistoSet reWeightedHistoSet(MINT::IReturnRealForEvent< IDalitzEvent > *w)
bool fromNtupleFile(const std::string &fname="DalitzEvents.root")
static const std::string _className
int generateEvents(unsigned int NumEvents, const DalitzEventPattern &pat, MINT::IReturnRealForEvent< IDalitzEvent > *amps, TRandom *rnd)
DalitzHistoSet weightedHistoSet() const
TNtupleD * makePlotNtp(const std::string &name_prefix="DalitzPlotNtp", MINT::IReturnRealForEvent< IDalitzEvent > *weightFunction=0, double units=GeV *GeV)
bool makePlots(const std::string &filename) const
bool fromNtuple(TTree *ntp)
PlotSet makeAllPlots(const std::string &name_prefix, MINT::IReturnRealForEvent< IDalitzEvent > *weightFunction=0, int nbins1D=100, int nbins2D=10, double units=GeV *GeV)
const std::string & className() const
DalitzHistoSet histoSet() const
bool saveAsNtuple(const std::string &fname="DalitzEvents.root") const
int generatePhaseSpaceEvents(int NumEvents, const DalitzEventPattern &pat, TRandom *rnd=0)
TH1D * makePlot(const std::vector< int > sij, const std::string &name, MINT::IReturnRealForEvent< IDalitzEvent > *weightFunction=0, int nbins=100, double units=GeV *GeV, char opt='s')