FairRoot/PandaRoot
PndSdsApvHit.h
Go to the documentation of this file.
1 // --------------------------------------------------------
2 // ---- PndSdsApvHit 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 PNDSDSAPV_H
12 #define PNDSDSAPV_H
13 #include "TObject.h"
14 #include <iostream>
15 
17 
18 class PndSdsApvHit : public TObject
19 {
20  public :
34  PndSdsApvHit(long int eventID, Int_t moduleID, Int_t fe, Int_t triggerID, Int_t timestamp, Int_t frame, Int_t channel, Double_t adc, Int_t length)
35  : fEventID(eventID), fModuleID(moduleID), fFeID(fe), fTriggerID(triggerID), fChannel(channel), fTimestamp(timestamp), fFrameID(frame), fADC(adc), fLength(length)
36  {}
38 
44  Int_t GetChannel() const { return fChannel; }
45 
51  Int_t GetTimestamp() const { return fTimestamp; }
52 
57  Int_t GetFrameID() const { return fFrameID; }
58 
63  Double_t GetADC() const { return fADC; }
64 
69  Int_t GetLength() const { return fLength; }
70 
75  Int_t GetFeID() const { return fFeID; }
76 
82  void SetFeID(Int_t new_FE) { fFeID=new_FE; return; }
83 
88  long int GetEventID() const { return fEventID; }
89 
94  Int_t GetModuleID() const { return fModuleID; }
95 
100  Int_t GetTriggerID() const { return fTriggerID; }
101 
102  private :
103  long int fEventID;
104  Int_t fModuleID;
105  Int_t fFeID;
106  Int_t fTriggerID;
107  Int_t fChannel;
108  Int_t fTimestamp;
109  Int_t fFrameID;
111  Int_t fLength;
112 
114 };
116 #endif
ClassDef(PndSdsApvHit, 1)
store frame length
void SetFeID(Int_t new_FE)
Definition: PndSdsApvHit.h:82
Int_t GetLength() const
Definition: PndSdsApvHit.h:69
Int_t GetTriggerID() const
Definition: PndSdsApvHit.h:100
Double_t fADC
store frame ID
Definition: PndSdsApvHit.h:110
Class to store data of Apv-Sensors.
Definition: PndSdsApvHit.h:18
Int_t fTriggerID
store fe ID (should be betwen 0 and 2)
Definition: PndSdsApvHit.h:106
Int_t GetFrameID() const
Definition: PndSdsApvHit.h:57
Int_t fChannel
store trigger ID
Definition: PndSdsApvHit.h:107
long int GetEventID() const
Definition: PndSdsApvHit.h:88
Int_t fModuleID
store event ID
Definition: PndSdsApvHit.h:104
Int_t GetFeID() const
Definition: PndSdsApvHit.h:75
Double_t
Int_t fFeID
store moduleID
Definition: PndSdsApvHit.h:105
Int_t fTimestamp
store channel (should be betwen 0 and 127)
Definition: PndSdsApvHit.h:108
Int_t fLength
store ADC height
Definition: PndSdsApvHit.h:111
Int_t GetChannel() const
Definition: PndSdsApvHit.h:44
PndSdsApvHit(long int eventID, Int_t moduleID, Int_t fe, Int_t triggerID, Int_t timestamp, Int_t frame, Int_t channel, Double_t adc, Int_t length)
Definition: PndSdsApvHit.h:34
int fe
Definition: anaLmdDigi.C:67
ClassImp(PndAnaContFact)
Int_t GetModuleID() const
Definition: PndSdsApvHit.h:94
Int_t fFrameID
store timestamp
Definition: PndSdsApvHit.h:109
Int_t GetTimestamp() const
Definition: PndSdsApvHit.h:51
long int fEventID
Definition: PndSdsApvHit.h:103
Double_t GetADC() const
Definition: PndSdsApvHit.h:63