Classes | Namespaces | Typedefs | Functions
GeneratedEventTimestamp_plugin.cc File Reference

Assigns an empty event a time stamp from the clock. More...

#include <chrono>
#include <random>
#include "messagefacility/MessageLogger/MessageLogger.h"
#include "canvas/Persistency/Provenance/Timestamp.h"
#include "canvas/Persistency/Provenance/EventID.h"
#include "art/Framework/Core/EmptyEventTimestampPlugin.h"

Go to the source code of this file.

Classes

class  evgen::GeneratedEventTimestamp
 Plugin to assign an empty event a time stamp from the clock. More...
 
struct  evgen::details::Average< T >
 
class  evgen::details::TimeInUnitsBase< Clock, Unit >
 Class reading a Clock and converting the value to a specific Unit. More...
 
class  evgen::details::TimeInUnits< Clock, Duration, typename >
 
class  evgen::details::TimeInUnits< Clock, Duration, typename >::type
 

Namespaces

 evgen
 Event Generation using GENIE, cosmics or single particles.
 
 evgen::details
 

Typedefs

using evgen::details::ns_clock_t = details::TimeInUnits< std::chrono::high_resolution_clock, std::chrono::nanoseconds >
 

Functions

template<typename T >
auto evgen::details::discretize (T value, T period)
 Returns the multiple of period closest to value. More...
 

Detailed Description

Assigns an empty event a time stamp from the clock.

Author
Gianluca Petrillo (petri.nosp@m.llo@.nosp@m.fnal..nosp@m.gov)

This file defines a plug in for art framework; no interface is needed since users will interface with the abstract base class.

Definition in file GeneratedEventTimestamp_plugin.cc.