MEvent/ScintillatorRecData.h
Go to the documentation of this file.
1 #ifndef _mevt_ScintillatorRecData_h_
2 #define _mevt_ScintillatorRecData_h_
3 
4 #include <utl/ShadowPtr_fwd.h>
5 
6 #include <list>
7 
8 
9 // The functionality provided by this class was moved to ChannelRecData
10 // This deprecated class is just left for backward compatibility
11 
12 namespace mevt {
13 
14  class Scintillator;
15 
16 
27  private:
28  typedef std::list<double> PatternMatchTimeContainer;
29 
30  public:
31  typedef PatternMatchTimeContainer::const_iterator PatternMatchTimeIterator;
32 
38  unsigned int GetNumberOfPatternMatchs() const;
39 
43  void AddPatternMatchTime(const double t);
44 
49 
54 
59 
60  private:
63 
64  // Keep the size separately, to avoid linear behaviour.
65  PatternMatchTimeContainer::size_type fNPatternMatchTimes = 0;
67 
71  friend class Scintillator;
72 
79  };
80 
81 }
82 
83 
84 #endif
pointer with built-in initialization, deletion, deep copying
Definition: ShadowPtr.h:163
void ClearPatternMatchTimes()
Clears pattern match detection times information.
PatternMatchTimeIterator PatternMatchTimesEnd() const
End of the collection of times.
PatternMatchTimeIterator PatternMatchTimesBegin() const
Begin of the collection of times.
Scintillator level event data.
unsigned int GetNumberOfPatternMatchs() const
Retrieve the number of pattern matchs that impinged this scintillator.
Scintillator level reconstruction data.
PatternMatchTimeContainer::const_iterator PatternMatchTimeIterator
void AddPatternMatchTime(const double t)
Adds the time of a pattern match detection.
PatternMatchTimeContainer::size_type fNPatternMatchTimes
std::list< double > PatternMatchTimeContainer
PatternMatchTimeContainer fPatternMatchTimes

, generated on Tue Sep 26 2023.