10 #ifndef STAR_StBemcTrigger
11 #define STAR_StBemcTrigger
14 #include "StMessMgr.h"
20 #define kN_sequences 25 //# TP inside a JP as defined by StEmcDecoder
31 short PatchStatus[kNPatches];
32 short TowerStatus[kNTowers];
34 short HTID[kNPatches];
35 short Patch[kNPatches];
62 int mHT12005array[kNTowers];
63 int mJP12005array[kNJet];
64 int mHT22005array[kNTowers];
65 int mJP22005array[kNJet];
66 int mJPSI2005adc[kNJet];
67 int mJPSI2005id[kNJet];
68 int mHT22006array[6][kNTowers];
69 int mJP02006array[6][kNJet];
70 int mJP12006array[6][kNJet];
71 int mJPSI2006adc[6][kNJet];
72 int mJPSI2006id[6][kNJet];
73 int mHTTP2006arrayHT[6][kNPatches];
74 int mHTTP2006arrayHTADC[6][kNPatches];
75 int mHTTP2006arrayTP[6][kNPatches];
76 int mHTTP2006arrayTPADC[6][kNPatches];
77 int mBL12006arrayADC[kNJet];
139 int HT1_2005_array[kNTowers];
140 int HT2_2005_array[kNTowers];
141 int JP1_2005_array[kNJet];
142 int JP2_2005_array[kNJet];
143 int JPSI_2005_ADC[kNJet];
144 int JPSI_2005_ID[kNJet];
145 int HT2_2006_array[6][kNTowers];
146 int JP0_2006_array[6][kNJet];
147 int JP1_2006_array[6][kNJet];
148 int JPSI_2006_ADC[6][kNJet];
149 int JPSI_2006_ID[6][kNJet];
150 int BHTTP_2006_HT[6][kNPatches];
151 int BHTTP_2006_HT_ADC[6][kNPatches];
152 int BHTTP_2006_TP[6][kNPatches];
153 int BHTTP_2006_TP_ADC[6][kNPatches];
154 int BL1_ADC_2006[kNJet/2];
165 void setEvent(
StEvent* e) { mEvent = e; }
167 LOG_INFO <<
"::setPrint() is obsolete. Use logger config file to set verbosity instead." << endm;
172 int* isTrigEvent() {
return mIsTrig; }
174 int* getTowPatchId() {
return mTowJetId; }
176 int* getTowPatchDSM() {
return mDsmAdc; }
177 int* getNHT() {
return mnumHT; }
178 int* getNJP() {
return mnumJP; }
179 int* getNHTTP() {
return numHTTP_2006; }
180 int* getHT12005array() {
return mHT12005array; }
181 int* getHT22005array() {
return mHT22005array; }
182 int* getJP12005array(){
return mJP12005array; }
183 int* getJP22005array() {
return mJP22005array; }
184 int* getJPSI2005adc() {
return mJPSI2005adc; }
185 int* getJPSI2005id() {
return mJPSI2005id; }
186 int* getBL12006arrayADC() {
return mBL12006arrayADC; }
187 int getHT22006array(
int i,
int j) {
return mHT22006array[i][j]; }
188 int getJP02006array(
int i,
int j) {
return mJP02006array[i][j]; }
189 int getJP12006array(
int i,
int j) {
return mJP12006array[i][j]; }
190 int getJPSI2006adc(
int i,
int j) {
return mJPSI2006adc[i][j]; }
191 int getJPSI2006id(
int i,
int j) {
return mJPSI2006id[i][j]; }
192 int getHTTP2006arrayHT(
int i,
int j) {
return mHTTP2006arrayHT[i][j]; }
193 int getHTTP2006arrayHTADC(
int i,
int j) {
return mHTTP2006arrayHTADC[i][j]; }
194 int getHTTP2006arrayTP(
int i,
int j) {
return mHTTP2006arrayTP[i][j]; }
195 int getHTTP2006arrayTPADC(
int i,
int j) {
return mHTTP2006arrayTPADC[i][j]; }
198 const StEmcDecoder* decoder()
const {
return mDecoder; }
void setPrint(bool a)
Obsolete function; users can control messages with logger config file.