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
Eemc
EEdsm1.h
1
#ifndef EEdsm1_h
2
#define EEdsm1_h
3
/**************************************************************
4
* $Id: EEdsm1.h,v 1.2 2012/12/12 22:54:03 fisyak Exp $
5
**************************************************************/
6
#include <stdlib.h>
7
8
class
EEdsm1
{
9
enum
{ nc=6, nJP=3, mxTh=3};
10
unsigned
short
data
[nc];
11
int
type;
12
int
mYear;
// unpacking changed in 2006
13
int
JPthr[mxTh];
14
int
TPthrSelect, HTTPthrSelect;
15
int
intJP11bit[nJP];
// internal
16
int
intJPsum13bit;
17
int
outJPsum5bit;
18
int
outHTTP1bit;
19
int
outTP1bit;
20
int
outJP2bit;
21
int
outHT2bit;
22
int
out16bit;
23
24
public
:
25
26
EEdsm1
();
27
virtual
~
EEdsm1
();
28
void
print(
int
k=0)
const
;
29
void
clear();
30
void
compute();
31
void
setWord(
int
ch,
unsigned
short
val);
32
void
setYear(
int
y,
int
*JPth,
int
TPthrSelc,
int
HTTPthrSelc);
33
void
setType(
int
t) {type=t;}
34
35
int
getNc()
const
{
return
nc;}
36
37
//.... input.....
38
int
getInpTPsum(
int
ch)
const
;
39
int
getInpHT2bit(
int
ch)
const
;
40
int
getInpHTTP2bit(
int
ch)
const
;
// year2006+
41
int
getInpTP2bit(
int
ch)
const
;
// year2006+
42
int
getInp16bit(
int
ch)
const
;
43
44
//..... output
45
int
getOutEsum5bit()
const
{
return
outJPsum5bit;}
46
int
getOutHTTP1bit()
const
{
return
outHTTP1bit;}
47
int
getOutTP1bit()
const
{
return
outTP1bit;}
48
int
getOutJP2bit()
const
{
return
outJP2bit;}
49
int
getOutHT2bit()
const
{
return
outHT2bit;}
50
int
getOut16bit()
const
{
return
out16bit;}
51
};
52
#endif
53
54
55
/* container for STAR trigger data
56
* $Log: EEdsm1.h,v $
57
* Revision 1.2 2012/12/12 22:54:03 fisyak
58
* Add include for APPLE
59
*
60
* Revision 1.1 2009/10/12 18:04:26 pibero
61
* Moved StEEmcUtil/EEdsm to StTriggerUtilities/Eemc
62
*
63
* Revision 1.5 2009/02/24 03:56:18 ogrebeny
64
* Corrected const-ness
65
*
66
* Revision 1.4 2007/08/17 01:15:36 balewski
67
* full blown Endcap trigger simu, by Xin
68
*
69
* Revision 1.3 2006/04/05 18:34:10 balewski
70
* new DSM bit assignment in 2006,
71
* possibly lost backward compatibility
72
* use tagged 2005 version if needed
73
*
74
* Revision 1.2 2005/02/01 22:13:40 perev
75
* Compatibility to redhat
76
*
77
* Revision 1.1 2004/11/29 20:12:59 balewski
78
* first
79
*
80
* Revision 1.2 2004/04/23 20:16:56 balewski
81
* trig patch fix
82
*
83
* Revision 1.1 2004/02/17 03:09:17 balewski
84
* *** empty log message ***
85
*
86
* Revision 1.1 2003/05/22 19:39:00 balewski
87
* analysis of DSM data
88
*
89
*
90
* decode INPUT data for one board of EE-DSM Layer-1
91
*
92
**************************************************************/
93
EEdsm1
Definition:
EEdsm1.h:8
data
Definition:
PMD_Reader.hh:62
Generated by
1.8.5