PandaRoot
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
 

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() [1/2]

PndSdsApvHit::PndSdsApvHit ( )
inline

Definition at line 20 of file PndSdsApvHit.h.

20 {}

◆ PndSdsApvHit() [2/2]

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 33 of file PndSdsApvHit.h.

34  : fEventID(eventID), fModuleID(moduleID), fFeID(fe), fTriggerID(triggerID), fChannel(channel), fTimestamp(timestamp), fFrameID(frame), fADC(adc), fLength(length)
35  {
36  }

◆ ~PndSdsApvHit()

PndSdsApvHit::~PndSdsApvHit ( )
inline

Definition at line 37 of file PndSdsApvHit.h.

37 {}

Member Function Documentation

◆ GetADC()

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

Definition at line 63 of file PndSdsApvHit.h.

63 { return fADC; }

◆ GetChannel()

Int_t PndSdsApvHit::GetChannel ( ) const
inline

get hit channel index

Returns
channel index of hit

Definition at line 44 of file PndSdsApvHit.h.

44 { return fChannel; }

◆ GetEventID()

long int PndSdsApvHit::GetEventID ( ) const
inline
Returns
event ID

Definition at line 92 of file PndSdsApvHit.h.

92 { return fEventID; }

◆ GetFeID()

Int_t PndSdsApvHit::GetFeID ( ) const
inline
Returns
fe ID

Definition at line 75 of file PndSdsApvHit.h.

75 { return fFeID; }

◆ GetFrameID()

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.

57 { return fFrameID; }

◆ GetLength()

Int_t PndSdsApvHit::GetLength ( ) const
inline
Returns
length of the hit over threshold

Definition at line 69 of file PndSdsApvHit.h.

69 { return fLength; }

◆ GetModuleID()

Int_t PndSdsApvHit::GetModuleID ( ) const
inline
Returns
module ID

Definition at line 98 of file PndSdsApvHit.h.

98 { return fModuleID; }

◆ GetTimestamp()

Int_t PndSdsApvHit::GetTimestamp ( ) const
inline

get hit timestamp

Returns
timestamp in the event

Definition at line 51 of file PndSdsApvHit.h.

51 { return fTimestamp; }

◆ GetTriggerID()

Int_t PndSdsApvHit::GetTriggerID ( ) const
inline
Returns
trigger ID

Definition at line 104 of file PndSdsApvHit.h.

References ClassImp().

104 { return fTriggerID; }

◆ SetFeID()

void PndSdsApvHit::SetFeID ( Int_t  new_FE)
inline

set new FeID (needed for faking)

Returns
void

Definition at line 82 of file PndSdsApvHit.h.

83  {
84  fFeID = new_FE;
85  return;
86  }

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