BOSS
8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
Event/RootEventData/include/RootEventData/TRecEmcHit.h
Go to the documentation of this file.
1
#ifndef RootEventData_TRecEmcHit_H
2
#define RootEventData_TRecEmcHit_H 1
3
4
#include "TObject.h"
5
#include <iostream>
6
7
using namespace
std
;
8
9
class
TRecEmcHit
:
public
TObject {
10
11
public
:
12
TRecEmcHit
();
13
~TRecEmcHit
();
14
15
// Get
16
Int_t
cellId
()
const
{
return
m_cellId; }
17
Double_t
energy
()
const
{
return
m_energy; }
18
Double_t
time
()
const
{
return
m_time; }
19
20
// Set
21
void
setCellId
(
const
Int_t
id
) { m_cellId = id; }
22
void
setEnergy
(
const
Double_t e ) { m_energy = e; }
23
void
setTime
(
const
Double_t
time
) { m_time =
time
; }
24
25
private
:
26
Int_t m_cellId;
27
Double_t m_energy;
28
Double_t m_time;
29
30
ClassDef(
TRecEmcHit
, 2 )
31
};
32
33
#endif
// TrackRootData_TRecEmcHit_H
TRecEmcHit
Definition
Event/RootEventData/include/RootEventData/TRecEmcHit.h:9
TRecEmcHit::setCellId
void setCellId(const Int_t id)
Definition
Event/RootEventData/include/RootEventData/TRecEmcHit.h:21
TRecEmcHit::TRecEmcHit
TRecEmcHit()
Definition
TRecEmcHit.cxx:6
TRecEmcHit::energy
Double_t energy() const
Definition
Event/RootEventData/include/RootEventData/TRecEmcHit.h:17
TRecEmcHit::~TRecEmcHit
~TRecEmcHit()
Definition
TRecEmcHit.cxx:10
TRecEmcHit::setEnergy
void setEnergy(const Double_t e)
Definition
Event/RootEventData/include/RootEventData/TRecEmcHit.h:22
TRecEmcHit::cellId
Int_t cellId() const
Definition
Event/RootEventData/include/RootEventData/TRecEmcHit.h:16
TRecEmcHit::time
Double_t time() const
Definition
Event/RootEventData/include/RootEventData/TRecEmcHit.h:18
TRecEmcHit::setTime
void setTime(const Double_t time)
Definition
Event/RootEventData/include/RootEventData/TRecEmcHit.h:23
std
Definition
x86_64-el9-gcc13-dbg/Event/RootEventData/RootEventDataDict.cxx:101
8.0.0
BOSS_Source
Event
RootEventData
include
RootEventData
TRecEmcHit.h
Generated by
1.16.1