PPM-DU analysis  2.3
conversion and analysis of the PPM-DU data
 All Classes Files Functions Variables Pages
/home/alex/Work/Research/Km3NeT/PPM-DU/ppm-du-v2.3/signals.h
Go to the documentation of this file.
1 #ifndef _signals_h_
2 #define _signals_h_
3 
31 class signals {
32  public:
33 
34  signals() :
35  fDomId(0),
36  fPmtId(0),
37  fStart(0),
38  fStop(0)
39  { }
40 
41  signals(const int domId, const int pmtId, const long long int start,
42  const long long int stop) :
43  fDomId(domId),
44  fPmtId(pmtId),
45  fStart(start),
46  fStop(stop)
47  { }
48 
50  const int GetDomId() const { return fDomId; }
52  void SetDomId(const int id) { fDomId = id; }
54  const int GetPmtId() const { return fPmtId; }
56  void SetPmtId(const int id) { fPmtId = id; }
58  const long long int GetStart() const { return fStart; }
60  void SetStart(const long long int s) { fStart = s; }
62  const long long int GetStop() const { return fStop; }
64  void SetStop(const long long int d) { fStop = d; }
65  bool operator<(const signals& sig) const { return fStart < sig.GetStart(); }
66 
67  private:
68  int fDomId;
69  int fPmtId;
70  long long int fStart;
71  long long int fStop;
72 };
73 
74 #endif
void SetStart(const long long int s)
set the start time of the signal
Definition: signals.h:60
const long long int GetStart() const
get the start time of the signal
Definition: signals.h:58
define the 31 pmt signals of an dom for an event
Definition: signals.h:31
const int domId
Definition: constants.h:10
signals(const int domId, const int pmtId, const long long int start, const long long int stop)
Definition: signals.h:41
const long long int GetStop() const
get the stop of the signal
Definition: signals.h:62
const int GetPmtId() const
get the pmt Id of the signal
Definition: signals.h:54
void SetPmtId(const int id)
set the pmt Id of the signal
Definition: signals.h:56
bool operator<(const signals &sig) const
Definition: signals.h:65
void SetStop(const long long int d)
set the stop of the signal
Definition: signals.h:64
void SetDomId(const int id)
set the dom Id of the signal
Definition: signals.h:52
const int GetDomId() const
get the dom Id of the signal
Definition: signals.h:50
signals()
Definition: signals.h:34
const int pmtId
Definition: constants.h:11