MINT2
|
#include <DalitzEventList.h>
Public Member Functions | |
DalitzEventList () | |
DalitzEventList (const DalitzEventList &other) | |
DalitzEventList (TNtupleD *) | |
virtual | ~DalitzEventList () |
const std::string & | className () const |
int | generatePhaseSpaceEvents (int NumEvents, const DalitzEventPattern &pat, TRandom *rnd=0) |
int | generateEvents (unsigned int NumEvents, const DalitzEventPattern &pat, MINT::IReturnRealForEvent< IDalitzEvent > *amps, TRandom *rnd) |
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') |
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') |
TNtupleD * | makePlotNtp (const std::string &name_prefix="DalitzPlotNtp", MINT::IReturnRealForEvent< IDalitzEvent > *weightFunction=0, double units=GeV *GeV) |
DalitzHistoSet | histoSet () const |
DalitzHistoSet | weightedHistoSet () const |
DalitzHistoSet | reWeightedHistoSet (MINT::IReturnRealForEvent< IDalitzEvent > *w) |
DalitzHistoSet | weighedReWeightedHistoSet (MINT::IReturnRealForEvent< IDalitzEvent > *w) |
bool | makePlots (const std::string &filename) const |
PlotSet | makeAllPlots (const std::string &name_prefix, MINT::IReturnRealForEvent< IDalitzEvent > *weightFunction=0, int nbins1D=100, int nbins2D=10, double units=GeV *GeV) |
bool | save (const std::string &fname="DalitzEvents.root") const |
bool | fromFile (const std::string &fname="DalitzEvents.root") |
TNtupleD * | makeNtuple () const |
TNtupleD * | makeNtuple (const std::string &ntpName) const |
bool | saveAsNtuple (const std::string &fname="DalitzEvents.root") const |
bool | saveAsNtuple (const std::string &fname, const std::string &ntpName) const |
bool | fromNtuple (TTree *ntp) |
bool | fromNtuple (TTree *ntp, double num) |
bool | fromNtupleFile (const std::string &fname="DalitzEvents.root") |
Public Member Functions inherited from MINT::EventList< DalitzEvent > | |
EventList () | |
EventList (const EventList< DalitzEvent > &other) | |
virtual | ~EventList () |
EventList< DalitzEvent > & | operator= (const EventList< DalitzEvent > &other) |
virtual DalitzEvent & | operator[] (unsigned int i) |
virtual const DalitzEvent & | operator[] (unsigned int i) const |
virtual DalitzEvent | getEvent (unsigned int i) const |
virtual unsigned int | size () const |
virtual bool | Add (const DalitzEvent &evt) |
virtual bool | Add (const EventList< DalitzEvent > &addList) |
Public Member Functions inherited from MINT::IEventList< DalitzEvent > | |
virtual | ~IEventList () |
Public Member Functions inherited from MINT::PolymorphVector< DalitzEvent > | |
PolymorphVector () | |
PolymorphVector (unsigned int N) | |
PolymorphVector (unsigned int N, const DalitzEvent &c) | |
PolymorphVector (const PolymorphVector &other) | |
PolymorphVector (const typename std::vector< DalitzEvent > &other) | |
virtual | ~PolymorphVector () |
std::vector< DalitzEvent > & | theVector () |
const std::vector< DalitzEvent > & | theVector () const |
DalitzEvent & | operator[] (unsigned int i) |
const DalitzEvent & | operator[] (unsigned int i) const |
DalitzEvent & | at (unsigned int i) |
const DalitzEvent & | at (unsigned int i) const |
std::vector< DalitzEvent >::iterator | begin () |
std::vector< DalitzEvent >::const_iterator | begin () const |
std::vector< DalitzEvent >::iterator | end () |
std::vector< DalitzEvent >::const_iterator | end () const |
std::vector< DalitzEvent >::iterator | find (const DalitzEvent &c) |
std::vector< DalitzEvent >::const_iterator | find (const DalitzEvent &c) const |
DalitzEvent & | front () |
const DalitzEvent & | front () const |
DalitzEvent & | back () |
const DalitzEvent & | back () const |
unsigned int | size () const |
bool | empty () const |
void | push_back (const DalitzEvent &c) |
void | pop_back () |
void | erase (typename std::vector< DalitzEvent >::iterator pos) |
void | erase (typename std::vector< DalitzEvent >::iterator first, typename std::vector< DalitzEvent >::iterator last) |
PolymorphVector< DalitzEvent > & | operator= (const PolymorphVector< DalitzEvent > &other) |
void | clear () |
void | resize (unsigned int N) |
void | resize (unsigned int N, const DalitzEvent &c) |
operator const typename std::vector< DalitzEvent > & () const | |
operator typename std::vector< DalitzEvent > & () | |
bool | operator== (const MINT::PolymorphVector< DalitzEvent > &v2) const |
bool | operator!= (const MINT::PolymorphVector< DalitzEvent > &v2) const |
bool | operator< (const MINT::PolymorphVector< DalitzEvent > &v2) const |
bool | operator> (const MINT::PolymorphVector< DalitzEvent > &v2) const |
Protected Attributes | |
TFile * | _file |
Protected Attributes inherited from MINT::PolymorphVector< DalitzEvent > | |
std::vector< DalitzEvent > | _vec |
Static Private Attributes | |
static const std::string | _className |
Additional Inherited Members | |
Protected Member Functions inherited from MINT::IEventList< DalitzEvent > | |
IEventList () | |
Protected Member Functions inherited from MINT::IMinimalEventList< DalitzEvent > | |
IMinimalEventList () | |
Definition at line 35 of file DalitzEventList.h.
DalitzEventList::DalitzEventList | ( | ) |
Definition at line 27 of file MyDalitzEventList.h.
DalitzEventList::DalitzEventList | ( | const DalitzEventList & | other | ) |
Definition at line 32 of file MyDalitzEventList.h.
DalitzEventList::DalitzEventList | ( | TNtupleD * | ntp | ) |
Definition at line 38 of file MyDalitzEventList.h.
|
virtual |
Definition at line 54 of file DalitzEventList.cpp.
|
inline |
Definition at line 49 of file DalitzEventList.h.
bool DalitzEventList::fromFile | ( | const std::string & | fname = "DalitzEvents.root" | ) |
Definition at line 320 of file MyDalitzEventList.h.
bool DalitzEventList::fromNtuple | ( | TTree * | ntp | ) |
Definition at line 352 of file MyDalitzEventList.h.
bool DalitzEventList::fromNtuple | ( | TTree * | ntp, |
double | num | ||
) |
Definition at line 384 of file MyDalitzEventList.h.
bool DalitzEventList::fromNtupleFile | ( | const std::string & | fname = "DalitzEvents.root" | ) |
Definition at line 421 of file MyDalitzEventList.h.
int DalitzEventList::generateEvents | ( | unsigned int | NumEvents, |
const DalitzEventPattern & | pat, | ||
MINT::IReturnRealForEvent< IDalitzEvent > * | amps, | ||
TRandom * | rnd | ||
) |
int DalitzEventList::generatePhaseSpaceEvents | ( | int | NumEvents, |
const DalitzEventPattern & | pat, | ||
TRandom * | rnd = 0 |
||
) |
Definition at line 49 of file MyDalitzEventList.h.
DalitzHistoSet DalitzEventList::histoSet | ( | ) | const |
Definition at line 434 of file MyDalitzEventList.h.
PlotSet DalitzEventList::makeAllPlots | ( | const std::string & | name_prefix, |
MINT::IReturnRealForEvent< IDalitzEvent > * | weightFunction = 0 , |
||
int | nbins1D = 100 , |
||
int | nbins2D = 10 , |
||
double | units = GeV*GeV |
||
) |
Definition at line 223 of file MyDalitzEventList.h.
TNtupleD * DalitzEventList::makeNtuple | ( | ) | const |
Definition at line 276 of file MyDalitzEventList.h.
TNtupleD * DalitzEventList::makeNtuple | ( | const std::string & | ntpName | ) | const |
Definition at line 286 of file MyDalitzEventList.h.
TH1D * DalitzEventList::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' |
||
) |
Definition at line 79 of file MyDalitzEventList.h.
TH2D * DalitzEventList::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' |
||
) |
Definition at line 111 of file MyDalitzEventList.h.
TNtupleD * DalitzEventList::makePlotNtp | ( | const std::string & | name_prefix = "DalitzPlotNtp" , |
MINT::IReturnRealForEvent< IDalitzEvent > * | weightFunction = 0 , |
||
double | units = GeV*GeV |
||
) |
Definition at line 157 of file MyDalitzEventList.h.
bool DalitzEventList::makePlots | ( | const std::string & | filename | ) | const |
Definition at line 471 of file MyDalitzEventList.h.
DalitzHistoSet DalitzEventList::reWeightedHistoSet | ( | MINT::IReturnRealForEvent< IDalitzEvent > * | w | ) |
Definition at line 450 of file MyDalitzEventList.h.
bool DalitzEventList::save | ( | const std::string & | fname = "DalitzEvents.root" | ) | const |
Definition at line 317 of file MyDalitzEventList.h.
bool DalitzEventList::saveAsNtuple | ( | const std::string & | fname = "DalitzEvents.root" | ) | const |
Definition at line 324 of file MyDalitzEventList.h.
bool DalitzEventList::saveAsNtuple | ( | const std::string & | fname, |
const std::string & | ntpName | ||
) | const |
Definition at line 329 of file MyDalitzEventList.h.
DalitzHistoSet DalitzEventList::weighedReWeightedHistoSet | ( | MINT::IReturnRealForEvent< IDalitzEvent > * | w | ) |
Definition at line 461 of file MyDalitzEventList.h.
DalitzHistoSet DalitzEventList::weightedHistoSet | ( | ) | const |
Definition at line 441 of file MyDalitzEventList.h.
|
staticprivate |
Definition at line 38 of file DalitzEventList.h.
|
protected |
Definition at line 40 of file DalitzEventList.h.