#include <SignalGenerator.h>
|
| SignalGenerator (const DalitzEventPattern &pat, TRandom *rnd=gRandom) |
|
| SignalGenerator (const DalitzEventPattern &pat, IFastAmplitudeIntegrable *amps, TRandom *rnd=gRandom) |
|
| SignalGenerator (const DalitzEventPattern &pat, double rB, double phase, TRandom *rnd=gRandom) |
|
virtual | ~SignalGenerator () |
|
virtual MINT::counted_ptr< IDalitzEvent > | tryDalitzEvent () |
|
virtual MINT::counted_ptr< IDalitzEvent > | newDalitzEvent () |
|
virtual MINT::counted_ptr< IDalitzEvent > | newEvent () |
|
virtual bool | exhausted () const |
|
virtual bool | ensureFreshEvents () |
|
bool | am_I_generating_what_I_think_I_am_generating (int Nevents=100000) |
|
bool | compareGenerationMethodsForFullPDF (int Nevents=100000) |
|
| BaseGenerator (TRandom *rnd=gRandom) |
|
| BaseGenerator (const BaseGenerator &other) |
|
void | setMothers3Momentum (MINT::counted_ptr< MINT::IReturnReal > p, MINT::counted_ptr< MINT::IReturnReal > cosTheta=(MINT::counted_ptr< MINT::IReturnReal >) 0, MINT::counted_ptr< MINT::IReturnReal > phi=(MINT::counted_ptr< MINT::IReturnReal >) 0) |
|
void | unsetMothers3Momentum () |
|
bool | mothers3MomentumIsSet () const |
|
void | setSaveEvents (const std::string &fname="GeneratorEvents.root", const std::string &opt="RECREATE") |
|
void | dontSaveEvents () |
|
void | setUnweighted (bool uw=true) |
|
void | setWeighted (bool w=true) |
|
void | FillEventList (DalitzEventList &evtList, int NEvents) |
|
void | FillEventList (DiskResidentEventList &evtList, int NEvents) |
|
void | noPrintout () |
|
virtual | ~BaseGenerator () |
|
virtual | ~IEventGenerator () |
|
Definition at line 25 of file SignalGenerator.h.
◆ SignalGenerator() [1/3]
SignalGenerator::SignalGenerator |
( |
const DalitzEventPattern & |
pat, |
|
|
TRandom * |
rnd = gRandom |
|
) |
| |
Definition at line 11 of file SignalGenerator.cpp.
virtual bool setRnd(TRandom *rnd)=0
MINT::counted_ptr< MINT::IUnweightedEventGenerator< IDalitzEvent > > _boxes
MINT::MinuitParameterSet _myOwnPSet
MINT::counted_ptr< IFastAmplitudeIntegrable > _counted_amps
BaseGenerator(TRandom *rnd=gRandom)
IFastAmplitudeIntegrable * _amps
virtual MINT::counted_ptr< MINT::IUnweightedEventGenerator< IDalitzEvent > > makeEventGenerator(const DalitzEventPattern &pat, TRandom *rnd=gRandom)=0
MINT::MinuitParameterSet * myMPS()
◆ SignalGenerator() [2/3]
Definition at line 55 of file SignalGenerator.cpp.
virtual bool setRnd(TRandom *rnd)=0
MINT::counted_ptr< MINT::IUnweightedEventGenerator< IDalitzEvent > > _boxes
MINT::MinuitParameterSet _myOwnPSet
MINT::counted_ptr< IFastAmplitudeIntegrable > _counted_amps
BaseGenerator(TRandom *rnd=gRandom)
IFastAmplitudeIntegrable * _amps
virtual MINT::counted_ptr< MINT::IUnweightedEventGenerator< IDalitzEvent > > makeEventGenerator(const DalitzEventPattern &pat, TRandom *rnd=gRandom)=0
◆ SignalGenerator() [3/3]
SignalGenerator::SignalGenerator |
( |
const DalitzEventPattern & |
pat, |
|
|
double |
rB, |
|
|
double |
phase, |
|
|
TRandom * |
rnd = gRandom |
|
) |
| |
Definition at line 23 of file SignalGenerator.cpp.
40 cpAmps *= polar(rB, phase);
MINT::counted_ptr< MINT::IUnweightedEventGenerator< IDalitzEvent > > _boxes
MINT::MinuitParameterSet _myOwnPSet
MINT::counted_ptr< IFastAmplitudeIntegrable > _counted_amps
BaseGenerator(TRandom *rnd=gRandom)
IFastAmplitudeIntegrable * _amps
MINT::MinuitParameterSet * myMPS()
◆ ~SignalGenerator()
virtual SignalGenerator::~SignalGenerator |
( |
| ) |
|
|
inlinevirtual |
◆ am_I_generating_what_I_think_I_am_generating()
bool SignalGenerator::am_I_generating_what_I_think_I_am_generating |
( |
int |
Nevents = 100000 | ) |
|
Definition at line 134 of file SignalGenerator.cpp.
135 if(0 ==
_boxes)
return false;
MINT::counted_ptr< MINT::IUnweightedEventGenerator< IDalitzEvent > > _boxes
virtual bool am_I_generating_what_I_think_I_am_generating(int)
◆ compareGenerationMethodsForFullPDF()
bool SignalGenerator::compareGenerationMethodsForFullPDF |
( |
int |
Nevents = 100000 | ) |
|
Definition at line 139 of file SignalGenerator.cpp.
140 if(0 ==
_boxes)
return false;
MINT::counted_ptr< MINT::IUnweightedEventGenerator< IDalitzEvent > > _boxes
virtual bool compareGenerationMethodsForFullPDF(int)
◆ ensureFreshEvents()
bool SignalGenerator::ensureFreshEvents |
( |
| ) |
|
|
virtual |
Reimplemented from BaseGenerator.
Definition at line 126 of file SignalGenerator.cpp.
MINT::counted_ptr< MINT::IUnweightedEventGenerator< IDalitzEvent > > _boxes
virtual bool ensureFreshEvents()
virtual bool ensureFreshEvents()=0
◆ exhausted()
virtual bool SignalGenerator::exhausted |
( |
| ) |
const |
|
inlinevirtual |
◆ makeBoxes()
bool SignalGenerator::makeBoxes |
( |
| ) |
|
|
protected |
Definition at line 77 of file SignalGenerator.cpp.
78 if(0 ==
_amps)
return 0;
virtual bool setRnd(TRandom *rnd)=0
MINT::counted_ptr< MINT::IUnweightedEventGenerator< IDalitzEvent > > _boxes
IFastAmplitudeIntegrable * _amps
virtual MINT::counted_ptr< MINT::IUnweightedEventGenerator< IDalitzEvent > > makeEventGenerator(const DalitzEventPattern &pat, TRandom *rnd=gRandom)=0
◆ myMPS()
◆ newDalitzEvent()
Definition at line 109 of file SignalGenerator.cpp.
113 int largeNumber(1000000);
117 }
while(0 == evtPtr && counter++ < largeNumber);
MINT::counted_ptr< DiskResidentEventList > _evtList
virtual bool Add(const DalitzEvent &evt)
virtual MINT::counted_ptr< IDalitzEvent > tryDalitzEvent()
◆ newEvent()
◆ tryDalitzEvent()
Definition at line 87 of file SignalGenerator.cpp.
MINT::counted_ptr< MINT::IUnweightedEventGenerator< IDalitzEvent > > _boxes
virtual counted_ptr< RETURN_TYPE > newEvent()=0
virtual counted_ptr< RETURN_TYPE > newUnweightedEvent()=0
TVector3 mothers3Momentum() const
◆ _amps
◆ _boxes
◆ _counted_amps
◆ _myOwnPSet
◆ _pat
The documentation for this class was generated from the following files: