From cedd79acee149da6670a217d85ef37287c1484d2 Mon Sep 17 00:00:00 2001 From: Takahiro Shiomi <takahiro.shiomi@cern.ch> Date: Mon, 12 Oct 2020 12:24:47 +0200 Subject: [PATCH] change the path of the HotRoI list --- Trigger/TrigT1/TrigT1TGC/TrigT1TGC/TGCSectorLogic.h | 4 ++-- Trigger/TrigT1/TrigT1TGC/src/TGCGoodMF.cxx | 2 +- Trigger/TrigT1/TrigT1TGC/src/TGCSectorLogic.cxx | 2 -- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/Trigger/TrigT1/TrigT1TGC/TrigT1TGC/TGCSectorLogic.h b/Trigger/TrigT1/TrigT1TGC/TrigT1TGC/TGCSectorLogic.h index c919c9c0ffd2..00fe7a4f0236 100644 --- a/Trigger/TrigT1/TrigT1TGC/TrigT1TGC/TGCSectorLogic.h +++ b/Trigger/TrigT1/TrigT1TGC/TrigT1TGC/TGCSectorLogic.h @@ -120,7 +120,7 @@ private: int m_sideId, m_octantId; TGCRegionType m_region; int m_NumberOfWireHighPtBoard; - bool m_useGoodMF; + bool m_useGoodMF{false}; TGCSSCController m_SSCController; TGCRPhiCoincidenceMatrix m_matrix; @@ -152,7 +152,7 @@ private: // for inner trigger const TGCInnerTrackletSlot* m_innerTrackletSlots[TGCInnerTrackletSlotHolder::NUMBER_OF_SLOTS_PER_TRIGGER_SECTOR]; bool m_useEIFI; - bool m_useTileMu; + bool m_useTileMu{false}; TGCArguments* m_tgcArgs; }; diff --git a/Trigger/TrigT1/TrigT1TGC/src/TGCGoodMF.cxx b/Trigger/TrigT1/TrigT1TGC/src/TGCGoodMF.cxx index 145e646fef8f..741b12ed52c4 100644 --- a/Trigger/TrigT1/TrigT1TGC/src/TGCGoodMF.cxx +++ b/Trigger/TrigT1/TrigT1TGC/src/TGCGoodMF.cxx @@ -73,7 +73,7 @@ bool TGCGoodMF::readBadMFList() std::string fullName, tag; char delimiter = '\n'; std::string fn = "HotRoI.v1.db"; - fullName = PathResolver::find_file( fn.c_str(), "DATAPATH" ); + fullName = PathResolver::FindCalibDirectory("dev/HotRoI")+fn; int mod,maxssc; std::ifstream file(fullName.c_str(),std::ios::in); while(getline(file,buf,delimiter)) { diff --git a/Trigger/TrigT1/TrigT1TGC/src/TGCSectorLogic.cxx b/Trigger/TrigT1/TrigT1TGC/src/TGCSectorLogic.cxx index 3528a552a216..35efb8d71b41 100644 --- a/Trigger/TrigT1/TrigT1TGC/src/TGCSectorLogic.cxx +++ b/Trigger/TrigT1/TrigT1TGC/src/TGCSectorLogic.cxx @@ -46,8 +46,6 @@ namespace LVL1TGCTrigger { m_stripHighPtBoard(0), m_stripHighPtChipOut(0), m_useEIFI(false), - m_useTileMu(false), - m_useGoodMF(false), m_tgcArgs(tgcargs) { m_sideId = (idIn/NumberOfModule)/NumberOfOctant; -- GitLab