PandaRoot
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
 

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

PndMvdApvHit::PndMvdApvHit ( )
inline

Definition at line 20 of file PndMvdApvHit.h.

20 : fEventID(-1), fModuleID(-1), fFeID(-1), fTriggerID(-1.), fChannel(-1), fTimestamp(-1.), fFrameID(-1), fADC(-1.), fLength(0) {}

◆ PndMvdApvHit() [2/2]

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

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

◆ ~PndMvdApvHit()

PndMvdApvHit::~PndMvdApvHit ( )
inline

Definition at line 37 of file PndMvdApvHit.h.

37 {}

Member Function Documentation

◆ GetADC()

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

Definition at line 63 of file PndMvdApvHit.h.

63 { return fADC; }

◆ GetChannel()

Int_t PndMvdApvHit::GetChannel ( ) const
inline

get hit channel index

Returns
channel index of hit

Definition at line 44 of file PndMvdApvHit.h.

44 { return fChannel; }

◆ GetEventID()

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

Definition at line 92 of file PndMvdApvHit.h.

92 { return fEventID; }

◆ GetFeID()

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

Definition at line 75 of file PndMvdApvHit.h.

75 { return fFeID; }

◆ GetFrameID()

Int_t PndMvdApvHit::GetFrameID ( ) const
inline
Returns
index of frame where the hit occured in the event

Definition at line 57 of file PndMvdApvHit.h.

57 { return fFrameID; }

◆ GetLength()

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

Definition at line 69 of file PndMvdApvHit.h.

69 { return fLength; }

◆ GetModuleID()

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

Definition at line 98 of file PndMvdApvHit.h.

98 { return fModuleID; }

◆ GetTimestamp()

Int_t PndMvdApvHit::GetTimestamp ( ) const
inline

get hit timestamp

Returns
timestamp in the event

Definition at line 51 of file PndMvdApvHit.h.

51 { return fTimestamp; }

◆ GetTriggerID()

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

Definition at line 104 of file PndMvdApvHit.h.

References ClassImp().

104 { return fTriggerID; }

◆ SetFeID()

void PndMvdApvHit::SetFeID ( Int_t  new_FE)
inline

set new FeID (needed for faking)

Returns
void

Definition at line 82 of file PndMvdApvHit.h.

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

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