EvtTimeNone.h
Go to the documentation of this file.
1 ////////////////////////////////////////////////////////////////////////
2 /// \file EvtTimeNone.h
3 /// \class evgb::EvtTimeNone
4 /// \brief time distribution that is delta of 0 (no shift)
5 ///
6 /// \author Robert Hatcher <rhatcher \at fnal.gov>
7 /// Fermi National Accelerator Laboratory
8 ///
9 /// \created 2015-06-22
10 /// \version $Id: EvtTimeNone.h,v 1.1 2015/06/30 18:01:24 rhatcher Exp $
11 ////////////////////////////////////////////////////////////////////////
12 
13 #ifndef SIMB_EVTTIMENONE_H
14 #define SIMB_EVTTIMENONE_H
15 
16 #include "EvtTimeShiftI.h"
17 #include <string>
18 #include <vector>
19 
20 namespace evgb {
21 
23 
24  public:
25 
27  virtual ~EvtTimeNone();
28 
29  //
30  // complete the EvtTimeShiftI interface:
31  //
32 
33  /// each schema must take a string that configures it
34  /// it is up to the individual model to parse said string
35  /// and extract parameters
36  virtual void Config(const std::string& config );
37 
38  /// return time within a 'record' in nanoseconds
39  /// version taking array might be used for relative batch fractions
40  /// that vary on a record-by-record basis
41  virtual double TimeOffset();
42  virtual double TimeOffset(std::vector<double> v);
43 
44  /// provide a means of printing the configuration
45  virtual void PrintConfig(bool verbose=true);
46 
47  private:
48 
49  };
50 
51 } // namespace evgb
52 
53 #endif //SIMB_EVTTIMENONE_H
std::string string
Definition: nybbler.cc:12
virtual ~EvtTimeNone()
Definition: EvtTimeNone.cxx:24
interface for event time distribution
Definition: EvtTimeShiftI.h:29
virtual double TimeOffset()
Definition: EvtTimeNone.cxx:30
static Config * config
Definition: config.cpp:1054
EvtTimeNone(const std::string &config)
Definition: EvtTimeNone.cxx:20
verbose
Definition: train.py:477
virtual void Config(const std::string &config)
Definition: EvtTimeNone.cxx:26
Physics generators for neutrinos, cosmic rays, and others.
Definition: CRYHelper.cxx:33
virtual void PrintConfig(bool verbose=true)
provide a means of printing the configuration
Definition: EvtTimeNone.cxx:40
time distribution that is delta of 0 (no shift)
Definition: EvtTimeNone.h:22