StRoot
1
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Groups
Pages
StTriggerUtilities
L2Emulator
L2algoUtil
L2eventStream2012.h
1
#ifndef L2eventStream2012_h
2
#define L2eventStream2012_h
3
#include "L2EmcGeom2012.h"
4
5
6
class
L2btowCalAlgo12
;
7
class
L2etowCalAlgo12
;
8
9
//........................................
10
class
HitTower1
{
// single tower container
11
public
:
12
short
rdo;
13
short
adc;
// ADC, pedestal corrected
14
float
et,ene;
// GeV
15
float
low_noise_et;
//GeV
16
};
17
18
//........................................
19
class
L2BtowCalibData12
{
// Barrel calibrated data
20
public
:
21
enum
{mxListSize=500};
// keep this size small
22
private
:
23
friend
class
L2btowCalAlgo12
;
24
friend
class
L2eventStream2012
;
25
int
hitSize;
26
HitTower1
hit
[mxListSize];
27
int
nInputBlock;
// counts seen blocks over the whole run
28
public
:
29
const
int
get_hitSize()
const
{
return
hitSize;}
30
const
HitTower1
* get_hits()
const
{
return
hit
;}
31
};
32
33
34
//........................................
35
class
L2EtowCalibData12
{
// Endcap calibrated data
36
public
:
37
enum
{mxListSize=200};
// keep this size small
38
private
:
39
friend
class
L2etowCalAlgo12
;
40
friend
class
L2eventStream2012
;
41
int
hitSize;
42
HitTower1
hit
[mxListSize];
43
int
nInputBlock;
// counts seen blocks over the whole run
44
public
:
45
const
int
get_hitSize()
const
{
return
hitSize;}
46
const
HitTower1
* get_hits()
const
{
return
hit
;}
47
};
48
49
50
//========================================
51
class
L2eventStream2012
{
// E V E N T S T R E A M
52
public
:
53
enum
{mxToken=4096, tokenZero=0, tokenMask=0xfff};
54
private
:
55
friend
class
L2btowCalAlgo12
;
56
friend
class
L2etowCalAlgo12
;
57
58
L2BtowCalibData12
btow[mxToken];
59
L2EtowCalibData12
etow[mxToken];
60
61
public
:
62
const
L2BtowCalibData12
* get_btow() {
return
btow;}
63
const
L2EtowCalibData12
* get_etow() {
return
etow;}
64
65
};
66
67
extern
L2eventStream2012
globL2eventStream2012;
68
#endif
69
L2eventStream2012
Definition:
L2eventStream2012.h:51
L2EtowCalibData12
Definition:
L2eventStream2012.h:35
L2BtowCalibData12
Definition:
L2eventStream2012.h:19
L2etowCalAlgo12
Definition:
L2etowCalAlgo12.h:17
HitTower1
Definition:
L2eventStream2008.h:10
hit
Definition:
GenericTable.C:6
L2btowCalAlgo12
Definition:
L2btowCalAlgo12.h:17
Generated by
1.8.5