Public Member Functions | List of all members
evgb::EvtTimeNone Class Reference

time distribution that is delta of 0 (no shift) More...

#include <EvtTimeNone.h>

Inheritance diagram for evgb::EvtTimeNone:
evgb::EvtTimeShiftI

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...
 
- 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)
 

Additional Inherited Members

- Protected Attributes inherited from evgb::EvtTimeShiftI
TRandom * fRndmGen
 
bool fIsOwned
 

Detailed Description

time distribution that is delta of 0 (no shift)

Author
Robert Hatcher <rhatcher fnal.gov> Fermi National Accelerator Laboratory

2015-06-22

Version
Id
EvtTimeNone.h,v 1.1 2015/06/30 18:01:24 rhatcher Exp

Definition at line 22 of file EvtTimeNone.h.

Constructor & Destructor Documentation

evgb::EvtTimeNone::EvtTimeNone ( const std::string config)

Definition at line 20 of file EvtTimeNone.cxx.

22  { Config(config); }
static Config * config
Definition: config.cpp:1054
EvtTimeShiftI(const std::string &config)
virtual void Config(const std::string &config)
Definition: EvtTimeNone.cxx:26
evgb::EvtTimeNone::~EvtTimeNone ( )
virtual

Definition at line 24 of file EvtTimeNone.cxx.

24 { ; }

Member Function Documentation

void evgb::EvtTimeNone::Config ( const std::string config)
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.

27  {
28  }
void evgb::EvtTimeNone::PrintConfig ( bool  verbose = true)
virtual

provide a means of printing the configuration

Implements evgb::EvtTimeShiftI.

Definition at line 40 of file EvtTimeNone.cxx.

41  {
42  }
double evgb::EvtTimeNone::TimeOffset ( )
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.

31  {
32  return 0;
33  }
double evgb::EvtTimeNone::TimeOffset ( std::vector< double >  v)
virtual

Implements evgb::EvtTimeShiftI.

Definition at line 35 of file EvtTimeNone.cxx.

36  {
37  return TimeOffset();
38  }
virtual double TimeOffset()
Definition: EvtTimeNone.cxx:30

The documentation for this class was generated from the following files: