26 virtual public IIncidentListener,
33 virtual StatusCode
queryInterface(
const InterfaceID& riid,
void** ppvInterface );
39 void handle(
const Incident& );
91 inline void setTrigChan(
int i,
int j ) { m_trigChannel[i] = j; }
99 if ( j ) m_trigCondition[i] = 1;
100 else m_trigCondition[i] = 0;
157 inline void setTofHitPos( map<
int, vector<int>, greater<int>> i ) { tofHitPos = i; }
172 inline map<int, vector<int>, greater<int>>
getTofHitPos() {
return tofHitPos; }
191 inline void setBL_Z(
bool i ) { emc_BL_Z = i; }
211 emcBTCEnergy[theta][phi] =
energy;
214 emcWETCEnergy[theta][phi] =
energy;
217 emcEETCEnergy[theta][phi] =
energy;
221 inline void setEmcClusE( std::vector<double> i ) { emcClusE = i; }
258 inline double getBTCEnergy(
int theta,
int phi ) {
return emcBTCEnergy[theta][phi]; }
259 inline double getWETCEnergy(
int theta,
int phi ) {
return emcWETCEnergy[theta][phi]; }
260 inline double getEETCEnergy(
int theta,
int phi ) {
return emcEETCEnergy[theta][phi]; }
261 inline map<int, vector<complex<int>>, greater<int>>
getEmcClusId() {
return emcClusId; }
328 std::vector<int> trigOut;
330 std::vector<std::string> trigChannel;
331 std::vector<std::string> trigCondName;
332 std::vector<std::string> trigTable;
333 std::vector<int> channelNo;
341 bool mdc_STrk_BB, mdc_NStrkN, mdc_NStrk2, mdc_NStrk1;
342 bool mdc_LTrk_BB, mdc_NLtrkN, mdc_NLtrk2, mdc_NLtrk1;
343 bool mdc_NItrk1, mdc_NItrk2;
346 std::vector<int> mdcStrkId;
347 std::vector<int> mdcLtrkId;
351 bool tof_NBTof1, tof_NBTof2, tof_NETof1, tof_NETof2, tof_NTof1;
352 bool tof_BTofBB, tof_ETofBB;
354 map<int, vector<int>, greater<int>> tofHitPos;
355 std::vector<int> btofHitMap;
356 std::vector<int> etofHitMap;
360 bool emc_NClus1, emc_NClus2, emc_NBClus1, emc_NEClus1, emc_BClusBB, emc_EClusBB, emc_Clus_Z,
362 bool emc_EClus_PHI, emc_BEtot_H, emc_EEtot_H, emc_Etot_L, emc_Etot_M, emc_BL_Z;
363 bool emc_Diff_B, emc_Diff_E, emc_BL_BBLK, emc_BL_EBLK;
366 double emcBarrelGate, emcEndGate;
367 double emcTotE, emcLTotE, emcRTotE, emcBTotE, emcETotE, emcLBTotE, emcRBTotE, emcWETotE,
369 int emcNbCluster, emcNweCluster, emcNeeCluster;
370 std::vector<double> emcBlockE;
371 std::vector<double> emcClusE;
372 map<int, vector<complex<int>>, greater<int>> emcClusId;
373 double emcBTCEnergy[TrigConf::TCTHETANO_B][TrigConf::TCPHINO_B];
374 double emcWETCEnergy[TrigConf::TCTHETANO_E][TrigConf::TCPHINO_E];
375 double emcEETCEnergy[TrigConf::TCTHETANO_E][TrigConf::TCPHINO_E];
379 bool muc_BB3478, muc_BB37;
382 int muc_nhitEE, muc_nhitBR, muc_nhitWE, muc_nhitTotal;
383 int muc_nlayerBR, muc_nlayerWE, muc_nlayerEE;
384 int muc_ntrackBR, muc_ntrackEC;
385 int muc_n3ltracktotal;
386 std::vector<int> muc_vlayerSeg;
387 std::vector<int> muc_vhitLayer;
388 std::vector<int> muc_vhitSeg;
389 std::vector<int> muc_index;
393 bool tm_NATrk1, tm_NATrk2, tm_ATrk_BB, tm_NBTrk1, tm_NBTrk2, tm_BTrk_BB, tm_NCTrk1,
394 tm_NCTrk2, tm_CTrk_BB;
397 std::vector<std::string> vTrigLine;
400 std::vector<int> vTrigCond;
406 int m_trigCondition[48];
407 int m_trigChannel[16];
415 std::string trigTableFile;
448 static const std::string COND_NAME[48];