Skip to content
Snippets Groups Projects
Commit 42f2fe7d authored by Savannah Rose Shively's avatar Savannah Rose Shively
Browse files

changes to readexample_entries and py files. namespace changes

parent 19a5defd
No related branches found
No related tags found
No related merge requests found
Pipeline #2485120 passed
......@@ -6,15 +6,15 @@ from AthenaConfiguration.ComponentAccumulator import ComponentAccumulator
from AthenaConfiguration.ComponentFactory import CompFactory
def ClusterReadExampleCfg(flags, **kwargs):
"""Return ComponentAccumulator for Tracker ClusterReadAlg"""
"""Return ComponentAccumulator for ClusterReadAlg"""
acc = ComponentAccumulator()
# clusterTool = acc.popToolsAndMerge(FaserSCT_ClusterizationToolCfg(flags))
# kwargs.setdefault("SCT_ClusteringTool", clusterTool)
# kwargs.setdefault("DataObjectName", "SCT_RDOs")
kwargs.setdefault("ClustersName", "SCT_ClusterContainer")
#kwargs.setdefault("ClustersName", "SCT_ClusterContainer")
# kwargs.setdefault("SCT_FlaggedCondData", "SCT_Flags")
Tracker__ClusterReadAlg=CompFactory.Tracker.ClusterReadAlg
acc.addEventAlgo(Tracker__ClusterReadAlg(**kwargs))
TEST_ClusterReadAlg=CompFactory.ClusterReadAlg
acc.addEventAlgo(TEST_ClusterReadAlg(**kwargs))
thistSvc = CompFactory.THistSvc()
thistSvc.Output += ["HIST DATAFILE='ClusterReadHistograms.root' OPT='RECREATE'"]
......
......@@ -80,8 +80,8 @@ StatusCode ClusterReadAlg::execute(const EventContext& ctx) const
SG::WriteHandle trackContainer{m_trackCollection, ctx};
std::unique_ptr<TrackCollection> outputTracks = std::make_unique<TrackCollection>();
SG::ReadHandle<xAOD::FaserTriggerData> triggerContainer{m_faserTriggerDataKey, ctx};
ATH_CHECK(triggerContainer.isValid());
//SG::ReadHandle<xAOD::FaserTriggerData> triggerContainer{m_faserTriggerDataKey, ctx};
//ATH_CHECK(triggerContainer.isValid());
++m_numberOfTriggeredEvents;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment