Commit c2f91792 authored by Kenji Hamano's avatar Kenji Hamano Committed by Graeme Stewart
Browse files

fix for ATR-11794 (TrigEFMissingET-00-04-27)

parent ca0fbc6c
...@@ -48,7 +48,7 @@ EFMissingET::EFMissingET(const std::string & name, ISvcLocator* pSvcLocator): ...@@ -48,7 +48,7 @@ EFMissingET::EFMissingET(const std::string & name, ISvcLocator* pSvcLocator):
declareProperty("MissingETOutputKey",m_metOutputKey = "TrigEFMissingET", "label for the MET feature in the HLT navigation"); declareProperty("MissingETOutputKey",m_metOutputKey = "TrigEFMissingET", "label for the MET feature in the HLT navigation");
declareProperty("Tools", m_tools, "list of missEt tools"); declareProperty("Tools", m_tools, "list of missEt tools");
declareProperty("doTimers", m_doTimers = true, "switch on/off internal timers"); declareProperty("doTimers", m_doTimers = true, "switch on/off internal timers");
declareProperty("DecodeDetMask", m_decodeDetMask = true, "switch on/off DetMask decoding"); declareProperty("DecodeDetMask", m_decodeDetMask = false, "switch on/off DetMask decoding");
declareProperty("doTopoClusters", m_doTopoClusters = false, "run with or without topo. clusters"); declareProperty("doTopoClusters", m_doTopoClusters = false, "run with or without topo. clusters");
declareProperty("doJets", m_doJets = false, "run with or without jets"); declareProperty("doJets", m_doJets = false, "run with or without jets");
declareProperty("doPUC", m_doPUC = false, "run with or without pile-up correction fit"); declareProperty("doPUC", m_doPUC = false, "run with or without pile-up correction fit");
...@@ -456,17 +456,16 @@ HLT::ErrorCode EFMissingET::hltExecute(std::vector<std::vector<HLT::TriggerEleme ...@@ -456,17 +456,16 @@ HLT::ErrorCode EFMissingET::hltExecute(std::vector<std::vector<HLT::TriggerEleme
m_TileExtBarCside=true; m_TileExtBarCside=true;
if (m_decodeDetMask) { if (m_decodeDetMask) {
uint64_t mask0 = pEvent->detectorMask0(); uint64_t mask64 = pEvent->detectorMask();
uint64_t mask1 = pEvent->detectorMask1();
if(msgLvl() <= MSG::DEBUG){ if(msgLvl() <= MSG::DEBUG){
char buff[512]; char buff[512];
snprintf(buff,512,"REGTEST: DetMask_1 = 0x%08lu, DetMask_0 = 0x%08lu",mask1,mask0); snprintf(buff,512,"REGTEST: DetMask_1 = 0x%08lu",mask64);
msg() << MSG::DEBUG << buff << endreq; msg() << MSG::DEBUG << buff << endreq;
} }
if (!(mask0==0 && mask1==0)) { // 0 means present if (!(mask64==0)) { // 0 means present
eformat::helper::DetectorMask dm(mask1, mask0); eformat::helper::DetectorMask dm(mask64);
m_LArEMbarrelAside = dm.is_set(eformat::LAR_EM_BARREL_A_SIDE); m_LArEMbarrelAside = dm.is_set(eformat::LAR_EM_BARREL_A_SIDE);
m_LArEMbarrelCside = dm.is_set(eformat::LAR_EM_BARREL_C_SIDE); m_LArEMbarrelCside = dm.is_set(eformat::LAR_EM_BARREL_C_SIDE);
m_LArEMendCapAside = dm.is_set(eformat::LAR_EM_ENDCAP_A_SIDE); m_LArEMendCapAside = dm.is_set(eformat::LAR_EM_ENDCAP_A_SIDE);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment