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

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

#include <PndMvdApvHit.h>

Inheritance diagram for PndMvdApvHit:

Public Member Functions

 PndMvdApvHit ()
 
 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)
 
 ~PndMvdApvHit ()
 
Int_t GetChannel () const
 
Double_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
 
Double_t GetTriggerID () const
 

Private Member Functions

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

Private Attributes

long int fEventID
 
Int_t fModuleID
 store event ID More...
 
Int_t fFeID
 store moduleID More...
 
Double_t fTriggerID
 store fe ID (should be betwen 0 and 2) More...
 
Int_t fChannel
 store trigger ID More...
 
Double_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.

PndMvdApvHit.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 PndMvdApvHit.h.

Constructor & Destructor Documentation

PndMvdApvHit::PndMvdApvHit ( )
inline

Definition at line 21 of file PndMvdApvHit.h.

21  :
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  {}
Double_t fTriggerID
store fe ID (should be betwen 0 and 2)
Definition: PndMvdApvHit.h:116
Int_t fLength
store ADC height
Definition: PndMvdApvHit.h:121
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_t fFrameID
store timestamp
Definition: PndMvdApvHit.h:119
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
PndMvdApvHit::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 
)
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 44 of file PndMvdApvHit.h.

45  : fEventID(eventID), fModuleID(moduleID), fFeID(fe), fTriggerID(triggerID), fChannel(channel), fTimestamp(timestamp), fFrameID(frame), fADC(adc), fLength(length)
46  {}
Double_t fTriggerID
store fe ID (should be betwen 0 and 2)
Definition: PndMvdApvHit.h:116
Int_t fLength
store ADC height
Definition: PndMvdApvHit.h:121
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
Int_t fFrameID
store timestamp
Definition: PndMvdApvHit.h:119
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
PndMvdApvHit::~PndMvdApvHit ( )
inline

Definition at line 47 of file PndMvdApvHit.h.

47 {}

Member Function Documentation

PndMvdApvHit::ClassDef ( PndMvdApvHit  ,
 
)
private

store frame length

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

Definition at line 73 of file PndMvdApvHit.h.

References fADC.

73 { return fADC; }
Double_t fADC
store frame ID
Definition: PndMvdApvHit.h:120
Int_t PndMvdApvHit::GetChannel ( ) const
inline

get hit channel index

Returns
channel index of hit

Definition at line 54 of file PndMvdApvHit.h.

References fChannel.

54 { return fChannel; }
Int_t fChannel
store trigger ID
Definition: PndMvdApvHit.h:117
long int PndMvdApvHit::GetEventID ( ) const
inline
Returns
event ID

Definition at line 98 of file PndMvdApvHit.h.

References fEventID.

98 { return fEventID; }
long int fEventID
Definition: PndMvdApvHit.h:113
Int_t PndMvdApvHit::GetFeID ( ) const
inline
Returns
fe ID

Definition at line 85 of file PndMvdApvHit.h.

References fFeID.

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

Definition at line 67 of file PndMvdApvHit.h.

References fFrameID.

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

Definition at line 79 of file PndMvdApvHit.h.

References fLength.

79 { return fLength; }
Int_t fLength
store ADC height
Definition: PndMvdApvHit.h:121
Int_t PndMvdApvHit::GetModuleID ( ) const
inline
Returns
module ID

Definition at line 104 of file PndMvdApvHit.h.

References fModuleID.

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

get hit timestamp

Returns
timestamp in the event

Definition at line 61 of file PndMvdApvHit.h.

References fTimestamp.

61 { return fTimestamp; }
Double_t fTimestamp
store channel (should be betwen 0 and 127)
Definition: PndMvdApvHit.h:118
Int_t PndMvdApvHit::GetTriggerID ( ) const
inline
Returns
trigger ID

Definition at line 110 of file PndMvdApvHit.h.

References fTriggerID.

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

Definition at line 92 of file PndMvdApvHit.h.

References fFeID.

92 { fFeID=new_FE; return; }
Int_t fFeID
store moduleID
Definition: PndMvdApvHit.h:115

Member Data Documentation

Double_t PndMvdApvHit::fADC
private

store frame ID

Definition at line 120 of file PndMvdApvHit.h.

Referenced by GetADC().

Int_t PndMvdApvHit::fChannel
private

store trigger ID

Definition at line 117 of file PndMvdApvHit.h.

Referenced by GetChannel().

long int PndMvdApvHit::fEventID
private

Definition at line 113 of file PndMvdApvHit.h.

Referenced by GetEventID().

Int_t PndMvdApvHit::fFeID
private

store moduleID

Definition at line 115 of file PndMvdApvHit.h.

Referenced by GetFeID(), and SetFeID().

Int_t PndMvdApvHit::fFrameID
private

store timestamp

Definition at line 119 of file PndMvdApvHit.h.

Referenced by GetFrameID().

Int_t PndMvdApvHit::fLength
private

store ADC height

Definition at line 121 of file PndMvdApvHit.h.

Referenced by GetLength().

Int_t PndMvdApvHit::fModuleID
private

store event ID

Definition at line 114 of file PndMvdApvHit.h.

Referenced by GetModuleID().

Double_t PndMvdApvHit::fTimestamp
private

store channel (should be betwen 0 and 127)

Definition at line 118 of file PndMvdApvHit.h.

Referenced by GetTimestamp().

Double_t PndMvdApvHit::fTriggerID
private

store fe ID (should be betwen 0 and 2)

Definition at line 116 of file PndMvdApvHit.h.

Referenced by GetTriggerID().


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