Commit 2394b84b authored by Vakhtang Tsulaia's avatar Vakhtang Tsulaia
Browse files

Merge branch 'mergeRDOinSIM' into 'master'

NSW Trigger RDO merging tool in simulation

See merge request atlas/athena!47491
parents 65ae0bf4 76d29009
......@@ -25,6 +25,7 @@ namespace NSWL1 {
//m_strip_segment("NSWL1::StripSegmentTool",this), TODO: this line makes the code crash in initialization... please, sTGC friends, fix it!!!
m_mmstrip_tds("NSWL1::MMStripTdsOfflineTool",this),
m_mmtrigger("NSWL1::MMTriggerTool",this),
m_trigProcessor("NSWL1::TriggerProcessorTool",this),
m_tree(nullptr),
m_current_run(-1),
m_current_evt(-1)
......@@ -102,6 +103,8 @@ namespace NSWL1 {
if(m_doNtuple){
ATH_CHECK(m_monitors.retrieve());
}
ATH_CHECK(m_trigProcessor.retrieve());
return StatusCode::SUCCESS;
}
......@@ -183,6 +186,8 @@ namespace NSWL1 {
}
}
}
ATH_CHECK(m_trigProcessor->mergeRDO());
return StatusCode::SUCCESS;
}
......
......@@ -24,6 +24,7 @@
#include "MuonRDO/NSW_PadTriggerDataContainer.h"
#include "TrigT1NSWSimTools/PadTriggerAdapter.h"
#include "TrigT1NSWSimTools/TriggerProcessorTool.h"
#include "xAODEventInfo/EventInfo.h"
#include "EventInfo/EventInfo.h"
......@@ -82,8 +83,9 @@ namespace NSWL1 {
ToolHandle < IStripTdsTool > m_strip_tds; //!< property, see @link NSWL1Simulation::NSWL1Simulation @endlink
ToolHandle < IStripClusterTool > m_strip_cluster; //!< property, see @link NSWL1Simulation::NSWL1Simulation @endlink
ToolHandle < IStripSegmentTool > m_strip_segment; //!< property, see @link NSWL1Simulation::NSWL1Simulation @endlink
ToolHandle < IMMStripTdsTool > m_mmstrip_tds; //!< property, see @link NSWL1Simulation::NSWL1Simulation @endlink
ToolHandle < IMMStripTdsTool > m_mmstrip_tds; //!< property, see @link NSWL1Simulation::NSWL1Simulation @endlink
ToolHandle < IMMTriggerTool > m_mmtrigger; //!< property, see @link NSWL1Simulation::NSWL1Simulation @endlink
ToolHandle < TriggerProcessorTool > m_trigProcessor; //!< property, see @link NSWL1Simulation::NSWL1Simulation @endlink
// put analysis variables here
TTree* m_tree; //!< analysis ntuple
......
......@@ -24,8 +24,8 @@ namespace NSWL1 {
private:
SG::WriteHandleKey<Muon::NSW_TrigRawDataContainer> m_trigRdoContainerKey{this,"NSW_TrigRawData","Write handle key for NSW TrigRawData"};
SG::ReadHandleKey<Muon::NSW_PadTriggerDataContainer> m_padTriggerContainerKey{this,"NSWPADTRGRDO","Name of the pad trigger RDO"};
SG::WriteHandleKey<Muon::NSW_TrigRawDataContainer> m_trigRdoContainerKey{this,"trigRdoContainerKey","NSW_TrigRawData","Write handle key for NSW TrigRawData"};
SG::ReadHandleKey<Muon::NSW_PadTriggerDataContainer> m_padTriggerContainerKey{this,"padTriggerContainerKey","NSWPADTRGRDO","Name of the pad trigger RDO"};
};
......
Markdown is supported
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