Flat time distribution. More...
#include <EvtTimeFlat.h>
Public Member Functions | |
| EvtTimeFlat (const std::string &config) | |
| virtual | ~EvtTimeFlat () |
| virtual void | Config (const std::string &config) |
| virtual double | TimeOffset () |
| virtual double | TimeOffset (std::vector< double > v) |
| virtual void | PrintConfig (bool verbose=true) |
| provide a means of printing the configuration More... | |
| void | SetDuration (double val) |
| specific methods for this variant More... | |
| double | GetDuration () const |
| void | SetGlobalOffset (double val) |
| double | GetGlobalOffset () const |
Public Member Functions inherited from evgb::EvtTimeShiftI | |
| EvtTimeShiftI (const std::string &config) | |
| virtual | ~EvtTimeShiftI () |
| TRandom * | GetRandomGenerator () const |
| bool | IsRandomGeneratorOwned () const |
| void | SetRandomGenerator (TRandom *gen, bool isOwned) |
Private Attributes | |
| double | fDuration |
| duration (in ns) More... | |
| double | fGlobalOffset |
| always displaced by this (in ns) More... | |
Additional Inherited Members | |
Protected Attributes inherited from evgb::EvtTimeShiftI | |
| TRandom * | fRndmGen |
| bool | fIsOwned |
Flat time distribution.
2015-06-22
Definition at line 22 of file EvtTimeFlat.h.
| evgb::EvtTimeFlat::EvtTimeFlat | ( | const std::string & | config | ) |
Definition at line 20 of file EvtTimeFlat.cxx.
|
virtual |
Definition at line 26 of file EvtTimeFlat.cxx.
|
virtual |
each schema must take a string that configures it it is up to the individual model to parse said string and extract parameters
Implements evgb::EvtTimeShiftI.
Definition at line 28 of file EvtTimeFlat.cxx.
|
inline |
Definition at line 49 of file EvtTimeFlat.h.
|
inline |
Definition at line 51 of file EvtTimeFlat.h.
|
virtual |
provide a means of printing the configuration
Implements evgb::EvtTimeShiftI.
Definition at line 52 of file EvtTimeFlat.cxx.
|
inline |
|
inline |
Definition at line 50 of file EvtTimeFlat.h.
|
virtual |
return time within a 'record' in nanoseconds version taking array might be used for relative batch fractions that vary on a record-by-record basis
Implements evgb::EvtTimeShiftI.
Definition at line 41 of file EvtTimeFlat.cxx.
|
virtual |
|
private |
duration (in ns)
Definition at line 55 of file EvtTimeFlat.h.
|
private |
always displaced by this (in ns)
Definition at line 56 of file EvtTimeFlat.h.
1.8.11