LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
time distribution that is delta of 0 (no shift) More...
#include "EvtTimeNone.h"
Public Member Functions | |
EvtTimeNone (const std::string &config) | |
virtual | ~EvtTimeNone () |
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... | |
TRandom * | GetRandomGenerator () const |
bool | IsRandomGeneratorOwned () const |
bool | IsRandomGeneratorSeeded () const |
void | SetRandomGenerator (TRandom *gen, bool isOwned) |
Protected Member Functions | |
std::vector< std::string > | GetConfigTokens (const std::string &config) |
Protected Attributes | |
TRandom * | fRndmGen |
bool | fIsOwned |
bool | fIsSeeded |
time distribution that is delta of 0 (no shift)
2015-06-22
Definition at line 22 of file EvtTimeNone.h.
evgb::EvtTimeNone::EvtTimeNone | ( | const std::string & | config | ) |
Definition at line 20 of file EvtTimeNone.cxx.
References Config().
|
virtual |
Definition at line 24 of file EvtTimeNone.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 26 of file EvtTimeNone.cxx.
Referenced by EvtTimeNone().
|
protectedinherited |
Definition at line 69 of file EvtTimeShiftI.cxx.
References x.
Referenced by evgb::EvtTimeFNALBeam::Config(), evgb::EvtTimeShiftI::EvtTimeShiftI(), and evgb::EvtTimeShiftI::IsRandomGeneratorSeeded().
|
inlineinherited |
Allow users some control over random # sequences An "owned" object is expected to be deleted by the EvtTimeShift obj
Definition at line 61 of file EvtTimeShiftI.h.
References evgb::EvtTimeShiftI::fRndmGen.
Referenced by evgb::GENIEHelper::GENIEHelper().
|
inlineinherited |
|
inlineinherited |
Definition at line 63 of file EvtTimeShiftI.h.
References evgb::EvtTimeShiftI::fIsSeeded, evgb::EvtTimeShiftI::GetConfigTokens(), and evgb::EvtTimeShiftI::SetRandomGenerator().
Referenced by evgb::GENIEHelper::GENIEHelper().
|
virtual |
provide a means of printing the configuration
Implements evgb::EvtTimeShiftI.
Definition at line 40 of file EvtTimeNone.cxx.
|
inherited |
Definition at line 60 of file EvtTimeShiftI.cxx.
References evgb::EvtTimeShiftI::fIsOwned, and evgb::EvtTimeShiftI::fRndmGen.
Referenced by evgb::EvtTimeShiftI::IsRandomGeneratorSeeded().
|
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 30 of file EvtTimeNone.cxx.
Referenced by TimeOffset().
|
virtual |
Implements evgb::EvtTimeShiftI.
Definition at line 35 of file EvtTimeNone.cxx.
References TimeOffset().
|
protectedinherited |
Definition at line 72 of file EvtTimeShiftI.h.
Referenced by evgb::EvtTimeShiftI::IsRandomGeneratorOwned(), evgb::EvtTimeShiftI::SetRandomGenerator(), and evgb::EvtTimeShiftI::~EvtTimeShiftI().
|
protectedinherited |
Definition at line 73 of file EvtTimeShiftI.h.
Referenced by evgb::EvtTimeShiftI::EvtTimeShiftI(), and evgb::EvtTimeShiftI::IsRandomGeneratorSeeded().
|
protectedinherited |