Skip to content
Snippets Groups Projects
Commit 1ba343b3 authored by Kristin Lohwasser's avatar Kristin Lohwasser
Browse files

changed container name and printout now prints out actually used name

parent 9f8db352
9 merge requests!58791DataQualityConfigurations: Modify L1Calo config for web display,!46784MuonCondInterface: Enable thread-safety checking.,!46776Updated LArMonitoring config file for WD to match new files produced using MT,!45405updated ART test cron job,!42417Draft: DIRE and VINCIA Base Fragments for Pythia 8.3,!36664AFP DQM [rel 22],!36035AFP Run3 merge request - added automatic check,!32548AFP Run3 Monitoring DQ Data Quality - changes in python file,!28689First template for AFP Run3 Monitoring DQ Data Quality
......@@ -23,10 +23,10 @@ AFPSiLayerAlgorithm::AFPSiLayerAlgorithm( const std::string& name, ISvcLocator*
//, m_histsDirectoryName ("AFP/")
//, m_cNearStation (s_cNearStationIndex)
//, m_cFarStation (s_cFarStationIndex)
, m_afpHitContainerKey("AFPSiHits")
, m_afpHitContainerKey("AFPSiHitContainer")
{
declareProperty( "AFPSiHits", m_afpHitContainerKey );
declareProperty( "AFPSiHitContainer", m_afpHitContainerKey );
}
......@@ -138,14 +138,16 @@ StatusCode AFPSiLayerAlgorithm::fillHistograms( const EventContext& ctx ) const
SG::ReadHandle<xAOD::AFPSiHitContainer> afpHitContainer(m_afpHitContainerKey, ctx);
if(! afpHitContainer.isValid())
{
ATH_MSG_ERROR("evtStore() does not contain hits collection with name m_afpHitContainerKey ");
ATH_MSG_ERROR("evtStore() does not contain hits collection with name " << m_afpHitContainerKey);
return StatusCode::FAILURE;
}
//ATH_CHECK( afpHitContainerKey.initialize() );
//ATH_CHECK( afpHitContainerKey.initialize() );
//for (const auto& muonItr : *muons) {
for(const xAOD::AFPSiHit *hitsItr: *afpHitContainer)
{
std::cout << hitsItr->stationID() << std::endl;
switch(hitsItr->stationID())
{
......
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