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
TFastScint.h
Go to the documentation of this file.
1
#ifndef _TFASTSCINT_H_
2
#define _TFASTSCINT_H_
3
4
#include "TClonesArray.h"
5
6
#include "
TDetector.h
"
7
#include "
TFastScintHit.h
"
8
#include "
TNSCLEvent.h
"
9
10
class
TFastScint
:
public
TDetector
{
11
public
:
12
TFastScint
();
13
virtual
~TFastScint
();
14
15
void
Copy
(TObject& obj)
const
;
16
17
virtual
void
Clear
(Option_t* opt =
""
);
18
19
virtual
void
InsertHit
(
const
TDetectorHit
&);
20
virtual
TFastScintHit
*
GetLaBrHit
(
int
i);
21
virtual
TDetectorHit
&
GetHit
(
int
i);
22
virtual
int
Size
();
23
24
int
GetDetNumberIn_fs_hits
(Int_t det);
25
26
// void SetTDCTrigger(int trig) { tdc_trigger = trig; }
27
//void SetTDC_Count(int count) { tdc_channels= count;}
28
//void SetQDC_Count(int count) { qdc_channels= count;}
29
void
SetTDC_TimeStamp
(
int
ts) {
tdc_TS
= ts; }
30
void
SetQDC_TimeStamp
(
int
ts) {
qdc_TS
= ts; }
31
32
int
GetTDC_TimeStamp
() {
return
tdc_TS
; }
33
int
GetQDC_TimeStamp
() {
return
qdc_TS
; }
34
//int GetTDCTrigger() {return tdc_trigger; }
35
//int GetTDC_Count() {return tdc_channels; }
36
//int GetQDC_Count() {return qdc_channels; }
37
int
GetErrors
() {
return
errors
; };
38
39
private
:
40
virtual
int
BuildHits
();
41
42
int
Build_From
(
TNSCLEvent
&event,
bool
Zero_Suppress =
false
);
43
44
TClonesArray*
fs_hits
;
//->
45
46
47
int
qdc_TS
;
48
int
tdc_TS
;
49
50
static
int
errors
;
51
52
ClassDef
(
TFastScint
,1);
53
};
54
55
#endif
/* _TFASTSCINT_H_ */
Generated on Wed Nov 4 2015 17:27:53 for GRUTinizer by
1.8.1.2