Skip to content
Snippets Groups Projects
Commit ce1f6d99 authored by Nikola Dikic's avatar Nikola Dikic
Browse files

Correction: Error->Warning, Failure->Success

parent 71ab87e2
8 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
......@@ -29,8 +29,8 @@ def Run3AFPExampleMonitoringConfig(inputFlags):
AFPSiGroup.defineHistogram('lb,nSiHits', title='Luminosity Block;lb;total number of Hits', type='TProfile', path='SiT/',xbins=1000,xmin=-0.5,xmax=999.5 )
AFPToFGroup.defineHistogram('lb,nTofHits', title='Luminosity Block;lb;total number of Hits', type='TProfile', path='ToF/',xbins=1000,xmin=-0.5,xmax=999.5)
AFPToFGroup.defineHistogram('numberOfHit_S0', title='Number of hit per bar station 0;total number of Hits', path='ToF/',xbins=3,xmin=-0.5,xmax=2.5)
AFPToFGroup.defineHistogram('numberOfHit_S3', title='Number of hit per bar station 3;total number of Hits', path='ToF/',xbins=3,xmin=-0.5,xmax=2.5)
#AFPToFGroup.defineHistogram('numberOfHit_S0', title='Number of hit per bar station 0;total number of Hits', path='ToF/',xbins=3,xmin=-0.5,xmax=2.5)
#AFPToFGroup.defineHistogram('numberOfHit_S3', title='Number of hit per bar station 3;total number of Hits', path='ToF/',xbins=3,xmin=-0.5,xmax=2.5)
# Using a map of groups
......@@ -63,7 +63,8 @@ if __name__=='__main__':
# Set the Athena configuration flags
from AthenaConfiguration.AllConfigFlags import ConfigFlags
nightly = ''
file = '/eos/atlas/atlastier0/tzero/prod/data18_13TeV/physics_Main/00354309/data18_13TeV.00354309.physics_Main.recon.AOD.f946/data18_13TeV.00354309.physics_Main.recon.AOD.f946._lb0130._0001.1'
#file = '/eos/atlas/atlastier0/tzero/prod/data18_13TeV/physics_Main/00354309/data18_13TeV.00354309.physics_Main.recon.AOD.f946/data18_13TeV.00354309.physics_Main.recon.AOD.f946._lb0130._0001.1'
file = '/afs/cern.ch/user/p/ponyisi/atlas/afp/myESD.pool.root'
ConfigFlags.Input.Files = [nightly+file]
ConfigFlags.Input.isMC = False
......
......@@ -54,8 +54,8 @@ 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);
return StatusCode::FAILURE;
ATH_MSG_WARNING("evtStore() does not contain hits collection with name " << m_afpHitContainerKey);
return StatusCode::SUCCESS;
}
ATH_CHECK( afpHitContainer.initialize() );
......
......@@ -48,8 +48,8 @@ StatusCode AFPToFAlgorithm::fillHistograms( const EventContext& ctx ) const {
SG::ReadHandle<xAOD::AFPToFHitContainer> afpToFHitContainer(m_afpToFHitContainerKey, ctx);
if(! afpToFHitContainer.isValid())
{
ATH_MSG_ERROR("evtStore() does not contain hits collection with name " << m_afpToFHitContainerKey);
return StatusCode::FAILURE;
ATH_MSG_WARNING("evtStore() does not contain hits collection with name " << m_afpToFHitContainerKey);
return StatusCode::SUCCESS;
}
ATH_CHECK( afpToFHitContainer.initialize() );
......@@ -58,6 +58,7 @@ StatusCode AFPToFAlgorithm::fillHistograms( const EventContext& ctx ) const {
fill("AFPToFTool", lb, nTofHits);
// TO BE researched: difference between trainID and barInTrainID
/*
auto numberOfHit_S0 = Monitored::Scalar<int>("numberOfHit_S0", 0);
auto numberOfHit_S3 = Monitored::Scalar<int>("numberOfHit_S3", 0);
auto trainID = Monitored::Scalar<int>("trainID", 0);
......@@ -81,6 +82,7 @@ StatusCode AFPToFAlgorithm::fillHistograms( const EventContext& ctx ) const {
fill("AFPToFTool", trainID, barInTrainID);
}
}
*/
return StatusCode::SUCCESS;
}
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