TimeDistribution_ROOT.h
Go to the documentation of this file.
1 #ifndef _io_TimeDistributionI_ROOT_h_
2 #define _io_TimeDistributionI_ROOT_h_
3 
4 #include <io/EventIO.h>
5 #ifndef __CINT__
6 # include <utl/TimeDistribution.h>
7 #endif
8 #include <Rtypes.h>
9 #include <map>
10 
11 
12 namespace io {
13 
24  template<typename T>
26  public:
28 #ifndef __CINT__
30  void operator>>(utl::TimeDistribution<T>& distribution) const;
31  explicit operator bool() const { return !fTimeDistribution.empty(); }
32 #endif
33 
34  double fSlotSize;
35  std::map<int, T> fTimeDistribution;
36 
38 
39  };
40 
41 
44 
45 }
46 
47 
48 #endif
TimeDistribution_ROOT< int > TimeDistributionI_ROOT
Histogram class for time distributions with suppressed empty bins.
std::map< int, T > fTimeDistribution
void operator>>(utl::TimeDistribution< T > &distribution) const
#define DONT_CHANGE_THIS_NUMBER
Definition: EventIO.h:21
ClassDefNV(TimeDistribution_ROOT, DONT_CHANGE_THIS_NUMBER)
TimeDistribution_ROOT< double > TimeDistributionD_ROOT

, generated on Tue Sep 26 2023.