1#ifndef EVENT_TRIG_MDC_H
2#define EVENT_TRIG_MDC_H
14 void setMdcTrigData(uint32_t boardId, uint32_t window, uint32_t datasize,
const uint32_t*
data);
18 inline const std::string&
getName()
const {
return m_name; }
20 inline int getMdcHitOne(
int layer,
int wire)
const {
return m_mdchit_one[layer][wire]; }
22 if(m_mdchit_sone[layer][wire] != 0) {
23 return (m_mdchit_sone[layer][wire] + 1);
27 inline int getMdcHitPre(
int layer,
int wire)
const {
return m_mdchit_pre[layer][wire]; }
28 inline int getMdcHitAft(
int layer,
int wire)
const {
return m_mdchit_aft[layer][wire]; }
29 inline uint32_t
getMdcHitWin(
int layer,
int wire)
const {
return m_mdchit_win[layer][wire]; }
32 inline int getMdcTSFOne(
int layer,
int wire)
const {
return m_mdctsf_one[layer][wire]; }
34 if(m_mdctsf_sone[layer][wire] != 0) {
35 return (m_mdctsf_sone[layer][wire] + 1);
39 inline int getMdcTSFPre(
int layer,
int wire)
const {
return m_mdctsf_pre[layer][wire]; }
40 inline int getMdcTSFAft(
int layer,
int wire)
const {
return m_mdctsf_aft[layer][wire]; }
41 inline uint32_t
getMdcTSFWin(
int layer,
int wire)
const {
return m_mdctsf_win[layer][wire]; }
46 if(m_mdcltrk_sone[
id] != 0) {
47 return (m_mdcltrk_sone[
id] + 1);
53 inline uint32_t
getMdcLtrkWin(
int id)
const {
return m_mdcltrk_win[id]; }
58 if(m_mdcstrk_sone[
id] != 0) {
59 return (m_mdcstrk_sone[
id] + 1);
65 inline uint32_t
getMdcStrkWin(
int id)
const {
return m_mdcstrk_win[id]; }
70 if(m_mdcltrkc_sone[
id] != 0) {
71 return (m_mdcltrkc_sone[
id] + 1);
79 if(m_mdcstrkc_sone[
id] != 0) {
80 return (m_mdcstrkc_sone[
id] + 1);
94 std::map<uint32_t, std::vector<uint32_t> > m_datamap;
100 uint32_t **m_mdchit_win;
106 uint32_t **m_mdctsf_win;
112 uint32_t *m_mdcltrk_win;
118 uint32_t *m_mdcstrk_win;
121 int* m_mdcltrkc_sone;
124 int* m_mdcstrkc_sone;
int getMdcLtrkOne(int id) const
int getMdcStrkCoutSOne(int id) const
uint32_t getMdcHitWin(int layer, int wire) const
int getMdcHitAft(int layer, int wire) const
uint32_t getMdcLtrkWin(int id) const
int getMdcTSFAft(int layer, int wire) const
int getMdcLtrkCoutSOne(int id) const
const std::string & getName() const
int getMdcTSFPre(int layer, int wire) const
int getMdcStrkSOne(int id) const
int getMdcLtrkCoutOne(int id) const
uint32_t getMdcStrkWin(int id) const
int getMdcHitPre(int layer, int wire) const
int getMdcTrigCondi(int id) const
int getMdcStrkOne(int id) const
uint32_t getMdcTSFWin(int layer, int wire) const
TrigMdc(const char *name)
int getMdcStrkCoutOne(int id) const
int getMdcLtrkAft(int id) const
int getMdcTSFOne(int layer, int wire) const
int getMdcStrkAft(int id) const
int getMdcStrkPre(int id) const
int getMdcTSFSOne(int layer, int wire) const
int getMdcHitOne(int layer, int wire) const
int getMdcLtrkSOne(int id) const
int getMdcLtrkPre(int id) const
void setMdcTrigData(uint32_t boardId, uint32_t window, uint32_t datasize, const uint32_t *data)
int getMdcHitSOne(int layer, int wire) const