FairRoot/PandaRoot
Public Member Functions | Private Member Functions | Private Attributes | List of all members
PndSdsApvHit Class Reference

Class to store data of Apv-Sensors. More...

#include <PndSdsApvHit.h>

Inheritance diagram for PndSdsApvHit:

Public Member Functions

 PndSdsApvHit ()
 
 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)
 
 ~PndSdsApvHit ()
 
Int_t GetChannel () const
 
Int_t GetTimestamp () const
 
Int_t GetFrameID () const
 
Double_t GetADC () const
 
Int_t GetLength () const
 
Int_t GetFeID () const
 
void SetFeID (Int_t new_FE)
 
long int GetEventID () const
 
Int_t GetModuleID () const
 
Int_t GetTriggerID () const
 

Private Member Functions

 ClassDef (PndSdsApvHit, 1)
 store frame length More...
 

Private Attributes

long int fEventID
 
Int_t fModuleID
 store event ID More...
 
Int_t fFeID
 store moduleID More...
 
Int_t fTriggerID
 store fe ID (should be betwen 0 and 2) More...
 
Int_t fChannel
 store trigger ID More...
 
Int_t fTimestamp
 store channel (should be betwen 0 and 127) More...
 
Int_t fFrameID
 store timestamp More...
 
Double_t fADC
 store frame ID More...
 
Int_t fLength
 store ADC height More...
 

Detailed Description

Class to store data of Apv-Sensors.

PndSdsApvHit.h

Author
L.Ackermann lars..nosp@m.acke.nosp@m.rmann.nosp@m.@phy.nosp@m.sik.t.nosp@m.u-dr.nosp@m.esden.nosp@m..de

Definition at line 18 of file PndSdsApvHit.h.

Constructor & Destructor Documentation

PndSdsApvHit::PndSdsApvHit ( )
inline

Definition at line 21 of file PndSdsApvHit.h.

21 {}
PndSdsApvHit::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 
)
inline

main constructor, used to create ApvHit with resonable information

Parameters
eventIDevent ID
moduleIDID of used sensor module
fefrontend ID
triggertrigger ID
timestamptrigger time stamp
frameframe ID
channelcannel
adcADC height in channel
lengthframe length in this channel

Definition at line 34 of file PndSdsApvHit.h.

35  : fEventID(eventID), fModuleID(moduleID), fFeID(fe), fTriggerID(triggerID), fChannel(channel), fTimestamp(timestamp), fFrameID(frame), fADC(adc), fLength(length)
36  {}
Double_t fADC
store frame ID
Definition: PndSdsApvHit.h:110
Int_t fTriggerID
store fe ID (should be betwen 0 and 2)
Definition: PndSdsApvHit.h:106
Int_t fChannel
store trigger ID
Definition: PndSdsApvHit.h:107
Int_t fModuleID
store event ID
Definition: PndSdsApvHit.h:104
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 fe
Definition: anaLmdDigi.C:67
Int_t fFrameID
store timestamp
Definition: PndSdsApvHit.h:109
long int fEventID
Definition: PndSdsApvHit.h:103
PndSdsApvHit::~PndSdsApvHit ( )
inline

Definition at line 37 of file PndSdsApvHit.h.

37 {}

Member Function Documentation

PndSdsApvHit::ClassDef ( PndSdsApvHit  ,
 
)
private

store frame length

Double_t PndSdsApvHit::GetADC ( ) const
inline
Returns
amplitude of the hit

Definition at line 63 of file PndSdsApvHit.h.

References fADC.

63 { return fADC; }
Double_t fADC
store frame ID
Definition: PndSdsApvHit.h:110
Int_t PndSdsApvHit::GetChannel ( ) const
inline

get hit channel index

Returns
channel index of hit

Definition at line 44 of file PndSdsApvHit.h.

References fChannel.

44 { return fChannel; }
Int_t fChannel
store trigger ID
Definition: PndSdsApvHit.h:107
long int PndSdsApvHit::GetEventID ( ) const
inline
Returns
event ID

Definition at line 88 of file PndSdsApvHit.h.

References fEventID.

88 { return fEventID; }
long int fEventID
Definition: PndSdsApvHit.h:103
Int_t PndSdsApvHit::GetFeID ( ) const
inline
Returns
fe ID

Definition at line 75 of file PndSdsApvHit.h.

References fFeID.

75 { return fFeID; }
Int_t fFeID
store moduleID
Definition: PndSdsApvHit.h:105
Int_t PndSdsApvHit::GetFrameID ( ) const
inline
Returns
index of frame where the hit occured in the event

Definition at line 57 of file PndSdsApvHit.h.

References fFrameID.

57 { return fFrameID; }
Int_t fFrameID
store timestamp
Definition: PndSdsApvHit.h:109
Int_t PndSdsApvHit::GetLength ( ) const
inline
Returns
length of the hit over threshold

Definition at line 69 of file PndSdsApvHit.h.

References fLength.

69 { return fLength; }
Int_t fLength
store ADC height
Definition: PndSdsApvHit.h:111
Int_t PndSdsApvHit::GetModuleID ( ) const
inline
Returns
module ID

Definition at line 94 of file PndSdsApvHit.h.

References fModuleID.

94 { return fModuleID; }
Int_t fModuleID
store event ID
Definition: PndSdsApvHit.h:104
Int_t PndSdsApvHit::GetTimestamp ( ) const
inline

get hit timestamp

Returns
timestamp in the event

Definition at line 51 of file PndSdsApvHit.h.

References fTimestamp.

51 { return fTimestamp; }
Int_t fTimestamp
store channel (should be betwen 0 and 127)
Definition: PndSdsApvHit.h:108
Int_t PndSdsApvHit::GetTriggerID ( ) const
inline
Returns
trigger ID

Definition at line 100 of file PndSdsApvHit.h.

References fTriggerID.

100 { return fTriggerID; }
Int_t fTriggerID
store fe ID (should be betwen 0 and 2)
Definition: PndSdsApvHit.h:106
void PndSdsApvHit::SetFeID ( Int_t  new_FE)
inline
set new FeID (needed for faking)
Returns
void

Definition at line 82 of file PndSdsApvHit.h.

References fFeID.

82 { fFeID=new_FE; return; }
Int_t fFeID
store moduleID
Definition: PndSdsApvHit.h:105

Member Data Documentation

Double_t PndSdsApvHit::fADC
private

store frame ID

Definition at line 110 of file PndSdsApvHit.h.

Referenced by GetADC().

Int_t PndSdsApvHit::fChannel
private

store trigger ID

Definition at line 107 of file PndSdsApvHit.h.

Referenced by GetChannel().

long int PndSdsApvHit::fEventID
private

Definition at line 103 of file PndSdsApvHit.h.

Referenced by GetEventID().

Int_t PndSdsApvHit::fFeID
private

store moduleID

Definition at line 105 of file PndSdsApvHit.h.

Referenced by GetFeID(), and SetFeID().

Int_t PndSdsApvHit::fFrameID
private

store timestamp

Definition at line 109 of file PndSdsApvHit.h.

Referenced by GetFrameID().

Int_t PndSdsApvHit::fLength
private

store ADC height

Definition at line 111 of file PndSdsApvHit.h.

Referenced by GetLength().

Int_t PndSdsApvHit::fModuleID
private

store event ID

Definition at line 104 of file PndSdsApvHit.h.

Referenced by GetModuleID().

Int_t PndSdsApvHit::fTimestamp
private

store channel (should be betwen 0 and 127)

Definition at line 108 of file PndSdsApvHit.h.

Referenced by GetTimestamp().

Int_t PndSdsApvHit::fTriggerID
private

store fe ID (should be betwen 0 and 2)

Definition at line 106 of file PndSdsApvHit.h.

Referenced by GetTriggerID().


The documentation for this class was generated from the following file: