Skip to content
Snippets Groups Projects
Commit d915dd26 authored by Edward Moyse's avatar Edward Moyse
Browse files

Merge branch 'l1decoder-fixup' into 'master'

CTPUnpackingTool fixup

See merge request atlas/athena!37763
parents 2f1ae9c4 7f44c57e
No related branches found
No related tags found
No related merge requests found
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
#include "Gaudi/Property.h" #include "Gaudi/Property.h"
#include "GaudiKernel/ToolHandle.h" #include "GaudiKernel/ToolHandle.h"
#include "AthenaBaseComps/AthAlgTool.h" #include "AthenaBaseComps/AthAlgTool.h"
#include "L1Decoder/CTPUnpackingTool.h" #include "L1Decoder/ICTPUnpackingTool.h"
#include "IL1InfoHypoTool.h" #include "IL1InfoHypoTool.h"
...@@ -26,7 +26,7 @@ public: ...@@ -26,7 +26,7 @@ public:
private: private:
HLT::Identifier m_decisionId; HLT::Identifier m_decisionId;
Gaudi::Property <std::vector<std::string>> m_l1ItemNames {this, "L1ItemNames"}; Gaudi::Property <std::vector<std::string>> m_l1ItemNames {this, "L1ItemNames"};
ToolHandle <CTPUnpackingTool> m_ctpUnpackingTool {this, "CTPUnpackingTool", "CTPUnpackingTool"}; ToolHandle <ICTPUnpackingTool> m_ctpUnpackingTool {this, "CTPUnpackingTool", "CTPUnpackingTool"};
}; };
#endif //TRIGHYPOCOMMONTOOLS_L1INFOHYPOTOOL_H #endif //TRIGHYPOCOMMONTOOLS_L1INFOHYPOTOOL_H
\ No newline at end of file
...@@ -9,13 +9,12 @@ find_package( CLHEP ) ...@@ -9,13 +9,12 @@ find_package( CLHEP )
# Component(s) in the package: # Component(s) in the package:
atlas_add_library( L1DecoderLib atlas_add_library( L1DecoderLib
L1DecoderRoot/*.cxx
PUBLIC_HEADERS L1Decoder PUBLIC_HEADERS L1Decoder
INTERFACE INTERFACE
LINK_LIBRARIES TrigConfInterfaces) LINK_LIBRARIES TrigConfInterfaces)
atlas_add_component( L1Decoder atlas_add_component( L1Decoder
src/*.cxx src/components/*.cxx L1DecoderRoot/*.cxx src/*.cxx src/components/*.cxx
INCLUDE_DIRS ${Boost_INCLUDE_DIRS} ${CLHEP_INCLUDE_DIRS} INCLUDE_DIRS ${Boost_INCLUDE_DIRS} ${CLHEP_INCLUDE_DIRS}
LINK_LIBRARIES ${CLHEP_LIBRARIES} AthViews AthenaBaseComps AthenaKernel AthenaMonitoringKernelLib GaudiKernel L1DecoderLib StoreGateLib TrigCompositeUtilsLib TrigConfData TrigConfHLTData TrigConfL1Data TrigCostMonitorMTLib TrigSteeringEvent TrigT1Interfaces TrigT1Result TrigTimeAlgsLib xAODEventInfo xAODTrigger TrigConfxAODLib ) LINK_LIBRARIES ${CLHEP_LIBRARIES} AthViews AthenaBaseComps AthenaKernel AthenaMonitoringKernelLib GaudiKernel L1DecoderLib StoreGateLib TrigCompositeUtilsLib TrigConfData TrigConfHLTData TrigConfL1Data TrigCostMonitorMTLib TrigSteeringEvent TrigT1Interfaces TrigT1Result TrigTimeAlgsLib xAODEventInfo xAODTrigger TrigConfxAODLib )
......
...@@ -29,7 +29,7 @@ public: ...@@ -29,7 +29,7 @@ public:
virtual StatusCode start() override; virtual StatusCode start() override;
StatusCode passBeforePrescaleSelection(const ROIB::RoIBResult* roib, const std::vector<std::string>& l1ItemNames, bool& pass) const; virtual StatusCode passBeforePrescaleSelection(const ROIB::RoIBResult* roib, const std::vector<std::string>& l1ItemNames, bool& pass) const;
private: private:
// Menu objects (that act here as configuration) need to be available in detector store. // Menu objects (that act here as configuration) need to be available in detector store.
......
...@@ -29,12 +29,12 @@ public: ...@@ -29,12 +29,12 @@ public:
const IInterface* parent); const IInterface* parent);
virtual StatusCode decode(const ROIB::RoIBResult& /*roib*/, virtual StatusCode decode(const ROIB::RoIBResult& /*roib*/,
HLT::IDVec& /*enabledChains*/) const override HLT::IDVec& /*enabledChains*/) const override;
{ return StatusCode::SUCCESS; }
virtual StatusCode initialize() override; virtual StatusCode initialize() override;
virtual StatusCode passBeforePrescaleSelection(const ROIB::RoIBResult* roib, const std::vector<std::string>& l1ItemNames, bool& pass) const override; virtual StatusCode passBeforePrescaleSelection(const ROIB::RoIBResult* /*roib*/,
const std::vector<std::string>& /*l1ItemNames*/, bool& /*pass*/) const override;
protected: protected:
......
...@@ -25,5 +25,11 @@ StatusCode CTPUnpackingToolBase::initialize() ...@@ -25,5 +25,11 @@ StatusCode CTPUnpackingToolBase::initialize()
} }
StatusCode CTPUnpackingToolBase::passBeforePrescaleSelection(const ROIB::RoIBResult* /*roib*/, const std::vector<std::string>& /*l1ItemNames*/, bool& /*pass*/) const { StatusCode CTPUnpackingToolBase::passBeforePrescaleSelection(const ROIB::RoIBResult* /*roib*/, const std::vector<std::string>& /*l1ItemNames*/, bool& /*pass*/) const {
return StatusCode::SUCCESS; ATH_MSG_ERROR("Base class should not call this function");
return StatusCode::FAILURE;
}
StatusCode CTPUnpackingToolBase::decode(const ROIB::RoIBResult& /*roib*/, HLT::IDVec& /*enabledChains*/) const {
ATH_MSG_ERROR("Base class should not call this function");
return StatusCode::FAILURE;
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment