#include <BesGlobalTrigSvc.h>
Inheritance diagram for BesGlobalTrigSvc:
Definition at line 25 of file BesGlobalTrigSvc.h.
BesGlobalTrigSvc::BesGlobalTrigSvc | ( | const std::string & | name, | |
ISvcLocator * | svc | |||
) |
Definition at line 93 of file BesGlobalTrigSvc.cxx.
References Energy_Ratio, L1BLK_GATE, L1EBL_BR, L1EBL_EC, L1EBL_Z, L1EDIFF_BR, L1EDIFF_EC, L1ETOT_BR, L1ETOT_EC, L1ETOT_L, L1ETOT_M, L1TC_GATE, L1TC_THRESH, m_tofLayer, MAXMDCTRACK, deljobs::string, tm_endcap, and trigTableFile.
00094 : Service( name, svc ),m_MdcTrig(0),m_TofTrig(0),m_EmcTrig(0),m_MucTrig(0),m_TMTrig(0) 00095 { 00096 trigTableFile = std::string(getenv( "TRIGGERROOT" )); 00097 trigTableFile += std::string("/share/TriggerTable.txt"); 00098 declareProperty("TrigTableCon", trigTableFile); 00099 declareProperty("TofLayerControl", m_tofLayer = 2); 00100 declareProperty("L1TC_GATE", L1TC_GATE = 70); 00101 declareProperty("L1TC_THRESH", L1TC_THRESH = 130); 00102 declareProperty("L1ETOT_L", L1ETOT_L = 0x56); 00103 declareProperty("L1ETOT_M", L1ETOT_M = 0xba); //0xba(run10584),0x190,0x10a(run9571) 00104 declareProperty("L1ETOT_BR", L1ETOT_BR = 0x19a);//0x216,0x19a 00105 declareProperty("L1ETOT_EC", L1ETOT_EC = 0x19a);//0x1bd,0x19a 00106 declareProperty("L1EBL_BR", L1EBL_BR = 0x30); 00107 declareProperty("L1EBL_EC", L1EBL_EC = 0x1ec); 00108 declareProperty("L1EDIFF_BR", L1EDIFF_BR = 0xf6); 00109 declareProperty("L1EDIFF_EC", L1EDIFF_EC = 0xe1); 00110 declareProperty("L1BLK_GATE", L1BLK_GATE = 0x30); 00111 declareProperty("L1EBL_Z", L1EBL_Z = 0xa4); 00112 declareProperty("MAXMDCTRACK", MAXMDCTRACK = 4); 00113 declareProperty("TM_ENDCAP_MODE", tm_endcap = 0); 00114 declareProperty("Energy_Ratio", Energy_Ratio = 1.); 00115 }
BesGlobalTrigSvc::~BesGlobalTrigSvc | ( | ) | [virtual] |
StatusCode BesGlobalTrigSvc::finalize | ( | ) | [virtual] |
Finalise the service.
Definition at line 233 of file BesGlobalTrigSvc.cxx.
References Bes_Common::INFO, and msgSvc().
00234 { 00235 MsgStream log( msgSvc(), name() ); 00236 log << MSG::INFO << "Service finalized successfully" << endreq; 00237 return StatusCode::SUCCESS; 00238 }
double BesGlobalTrigSvc::getBarrelGate | ( | ) | [inline] |
Definition at line 83 of file BesGlobalTrigSvc.h.
References emcBarrelGate.
00083 { return emcBarrelGate; }
bool BesGlobalTrigSvc::getBClus_PHI | ( | ) | [inline] |
Definition at line 226 of file BesGlobalTrigSvc.h.
References emc_BClus_PHI.
00226 { return emc_BClus_PHI; }
bool BesGlobalTrigSvc::getBClusBB | ( | ) | [inline] |
Definition at line 223 of file BesGlobalTrigSvc.h.
References emc_BClusBB.
00223 { return emc_BClusBB; }
bool BesGlobalTrigSvc::getBEtot_H | ( | ) | [inline] |
Definition at line 228 of file BesGlobalTrigSvc.h.
References emc_BEtot_H.
00228 { return emc_BEtot_H; }
bool BesGlobalTrigSvc::getBL_BBLK | ( | ) | [inline] |
Definition at line 235 of file BesGlobalTrigSvc.h.
References emc_BL_BBLK.
00235 { return emc_BL_BBLK; }
bool BesGlobalTrigSvc::getBL_EBLK | ( | ) | [inline] |
Definition at line 236 of file BesGlobalTrigSvc.h.
References emc_BL_EBLK.
00236 { return emc_BL_EBLK; }
bool BesGlobalTrigSvc::getBL_Z | ( | ) | [inline] |
double BesGlobalTrigSvc::getBTCEnergy | ( | int | theta, | |
int | phi | |||
) | [inline] |
Definition at line 252 of file BesGlobalTrigSvc.h.
References emcBTCEnergy.
00252 { return emcBTCEnergy[theta][phi]; }
bool BesGlobalTrigSvc::getBTofBB | ( | ) | [inline] |
Definition at line 168 of file BesGlobalTrigSvc.h.
References tof_BTofBB.
00168 { return tof_BTofBB; }
vector<int> BesGlobalTrigSvc::getBTofHitMap | ( | ) | [inline, virtual] |
Implements IBesGlobalTrigSvc.
Definition at line 173 of file BesGlobalTrigSvc.h.
References btofHitMap.
00173 { return btofHitMap; }
bool BesGlobalTrigSvc::getClus_Z | ( | ) | [inline] |
Definition at line 225 of file BesGlobalTrigSvc.h.
References emc_Clus_Z.
00225 { return emc_Clus_Z; }
bool BesGlobalTrigSvc::getDiff_B | ( | ) | [inline] |
Definition at line 233 of file BesGlobalTrigSvc.h.
References emc_Diff_B.
00233 { return emc_Diff_B; }
bool BesGlobalTrigSvc::getDiff_E | ( | ) | [inline] |
Definition at line 234 of file BesGlobalTrigSvc.h.
References emc_Diff_E.
00234 { return emc_Diff_E; }
bool BesGlobalTrigSvc::getEClus_PHI | ( | ) | [inline] |
Definition at line 227 of file BesGlobalTrigSvc.h.
References emc_EClus_PHI.
00227 { return emc_EClus_PHI; }
bool BesGlobalTrigSvc::getEClusBB | ( | ) | [inline] |
Definition at line 224 of file BesGlobalTrigSvc.h.
References emc_EClusBB.
00224 { return emc_EClusBB; }
double BesGlobalTrigSvc::getEETCEnergy | ( | int | theta, | |
int | phi | |||
) | [inline] |
Definition at line 254 of file BesGlobalTrigSvc.h.
References emcEETCEnergy.
00254 { return emcEETCEnergy[theta][phi]; }
bool BesGlobalTrigSvc::getEEtot_H | ( | ) | [inline] |
Definition at line 229 of file BesGlobalTrigSvc.h.
References emc_EEtot_H.
00229 { return emc_EEtot_H; }
std::vector<double>& BesGlobalTrigSvc::getEmcBlockE | ( | ) | [inline] |
Definition at line 239 of file BesGlobalTrigSvc.h.
References emcBlockE.
00239 { return emcBlockE; };
double BesGlobalTrigSvc::getEmcBTotE | ( | ) | [inline, virtual] |
Implements IBesGlobalTrigSvc.
Definition at line 246 of file BesGlobalTrigSvc.h.
References emcBTotE.
00246 { return emcBTotE; }
std::vector<double> BesGlobalTrigSvc::getEmcClusE | ( | ) | [inline, virtual] |
Implements IBesGlobalTrigSvc.
Definition at line 256 of file BesGlobalTrigSvc.h.
References emcClusE.
00256 { return emcClusE; }
map<int,vector<complex<int> >,greater<int> > BesGlobalTrigSvc::getEmcClusId | ( | ) | [inline] |
Definition at line 255 of file BesGlobalTrigSvc.h.
References emcClusId.
Referenced by BesTrigL1::execute(), and BesTMTrig::startTMTrig().
00255 { return emcClusId; }
double BesGlobalTrigSvc::getEmcEETotE | ( | ) | [inline] |
Definition at line 251 of file BesGlobalTrigSvc.h.
References emcEETotE.
Referenced by BesTrigL1::execute().
00251 { return emcEETotE; }
double BesGlobalTrigSvc::getEmcETotE | ( | ) | [inline, virtual] |
Implements IBesGlobalTrigSvc.
Definition at line 247 of file BesGlobalTrigSvc.h.
References emcETotE.
00247 { return emcETotE; }
double BesGlobalTrigSvc::getEmcLBTotE | ( | ) | [inline] |
double BesGlobalTrigSvc::getEmcLTotE | ( | ) | [inline, virtual] |
Implements IBesGlobalTrigSvc.
Definition at line 244 of file BesGlobalTrigSvc.h.
References emcLTotE.
00244 { return emcLTotE; }
int BesGlobalTrigSvc::getEmcNbCluster | ( | ) | [inline] |
Definition at line 240 of file BesGlobalTrigSvc.h.
References emcNbCluster.
Referenced by BesEmcTrig::startEmcTrig().
00240 { return emcNbCluster; }
int BesGlobalTrigSvc::getEmcNeeCluster | ( | ) | [inline] |
Definition at line 242 of file BesGlobalTrigSvc.h.
References emcNeeCluster.
Referenced by BesEmcTrig::startEmcTrig().
00242 { return emcNeeCluster; }
int BesGlobalTrigSvc::getEmcNweCluster | ( | ) | [inline] |
Definition at line 241 of file BesGlobalTrigSvc.h.
References emcNweCluster.
Referenced by BesEmcTrig::startEmcTrig().
00241 { return emcNweCluster; }
double BesGlobalTrigSvc::getEmcRBTotE | ( | ) | [inline] |
double BesGlobalTrigSvc::getEmcRTotE | ( | ) | [inline, virtual] |
Implements IBesGlobalTrigSvc.
Definition at line 245 of file BesGlobalTrigSvc.h.
References emcRTotE.
00245 { return emcRTotE; }
double BesGlobalTrigSvc::getEmcTotE | ( | ) | [inline, virtual] |
Implements IBesGlobalTrigSvc.
Definition at line 243 of file BesGlobalTrigSvc.h.
References emcTotE.
Referenced by BesTrigL1::execute().
00243 { return emcTotE; }
double BesGlobalTrigSvc::getEmcWETotE | ( | ) | [inline] |
Definition at line 250 of file BesGlobalTrigSvc.h.
References emcWETotE.
Referenced by BesTrigL1::execute().
00250 { return emcWETotE; }
int BesGlobalTrigSvc::getEndCapMode | ( | ) | [inline] |
Definition at line 313 of file BesGlobalTrigSvc.h.
References tm_endcap.
Referenced by BesTMTrig::startTMTrig().
00313 { return tm_endcap; }
double BesGlobalTrigSvc::getEndGate | ( | ) | [inline] |
Definition at line 84 of file BesGlobalTrigSvc.h.
References emcEndGate.
00084 { return emcEndGate; }
double BesGlobalTrigSvc::getEnergy_Ratio | ( | ) | [inline] |
Definition at line 81 of file BesGlobalTrigSvc.h.
References Energy_Ratio.
00081 { return Energy_Ratio; }
bool BesGlobalTrigSvc::getETofBB | ( | ) | [inline] |
Definition at line 169 of file BesGlobalTrigSvc.h.
References tof_ETofBB.
00169 { return tof_ETofBB; }
vector<int> BesGlobalTrigSvc::getETofHitMap | ( | ) | [inline, virtual] |
Implements IBesGlobalTrigSvc.
Definition at line 174 of file BesGlobalTrigSvc.h.
References etofHitMap.
00174 { return etofHitMap; }
bool BesGlobalTrigSvc::getEtot_L | ( | ) | [inline] |
Definition at line 230 of file BesGlobalTrigSvc.h.
References emc_Etot_L.
00230 { return emc_Etot_L; }
bool BesGlobalTrigSvc::getEtot_M | ( | ) | [inline] |
Definition at line 231 of file BesGlobalTrigSvc.h.
References emc_Etot_M.
00231 { return emc_Etot_M; }
double BesGlobalTrigSvc::getEvtTime | ( | ) | [inline] |
bool BesGlobalTrigSvc::getGoodEvent | ( | ) | [inline, virtual] |
Implements IBesGlobalTrigSvc.
Definition at line 52 of file BesGlobalTrigSvc.h.
References m_goodEvent.
00052 { return m_goodEvent; };
bool BesGlobalTrigSvc::getIfpass | ( | ) | [inline, virtual] |
Implements IBesGlobalTrigSvc.
Definition at line 106 of file BesGlobalTrigSvc.h.
References ifpass.
Referenced by BesTrigL1::execute().
00106 { return ifpass; }
int BesGlobalTrigSvc::getL1BLK_GATE | ( | ) |
Definition at line 357 of file BesGlobalTrigSvc.cxx.
References RealizationSvc::getVthBalBLK(), L1BLK_GATE, and m_RealizationSvc.
Referenced by BesEmcTrig::startEmcTrig().
00357 { 00358 L1BLK_GATE = m_RealizationSvc->getVthBalBLK(); 00359 return L1BLK_GATE; 00360 }
int BesGlobalTrigSvc::getL1EBL_BR | ( | ) |
Definition at line 337 of file BesGlobalTrigSvc.cxx.
References RealizationSvc::getVthBalBLK(), L1EBL_BR, and m_RealizationSvc.
00337 { 00338 L1EBL_BR = m_RealizationSvc->getVthBalBLK(); 00339 return L1EBL_BR; 00340 }
int BesGlobalTrigSvc::getL1EBL_EC | ( | ) |
Definition at line 342 of file BesGlobalTrigSvc.cxx.
References RealizationSvc::getVthBalEEMC(), L1EBL_EC, and m_RealizationSvc.
Referenced by BesEmcTrig::startEmcTrig().
00342 { 00343 L1EBL_EC = m_RealizationSvc->getVthBalEEMC(); 00344 return L1EBL_EC; 00345 }
int BesGlobalTrigSvc::getL1EBL_Z | ( | ) |
Definition at line 362 of file BesGlobalTrigSvc.cxx.
References RealizationSvc::getVthBLZ(), L1EBL_Z, and m_RealizationSvc.
Referenced by BesEmcTrig::startEmcTrig().
00362 { 00363 L1EBL_Z = m_RealizationSvc->getVthBLZ(); 00364 return L1EBL_Z; 00365 }
int BesGlobalTrigSvc::getL1EBL_Z_Peak | ( | ) | [inline] |
Definition at line 67 of file BesGlobalTrigSvc.h.
References L1EBL_Z_Peak.
00067 { return L1EBL_Z_Peak; }
int BesGlobalTrigSvc::getL1EBL_Z_Sigma | ( | ) | [inline] |
Definition at line 68 of file BesGlobalTrigSvc.h.
References L1EBL_Z_Sigma.
00068 { return L1EBL_Z_Sigma; }
int BesGlobalTrigSvc::getL1EDIFF_BR | ( | ) |
Definition at line 347 of file BesGlobalTrigSvc.cxx.
References RealizationSvc::getVthDiffB(), L1EDIFF_BR, and m_RealizationSvc.
Referenced by BesEmcTrig::startEmcTrig().
00347 { 00348 L1EDIFF_BR = m_RealizationSvc->getVthDiffB(); 00349 return L1EDIFF_BR; 00350 }
int BesGlobalTrigSvc::getL1EDIFF_EC | ( | ) |
Definition at line 352 of file BesGlobalTrigSvc.cxx.
References RealizationSvc::getVthDiffE(), L1EDIFF_EC, and m_RealizationSvc.
Referenced by BesEmcTrig::startEmcTrig().
00352 { 00353 L1EDIFF_EC = m_RealizationSvc->getVthDiffE(); 00354 return L1EDIFF_EC; 00355 }
int BesGlobalTrigSvc::getL1ETOT_BR | ( | ) |
Definition at line 327 of file BesGlobalTrigSvc.cxx.
References RealizationSvc::getVthBEtotH(), L1ETOT_BR, and m_RealizationSvc.
Referenced by BesEmcTrig::startEmcTrig().
00327 { 00328 L1ETOT_BR = m_RealizationSvc->getVthBEtotH(); 00329 return L1ETOT_BR; 00330 }
int BesGlobalTrigSvc::getL1ETOT_BR_Peak | ( | ) | [inline] |
Definition at line 63 of file BesGlobalTrigSvc.h.
References L1ETOT_BR_Peak.
00063 { return L1ETOT_BR_Peak; }
int BesGlobalTrigSvc::getL1ETOT_BR_Sigma | ( | ) | [inline] |
Definition at line 64 of file BesGlobalTrigSvc.h.
References L1ETOT_BR_Sigma.
00064 { return L1ETOT_BR_Sigma; }
int BesGlobalTrigSvc::getL1ETOT_EC | ( | ) |
Definition at line 332 of file BesGlobalTrigSvc.cxx.
References RealizationSvc::getVthEEtotH(), L1ETOT_EC, and m_RealizationSvc.
Referenced by BesEmcTrig::startEmcTrig().
00332 { 00333 L1ETOT_EC = m_RealizationSvc->getVthEEtotH(); 00334 return L1ETOT_EC; 00335 }
int BesGlobalTrigSvc::getL1ETOT_EC_Peak | ( | ) | [inline] |
Definition at line 65 of file BesGlobalTrigSvc.h.
References L1ETOT_EC_Peak.
00065 { return L1ETOT_EC_Peak; }
int BesGlobalTrigSvc::getL1ETOT_EC_Sigma | ( | ) | [inline] |
Definition at line 66 of file BesGlobalTrigSvc.h.
References L1ETOT_EC_Sigma.
00066 { return L1ETOT_EC_Sigma; }
int BesGlobalTrigSvc::getL1ETOT_L | ( | ) |
Definition at line 317 of file BesGlobalTrigSvc.cxx.
References RealizationSvc::getVthEtotL(), L1ETOT_L, and m_RealizationSvc.
Referenced by BesEmcTrig::startEmcTrig().
00317 { 00318 L1ETOT_L = m_RealizationSvc->getVthEtotL(); 00319 return L1ETOT_L; 00320 }
int BesGlobalTrigSvc::getL1ETOT_L_Peak | ( | ) | [inline] |
Definition at line 59 of file BesGlobalTrigSvc.h.
References L1ETOT_L_Peak.
00059 { return L1ETOT_L_Peak; }
int BesGlobalTrigSvc::getL1ETOT_L_Sigma | ( | ) | [inline] |
Definition at line 60 of file BesGlobalTrigSvc.h.
References L1ETOT_L_Sigma.
00060 { return L1ETOT_L_Sigma; }
int BesGlobalTrigSvc::getL1ETOT_M | ( | ) |
Definition at line 322 of file BesGlobalTrigSvc.cxx.
References RealizationSvc::getVthEtotM(), L1ETOT_M, and m_RealizationSvc.
Referenced by BesEmcTrig::startEmcTrig().
00322 { 00323 L1ETOT_M = m_RealizationSvc->getVthEtotM(); 00324 return L1ETOT_M; 00325 }
int BesGlobalTrigSvc::getL1ETOT_M_Peak | ( | ) | [inline] |
Definition at line 61 of file BesGlobalTrigSvc.h.
References L1ETOT_M_Peak.
00061 { return L1ETOT_M_Peak; }
int BesGlobalTrigSvc::getL1ETOT_M_Sigma | ( | ) | [inline] |
Definition at line 62 of file BesGlobalTrigSvc.h.
References L1ETOT_M_Sigma.
00062 { return L1ETOT_M_Sigma; }
double BesGlobalTrigSvc::getL1TC_GATE | ( | ) | [inline] |
Definition at line 57 of file BesGlobalTrigSvc.h.
References L1TC_GATE.
Referenced by BesTrigL1::getEmcAnalogSig().
00057 { return L1TC_GATE; }
double BesGlobalTrigSvc::getL1TC_THRESH | ( | ) | [inline] |
Definition at line 58 of file BesGlobalTrigSvc.h.
References L1TC_THRESH.
Referenced by BesTrigL1::getEmcAnalogSig().
00058 { return L1TC_THRESH; }
bool BesGlobalTrigSvc::getLTrk_BB | ( | ) | [inline] |
Definition at line 136 of file BesGlobalTrigSvc.h.
References mdc_LTrk_BB.
00136 { return mdc_LTrk_BB; }
int BesGlobalTrigSvc::getMAXMDCTRACK | ( | ) | [inline] |
Definition at line 80 of file BesGlobalTrigSvc.h.
References MAXMDCTRACK.
Referenced by BesMdcTrig::startMdcTrig().
00080 { return MAXMDCTRACK; }
std::vector<int> BesGlobalTrigSvc::getMdcLtrkId | ( | ) | [inline, virtual] |
Implements IBesGlobalTrigSvc.
Definition at line 144 of file BesGlobalTrigSvc.h.
References mdcLtrkId.
Referenced by BesTrigL1::execute(), and BesTMTrig::startTMTrig().
00144 { return mdcLtrkId; }
std::vector<int> BesGlobalTrigSvc::getMdcStrkId | ( | ) | [inline, virtual] |
Implements IBesGlobalTrigSvc.
Definition at line 143 of file BesGlobalTrigSvc.h.
References mdcStrkId.
Referenced by BesTrigL1::execute(), and BesTMTrig::startTMTrig().
00143 { return mdcStrkId; }
bool BesGlobalTrigSvc::getMucBB3478 | ( | ) | [inline] |
Definition at line 271 of file BesGlobalTrigSvc.h.
References muc_BB3478.
00271 { return muc_BB3478; }
bool BesGlobalTrigSvc::getMucBB37 | ( | ) | [inline] |
std::vector<int> BesGlobalTrigSvc::getMuchitLayer | ( | ) | [inline] |
Definition at line 276 of file BesGlobalTrigSvc.h.
References muc_vhitLayer.
Referenced by BesTrigL1::execute().
00276 { return muc_vhitLayer; }
std::vector<int> BesGlobalTrigSvc::getMuchitSeg | ( | ) | [inline] |
Definition at line 277 of file BesGlobalTrigSvc.h.
References muc_vhitSeg.
Referenced by BesTrigL1::execute().
00277 { return muc_vhitSeg; }
std::vector<int> BesGlobalTrigSvc::getMucIndex | ( | ) | [inline] |
std::vector<int> BesGlobalTrigSvc::getMuclayerSeg | ( | ) | [inline] |
Definition at line 275 of file BesGlobalTrigSvc.h.
References muc_vlayerSeg.
Referenced by BesTrigL1::execute().
00275 { return muc_vlayerSeg; }
int BesGlobalTrigSvc::getMucN3ltrackTotal | ( | ) | [inline] |
Definition at line 288 of file BesGlobalTrigSvc.h.
References muc_n3ltracktotal.
00288 { return muc_n3ltracktotal; }
int BesGlobalTrigSvc::getMucNhitBR | ( | ) | [inline] |
Definition at line 280 of file BesGlobalTrigSvc.h.
References muc_nhitBR.
00280 { return muc_nhitBR; }
int BesGlobalTrigSvc::getMucNhitEE | ( | ) | [inline] |
Definition at line 279 of file BesGlobalTrigSvc.h.
References muc_nhitEE.
00279 { return muc_nhitEE; }
int BesGlobalTrigSvc::getMucNhitTotal | ( | ) | [inline] |
Definition at line 282 of file BesGlobalTrigSvc.h.
References muc_nhitTotal.
00282 { return muc_nhitTotal; }
int BesGlobalTrigSvc::getMucNhitWE | ( | ) | [inline] |
Definition at line 281 of file BesGlobalTrigSvc.h.
References muc_nhitWE.
00281 { return muc_nhitWE; }
int BesGlobalTrigSvc::getMucNlayerBR | ( | ) | [inline] |
Definition at line 283 of file BesGlobalTrigSvc.h.
References muc_nlayerBR.
00283 { return muc_nlayerBR; }
int BesGlobalTrigSvc::getMucNlayerEE | ( | ) | [inline] |
Definition at line 285 of file BesGlobalTrigSvc.h.
References muc_nlayerEE.
00285 { return muc_nlayerEE; }
int BesGlobalTrigSvc::getMucNlayerWE | ( | ) | [inline] |
Definition at line 284 of file BesGlobalTrigSvc.h.
References muc_nlayerWE.
00284 { return muc_nlayerWE; }
int BesGlobalTrigSvc::getMucNtrackBR | ( | ) | [inline] |
Definition at line 286 of file BesGlobalTrigSvc.h.
References muc_ntrackBR.
00286 { return muc_ntrackBR; }
int BesGlobalTrigSvc::getMucNtrackEC | ( | ) | [inline] |
Definition at line 287 of file BesGlobalTrigSvc.h.
References muc_ntrackEC.
00287 { return muc_ntrackEC; }
bool BesGlobalTrigSvc::getNBClus1 | ( | ) | [inline] |
Definition at line 221 of file BesGlobalTrigSvc.h.
References emc_NBClus1.
00221 { return emc_NBClus1; }
bool BesGlobalTrigSvc::getNBTof1 | ( | ) | [inline] |
Definition at line 163 of file BesGlobalTrigSvc.h.
References tof_NBTof1.
00163 { return tof_NBTof1; }
bool BesGlobalTrigSvc::getNBTof2 | ( | ) | [inline] |
Definition at line 164 of file BesGlobalTrigSvc.h.
References tof_NBTof2.
00164 { return tof_NBTof2; }
bool BesGlobalTrigSvc::getNClus1 | ( | ) | [inline] |
Definition at line 219 of file BesGlobalTrigSvc.h.
References emc_NClus1.
00219 { return emc_NClus1; }
bool BesGlobalTrigSvc::getNClus2 | ( | ) | [inline] |
Definition at line 220 of file BesGlobalTrigSvc.h.
References emc_NClus2.
00220 { return emc_NClus2; }
bool BesGlobalTrigSvc::getNEClus1 | ( | ) | [inline] |
Definition at line 222 of file BesGlobalTrigSvc.h.
References emc_NEClus1.
00222 { return emc_NEClus1; }
bool BesGlobalTrigSvc::getNETof1 | ( | ) | [inline] |
Definition at line 165 of file BesGlobalTrigSvc.h.
References tof_NETof1.
00165 { return tof_NETof1; }
bool BesGlobalTrigSvc::getNETof2 | ( | ) | [inline] |
Definition at line 166 of file BesGlobalTrigSvc.h.
References tof_NETof2.
00166 { return tof_NETof2; }
bool BesGlobalTrigSvc::getNItrk1 | ( | ) | [inline] |
Definition at line 140 of file BesGlobalTrigSvc.h.
References mdc_NItrk1.
00140 { return mdc_NItrk1; }
bool BesGlobalTrigSvc::getNItrk2 | ( | ) | [inline] |
Definition at line 141 of file BesGlobalTrigSvc.h.
References mdc_NItrk2.
00141 { return mdc_NItrk2; }
bool BesGlobalTrigSvc::getNLtrk1 | ( | ) | [inline] |
Definition at line 139 of file BesGlobalTrigSvc.h.
References mdc_NLtrk1.
00139 { return mdc_NLtrk1; }
bool BesGlobalTrigSvc::getNLtrk2 | ( | ) | [inline] |
Definition at line 138 of file BesGlobalTrigSvc.h.
References mdc_NLtrk2.
00138 { return mdc_NLtrk2; }
bool BesGlobalTrigSvc::getNLtrkN | ( | ) | [inline] |
Definition at line 137 of file BesGlobalTrigSvc.h.
References mdc_NLtrkN.
00137 { return mdc_NLtrkN; }
bool BesGlobalTrigSvc::getNStrk1 | ( | ) | [inline] |
Definition at line 135 of file BesGlobalTrigSvc.h.
References mdc_NStrk1.
00135 { return mdc_NStrk1; }
bool BesGlobalTrigSvc::getNStrk2 | ( | ) | [inline] |
Definition at line 134 of file BesGlobalTrigSvc.h.
References mdc_NStrk2.
00134 { return mdc_NStrk2; }
bool BesGlobalTrigSvc::getNStrkN | ( | ) | [inline] |
Definition at line 133 of file BesGlobalTrigSvc.h.
References mdc_NStrkN.
00133 { return mdc_NStrkN; }
bool BesGlobalTrigSvc::getNTof1 | ( | ) | [inline] |
int BesGlobalTrigSvc::getRunMode | ( | ) | [inline] |
bool BesGlobalTrigSvc::getSTrk_BB | ( | ) | [inline] |
Definition at line 132 of file BesGlobalTrigSvc.h.
References mdc_STrk_BB.
00132 { return mdc_STrk_BB; }
bool BesGlobalTrigSvc::getTMATrkBB | ( | ) | [inline] |
Definition at line 304 of file BesGlobalTrigSvc.h.
References tm_ATrk_BB.
00304 { return tm_ATrk_BB; }
bool BesGlobalTrigSvc::getTMBTrkBB | ( | ) | [inline] |
Definition at line 307 of file BesGlobalTrigSvc.h.
References tm_BTrk_BB.
00307 { return tm_BTrk_BB; }
bool BesGlobalTrigSvc::getTMCTrkBB | ( | ) | [inline] |
Definition at line 310 of file BesGlobalTrigSvc.h.
References tm_CTrk_BB.
00310 { return tm_CTrk_BB; }
bool BesGlobalTrigSvc::getTMNATrk1 | ( | ) | [inline] |
bool BesGlobalTrigSvc::getTMNATrk2 | ( | ) | [inline] |
bool BesGlobalTrigSvc::getTMNBTrk1 | ( | ) | [inline] |
bool BesGlobalTrigSvc::getTMNBTrk2 | ( | ) | [inline] |
bool BesGlobalTrigSvc::getTMNCTrk1 | ( | ) | [inline] |
bool BesGlobalTrigSvc::getTMNCTrk2 | ( | ) | [inline] |
map<int,vector<int>,greater<int> > BesGlobalTrigSvc::getTofHitPos | ( | ) | [inline] |
Definition at line 172 of file BesGlobalTrigSvc.h.
References tofHitPos.
Referenced by BesTrigL1::execute(), and BesTMTrig::startTMTrig().
00172 { return tofHitPos; }
int BesGlobalTrigSvc::getTofLayerControl | ( | ) | [inline] |
Definition at line 85 of file BesGlobalTrigSvc.h.
References m_tofLayer.
Referenced by BesTofTrig::startTofTrig().
00085 { return m_tofLayer; }
const int* BesGlobalTrigSvc::getTrigChan | ( | ) | const [inline] |
Definition at line 89 of file BesGlobalTrigSvc.h.
References m_trigChannel.
00089 { return m_trigChannel; }
const int BesGlobalTrigSvc::getTrigChan | ( | int | i | ) | [inline] |
Definition at line 88 of file BesGlobalTrigSvc.h.
References m_trigChannel.
Referenced by BesTrigL1::execute().
00088 { return m_trigChannel[i]; }
const int* BesGlobalTrigSvc::getTrigCond | ( | ) | const [inline] |
Definition at line 95 of file BesGlobalTrigSvc.h.
References m_trigCondition.
00095 { return m_trigCondition; }
const int BesGlobalTrigSvc::getTrigCond | ( | int | i | ) | [inline, virtual] |
Implements IBesGlobalTrigSvc.
Definition at line 94 of file BesGlobalTrigSvc.h.
References m_trigCondition.
Referenced by BesTrigL1::execute().
00094 { return m_trigCondition[i]; }
double BesGlobalTrigSvc::getWETCEnergy | ( | int | theta, | |
int | phi | |||
) | [inline] |
Definition at line 253 of file BesGlobalTrigSvc.h.
References emcWETCEnergy.
00253 { return emcWETCEnergy[theta][phi]; }
StatusCode BesGlobalTrigSvc::GlobalTrig | ( | ) | [virtual] |
Implements IBesGlobalTrigSvc.
Definition at line 383 of file BesGlobalTrigSvc.cxx.
References channelNo, Bes_Common::FATAL, BesMucTrig::getNhitLayer(), BesMucTrig::getNhitPart(), BesMucTrig::getNhitSeg(), BesMucTrig::getNhitTotal(), BesMucTrig::getNlayerPart(), BesMucTrig::getNlayerSeg(), genRecEmupikp::i, ifpass, Bes_Common::INFO, ganga-rec::j, m_MucTrig, m_trigChannel, msgSvc(), muc_nhitBR, muc_nhitEE, muc_nhitTotal, muc_nhitWE, muc_nlayerBR, muc_nlayerEE, muc_nlayerWE, muc_vhitLayer, muc_vhitSeg, muc_vlayerSeg, trigChannel, trigCond, trigCondName, trigOut, and trigTable.
Referenced by BesTrigL1::execute().
00384 { 00385 //initialize 00386 ifpass = false; 00387 trigOut.clear(); 00388 00389 for(int i = 0; i < 16; i++) { 00390 if(i < 16) m_trigChannel[i] = 0; 00391 } 00392 00393 MsgStream log(msgSvc(), name()); 00394 00395 //get Muc trigger information 00396 muc_vlayerSeg = m_MucTrig->getNlayerSeg(); 00397 00398 muc_nlayerEE = m_MucTrig->getNlayerPart(0); 00399 muc_nlayerBR = m_MucTrig->getNlayerPart(1); 00400 muc_nlayerWE = m_MucTrig->getNlayerPart(2); 00401 muc_vhitLayer = m_MucTrig->getNhitLayer(); 00402 muc_vhitSeg = m_MucTrig->getNhitSeg(); 00403 muc_nhitEE = m_MucTrig->getNhitPart(0); 00404 muc_nhitBR = m_MucTrig->getNhitPart(1); 00405 muc_nhitWE = m_MucTrig->getNhitPart(2); 00406 muc_nhitTotal = m_MucTrig->getNhitTotal(); 00407 00408 //set trigger condition id 00409 StatusCode status; 00410 //StatusCode status = setTrigCondition(); 00411 00412 //make out trigger conditon table; 00413 for(unsigned int i = 0; i < 48; i++) { 00414 for(unsigned int j = 0; j < trigChannel.size(); j++) { 00415 if(trigCond[i]) trigOut.push_back(1); 00416 else trigOut.push_back(0); 00417 } 00418 } 00419 00420 //compare trigger table and trigger output 00421 00422 for(unsigned int i=0; i<channelNo.size(); i++) 00423 { 00424 if(channelNo.size() > 16) { 00425 log << MSG::FATAL <<"Trigger Channel is greater than 16!!!!!" << endreq; 00426 return StatusCode::FAILURE; 00427 } 00428 int condition = 0; 00429 int conditionNo = 0; 00430 if(channelNo[i]==0) 00431 { 00432 m_trigChannel[i] = 0; //data structure member in TDS 00433 continue; 00434 } 00435 else 00436 { 00437 log<<MSG::INFO<<trigChannel[i]<<": "; 00438 for(unsigned int j=0; j<trigCondName.size(); j++) 00439 { 00440 if(trigTable[i+j*channelNo.size()]=="1"&&trigOut[i+j*channelNo.size()]==1) condition++; 00441 if(trigTable[i+j*channelNo.size()]=="0"&&trigOut[i+j*channelNo.size()]==0) condition++; 00442 if(trigTable[i+j*channelNo.size()]=="1") log<<MSG::INFO<<trigCondName[j]<<" "; 00443 if(trigTable[i+j*channelNo.size()]=="0") log<<MSG::INFO<<"anti_"<<trigCondName[j]<<" "; 00444 } 00445 for(unsigned int k=0; k<trigCondName.size(); k++) 00446 { 00447 if(trigTable[i+k*channelNo.size()]=="1"||trigTable[i+k*channelNo.size()]=="0") { 00448 log<<MSG::INFO<<trigOut[i+k*channelNo.size()]<<" "; 00449 conditionNo++; } 00450 } 00451 log<<MSG::INFO<<endreq; 00452 if((condition == conditionNo) && conditionNo!=0) { 00453 ifpass = true; 00454 m_trigChannel[i] = 1; //data structure member in TDS 00455 } 00456 else { 00457 m_trigChannel[i] = 0; //data structure member in TDS 00458 } 00459 } 00460 } 00461 00462 return status; 00463 }
void BesGlobalTrigSvc::handle | ( | const Incident & | ) |
Definition at line 255 of file BesGlobalTrigSvc.cxx.
References channelNo, COND_NAME, Bes_Common::DEBUG, RealizationSvc::getTrgTable(), genRecEmupikp::i, RealizationSvc::ifReadTrg(), ganga-rec::j, m_RealizationSvc, msgSvc(), deljobs::string, trigChannel, trigCondName, trigTable, and RealizationSvc::UseDBFlag().
00255 { 00256 MsgStream log( msgSvc(), name() ); 00257 log << MSG::DEBUG << "handle: " << inc.type() << endreq; 00258 if ( inc.type() != "NewRun" ){ 00259 return; 00260 } 00261 log << MSG::DEBUG << "Begin New Run" << endreq; 00262 if(m_RealizationSvc->UseDBFlag() == true && m_RealizationSvc->ifReadTrg() == true) { 00263 00264 std::vector<uint32_t> trgTable_DB = m_RealizationSvc->getTrgTable(); 00265 00266 trigChannel.clear(); 00267 trigCondName.clear(); 00268 trigTable.clear(); 00269 channelNo.clear(); 00270 00271 for(unsigned int i = 0, mask = 1; i <16; i++,mask<<=1) { 00272 if(trgTable_DB[0] & mask) { 00273 if(i == 9) channelNo.push_back(0); 00274 else channelNo.push_back(1); 00275 } 00276 else channelNo.push_back(0); 00277 std::ostringstream osname; 00278 osname << "Channel_"<<i; 00279 std::string name = osname.str(); 00280 trigChannel.push_back(name); 00281 } 00282 00283 string table_tmp[16][64]; 00284 for(unsigned int i = 1; i <65; i++) { 00285 for(unsigned int j = 0; j <16; j++) { 00286 int bit2 = (trgTable_DB[i]>>2*j) & 0x3; 00287 int row = (int) (i-1)/4; 00288 int column = ((i-1)%4)*16 + j; 00289 if(bit2 == 0) table_tmp[row][column] = "1"; 00290 else if(bit2 == 1) table_tmp[row][column] = "0"; 00291 else table_tmp[row][column] = "-"; 00292 } 00293 } 00294 00295 for(int j = 0; j < 48; j++) { 00296 trigCondName.push_back(COND_NAME[j]); 00297 for(int i = 0; i < 16; i++) { 00298 trigTable.push_back(table_tmp[i][j]); 00299 } 00300 } 00301 //print 00302 for(unsigned int i=0;i<trigChannel.size();i++){ cout<<" "<<trigChannel[i]<<" ";} 00303 cout<<endl; 00304 for(unsigned int i=0;i<channelNo.size();i++){ cout<<" "<<channelNo[i]<<" ";} 00305 cout<<endl; 00306 for(unsigned int j=0;j<trigCondName.size();j++) 00307 { 00308 cout<<setw(15)<<trigCondName[j]<<" "; 00309 for(unsigned int i=0+j*trigChannel.size();i<trigChannel.size()+j*trigChannel.size();i++) 00310 { cout<<trigTable[i]<<" ";} 00311 cout<<endl; 00312 } 00313 } 00314 00315 }
StatusCode BesGlobalTrigSvc::initialize | ( | ) | [virtual] |
Initialise the service (Inherited Service overrides).
Definition at line 122 of file BesGlobalTrigSvc.cxx.
References channelNo, Bes_Common::FATAL, genRecEmupikp::i, ganga-rec::j, genRecEmupikp::line, m_EmcTrig, m_MdcTrig, m_MucTrig, m_RealizationSvc, m_TMTrig, m_TofTrig, msgSvc(), num, deljobs::string, trigChannel, trigCondName, trigTable, trigTableFile, and RealizationSvc::UseDBFlag().
00123 { 00124 MsgStream log(msgSvc(), name()); 00125 00126 StatusCode sc = Service::initialize(); 00127 if( sc.isFailure() ) return sc; 00128 00129 StatusCode status; 00130 // Get the references to the services that are needed by the ApplicationMgr itself 00131 IIncidentSvc* incsvc; 00132 status = service("IncidentSvc", incsvc); 00133 int priority = 100; 00134 if( status.isSuccess() ){ 00135 incsvc -> addListener(this, "NewRun", priority); 00136 } 00137 00138 IRealizationSvc *tmpReal; 00139 status = service("RealizationSvc",tmpReal); 00140 if (!status.isSuccess()) 00141 { 00142 log << MSG::FATAL << " Could not initialize Realization Service" << endreq; 00143 } else { 00144 m_RealizationSvc=dynamic_cast<RealizationSvc*>(tmpReal); 00145 } 00146 00147 m_MdcTrig = new BesMdcTrig(); 00148 m_TofTrig = new BesTofTrig(); 00149 m_EmcTrig = new BesEmcTrig(); 00150 m_MucTrig = new BesMucTrig(); 00151 m_TMTrig = new BesTMTrig(); 00152 00153 if(!m_MdcTrig) log<<MSG::FATAL<<"can not get BesMdcTrig pointer "<<endreq; 00154 if(!m_TofTrig) log<<MSG::FATAL<<"can not get BesTofTrig pointer "<<endreq; 00155 if(!m_EmcTrig) log<<MSG::FATAL<<"can not get BesEmcTrig pointer "<<endreq; 00156 if(!m_MucTrig) log<<MSG::FATAL<<"can not get BesMucTrig pointer "<<endreq; 00157 if(!m_TMTrig) log<<MSG::FATAL<<"can not get BesTMTrig pointer "<<endreq; 00158 00159 trigChannel.clear(); 00160 trigCondName.clear(); 00161 trigTable.clear(); 00162 channelNo.clear(); 00163 00164 if(m_RealizationSvc->UseDBFlag() == false) { 00165 ifstream infile; 00166 infile.open(trigTableFile.c_str(),ios_base::in); 00167 if(!infile) log<<MSG::FATAL<<"can not open Trigger Table file: "<<trigTableFile<<endreq; 00168 char line[ 255 ]; 00169 // Skip the header 00170 do{ 00171 infile.getline( line, 255 ); 00172 } while( line[0] != 'C' ); 00173 //the name of each trigger channel 00174 std::string chan; 00175 int num; 00176 char* token = strtok( line, " " ); 00177 do{ 00178 if ( token ) { 00179 chan = token; 00180 token = strtok( NULL, " " ); 00181 if(chan!="CHANNEL") trigChannel.push_back(chan); 00182 } 00183 else continue; 00184 }while ( token != NULL ); 00185 //use this trigger channel, yes or no ? 00186 infile.getline( line, 255 ); 00187 token = strtok( line, " " ); 00188 do{ 00189 if( token ) { 00190 chan = token; 00191 token = strtok(NULL, " "); 00192 num = atoi(chan.c_str()); 00193 channelNo.push_back(num); 00194 } 00195 else continue; 00196 }while ( token!=NULL); 00197 00198 while(infile) { 00199 infile.getline( line, 255 ); 00200 if(line[0]==' ') continue; 00201 if(line[0]=='#') break; 00202 token = strtok( line, " " ); 00203 do{ 00204 if(token) { 00205 chan = token; 00206 token = strtok(NULL," "); 00207 if(chan=="1"||chan=="0"||chan=="-") { trigTable.push_back(chan); } 00208 else { 00209 trigCondName.push_back(chan); 00210 } 00211 } 00212 else continue; 00213 }while (token!=NULL); 00214 } 00215 00216 for(unsigned int i=0;i<trigChannel.size();i++){ cout<<" "<<trigChannel[i]<<" ";} 00217 cout<<endl; 00218 for(unsigned int i=0;i<channelNo.size();i++){ cout<<" "<<channelNo[i]<<" ";} 00219 cout<<endl; 00220 for(unsigned int j=0;j<trigCondName.size();j++) 00221 { 00222 cout<<trigCondName[j]<<" "; 00223 for(unsigned int i=0+j*trigChannel.size();i<trigChannel.size()+j*trigChannel.size();i++) 00224 { cout<<trigTable[i]<<" ";} 00225 cout<<endl; 00226 } 00227 infile.close(); 00228 } 00229 00230 return StatusCode::SUCCESS; 00231 }
static const InterfaceID& IBesGlobalTrigSvc::interfaceID | ( | ) | [inline, static, inherited] |
Definition at line 15 of file IBesGlobalTrigSvc.h.
References IID_IBesGlobalTrigSvc().
Referenced by queryInterface().
00015 { return IID_IBesGlobalTrigSvc; }
StatusCode BesGlobalTrigSvc::queryInterface | ( | const InterfaceID & | riid, | |
void ** | ppvInterface | |||
) | [virtual] |
Definition at line 243 of file BesGlobalTrigSvc.cxx.
References IBesGlobalTrigSvc::interfaceID().
00245 { 00246 if ( IBesGlobalTrigSvc::interfaceID().versionMatch(riid) ) { 00247 *ppvInterface = (IBesGlobalTrigSvc*)this; 00248 }else{ 00249 return Service::queryInterface(riid, ppvInterface); 00250 } 00251 addRef(); 00252 return StatusCode::SUCCESS; 00253 }
void BesGlobalTrigSvc::setBClus_PHI | ( | bool | i | ) | [inline] |
Definition at line 185 of file BesGlobalTrigSvc.h.
References emc_BClus_PHI.
Referenced by BesEmcTrig::startEmcTrig().
00185 { emc_BClus_PHI = i; }
void BesGlobalTrigSvc::setBClusBB | ( | bool | i | ) | [inline] |
Definition at line 182 of file BesGlobalTrigSvc.h.
References emc_BClusBB.
Referenced by BesEmcTrig::startEmcTrig().
00182 { emc_BClusBB = i; }
void BesGlobalTrigSvc::setBEtot_H | ( | bool | i | ) | [inline] |
Definition at line 187 of file BesGlobalTrigSvc.h.
References emc_BEtot_H.
Referenced by BesEmcTrig::startEmcTrig().
00187 { emc_BEtot_H = i; }
void BesGlobalTrigSvc::setBL_BBLK | ( | bool | i | ) | [inline] |
Definition at line 194 of file BesGlobalTrigSvc.h.
References emc_BL_BBLK.
Referenced by BesEmcTrig::startEmcTrig().
00194 { emc_BL_BBLK = i; }
void BesGlobalTrigSvc::setBL_EBLK | ( | bool | i | ) | [inline] |
Definition at line 195 of file BesGlobalTrigSvc.h.
References emc_BL_EBLK.
Referenced by BesEmcTrig::startEmcTrig().
00195 { emc_BL_EBLK = i; }
void BesGlobalTrigSvc::setBL_Z | ( | bool | i | ) | [inline] |
Definition at line 191 of file BesGlobalTrigSvc.h.
References emc_BL_Z.
Referenced by BesEmcTrig::startEmcTrig().
void BesGlobalTrigSvc::setBTCEnergy | ( | int | theta, | |
int | phi, | |||
double | energy | |||
) | [inline] |
Definition at line 210 of file BesGlobalTrigSvc.h.
References emcBTCEnergy.
00210 { emcBTCEnergy[theta][phi] = energy; }
void BesGlobalTrigSvc::setBTofBB | ( | bool | i | ) | [inline] |
Definition at line 149 of file BesGlobalTrigSvc.h.
References tof_BTofBB.
Referenced by BesTofTrig::startTofTrig().
00149 { tof_BTofBB = i; }
void BesGlobalTrigSvc::setBTofHitMap | ( | vector< int > | i | ) | [inline] |
Definition at line 158 of file BesGlobalTrigSvc.h.
References btofHitMap.
Referenced by BesTofTrig::startTofTrig().
00158 { btofHitMap = i; }
void BesGlobalTrigSvc::setClus_Z | ( | bool | i | ) | [inline] |
Definition at line 184 of file BesGlobalTrigSvc.h.
References emc_Clus_Z.
Referenced by BesEmcTrig::startEmcTrig().
00184 { emc_Clus_Z = i; }
void BesGlobalTrigSvc::setDiff_B | ( | bool | i | ) | [inline] |
Definition at line 192 of file BesGlobalTrigSvc.h.
References emc_Diff_B.
Referenced by BesEmcTrig::startEmcTrig().
00192 { emc_Diff_B = i; }
void BesGlobalTrigSvc::setDiff_E | ( | bool | i | ) | [inline] |
Definition at line 193 of file BesGlobalTrigSvc.h.
References emc_Diff_E.
Referenced by BesEmcTrig::startEmcTrig().
00193 { emc_Diff_E = i; }
void BesGlobalTrigSvc::setEClus_PHI | ( | bool | i | ) | [inline] |
Definition at line 186 of file BesGlobalTrigSvc.h.
References emc_EClus_PHI.
Referenced by BesEmcTrig::startEmcTrig().
00186 { emc_EClus_PHI = i; }
void BesGlobalTrigSvc::setEClusBB | ( | bool | i | ) | [inline] |
Definition at line 183 of file BesGlobalTrigSvc.h.
References emc_EClusBB.
Referenced by BesEmcTrig::startEmcTrig().
00183 { emc_EClusBB = i; }
void BesGlobalTrigSvc::setEETCEnergy | ( | int | theta, | |
int | phi, | |||
double | energy | |||
) | [inline] |
Definition at line 212 of file BesGlobalTrigSvc.h.
References emcEETCEnergy.
00212 { emcEETCEnergy[theta][phi] = energy; }
void BesGlobalTrigSvc::setEEtot_H | ( | bool | i | ) | [inline] |
Definition at line 188 of file BesGlobalTrigSvc.h.
References emc_EEtot_H.
Referenced by BesEmcTrig::startEmcTrig().
00188 { emc_EEtot_H = i; }
void BesGlobalTrigSvc::setEmcBlockE | ( | std::vector< double > | i | ) | [inline] |
Definition at line 213 of file BesGlobalTrigSvc.h.
References emcBlockE.
Referenced by EmcESum::getESum().
void BesGlobalTrigSvc::setEmcBTotE | ( | double | i | ) | [inline] |
Definition at line 204 of file BesGlobalTrigSvc.h.
References emcBTotE.
Referenced by EmcESum::getESum().
void BesGlobalTrigSvc::setEmcClusE | ( | std::vector< double > | i | ) | [inline] |
Definition at line 215 of file BesGlobalTrigSvc.h.
References emcClusE.
Referenced by EmcCCount::getClusterId().
void BesGlobalTrigSvc::setEmcClusId | ( | map< int, vector< complex< int > >, greater< int > > | i | ) | [inline] |
Definition at line 214 of file BesGlobalTrigSvc.h.
References emcClusId, and genRecEmupikp::i.
Referenced by EmcCCount::getClusterId().
void BesGlobalTrigSvc::setEmcEETotE | ( | double | i | ) | [inline] |
Definition at line 209 of file BesGlobalTrigSvc.h.
References emcEETotE.
Referenced by EmcESum::getESum().
void BesGlobalTrigSvc::setEmcETotE | ( | double | i | ) | [inline] |
Definition at line 205 of file BesGlobalTrigSvc.h.
References emcETotE.
Referenced by EmcESum::getESum().
void BesGlobalTrigSvc::setEmcLBTotE | ( | double | i | ) | [inline] |
Definition at line 206 of file BesGlobalTrigSvc.h.
References emcLBTotE.
Referenced by EmcESum::getESum().
void BesGlobalTrigSvc::setEmcLTotE | ( | double | i | ) | [inline] |
Definition at line 202 of file BesGlobalTrigSvc.h.
References emcLTotE.
Referenced by EmcESum::getESum().
void BesGlobalTrigSvc::setEmcNbCluster | ( | int | i | ) | [inline] |
Definition at line 198 of file BesGlobalTrigSvc.h.
References emcNbCluster.
Referenced by EmcCCount::getClusterId().
00198 { emcNbCluster = i; }
void BesGlobalTrigSvc::setEmcNeeCluster | ( | int | i | ) | [inline] |
Definition at line 200 of file BesGlobalTrigSvc.h.
References emcNeeCluster.
Referenced by EmcCCount::getClusterId().
00200 { emcNeeCluster = i; }
void BesGlobalTrigSvc::setEmcNweCluster | ( | int | i | ) | [inline] |
Definition at line 199 of file BesGlobalTrigSvc.h.
References emcNweCluster.
Referenced by EmcCCount::getClusterId().
00199 { emcNweCluster = i; }
void BesGlobalTrigSvc::setEmcRBTotE | ( | double | i | ) | [inline] |
Definition at line 207 of file BesGlobalTrigSvc.h.
References emcRBTotE.
Referenced by EmcESum::getESum().
void BesGlobalTrigSvc::setEmcRTotE | ( | double | i | ) | [inline] |
Definition at line 203 of file BesGlobalTrigSvc.h.
References emcRTotE.
Referenced by EmcESum::getESum().
void BesGlobalTrigSvc::setEmcTotE | ( | double | i | ) | [inline] |
Definition at line 201 of file BesGlobalTrigSvc.h.
References emcTotE.
Referenced by EmcESum::getESum().
void BesGlobalTrigSvc::setEmcWETotE | ( | double | i | ) | [inline] |
Definition at line 208 of file BesGlobalTrigSvc.h.
References emcWETotE.
Referenced by EmcESum::getESum().
void BesGlobalTrigSvc::setETofBB | ( | bool | i | ) | [inline] |
Definition at line 148 of file BesGlobalTrigSvc.h.
References tof_ETofBB.
Referenced by BesTofTrig::startTofTrig().
00148 { tof_ETofBB = i; }
void BesGlobalTrigSvc::setETofHitMap | ( | vector< int > | i | ) | [inline] |
Definition at line 159 of file BesGlobalTrigSvc.h.
References etofHitMap.
Referenced by BesTofTrig::startTofTrig().
00159 { etofHitMap = i; }
void BesGlobalTrigSvc::setEtot_L | ( | bool | i | ) | [inline] |
Definition at line 189 of file BesGlobalTrigSvc.h.
References emc_Etot_L.
Referenced by BesEmcTrig::startEmcTrig().
00189 { emc_Etot_L = i; }
void BesGlobalTrigSvc::setEtot_M | ( | bool | i | ) | [inline] |
Definition at line 190 of file BesGlobalTrigSvc.h.
References emc_Etot_M.
Referenced by BesEmcTrig::startEmcTrig().
00190 { emc_Etot_M = i; }
void BesGlobalTrigSvc::setEvtTime | ( | double | i | ) | [inline] |
void BesGlobalTrigSvc::setGoodEvent | ( | bool | i | ) | [inline, virtual] |
Implements IBesGlobalTrigSvc.
Definition at line 51 of file BesGlobalTrigSvc.h.
References m_goodEvent.
00051 { m_goodEvent = i; };
void BesGlobalTrigSvc::setIfpass | ( | bool | i | ) | [inline] |
void BesGlobalTrigSvc::setLTrk_BB | ( | bool | i | ) | [inline] |
Definition at line 119 of file BesGlobalTrigSvc.h.
References mdc_LTrk_BB.
Referenced by BesMdcTrig::startMdcTrig().
00119 { mdc_LTrk_BB = i; }
void BesGlobalTrigSvc::setMdcLtrkId | ( | std::vector< int > | i | ) | [inline] |
Definition at line 128 of file BesGlobalTrigSvc.h.
References mdcLtrkId.
Referenced by MdcTCount::GetTCount().
void BesGlobalTrigSvc::setMdcStrkId | ( | std::vector< int > | i | ) | [inline] |
Definition at line 127 of file BesGlobalTrigSvc.h.
References mdcStrkId.
Referenced by MdcTCount::GetTCount().
void BesGlobalTrigSvc::setMucBB3478 | ( | bool | i | ) | [inline] |
Definition at line 260 of file BesGlobalTrigSvc.h.
References muc_BB3478.
Referenced by BesMucTrig::findTrack().
00260 { muc_BB3478 = i; }
void BesGlobalTrigSvc::setMucBB37 | ( | bool | i | ) | [inline] |
Definition at line 261 of file BesGlobalTrigSvc.h.
References muc_BB37.
Referenced by BesMucTrig::findTrack().
void BesGlobalTrigSvc::setMucIndex | ( | std::vector< int > | i | ) | [inline] |
Definition at line 264 of file BesGlobalTrigSvc.h.
References muc_index.
Referenced by BesMucTrig::setIndex().
void BesGlobalTrigSvc::setMucN3ltrackTotal | ( | int | i | ) | [inline] |
Definition at line 267 of file BesGlobalTrigSvc.h.
References muc_n3ltracktotal.
Referenced by BesMucTrig::findTrack().
00267 { muc_n3ltracktotal = i; }
void BesGlobalTrigSvc::setMucNtrackBR | ( | int | i | ) | [inline] |
Definition at line 265 of file BesGlobalTrigSvc.h.
References muc_ntrackBR.
Referenced by BesMucTrig::findTrack().
00265 { muc_ntrackBR = i; }
void BesGlobalTrigSvc::setMucNtrackEC | ( | int | i | ) | [inline] |
Definition at line 266 of file BesGlobalTrigSvc.h.
References muc_ntrackEC.
Referenced by BesMucTrig::findTrack().
00266 { muc_ntrackEC = i; }
void BesGlobalTrigSvc::setNBClus1 | ( | bool | i | ) | [inline] |
Definition at line 180 of file BesGlobalTrigSvc.h.
References emc_NBClus1.
Referenced by BesEmcTrig::startEmcTrig().
00180 { emc_NBClus1 = i; }
void BesGlobalTrigSvc::setNBTof1 | ( | bool | i | ) | [inline] |
Definition at line 153 of file BesGlobalTrigSvc.h.
References tof_NBTof1.
Referenced by BesTofTrig::startTofTrig().
00153 { tof_NBTof1 = i; }
void BesGlobalTrigSvc::setNBTof2 | ( | bool | i | ) | [inline] |
Definition at line 152 of file BesGlobalTrigSvc.h.
References tof_NBTof2.
Referenced by BesTofTrig::startTofTrig().
00152 { tof_NBTof2 = i; }
void BesGlobalTrigSvc::setNClus1 | ( | bool | i | ) | [inline] |
Definition at line 178 of file BesGlobalTrigSvc.h.
References emc_NClus1.
Referenced by BesEmcTrig::startEmcTrig().
00178 { emc_NClus1 = i; }
void BesGlobalTrigSvc::setNClus2 | ( | bool | i | ) | [inline] |
Definition at line 179 of file BesGlobalTrigSvc.h.
References emc_NClus2.
Referenced by BesEmcTrig::startEmcTrig().
00179 { emc_NClus2 = i; }
void BesGlobalTrigSvc::setNEClus1 | ( | bool | i | ) | [inline] |
Definition at line 181 of file BesGlobalTrigSvc.h.
References emc_NEClus1.
Referenced by BesEmcTrig::startEmcTrig().
00181 { emc_NEClus1 = i; }
void BesGlobalTrigSvc::setNETof1 | ( | bool | i | ) | [inline] |
Definition at line 151 of file BesGlobalTrigSvc.h.
References tof_NETof1.
Referenced by BesTofTrig::startTofTrig().
00151 { tof_NETof1 = i; }
void BesGlobalTrigSvc::setNETof2 | ( | bool | i | ) | [inline] |
Definition at line 150 of file BesGlobalTrigSvc.h.
References tof_NETof2.
Referenced by BesTofTrig::startTofTrig().
00150 { tof_NETof2 = i; }
void BesGlobalTrigSvc::setNItrk1 | ( | bool | i | ) | [inline] |
Definition at line 123 of file BesGlobalTrigSvc.h.
References mdc_NItrk1.
Referenced by BesMdcTrig::startMdcTrig().
00123 { mdc_NItrk1 = i; }
void BesGlobalTrigSvc::setNItrk2 | ( | bool | i | ) | [inline] |
Definition at line 124 of file BesGlobalTrigSvc.h.
References mdc_NItrk2.
Referenced by BesMdcTrig::startMdcTrig().
00124 { mdc_NItrk2 = i; }
void BesGlobalTrigSvc::setNLtrk1 | ( | bool | i | ) | [inline] |
Definition at line 122 of file BesGlobalTrigSvc.h.
References mdc_NLtrk1.
Referenced by BesMdcTrig::startMdcTrig().
00122 { mdc_NLtrk1 = i; }
void BesGlobalTrigSvc::setNLtrk2 | ( | bool | i | ) | [inline] |
Definition at line 121 of file BesGlobalTrigSvc.h.
References mdc_NLtrk2.
Referenced by BesMdcTrig::startMdcTrig().
00121 { mdc_NLtrk2 = i; }
void BesGlobalTrigSvc::setNLtrkN | ( | bool | i | ) | [inline] |
Definition at line 120 of file BesGlobalTrigSvc.h.
References mdc_NLtrkN.
Referenced by BesMdcTrig::startMdcTrig().
00120 { mdc_NLtrkN = i; }
void BesGlobalTrigSvc::setNStrk1 | ( | bool | i | ) | [inline] |
Definition at line 118 of file BesGlobalTrigSvc.h.
References mdc_NStrk1.
Referenced by BesMdcTrig::startMdcTrig().
00118 { mdc_NStrk1 = i; }
void BesGlobalTrigSvc::setNStrk2 | ( | bool | i | ) | [inline] |
Definition at line 117 of file BesGlobalTrigSvc.h.
References mdc_NStrk2.
Referenced by BesMdcTrig::startMdcTrig().
00117 { mdc_NStrk2 = i; }
void BesGlobalTrigSvc::setNStrkN | ( | bool | i | ) | [inline] |
Definition at line 116 of file BesGlobalTrigSvc.h.
References mdc_NStrkN.
Referenced by BesMdcTrig::startMdcTrig().
00116 { mdc_NStrkN = i; }
void BesGlobalTrigSvc::setNTof1 | ( | bool | i | ) | [inline] |
Definition at line 154 of file BesGlobalTrigSvc.h.
References tof_NTof1.
Referenced by BesTofTrig::startTofTrig().
void BesGlobalTrigSvc::setRunMode | ( | int | mode | ) | [inline] |
Definition at line 109 of file BesGlobalTrigSvc.h.
References m_runMode.
Referenced by BesTrigL1::initialize().
00109 { m_runMode = mode; }
void BesGlobalTrigSvc::setSTrk_BB | ( | bool | i | ) | [inline] |
Definition at line 115 of file BesGlobalTrigSvc.h.
References mdc_STrk_BB.
Referenced by BesMdcTrig::startMdcTrig().
00115 { mdc_STrk_BB = i; }
void BesGlobalTrigSvc::setTMATrkBB | ( | bool | i | ) | [inline] |
Definition at line 293 of file BesGlobalTrigSvc.h.
References tm_ATrk_BB.
Referenced by BesTMTrig::startTMTrig().
00293 { tm_ATrk_BB = i; }
void BesGlobalTrigSvc::setTMBTrkBB | ( | bool | i | ) | [inline] |
Definition at line 296 of file BesGlobalTrigSvc.h.
References tm_BTrk_BB.
Referenced by BesTMTrig::startTMTrig().
00296 { tm_BTrk_BB = i; }
void BesGlobalTrigSvc::setTMCTrkBB | ( | bool | i | ) | [inline] |
Definition at line 299 of file BesGlobalTrigSvc.h.
References tm_CTrk_BB.
Referenced by BesTMTrig::startTMTrig().
00299 { tm_CTrk_BB = i; }
void BesGlobalTrigSvc::setTMNATrk1 | ( | bool | i | ) | [inline] |
Definition at line 291 of file BesGlobalTrigSvc.h.
References tm_NATrk1.
Referenced by BesTMTrig::startTMTrig().
void BesGlobalTrigSvc::setTMNATrk2 | ( | bool | i | ) | [inline] |
Definition at line 292 of file BesGlobalTrigSvc.h.
References tm_NATrk2.
Referenced by BesTMTrig::startTMTrig().
void BesGlobalTrigSvc::setTMNBTrk1 | ( | bool | i | ) | [inline] |
Definition at line 294 of file BesGlobalTrigSvc.h.
References tm_NBTrk1.
Referenced by BesTMTrig::startTMTrig().
void BesGlobalTrigSvc::setTMNBTrk2 | ( | bool | i | ) | [inline] |
Definition at line 295 of file BesGlobalTrigSvc.h.
References tm_NBTrk2.
Referenced by BesTMTrig::startTMTrig().
void BesGlobalTrigSvc::setTMNCTrk1 | ( | bool | i | ) | [inline] |
Definition at line 297 of file BesGlobalTrigSvc.h.
References tm_NCTrk1.
Referenced by BesTMTrig::startTMTrig().
void BesGlobalTrigSvc::setTMNCTrk2 | ( | bool | i | ) | [inline] |
Definition at line 298 of file BesGlobalTrigSvc.h.
References tm_NCTrk2.
Referenced by BesTMTrig::startTMTrig().
void BesGlobalTrigSvc::setTofHitPos | ( | map< int, vector< int >, greater< int > > | i | ) | [inline] |
Definition at line 157 of file BesGlobalTrigSvc.h.
References genRecEmupikp::i, and tofHitPos.
Referenced by BesTofTrig::startTofTrig().
void BesGlobalTrigSvc::setTrigChan | ( | int | i, | |
int | j | |||
) | [inline] |
Definition at line 91 of file BesGlobalTrigSvc.h.
References m_trigChannel.
00091 { m_trigChannel[i] = j; }
void BesGlobalTrigSvc::setTrigCond | ( | int | i, | |
bool | j | |||
) | [inline] |
Definition at line 97 of file BesGlobalTrigSvc.h.
References m_trigCondition, and trigCond.
Referenced by BesTrigL1::execute().
00097 { 00098 trigCond[i] = j; 00099 if(j) m_trigCondition[i] = 1; 00100 else m_trigCondition[i] = 0; 00101 }
StatusCode BesGlobalTrigSvc::setTrigCondition | ( | ) |
Definition at line 465 of file BesGlobalTrigSvc.cxx.
References emc_BClus_PHI, emc_BClusBB, emc_BEtot_H, emc_BL_BBLK, emc_BL_EBLK, emc_BL_Z, emc_Clus_Z, emc_EClus_PHI, emc_EClusBB, emc_EEtot_H, emc_Etot_L, emc_Etot_M, emc_NBClus1, emc_NClus1, emc_NClus2, emc_NEClus1, Bes_Common::FATAL, genRecEmupikp::i, m_trigCondition, mdc_LTrk_BB, mdc_NItrk1, mdc_NItrk2, mdc_NLtrk1, mdc_NLtrk2, mdc_NLtrkN, mdc_NStrk1, mdc_NStrk2, mdc_NStrkN, mdc_STrk_BB, msgSvc(), muc_BB3478, muc_BB37, tm_ATrk_BB, tm_BTrk_BB, tm_CTrk_BB, tm_NATrk1, tm_NATrk2, tm_NBTrk1, tm_NBTrk2, tm_NCTrk1, tm_NCTrk2, tof_BTofBB, tof_ETofBB, tof_NBTof1, tof_NBTof2, tof_NETof1, tof_NETof2, tof_NTof1, trigCond, and trigCondName.
Referenced by BesTrigL1::execute().
00466 { 00467 for(int i = 0; i < 48; i++) { 00468 trigCond[i] = false; 00469 m_trigCondition[i] = 0; 00470 } 00471 00472 trigCond[0] = emc_NClus1; 00473 trigCond[1] = emc_NClus2; 00474 trigCond[2] = emc_BClusBB; 00475 trigCond[3] = emc_EClusBB; 00476 trigCond[4] = emc_Clus_Z; 00477 trigCond[5] = emc_BClus_PHI; 00478 trigCond[6] = emc_EClus_PHI; 00479 trigCond[7] = emc_BEtot_H; 00480 trigCond[8] = emc_EEtot_H; 00481 trigCond[9] = emc_Etot_L; 00482 trigCond[10] = emc_Etot_M; 00483 trigCond[11] = emc_BL_Z; 00484 trigCond[12] = emc_NBClus1; 00485 trigCond[13] = emc_NEClus1; 00486 trigCond[14] = emc_BL_BBLK; 00487 trigCond[15] = emc_BL_EBLK; 00488 trigCond[16] = tof_ETofBB; 00489 trigCond[17] = tof_BTofBB; 00490 trigCond[18] = tof_NETof2; 00491 trigCond[19] = tof_NETof1; 00492 trigCond[20] = tof_NBTof2; 00493 trigCond[21] = tof_NBTof1; 00494 trigCond[22] = tof_NTof1; 00495 trigCond[23] = tm_CTrk_BB; 00496 trigCond[24] = tm_NCTrk2; 00497 trigCond[25] = tm_NCTrk1; 00498 trigCond[26] = tm_BTrk_BB; 00499 trigCond[27] = tm_NBTrk2; 00500 trigCond[28] = tm_NBTrk1; 00501 trigCond[29] = tm_ATrk_BB; 00502 trigCond[30] = tm_NATrk2; 00503 trigCond[31] = tm_NATrk1; 00504 trigCond[32] = muc_BB3478; 00505 trigCond[33] = muc_BB37; 00506 trigCond[34] = false; 00507 trigCond[35] = false; 00508 trigCond[36] = false; 00509 trigCond[37] = false; 00510 trigCond[38] = mdc_STrk_BB; 00511 trigCond[39] = mdc_NStrkN; 00512 trigCond[40] = mdc_NStrk2; 00513 trigCond[41] = mdc_NStrk1; 00514 trigCond[42] = mdc_LTrk_BB; 00515 trigCond[43] = mdc_NLtrkN; 00516 trigCond[44] = mdc_NLtrk2; 00517 trigCond[45] = mdc_NLtrk1; 00518 trigCond[46] = mdc_NItrk2; 00519 trigCond[47] = mdc_NItrk1; 00520 00521 MsgStream log(msgSvc(), name()); 00522 if(trigCondName.size() != 48) { 00523 log << MSG::FATAL << "The trigger condition CAN NOT be successfully read!!!" << endreq; 00524 return StatusCode::FAILURE; 00525 } 00526 00527 for(unsigned int i = 0; i < 48; i++) { 00528 if(trigCond[i]) m_trigCondition[i] = 1; //data structure member in TDS 00529 } 00530 00531 return StatusCode::SUCCESS; 00532 }
void BesGlobalTrigSvc::setWETCEnergy | ( | int | theta, | |
int | phi, | |||
double | energy | |||
) | [inline] |
Definition at line 211 of file BesGlobalTrigSvc.h.
References emcWETCEnergy.
00211 { emcWETCEnergy[theta][phi] = energy; }
void BesGlobalTrigSvc::startEmcTrig | ( | ) |
Definition at line 375 of file BesGlobalTrigSvc.cxx.
References m_EmcTrig, and BesEmcTrig::startEmcTrig().
Referenced by BesTrigL1::runAclock_emc().
00375 { 00376 if(m_EmcTrig) m_EmcTrig->startEmcTrig(); 00377 }
void BesGlobalTrigSvc::startMdcTrig | ( | ) |
Definition at line 367 of file BesGlobalTrigSvc.cxx.
References m_MdcTrig, and BesMdcTrig::startMdcTrig().
Referenced by BesTrigL1::runAclock_mdc().
00367 { 00368 if(m_MdcTrig) m_MdcTrig->startMdcTrig(); 00369 }
void BesGlobalTrigSvc::startTMTrig | ( | ) |
Definition at line 379 of file BesGlobalTrigSvc.cxx.
References m_TMTrig, and BesTMTrig::startTMTrig().
00379 { 00380 if(m_TMTrig) m_TMTrig->startTMTrig(); 00381 }
void BesGlobalTrigSvc::startTofTrig | ( | ) |
Definition at line 371 of file BesGlobalTrigSvc.cxx.
References m_TofTrig, and BesTofTrig::startTofTrig().
Referenced by BesTrigL1::runAclock_tof().
00371 { 00372 if(m_TofTrig) m_TofTrig->startTofTrig(); 00373 }
std::vector<int> BesGlobalTrigSvc::btofHitMap [private] |
Definition at line 349 of file BesGlobalTrigSvc.h.
Referenced by getBTofHitMap(), and setBTofHitMap().
std::vector<int> BesGlobalTrigSvc::channelNo [private] |
Definition at line 327 of file BesGlobalTrigSvc.h.
Referenced by GlobalTrig(), handle(), and initialize().
const std::string BesGlobalTrigSvc::COND_NAME [static, private] |
bool BesGlobalTrigSvc::emc_BClus_PHI [private] |
Definition at line 354 of file BesGlobalTrigSvc.h.
Referenced by getBClus_PHI(), setBClus_PHI(), and setTrigCondition().
bool BesGlobalTrigSvc::emc_BClusBB [private] |
Definition at line 354 of file BesGlobalTrigSvc.h.
Referenced by getBClusBB(), setBClusBB(), and setTrigCondition().
bool BesGlobalTrigSvc::emc_BEtot_H [private] |
Definition at line 355 of file BesGlobalTrigSvc.h.
Referenced by getBEtot_H(), setBEtot_H(), and setTrigCondition().
bool BesGlobalTrigSvc::emc_BL_BBLK [private] |
Definition at line 356 of file BesGlobalTrigSvc.h.
Referenced by getBL_BBLK(), setBL_BBLK(), and setTrigCondition().
bool BesGlobalTrigSvc::emc_BL_EBLK [private] |
Definition at line 356 of file BesGlobalTrigSvc.h.
Referenced by getBL_EBLK(), setBL_EBLK(), and setTrigCondition().
bool BesGlobalTrigSvc::emc_BL_Z [private] |
Definition at line 355 of file BesGlobalTrigSvc.h.
Referenced by getBL_Z(), setBL_Z(), and setTrigCondition().
bool BesGlobalTrigSvc::emc_Clus_Z [private] |
Definition at line 354 of file BesGlobalTrigSvc.h.
Referenced by getClus_Z(), setClus_Z(), and setTrigCondition().
bool BesGlobalTrigSvc::emc_Diff_B [private] |
bool BesGlobalTrigSvc::emc_Diff_E [private] |
bool BesGlobalTrigSvc::emc_EClus_PHI [private] |
Definition at line 355 of file BesGlobalTrigSvc.h.
Referenced by getEClus_PHI(), setEClus_PHI(), and setTrigCondition().
bool BesGlobalTrigSvc::emc_EClusBB [private] |
Definition at line 354 of file BesGlobalTrigSvc.h.
Referenced by getEClusBB(), setEClusBB(), and setTrigCondition().
bool BesGlobalTrigSvc::emc_EEtot_H [private] |
Definition at line 355 of file BesGlobalTrigSvc.h.
Referenced by getEEtot_H(), setEEtot_H(), and setTrigCondition().
bool BesGlobalTrigSvc::emc_Etot_L [private] |
Definition at line 355 of file BesGlobalTrigSvc.h.
Referenced by getEtot_L(), setEtot_L(), and setTrigCondition().
bool BesGlobalTrigSvc::emc_Etot_M [private] |
Definition at line 355 of file BesGlobalTrigSvc.h.
Referenced by getEtot_M(), setEtot_M(), and setTrigCondition().
bool BesGlobalTrigSvc::emc_NBClus1 [private] |
Definition at line 354 of file BesGlobalTrigSvc.h.
Referenced by getNBClus1(), setNBClus1(), and setTrigCondition().
bool BesGlobalTrigSvc::emc_NClus1 [private] |
Definition at line 354 of file BesGlobalTrigSvc.h.
Referenced by getNClus1(), setNClus1(), and setTrigCondition().
bool BesGlobalTrigSvc::emc_NClus2 [private] |
Definition at line 354 of file BesGlobalTrigSvc.h.
Referenced by getNClus2(), setNClus2(), and setTrigCondition().
bool BesGlobalTrigSvc::emc_NEClus1 [private] |
Definition at line 354 of file BesGlobalTrigSvc.h.
Referenced by getNEClus1(), setNEClus1(), and setTrigCondition().
double BesGlobalTrigSvc::emcBarrelGate [private] |
std::vector<double> BesGlobalTrigSvc::emcBlockE [private] |
Definition at line 362 of file BesGlobalTrigSvc.h.
Referenced by getEmcBlockE(), and setEmcBlockE().
double BesGlobalTrigSvc::emcBTCEnergy[TrigConf::TCTHETANO_B][TrigConf::TCPHINO_B] [private] |
Definition at line 365 of file BesGlobalTrigSvc.h.
Referenced by getBTCEnergy(), and setBTCEnergy().
double BesGlobalTrigSvc::emcBTotE [private] |
std::vector<double> BesGlobalTrigSvc::emcClusE [private] |
map<int,vector<complex<int> >, greater<int> > BesGlobalTrigSvc::emcClusId [private] |
Definition at line 364 of file BesGlobalTrigSvc.h.
Referenced by getEmcClusId(), and setEmcClusId().
double BesGlobalTrigSvc::emcEETCEnergy[TrigConf::TCTHETANO_E][TrigConf::TCPHINO_E] [private] |
Definition at line 367 of file BesGlobalTrigSvc.h.
Referenced by getEETCEnergy(), and setEETCEnergy().
double BesGlobalTrigSvc::emcEETotE [private] |
Definition at line 360 of file BesGlobalTrigSvc.h.
Referenced by getEmcEETotE(), and setEmcEETotE().
double BesGlobalTrigSvc::emcEndGate [private] |
double BesGlobalTrigSvc::emcETotE [private] |
double BesGlobalTrigSvc::emcLBTotE [private] |
Definition at line 360 of file BesGlobalTrigSvc.h.
Referenced by getEmcLBTotE(), and setEmcLBTotE().
double BesGlobalTrigSvc::emcLTotE [private] |
int BesGlobalTrigSvc::emcNbCluster [private] |
Definition at line 361 of file BesGlobalTrigSvc.h.
Referenced by getEmcNbCluster(), and setEmcNbCluster().
int BesGlobalTrigSvc::emcNeeCluster [private] |
Definition at line 361 of file BesGlobalTrigSvc.h.
Referenced by getEmcNeeCluster(), and setEmcNeeCluster().
int BesGlobalTrigSvc::emcNweCluster [private] |
Definition at line 361 of file BesGlobalTrigSvc.h.
Referenced by getEmcNweCluster(), and setEmcNweCluster().
double BesGlobalTrigSvc::emcRBTotE [private] |
Definition at line 360 of file BesGlobalTrigSvc.h.
Referenced by getEmcRBTotE(), and setEmcRBTotE().
double BesGlobalTrigSvc::emcRTotE [private] |
double BesGlobalTrigSvc::emcTotE [private] |
double BesGlobalTrigSvc::emcWETCEnergy[TrigConf::TCTHETANO_E][TrigConf::TCPHINO_E] [private] |
Definition at line 366 of file BesGlobalTrigSvc.h.
Referenced by getWETCEnergy(), and setWETCEnergy().
double BesGlobalTrigSvc::emcWETotE [private] |
Definition at line 360 of file BesGlobalTrigSvc.h.
Referenced by getEmcWETotE(), and setEmcWETotE().
double BesGlobalTrigSvc::Energy_Ratio [private] |
Definition at line 432 of file BesGlobalTrigSvc.h.
Referenced by BesGlobalTrigSvc(), and getEnergy_Ratio().
std::vector<int> BesGlobalTrigSvc::etofHitMap [private] |
Definition at line 350 of file BesGlobalTrigSvc.h.
Referenced by getETofHitMap(), and setETofHitMap().
bool BesGlobalTrigSvc::ifpass [private] |
Definition at line 401 of file BesGlobalTrigSvc.h.
Referenced by getIfpass(), GlobalTrig(), and setIfpass().
int BesGlobalTrigSvc::L1BLK_GATE [private] |
Definition at line 427 of file BesGlobalTrigSvc.h.
Referenced by BesGlobalTrigSvc(), and getL1BLK_GATE().
int BesGlobalTrigSvc::L1EBL_BR [private] |
Definition at line 423 of file BesGlobalTrigSvc.h.
Referenced by BesGlobalTrigSvc(), and getL1EBL_BR().
int BesGlobalTrigSvc::L1EBL_EC [private] |
Definition at line 424 of file BesGlobalTrigSvc.h.
Referenced by BesGlobalTrigSvc(), and getL1EBL_EC().
int BesGlobalTrigSvc::L1EBL_Z [private] |
Definition at line 428 of file BesGlobalTrigSvc.h.
Referenced by BesGlobalTrigSvc(), and getL1EBL_Z().
int BesGlobalTrigSvc::L1EBL_Z_Peak [private] |
int BesGlobalTrigSvc::L1EBL_Z_Sigma [private] |
int BesGlobalTrigSvc::L1EDIFF_BR [private] |
Definition at line 425 of file BesGlobalTrigSvc.h.
Referenced by BesGlobalTrigSvc(), and getL1EDIFF_BR().
int BesGlobalTrigSvc::L1EDIFF_EC [private] |
Definition at line 426 of file BesGlobalTrigSvc.h.
Referenced by BesGlobalTrigSvc(), and getL1EDIFF_EC().
int BesGlobalTrigSvc::L1ETOT_BR [private] |
Definition at line 417 of file BesGlobalTrigSvc.h.
Referenced by BesGlobalTrigSvc(), and getL1ETOT_BR().
int BesGlobalTrigSvc::L1ETOT_BR_Peak [private] |
int BesGlobalTrigSvc::L1ETOT_BR_Sigma [private] |
int BesGlobalTrigSvc::L1ETOT_EC [private] |
Definition at line 420 of file BesGlobalTrigSvc.h.
Referenced by BesGlobalTrigSvc(), and getL1ETOT_EC().
int BesGlobalTrigSvc::L1ETOT_EC_Peak [private] |
int BesGlobalTrigSvc::L1ETOT_EC_Sigma [private] |
int BesGlobalTrigSvc::L1ETOT_L [private] |
Definition at line 411 of file BesGlobalTrigSvc.h.
Referenced by BesGlobalTrigSvc(), and getL1ETOT_L().
int BesGlobalTrigSvc::L1ETOT_L_Peak [private] |
int BesGlobalTrigSvc::L1ETOT_L_Sigma [private] |
int BesGlobalTrigSvc::L1ETOT_M [private] |
Definition at line 414 of file BesGlobalTrigSvc.h.
Referenced by BesGlobalTrigSvc(), and getL1ETOT_M().
int BesGlobalTrigSvc::L1ETOT_M_Peak [private] |
int BesGlobalTrigSvc::L1ETOT_M_Sigma [private] |
double BesGlobalTrigSvc::L1TC_GATE [private] |
Definition at line 409 of file BesGlobalTrigSvc.h.
Referenced by BesGlobalTrigSvc(), and getL1TC_GATE().
double BesGlobalTrigSvc::L1TC_THRESH [private] |
Definition at line 410 of file BesGlobalTrigSvc.h.
Referenced by BesGlobalTrigSvc(), and getL1TC_THRESH().
BesEmcTrig* BesGlobalTrigSvc::m_EmcTrig [private] |
double BesGlobalTrigSvc::m_evttime [private] |
bool BesGlobalTrigSvc::m_goodEvent [private] |
Definition at line 331 of file BesGlobalTrigSvc.h.
Referenced by getGoodEvent(), and setGoodEvent().
BesMdcTrig* BesGlobalTrigSvc::m_MdcTrig [private] |
BesMucTrig* BesGlobalTrigSvc::m_MucTrig [private] |
RealizationSvc* BesGlobalTrigSvc::m_RealizationSvc [private] |
Definition at line 437 of file BesGlobalTrigSvc.h.
Referenced by getL1BLK_GATE(), getL1EBL_BR(), getL1EBL_EC(), getL1EBL_Z(), getL1EDIFF_BR(), getL1EDIFF_EC(), getL1ETOT_BR(), getL1ETOT_EC(), getL1ETOT_L(), getL1ETOT_M(), handle(), and initialize().
int BesGlobalTrigSvc::m_runMode [private] |
BesTMTrig* BesGlobalTrigSvc::m_TMTrig [private] |
int BesGlobalTrigSvc::m_tofLayer [private] |
Definition at line 405 of file BesGlobalTrigSvc.h.
Referenced by BesGlobalTrigSvc(), and getTofLayerControl().
BesTofTrig* BesGlobalTrigSvc::m_TofTrig [private] |
int BesGlobalTrigSvc::m_trigChannel[16] [private] |
Definition at line 398 of file BesGlobalTrigSvc.h.
Referenced by getTrigChan(), GlobalTrig(), and setTrigChan().
int BesGlobalTrigSvc::m_trigCondition[48] [private] |
Definition at line 397 of file BesGlobalTrigSvc.h.
Referenced by getTrigCond(), setTrigCond(), and setTrigCondition().
int BesGlobalTrigSvc::MAXMDCTRACK [private] |
Definition at line 431 of file BesGlobalTrigSvc.h.
Referenced by BesGlobalTrigSvc(), and getMAXMDCTRACK().
bool BesGlobalTrigSvc::mdc_LTrk_BB [private] |
Definition at line 336 of file BesGlobalTrigSvc.h.
Referenced by getLTrk_BB(), setLTrk_BB(), and setTrigCondition().
bool BesGlobalTrigSvc::mdc_NItrk1 [private] |
Definition at line 337 of file BesGlobalTrigSvc.h.
Referenced by getNItrk1(), setNItrk1(), and setTrigCondition().
bool BesGlobalTrigSvc::mdc_NItrk2 [private] |
Definition at line 337 of file BesGlobalTrigSvc.h.
Referenced by getNItrk2(), setNItrk2(), and setTrigCondition().
bool BesGlobalTrigSvc::mdc_NLtrk1 [private] |
Definition at line 336 of file BesGlobalTrigSvc.h.
Referenced by getNLtrk1(), setNLtrk1(), and setTrigCondition().
bool BesGlobalTrigSvc::mdc_NLtrk2 [private] |
Definition at line 336 of file BesGlobalTrigSvc.h.
Referenced by getNLtrk2(), setNLtrk2(), and setTrigCondition().
bool BesGlobalTrigSvc::mdc_NLtrkN [private] |
Definition at line 336 of file BesGlobalTrigSvc.h.
Referenced by getNLtrkN(), setNLtrkN(), and setTrigCondition().
bool BesGlobalTrigSvc::mdc_NStrk1 [private] |
Definition at line 335 of file BesGlobalTrigSvc.h.
Referenced by getNStrk1(), setNStrk1(), and setTrigCondition().
bool BesGlobalTrigSvc::mdc_NStrk2 [private] |
Definition at line 335 of file BesGlobalTrigSvc.h.
Referenced by getNStrk2(), setNStrk2(), and setTrigCondition().
bool BesGlobalTrigSvc::mdc_NStrkN [private] |
Definition at line 335 of file BesGlobalTrigSvc.h.
Referenced by getNStrkN(), setNStrkN(), and setTrigCondition().
bool BesGlobalTrigSvc::mdc_STrk_BB [private] |
Definition at line 335 of file BesGlobalTrigSvc.h.
Referenced by getSTrk_BB(), setSTrk_BB(), and setTrigCondition().
std::vector<int> BesGlobalTrigSvc::mdcLtrkId [private] |
Definition at line 341 of file BesGlobalTrigSvc.h.
Referenced by getMdcLtrkId(), and setMdcLtrkId().
std::vector<int> BesGlobalTrigSvc::mdcStrkId [private] |
Definition at line 340 of file BesGlobalTrigSvc.h.
Referenced by getMdcStrkId(), and setMdcStrkId().
bool BesGlobalTrigSvc::muc_BB3478 [private] |
Definition at line 371 of file BesGlobalTrigSvc.h.
Referenced by getMucBB3478(), setMucBB3478(), and setTrigCondition().
bool BesGlobalTrigSvc::muc_BB37 [private] |
Definition at line 371 of file BesGlobalTrigSvc.h.
Referenced by getMucBB37(), setMucBB37(), and setTrigCondition().
std::vector<int> BesGlobalTrigSvc::muc_index [private] |
int BesGlobalTrigSvc::muc_n3ltracktotal [private] |
Definition at line 377 of file BesGlobalTrigSvc.h.
Referenced by getMucN3ltrackTotal(), and setMucN3ltrackTotal().
int BesGlobalTrigSvc::muc_nhitBR [private] |
int BesGlobalTrigSvc::muc_nhitEE [private] |
int BesGlobalTrigSvc::muc_nhitTotal [private] |
Definition at line 374 of file BesGlobalTrigSvc.h.
Referenced by getMucNhitTotal(), and GlobalTrig().
int BesGlobalTrigSvc::muc_nhitWE [private] |
int BesGlobalTrigSvc::muc_nlayerBR [private] |
Definition at line 375 of file BesGlobalTrigSvc.h.
Referenced by getMucNlayerBR(), and GlobalTrig().
int BesGlobalTrigSvc::muc_nlayerEE [private] |
Definition at line 375 of file BesGlobalTrigSvc.h.
Referenced by getMucNlayerEE(), and GlobalTrig().
int BesGlobalTrigSvc::muc_nlayerWE [private] |
Definition at line 375 of file BesGlobalTrigSvc.h.
Referenced by getMucNlayerWE(), and GlobalTrig().
int BesGlobalTrigSvc::muc_ntrackBR [private] |
Definition at line 376 of file BesGlobalTrigSvc.h.
Referenced by getMucNtrackBR(), and setMucNtrackBR().
int BesGlobalTrigSvc::muc_ntrackEC [private] |
Definition at line 376 of file BesGlobalTrigSvc.h.
Referenced by getMucNtrackEC(), and setMucNtrackEC().
std::vector<int> BesGlobalTrigSvc::muc_vhitLayer [private] |
Definition at line 379 of file BesGlobalTrigSvc.h.
Referenced by getMuchitLayer(), and GlobalTrig().
std::vector<int> BesGlobalTrigSvc::muc_vhitSeg [private] |
std::vector<int> BesGlobalTrigSvc::muc_vlayerSeg [private] |
Definition at line 378 of file BesGlobalTrigSvc.h.
Referenced by getMuclayerSeg(), and GlobalTrig().
bool BesGlobalTrigSvc::tm_ATrk_BB [private] |
Definition at line 385 of file BesGlobalTrigSvc.h.
Referenced by getTMATrkBB(), setTMATrkBB(), and setTrigCondition().
bool BesGlobalTrigSvc::tm_BTrk_BB [private] |
Definition at line 385 of file BesGlobalTrigSvc.h.
Referenced by getTMBTrkBB(), setTMBTrkBB(), and setTrigCondition().
bool BesGlobalTrigSvc::tm_CTrk_BB [private] |
Definition at line 385 of file BesGlobalTrigSvc.h.
Referenced by getTMCTrkBB(), setTMCTrkBB(), and setTrigCondition().
int BesGlobalTrigSvc::tm_endcap [private] |
Definition at line 434 of file BesGlobalTrigSvc.h.
Referenced by BesGlobalTrigSvc(), and getEndCapMode().
bool BesGlobalTrigSvc::tm_NATrk1 [private] |
Definition at line 385 of file BesGlobalTrigSvc.h.
Referenced by getTMNATrk1(), setTMNATrk1(), and setTrigCondition().
bool BesGlobalTrigSvc::tm_NATrk2 [private] |
Definition at line 385 of file BesGlobalTrigSvc.h.
Referenced by getTMNATrk2(), setTMNATrk2(), and setTrigCondition().
bool BesGlobalTrigSvc::tm_NBTrk1 [private] |
Definition at line 385 of file BesGlobalTrigSvc.h.
Referenced by getTMNBTrk1(), setTMNBTrk1(), and setTrigCondition().
bool BesGlobalTrigSvc::tm_NBTrk2 [private] |
Definition at line 385 of file BesGlobalTrigSvc.h.
Referenced by getTMNBTrk2(), setTMNBTrk2(), and setTrigCondition().
bool BesGlobalTrigSvc::tm_NCTrk1 [private] |
Definition at line 385 of file BesGlobalTrigSvc.h.
Referenced by getTMNCTrk1(), setTMNCTrk1(), and setTrigCondition().
bool BesGlobalTrigSvc::tm_NCTrk2 [private] |
Definition at line 385 of file BesGlobalTrigSvc.h.
Referenced by getTMNCTrk2(), setTMNCTrk2(), and setTrigCondition().
bool BesGlobalTrigSvc::tof_BTofBB [private] |
Definition at line 346 of file BesGlobalTrigSvc.h.
Referenced by getBTofBB(), setBTofBB(), and setTrigCondition().
bool BesGlobalTrigSvc::tof_ETofBB [private] |
Definition at line 346 of file BesGlobalTrigSvc.h.
Referenced by getETofBB(), setETofBB(), and setTrigCondition().
bool BesGlobalTrigSvc::tof_NBTof1 [private] |
Definition at line 345 of file BesGlobalTrigSvc.h.
Referenced by getNBTof1(), setNBTof1(), and setTrigCondition().
bool BesGlobalTrigSvc::tof_NBTof2 [private] |
Definition at line 345 of file BesGlobalTrigSvc.h.
Referenced by getNBTof2(), setNBTof2(), and setTrigCondition().
bool BesGlobalTrigSvc::tof_NETof1 [private] |
Definition at line 345 of file BesGlobalTrigSvc.h.
Referenced by getNETof1(), setNETof1(), and setTrigCondition().
bool BesGlobalTrigSvc::tof_NETof2 [private] |
Definition at line 345 of file BesGlobalTrigSvc.h.
Referenced by getNETof2(), setNETof2(), and setTrigCondition().
bool BesGlobalTrigSvc::tof_NTof1 [private] |
Definition at line 345 of file BesGlobalTrigSvc.h.
Referenced by getNTof1(), setNTof1(), and setTrigCondition().
map<int,vector<int>,greater<int> > BesGlobalTrigSvc::tofHitPos [private] |
Definition at line 348 of file BesGlobalTrigSvc.h.
Referenced by getTofHitPos(), and setTofHitPos().
std::vector<std::string> BesGlobalTrigSvc::trigChannel [private] |
Definition at line 324 of file BesGlobalTrigSvc.h.
Referenced by GlobalTrig(), handle(), and initialize().
bool BesGlobalTrigSvc::trigCond[48] [private] |
Definition at line 394 of file BesGlobalTrigSvc.h.
Referenced by GlobalTrig(), setTrigCond(), and setTrigCondition().
std::vector<std::string> BesGlobalTrigSvc::trigCondName [private] |
Definition at line 325 of file BesGlobalTrigSvc.h.
Referenced by GlobalTrig(), handle(), initialize(), and setTrigCondition().
std::vector<int> BesGlobalTrigSvc::trigOut [private] |
std::vector<std::string> BesGlobalTrigSvc::trigTable [private] |
Definition at line 326 of file BesGlobalTrigSvc.h.
Referenced by GlobalTrig(), handle(), and initialize().
std::string BesGlobalTrigSvc::trigTableFile [private] |
Definition at line 406 of file BesGlobalTrigSvc.h.
Referenced by BesGlobalTrigSvc(), and initialize().
std::vector<int> BesGlobalTrigSvc::vTrigCond [private] |
Definition at line 391 of file BesGlobalTrigSvc.h.
std::vector<std::string> BesGlobalTrigSvc::vTrigLine [private] |
Definition at line 388 of file BesGlobalTrigSvc.h.