GRUTinizer
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
include
TFastScintHit.h
Go to the documentation of this file.
1
#ifndef _TFASTSCINTDETECTORHIT_H_
2
#define _TFASTSCINTDETECTORHIT_H_
3
4
#include "
TDetectorHit.h
"
5
6
class
TFastScintHit
:
public
TDetectorHit
{
7
public
:
8
TFastScintHit
() { }
9
10
void
Clear
(Option_t* opt =
""
);
11
void
Copy
(TObject& obj)
const
;
12
13
void
SetCharge
(
int
chg) {
fCharge
= chg; }
14
void
SetChannel
(
int
chan) {
fChannel
= chan; }
15
void
SetTime
(
int
time) {
fTime
= time; }
16
void
SetTimestamp
(
long
ts) {
fTimestamp
= ts; }
17
18
virtual
int
Charge
()
const
{
return
fCharge
; }
19
int
GetChannel
()
const
{
return
fChannel
; }
20
int
GetTime
()
const
{
return
fTime
; }
21
long
GetTimestamp
()
const
{
return
fTimestamp
; }
22
23
private
:
24
long
fTimestamp
;
25
int
fChannel
;
26
int
fTime
;
27
int
fCharge
;
28
29
ClassDef
(
TFastScintHit
,22)
30
};
31
32
#endif
/* _TFASTSCINTDETECTORHIT_H_ */
Generated on Wed Nov 4 2015 17:27:53 for GRUTinizer by
1.8.1.2