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/domHeader.h
Go to the documentation of this file.
1 #ifndef _domHeader_h_
2 #define _domHeader_h_
3 
30 class domHeader {
31  public:
32 
34  fRunNumber(0),
35  fDomId(0),
36  fDomIndex(0),
37  fDomTime(0)
38  { }
39 
40  domHeader(const int number, const int dom, const int index, const long long int time, const int status) :
41  fRunNumber(number),
42  fDomId(dom),
43  fDomIndex(index),
44  fDomTime(time)
45  { }
46 
47  domHeader(const domHeader& curHeader) :
48  fRunNumber(curHeader.GetRunNumber()),
49  fDomId(curHeader.GetDomId()),
50  fDomIndex(curHeader.GetDomIndex()),
51  fDomTime(curHeader.GetDomTime())
52  { }
53 
55  const int GetRunNumber() const { return fRunNumber; }
57  void SetRunNumber(const int nb) { fRunNumber = nb; }
59  const int GetDomId() const { return fDomId; }
61  void SetDomId(const int nb) { fDomId = nb; }
63  const int GetDomIndex() const { return fDomIndex; }
65  void SetDomIndex(const int index) { fDomIndex = index; }
67  const long long int GetDomTime() const { return fDomTime; }
69  void SetDomTime(const long long int time) { fDomTime = time; }
70 
71  private:
72  int fRunNumber;
73  int fDomId;
74  int fDomIndex;
75  long long int fDomTime;
76 };
77 
78 #endif
void SetDomTime(const long long int time)
set the time slice of the dom
Definition: domHeader.h:69
void SetDomIndex(const int index)
set the index of the dom slice
Definition: domHeader.h:65
const int GetRunNumber() const
get the id of the run sample
Definition: domHeader.h:55
const int GetDomId() const
get the id of the dom sample
Definition: domHeader.h:59
organisation of the data - dom level
Definition: dom.h:35
domHeader(const int number, const int dom, const int index, const long long int time, const int status)
Definition: domHeader.h:40
domHeader(const domHeader &curHeader)
Definition: domHeader.h:47
void SetDomId(const int nb)
set the id of the dom
Definition: domHeader.h:61
const int GetDomIndex() const
get the index of the dom slice
Definition: domHeader.h:63
void SetRunNumber(const int nb)
set the id of the run
Definition: domHeader.h:57
Fill a dom header from a binary file.
Definition: domHeader.h:30
const long long int GetDomTime() const
get the time stamp of each dom sample
Definition: domHeader.h:67
domHeader()
Definition: domHeader.h:33