Belle II Software development
TRGECLBGTCHit Class Reference

Example Detector. More...

#include <TRGECLBGTCHit.h>

Inheritance diagram for TRGECLBGTCHit:

Public Member Functions

void setTCId (int TCId)
 The method to set TC id.
 
void setEnergyDep (double edep)
 The method to set deposited energy.
 
void setTimeAve (double TimeAve)
 The method to set hit average time.
 
int getTCId () const
 The method to get TC id.
 
double getEnergyDep () const
 The method to get deposited energy.
 
double getTimeAve () const
 The method to get hit average time.
 
 TRGECLBGTCHit (int TCId, double edep, double TimeAve)
 Useful Constructor.
 

Private Member Functions

 ClassDef (TRGECLBGTCHit, 1)
 the class title
 

Private Attributes

int m_TCId
 The TC id of this hit.
 
Double32_t m_edep
 Deposited energy of this hit.
 
Double32_t m_TimeAve
 Hit average time.
 

Detailed Description

Example Detector.

Definition at line 24 of file TRGECLBGTCHit.h.

Constructor & Destructor Documentation

◆ TRGECLBGTCHit() [1/2]

TRGECLBGTCHit ( )
inline

Definition at line 43 of file TRGECLBGTCHit.h.

43 : m_edep(0), m_TimeAve(0)
44 {
45 m_TCId = 0;
46 }
int m_TCId
The TC id of this hit.
Definition: TRGECLBGTCHit.h:60
Double32_t m_edep
Deposited energy of this hit.
Definition: TRGECLBGTCHit.h:62
Double32_t m_TimeAve
Hit average time.
Definition: TRGECLBGTCHit.h:64

◆ TRGECLBGTCHit() [2/2]

TRGECLBGTCHit ( int  TCId,
double  edep,
double  TimeAve 
)
inline

Useful Constructor.

Definition at line 48 of file TRGECLBGTCHit.h.

51 :
52 m_edep(edep), m_TimeAve(TimeAve)
53 {
54 m_TCId = TCId;
55 }

Member Function Documentation

◆ getEnergyDep()

double getEnergyDep ( ) const
inline

The method to get deposited energy.

Definition at line 37 of file TRGECLBGTCHit.h.

37{ return m_edep; }

◆ getTCId()

int getTCId ( ) const
inline

The method to get TC id.

Definition at line 35 of file TRGECLBGTCHit.h.

35{ return m_TCId; }

◆ getTimeAve()

double getTimeAve ( ) const
inline

The method to get hit average time.

Definition at line 39 of file TRGECLBGTCHit.h.

39{return m_TimeAve;}

◆ setEnergyDep()

void setEnergyDep ( double  edep)
inline

The method to set deposited energy.

Definition at line 31 of file TRGECLBGTCHit.h.

31{ m_edep = edep; }

◆ setTCId()

void setTCId ( int  TCId)
inline

The method to set TC id.

Definition at line 29 of file TRGECLBGTCHit.h.

29{ m_TCId = TCId; }

◆ setTimeAve()

void setTimeAve ( double  TimeAve)
inline

The method to set hit average time.

Definition at line 33 of file TRGECLBGTCHit.h.

33{ m_TimeAve = TimeAve; }

Member Data Documentation

◆ m_edep

Double32_t m_edep
private

Deposited energy of this hit.

Definition at line 62 of file TRGECLBGTCHit.h.

◆ m_TCId

int m_TCId
private

The TC id of this hit.

Definition at line 60 of file TRGECLBGTCHit.h.

◆ m_TimeAve

Double32_t m_TimeAve
private

Hit average time.

Definition at line 64 of file TRGECLBGTCHit.h.


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