EvtTimeNone.cxx
Go to the documentation of this file.
1 ////////////////////////////////////////////////////////////////////////
2 /// \file EvtTimeNone.cxx
3 /// \brief Flat time distribution
4 ///
5 /// \version $Id: EvtTimeNone.cxx,v 1.1 2015/06/30 18:01:24 rhatcher Exp $
6 /// \author Robert Hatcher <rhatcher \at fnal.gov>
7 /// Fermi National Accelerator Laboratory
8 ///
9 /// \update 2015-06-22 initial version
10 ////////////////////////////////////////////////////////////////////////
11 
12 #include "EvtTimeNone.h"
13 #include "EvtTimeShiftFactory.h"
15 
16 #include <iostream>
17 
18 namespace evgb {
19 
21  : EvtTimeShiftI(config)
22  { Config(config); }
23 
25 
27  {
28  }
29 
31  {
32  return 0;
33  }
34 
35  double EvtTimeNone::TimeOffset(std::vector<double> /* v */)
36  {
37  return TimeOffset();
38  }
39 
40  void EvtTimeNone::PrintConfig(bool /* verbose */)
41  {
42  }
43 
44 } // namespace evgb
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
virtual void Config(const std::string &config)
Definition: EvtTimeNone.cxx:26
A class for generating concrete EvtTimeShiftI derived classes based on the factory pattern...
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
#define TIMESHIFTREG3(_ns, _name, _fqname)