Belle II Software development
TRGECLWaveform Class Reference

Digitize result. More...

#include <TRGECLWaveform.h>

Inheritance diagram for TRGECLWaveform:

Public Member Functions

 TRGECLWaveform ()
 Empty constructor Recommended for ROOT IO.
 
 TRGECLWaveform (int tcid, double *digiarray)
 Useful Constructor.
 
int getTCID () const
 Get TC Id.
 
const double * getWaveform () const
 Get WaveForm.
 
void fillWaveform (double *wf) const
 Fill Waveform.
 
void setThetaPhiIDs (int thid, int phid)
 Set Theta and Phi Id of TC.
 
int getThetaID () const
 Get Theta Id.
 
int getPhiID () const
 Get Phi ID.
 
 ClassDef (TRGECLWaveform, 1)
 the class title
 

Private Attributes

int m_eventid
 Event Id.
 
int m_tcid
 TC id.
 
int m_phiid
 phi id of TC
 
int m_thetaid
 Theta id of TC.
 
double m_TCDigiE [64]
 Waveform.
 

Detailed Description

Digitize result.

Definition at line 26 of file TRGECLWaveform.h.

Constructor & Destructor Documentation

◆ TRGECLWaveform() [1/2]

TRGECLWaveform ( )
inline

Empty constructor Recommended for ROOT IO.

Definition at line 43 of file TRGECLWaveform.h.

44 {
45 m_eventid = 0;
46 m_tcid = 0;
47 m_phiid = 0;
48 m_thetaid = 0;
49 for (int i = 0; i < 64; i++) m_TCDigiE[i] = 0;
50 }
int m_phiid
phi id of TC
double m_TCDigiE[64]
Waveform.
int m_thetaid
Theta id of TC.

◆ TRGECLWaveform() [2/2]

TRGECLWaveform ( int  tcid,
double *  digiarray 
)
inline

Useful Constructor.

Definition at line 52 of file TRGECLWaveform.h.

53 {
54 m_tcid = tcid;
55 m_eventid = 0;
56 m_phiid = 0;
57 m_thetaid = 0;
58 for (int i = 0 ; i < 64; i++) {
59 m_TCDigiE[i] = digiarray[i];
60 }
61
62 }

◆ ~TRGECLWaveform()

~TRGECLWaveform ( )
inline

Definition at line 63 of file TRGECLWaveform.h.

63{};

Member Function Documentation

◆ fillWaveform()

void fillWaveform ( double *  wf) const
inline

Fill Waveform.

Definition at line 75 of file TRGECLWaveform.h.

76 {
77 for (int i = 0; i < 64; i++) wf[i] = m_TCDigiE[i];
78 }

◆ getPhiID()

int getPhiID ( ) const
inline

Get Phi ID.

Definition at line 91 of file TRGECLWaveform.h.

92 {
93 return m_phiid;
94 }

◆ getTCID()

int getTCID ( ) const
inline

Get TC Id.

Definition at line 65 of file TRGECLWaveform.h.

66 {
67 return m_tcid;
68 }

◆ getThetaID()

int getThetaID ( ) const
inline

Get Theta Id.

Definition at line 86 of file TRGECLWaveform.h.

87 {
88 return m_thetaid;
89 }

◆ getWaveform()

const double * getWaveform ( ) const
inline

Get WaveForm.

Definition at line 70 of file TRGECLWaveform.h.

71 {
72 return m_TCDigiE;
73 }

◆ setThetaPhiIDs()

void setThetaPhiIDs ( int  thid,
int  phid 
)
inline

Set Theta and Phi Id of TC.

Definition at line 80 of file TRGECLWaveform.h.

81 {
82 m_phiid = phid;
83 m_thetaid = thid;
84 }

Member Data Documentation

◆ m_eventid

int m_eventid
private

Event Id.

Definition at line 30 of file TRGECLWaveform.h.

◆ m_phiid

int m_phiid
private

phi id of TC

Definition at line 34 of file TRGECLWaveform.h.

◆ m_TCDigiE

double m_TCDigiE[64]
private

Waveform.

Definition at line 38 of file TRGECLWaveform.h.

◆ m_tcid

int m_tcid
private

TC id.

Definition at line 32 of file TRGECLWaveform.h.

◆ m_thetaid

int m_thetaid
private

Theta id of TC.

Definition at line 36 of file TRGECLWaveform.h.


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