1#ifndef EVENT_TRIG_EACC_H
2#define EVENT_TRIG_EACC_H
14 void setEACCTrigData(uint32_t boardId, uint32_t window, uint32_t datasize,
const uint32_t* data);
18 inline const std::string&
getName()
const {
return m_name; }
22 inline unsigned int getBBLKTime(
int id)
const {
return T_blk[id]; }
24 inline unsigned int getEBLKTime(
int id)
const {
return T_blkE[id]; }
26 inline unsigned int getWBLKTime(
int id)
const {
return T_blkW[id]; }
42 inline unsigned int getBTC(
int theta,
int phi,
int winId)
const {
return TC[theta][phi][winId]; }
43 inline unsigned int getETC(
int phi,
int winId)
const {
return TC_E[phi][winId]; }
44 inline unsigned int getWTC(
int phi,
int winId)
const {
return TC_W[phi][winId]; }
46 inline unsigned int getMidCondi(
int bit)
const {
return midCondi[bit]; }
47 inline unsigned int getTrigCondi(
int bit,
int winId)
const {
return emcTrigCondi[bit][winId]; }
54 unsigned int m_window;
56 unsigned int E_blk[12];
57 unsigned int T_blk[12];
58 unsigned int E_blkE[2];
59 unsigned int T_blkE[2];
60 unsigned int E_blkW[2];
61 unsigned int T_blkW[2];
62 unsigned int E_B_Etot;
63 unsigned int T_B_Etot;
64 unsigned int E_E_Etot;
65 unsigned int T_E_Etot;
66 unsigned int E_blkAll;
67 unsigned int T_blkAll;
68 unsigned int E_eastHalf;
69 unsigned int T_eastHalf;
70 unsigned int E_westHalf;
71 unsigned int T_westHalf;
72 unsigned int E_eastEndHalf;
73 unsigned int T_eastEndHalf;
74 unsigned int E_westEndHalf;
75 unsigned int T_westEndHalf;
77 unsigned int TC[11][30][32];
78 unsigned int TC_E[32][32];
79 unsigned int TC_W[32][32];
81 unsigned int midCondi[16];
82 unsigned int emcTrigCondi[16][32];
unsigned int getEndCapsTime() const
unsigned int getEMCTotalCharge() const
unsigned int getWBLKCharge(int id) const
unsigned int getWestEndHalfTime() const
unsigned int getTimeWindow() const
unsigned int getEBLKCharge(int id) const
unsigned int getBarrelCharge() const
unsigned int getBBLKCharge(int id) const
unsigned int getTrigCondi(int bit, int winId) const
unsigned int getEastHalfTime() const
unsigned int getWestHalfCharge() const
unsigned int getEndCapsCharge() const
unsigned int getEBLKTime(int id) const
unsigned int getEastEndHalfTime() const
unsigned int getEMCTotalTime() const
unsigned int getBTC(int theta, int phi, int winId) const
void setEACCTrigData(uint32_t boardId, uint32_t window, uint32_t datasize, const uint32_t *data)
unsigned int getWestEndHalfCharge() const
unsigned int getWestHalfTime() const
const std::string & getName() const
unsigned int getEastHalfCharge() const
unsigned int getWBLKTime(int id) const
unsigned int getEastEndHalfCharge() const
unsigned int getBarrelTime() const
unsigned int getWTC(int phi, int winId) const
unsigned int getBBLKTime(int id) const
unsigned int getMidCondi(int bit) const
unsigned int getETC(int phi, int winId) const