SignalSegment.h
Go to the documentation of this file.
1 #ifndef _sevt_SignalSegment_h_
2 #define _sevt_SignalSegment_h_
3 
4 
5 namespace sevt {
6 
17  class SignalSegment {
18  public:
19  SignalSegment(const int start, const int stop, const int binsTh, const double charge, const double max = 0) :
20  fStart(start),
21  fStop(stop),
22  fBinsOverThresh(binsTh),
23  fMaxValue(max),
24  fCharge(charge)
25  { }
26  int fStart = 0;
27  int fStop = 0;
28  int fBinsOverThresh = 0;
29  double fMaxValue = 0;
30  double fCharge = 0;
31  };
32 
33  typedef std::vector<SignalSegment> SignalSegmentCollection;
34 
35 }
36 
37 
38 #endif
SignalSegment(const int start, const int stop, const int binsTh, const double charge, const double max=0)
Definition: SignalSegment.h:19
#define max(a, b)
Holds information characterizing portions of traces with signals.
Definition: SignalSegment.h:17
std::vector< SignalSegment > SignalSegmentCollection
Definition: SignalSegment.h:33

, generated on Tue Sep 26 2023.