Belle II Software development
TRGECLHit Class Reference

Example Detector. More...

#include <TRGECLHit.h>

Inheritance diagram for TRGECLHit:

Public Member Functions

void setEventId (int eventId)
 The method to set event id.
 
void setTCId (int TCId)
 The method to set TC id.
 
void setBeamBkgTag (int beambkgtag)
 The method to set Beam Background tag.
 
void setEnergyDep (double edep)
 The method to set deposited energy.
 
void setTimeAve (double TimeAve)
 The method to set hit average time.
 
int getEventId () const
 The method to get event id.
 
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.
 
int getBeamBkgTag () const
 The method to get Beam Background tag.
 
 TRGECLHit (int eventId, int TCId, int beambkgtag, double edep, double TimeAve)
 Useful Constructor.
 
 ClassDef (TRGECLHit, 1)
 the class title
 

Public Attributes

int m_eventId
 The TC id of this hit.
 
int m_TCId
 The TC id of this hit.
 
int m_beambkgtag
 beambkg tag
 
double m_edep
 Deposited energy of this hit.
 
double m_TimeAve
 Hit average time.
 

Detailed Description

Example Detector.

Definition at line 22 of file TRGECLHit.h.

Constructor & Destructor Documentation

◆ TRGECLHit() [1/2]

TRGECLHit ( )
inline

Definition at line 71 of file TRGECLHit.h.

72 {
73 m_eventId = 0;
74 m_TCId = 0;
75 m_edep = 0;
76 m_TimeAve = 0;
77 m_beambkgtag = 0;
78 }
int m_TCId
The TC id of this hit.
Definition: TRGECLHit.h:30
int m_beambkgtag
beambkg tag
Definition: TRGECLHit.h:32
int m_eventId
The TC id of this hit.
Definition: TRGECLHit.h:27
double m_edep
Deposited energy of this hit.
Definition: TRGECLHit.h:34
double m_TimeAve
Hit average time.
Definition: TRGECLHit.h:37

◆ TRGECLHit() [2/2]

TRGECLHit ( int  eventId,
int  TCId,
int  beambkgtag,
double  edep,
double  TimeAve 
)
inline

Useful Constructor.

Definition at line 81 of file TRGECLHit.h.

88 {
89 m_eventId = eventId;
90 m_TCId = TCId;
91 m_edep = edep;
92 m_TimeAve = TimeAve;
93 m_beambkgtag = beambkgtag;
94
95 }

Member Function Documentation

◆ getBeamBkgTag()

int getBeamBkgTag ( ) const
inline

The method to get Beam Background tag.

Definition at line 66 of file TRGECLHit.h.

66{return m_beambkgtag; }

◆ getEnergyDep()

double getEnergyDep ( ) const
inline

The method to get deposited energy.

Definition at line 61 of file TRGECLHit.h.

61{ return m_edep; }

◆ getEventId()

int getEventId ( ) const
inline

The method to get event id.

Definition at line 55 of file TRGECLHit.h.

55{ return m_eventId; }

◆ getTCId()

int getTCId ( ) const
inline

The method to get TC id.

Definition at line 58 of file TRGECLHit.h.

58{ return m_TCId; }

◆ getTimeAve()

double getTimeAve ( ) const
inline

The method to get hit average time.

Definition at line 64 of file TRGECLHit.h.

64{return m_TimeAve;}

◆ setBeamBkgTag()

void setBeamBkgTag ( int  beambkgtag)
inline

The method to set Beam Background tag.

Definition at line 46 of file TRGECLHit.h.

46{ m_beambkgtag = beambkgtag; }

◆ setEnergyDep()

void setEnergyDep ( double  edep)
inline

The method to set deposited energy.

Definition at line 49 of file TRGECLHit.h.

49{ m_edep = edep; }

◆ setEventId()

void setEventId ( int  eventId)
inline

The method to set event id.

Definition at line 40 of file TRGECLHit.h.

40{ m_eventId = eventId; }

◆ setTCId()

void setTCId ( int  TCId)
inline

The method to set TC id.

Definition at line 43 of file TRGECLHit.h.

43{ m_TCId = TCId; }

◆ setTimeAve()

void setTimeAve ( double  TimeAve)
inline

The method to set hit average time.

Definition at line 52 of file TRGECLHit.h.

52{ m_TimeAve = TimeAve; }

Member Data Documentation

◆ m_beambkgtag

int m_beambkgtag

beambkg tag

Definition at line 32 of file TRGECLHit.h.

◆ m_edep

double m_edep

Deposited energy of this hit.

Definition at line 34 of file TRGECLHit.h.

◆ m_eventId

int m_eventId

The TC id of this hit.

Definition at line 27 of file TRGECLHit.h.

◆ m_TCId

int m_TCId

The TC id of this hit.

Definition at line 30 of file TRGECLHit.h.

◆ m_TimeAve

double m_TimeAve

Hit average time.

Definition at line 37 of file TRGECLHit.h.


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