BOSS
7.1.1
BESIII Offline Software System
Loading...
Searching...
No Matches
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
13
TRecEmcHit
();
14
~TRecEmcHit
();
15
16
//Get
17
Int_t
cellId
()
const
{
return
m_cellId; }
18
Double_t
energy
()
const
{
return
m_energy; }
19
Double_t
time
()
const
{
return
m_time; }
20
21
//Set
22
void
setCellId
(
const
Int_t
id
) { m_cellId = id; }
23
void
setEnergy
(
const
Double_t e) { m_energy = e; }
24
void
setTime
(
const
Double_t
time
) { m_time =
time
; }
25
26
private
:
27
Int_t m_cellId;
28
Double_t m_energy;
29
Double_t m_time;
30
31
ClassDef(
TRecEmcHit
,2)
32
};
33
34
#endif
//TrackRootData_TRecEmcHit_H
35
TRecEmcHit
Definition
TRecEmcHit.h:9
TRecEmcHit::setCellId
void setCellId(const Int_t id)
Definition
TRecEmcHit.h:22
TRecEmcHit::TRecEmcHit
TRecEmcHit()
TRecEmcHit::energy
Double_t energy() const
Definition
TRecEmcHit.h:18
TRecEmcHit::~TRecEmcHit
~TRecEmcHit()
Definition
TRecEmcHit.cxx:12
TRecEmcHit::setEnergy
void setEnergy(const Double_t e)
Definition
TRecEmcHit.h:23
TRecEmcHit::cellId
Int_t cellId() const
Definition
TRecEmcHit.h:17
TRecEmcHit::time
Double_t time() const
Definition
TRecEmcHit.h:19
TRecEmcHit::setTime
void setTime(const Double_t time)
Definition
TRecEmcHit.h:24
std
Definition
RootEventData/RootEventData_rootcint.cxx:38
7.1.1
Event
RootEventData
RootEventData-00-04-01
RootEventData
TRecEmcHit.h
Generated by
1.12.0