FairRoot/PandaRoot
PndMvdApvHit.h
Go to the documentation of this file.
1 // --------------------------------------------------------
2 // ---- PndMvdApvHit header file ---
3 // ---- Created 07.01.09 HGZ by Lars Ackermann ---
4 // ---- on the basic of the ana tool of dts ---
5 // --------------------------------------------------------
6 
11 #ifndef PNDMVDAPV_H
12 #define PNDMVDAPV_H
13 #include "TObject.h"
14 #include <iostream>
15 
17 
18 class PndMvdApvHit : public TObject
19 {
20  public :
22  fEventID(-1),
23  fModuleID(-1),
24  fFeID(-1),
25  fTriggerID(-1.),
26  fChannel(-1),
27  fTimestamp(-1.),
28  fFrameID(-1),
29  fADC(-1.),
30  fLength(0)
31  {}
44  PndMvdApvHit(long int eventID, Int_t moduleID, Int_t fe, Double_t triggerID, Double_t timestamp, Int_t frame, Int_t channel, Double_t adc, Int_t length)
45  : fEventID(eventID), fModuleID(moduleID), fFeID(fe), fTriggerID(triggerID), fChannel(channel), fTimestamp(timestamp), fFrameID(frame), fADC(adc), fLength(length)
46  {}
48 
54  Int_t GetChannel() const { return fChannel; }
55 
61  Double_t GetTimestamp() const { return fTimestamp; }
62 
67  Int_t GetFrameID() const { return fFrameID; }
68 
73  Double_t GetADC() const { return fADC; }
74 
79  Int_t GetLength() const { return fLength; }
80 
85  Int_t GetFeID() const { return fFeID; }
86 
92  void SetFeID(Int_t new_FE) { fFeID=new_FE; return; }
93 
98  long int GetEventID() const { return fEventID; }
99 
104  Int_t GetModuleID() const { return fModuleID; }
105 
110  Double_t GetTriggerID() const { return fTriggerID; }
111 
112  private :
113  long int fEventID;
114  Int_t fModuleID;
115  Int_t fFeID;
117  Int_t fChannel;
119  Int_t fFrameID;
121  Int_t fLength;
122 
124 };
126 #endif
Int_t GetModuleID() const
Definition: PndMvdApvHit.h:104
Double_t GetTriggerID() const
Definition: PndMvdApvHit.h:110
Int_t GetChannel() const
Definition: PndMvdApvHit.h:54
Double_t fTriggerID
store fe ID (should be betwen 0 and 2)
Definition: PndMvdApvHit.h:116
Int_t GetFeID() const
Definition: PndMvdApvHit.h:85
Int_t GetLength() const
Definition: PndMvdApvHit.h:79
ClassDef(PndMvdApvHit, 1)
store frame length
long int GetEventID() const
Definition: PndMvdApvHit.h:98
Class to store data of Apv-Sensors.
Definition: PndMvdApvHit.h:18
Double_t
Int_t fLength
store ADC height
Definition: PndMvdApvHit.h:121
Double_t GetTimestamp() const
Definition: PndMvdApvHit.h:61
Double_t fTimestamp
store channel (should be betwen 0 and 127)
Definition: PndMvdApvHit.h:118
Double_t fADC
store frame ID
Definition: PndMvdApvHit.h:120
int fe
Definition: anaLmdDigi.C:67
ClassImp(PndAnaContFact)
Double_t GetADC() const
Definition: PndMvdApvHit.h:73
Int_t GetFrameID() const
Definition: PndMvdApvHit.h:67
void SetFeID(Int_t new_FE)
Definition: PndMvdApvHit.h:92
Int_t fFrameID
store timestamp
Definition: PndMvdApvHit.h:119
PndMvdApvHit(long int eventID, Int_t moduleID, Int_t fe, Double_t triggerID, Double_t timestamp, Int_t frame, Int_t channel, Double_t adc, Int_t length)
Definition: PndMvdApvHit.h:44
long int fEventID
Definition: PndMvdApvHit.h:113
Int_t fChannel
store trigger ID
Definition: PndMvdApvHit.h:117
Int_t fFeID
store moduleID
Definition: PndMvdApvHit.h:115
Int_t fModuleID
store event ID
Definition: PndMvdApvHit.h:114