diff --git a/LArCalorimeter/LArMonitoring/src/LArAffectedRegionsAlg.cxx b/LArCalorimeter/LArMonitoring/src/LArAffectedRegionsAlg.cxx index 0989f3db91fa56c9276c3c1a33d4058b5ec612e0..cfc5a9f8f34a175cbce7a7b24a3880716536fc20 100644 --- a/LArCalorimeter/LArMonitoring/src/LArAffectedRegionsAlg.cxx +++ b/LArCalorimeter/LArMonitoring/src/LArAffectedRegionsAlg.cxx @@ -130,12 +130,12 @@ LArAffectedRegionsAlg::fillHistograms( const EventContext& ctx ) const while(phi<phimax){ if(eta>=0){ etaPOS=eta; - fill(m_MonGroupName+m_embpsName,etaPOS,phi,problem); + fill(m_MonGroupName.value()+m_embpsName,etaPOS,phi,problem); ATH_MSG_DEBUG( "EMBAPS " << eta << " " << phi << " " << problem << " " << layermin << " " << layermax << " " << region ); } if(eta<0){ etaNEG=eta; - fill(m_MonGroupName+m_embpsName,etaNEG,phi,problem); + fill(m_MonGroupName.value()+m_embpsName,etaNEG,phi,problem); ATH_MSG_DEBUG( "EMBCPS " << eta << " " << phi << " " << problem << " " << layermin << " " << layermax << " " << region ); } phi+=(2*TMath::Pi()/32); @@ -147,12 +147,12 @@ LArAffectedRegionsAlg::fillHistograms( const EventContext& ctx ) const while(phi<TMath::Pi()){ if(eta>=0){ etaPOS=eta; - fill(m_MonGroupName+m_embpsName,etaPOS,phi,problem); + fill(m_MonGroupName.value()+m_embpsName,etaPOS,phi,problem); ATH_MSG_DEBUG( "EMBAPS " << eta << " " << phi << " " << problem << " " << layermin << " " << layermax << " " << region ); } if(eta<0){ etaNEG=eta; - fill(m_MonGroupName+m_embpsName,etaNEG,phi,problem); + fill(m_MonGroupName.value()+m_embpsName,etaNEG,phi,problem); ATH_MSG_DEBUG( "EMBCPS " << eta << " " << phi << " " << problem << " " << layermin << " " << layermax << " " << region ); } phi+=(2*TMath::Pi()/32); @@ -162,12 +162,12 @@ LArAffectedRegionsAlg::fillHistograms( const EventContext& ctx ) const while(phi<phimax){ if(eta>=0){ etaPOS=eta; - fill(m_MonGroupName+m_embpsName,etaPOS,phi,problem); + fill(m_MonGroupName.value()+m_embpsName,etaPOS,phi,problem); ATH_MSG_DEBUG( "EMBAPS " << eta << " " << phi << " " << problem << " " << layermin << " " << layermax << " " << region ); } if(eta<0){ etaNEG=eta; - fill(m_MonGroupName+m_embpsName,etaNEG,phi,problem); + fill(m_MonGroupName.value()+m_embpsName,etaNEG,phi,problem); ATH_MSG_DEBUG( "EMBCPS " << eta << " " << phi << " " << problem << " " << layermin << " " << layermax << " " << region ); } phi+=(2*TMath::Pi()/32); @@ -189,12 +189,12 @@ LArAffectedRegionsAlg::fillHistograms( const EventContext& ctx ) const while(phi<phimax){ if(eta >=0){ etaPOS=eta; - fill(m_MonGroupName+m_embName,etaPOS,phi,problem); + fill(m_MonGroupName.value()+m_embName,etaPOS,phi,problem); ATH_MSG_DEBUG( "EMBA " << eta << " " << phi << " " << problem << " " << layermin << " " << layermax << " " << region ); } if(eta <0){ etaNEG=eta; - fill(m_MonGroupName+m_embName,etaNEG,phi,problem); + fill(m_MonGroupName.value()+m_embName,etaNEG,phi,problem); ATH_MSG_DEBUG( "EMBC " << eta << " " << phi << " " << problem << " " << layermin << " " << layermax << " " << region ); } phi+=(2*TMath::Pi()/128); @@ -206,12 +206,12 @@ LArAffectedRegionsAlg::fillHistograms( const EventContext& ctx ) const while(phi<TMath::Pi()){ if(eta >=0){ etaPOS=eta; - fill(m_MonGroupName+m_embName,etaPOS,phi,problem); + fill(m_MonGroupName.value()+m_embName,etaPOS,phi,problem); ATH_MSG_DEBUG( "EMBA " << eta << " " << phi << " " << problem << " " << layermin << " " << layermax << " " << region ); } if(eta <0){ etaNEG=eta; - fill(m_MonGroupName+m_embName,etaNEG,phi,problem); + fill(m_MonGroupName.value()+m_embName,etaNEG,phi,problem); ATH_MSG_DEBUG( "EMBC " << eta << " " << phi << " " << problem << " " << layermin << " " << layermax << " " << region ); } phi+=(2*TMath::Pi()/128); @@ -221,12 +221,12 @@ LArAffectedRegionsAlg::fillHistograms( const EventContext& ctx ) const while(phi<phimax){ if(eta >=0){ etaPOS=eta; - fill(m_MonGroupName+m_embName,etaPOS,phi,problem); + fill(m_MonGroupName.value()+m_embName,etaPOS,phi,problem); ATH_MSG_DEBUG( "EMBA " << eta << " " << phi << " " << problem << " " << layermin << " " << layermax << " " << region ); } if(eta <0){ etaNEG=eta; - fill(m_MonGroupName+m_embName,etaNEG,phi,problem); + fill(m_MonGroupName.value()+m_embName,etaNEG,phi,problem); ATH_MSG_DEBUG( "EMBC " << eta << " " << phi << " " << problem << " " << layermin << " " << layermax << " " << region ); } phi+=(2*TMath::Pi()/128); @@ -248,12 +248,12 @@ LArAffectedRegionsAlg::fillHistograms( const EventContext& ctx ) const while(phi<phimax){ if(eta>=0){ etaPOS=eta; - fill(m_MonGroupName+m_emecpsName,etaPOS,phi,problem); + fill(m_MonGroupName.value()+m_emecpsName,etaPOS,phi,problem); ATH_MSG_DEBUG( "EMECAPS " << eta << " " << phi << " " << problem << " " << layermin << " " << layermax << " " << region ); } if(eta<0){ etaNEG=eta; - fill(m_MonGroupName+m_emecpsName,etaNEG,phi,problem); + fill(m_MonGroupName.value()+m_emecpsName,etaNEG,phi,problem); ATH_MSG_DEBUG( "EMECCPS " << eta << " " << phi << " " << problem << " " << layermin << " " << layermax << " " << region ); } phi+=(2*TMath::Pi()/64); @@ -265,12 +265,12 @@ LArAffectedRegionsAlg::fillHistograms( const EventContext& ctx ) const while(phi<TMath::Pi()){ if(eta>=0){ etaPOS=eta; - fill(m_MonGroupName+m_emecpsName,etaPOS,phi,problem); + fill(m_MonGroupName.value()+m_emecpsName,etaPOS,phi,problem); ATH_MSG_DEBUG( "EMECAPS " << eta << " " << phi << " " << problem << " " << layermin << " " << layermax << " " << region ); } if(eta<0){ etaNEG=eta; - fill(m_MonGroupName+m_emecpsName,etaNEG,phi,problem); + fill(m_MonGroupName.value()+m_emecpsName,etaNEG,phi,problem); ATH_MSG_DEBUG( "EMECCPS " << eta << " " << phi << " " << problem << " " << layermin << " " << layermax << " " << region ); } phi+=(2*TMath::Pi()/64); @@ -280,12 +280,12 @@ LArAffectedRegionsAlg::fillHistograms( const EventContext& ctx ) const while(phi<phimax){ if(eta>=0){ etaPOS=eta; - fill(m_MonGroupName+m_emecpsName,etaPOS,phi,problem); + fill(m_MonGroupName.value()+m_emecpsName,etaPOS,phi,problem); ATH_MSG_DEBUG( "EMECAPS " << eta << " " << phi << " " << problem << " " << layermin << " " << layermax << " " << region ); } if(eta<0){ etaNEG=eta; - fill(m_MonGroupName+m_emecpsName,etaNEG,phi,problem); + fill(m_MonGroupName.value()+m_emecpsName,etaNEG,phi,problem); ATH_MSG_DEBUG( "EMECCPS " << eta << " " << phi << " " << problem << " " << layermin << " " << layermax << " " << region ); } phi+=(2*TMath::Pi()/64); @@ -308,12 +308,12 @@ LArAffectedRegionsAlg::fillHistograms( const EventContext& ctx ) const while(phi<phimax){ if(eta>=0){ etaPOS=eta; - fill(m_MonGroupName+m_emecName,etaPOS,phi,problem); + fill(m_MonGroupName.value()+m_emecName,etaPOS,phi,problem); ATH_MSG_DEBUG( "EMECA " << eta << " " << phi << " " << problem << " " << layermin << " " << layermax << " " << region ); } if(eta<0){ etaNEG=eta; - fill(m_MonGroupName+m_emecName,etaNEG,phi,problem); + fill(m_MonGroupName.value()+m_emecName,etaNEG,phi,problem); ATH_MSG_DEBUG( "EMECC " << eta << " " << phi << " " << problem << " " << layermin << " " << layermax << " " << region ); } phi+=(2*TMath::Pi()/256); @@ -325,12 +325,12 @@ LArAffectedRegionsAlg::fillHistograms( const EventContext& ctx ) const while(phi<TMath::Pi()){ if(eta>=0){ etaPOS=eta; - fill(m_MonGroupName+m_emecName,etaPOS,phi,problem); + fill(m_MonGroupName.value()+m_emecName,etaPOS,phi,problem); ATH_MSG_DEBUG( "EMECA " << eta << " " << phi << " " << problem << " " << layermin << " " << layermax << " " << region ); } if(eta<0){ etaNEG=eta; - fill(m_MonGroupName+m_emecName,etaNEG,phi,problem); + fill(m_MonGroupName.value()+m_emecName,etaNEG,phi,problem); ATH_MSG_DEBUG( "EMECC " << eta << " " << phi << " " << problem << " " << layermin << " " << layermax << " " << region ); } phi+=(2*TMath::Pi()/256); @@ -340,12 +340,12 @@ LArAffectedRegionsAlg::fillHistograms( const EventContext& ctx ) const while(phi<phimax){ if(eta>=0){ etaPOS=eta; - fill(m_MonGroupName+m_emecName,etaPOS,phi,problem); + fill(m_MonGroupName.value()+m_emecName,etaPOS,phi,problem); ATH_MSG_DEBUG( "EMECA " << eta << " " << phi << " " << problem << " " << layermin << " " << layermax << " " << region ); } if(eta<0){ etaNEG=eta; - fill(m_MonGroupName+m_emecName,etaNEG,phi,problem); + fill(m_MonGroupName.value()+m_emecName,etaNEG,phi,problem); ATH_MSG_DEBUG( "EMECC " << eta << " " << phi << " " << problem << " " << layermin << " " << layermax << " " << region ); } phi+=(2*TMath::Pi()/256); diff --git a/LArCalorimeter/LArMonitoring/src/LArDigitMonAlg.h b/LArCalorimeter/LArMonitoring/src/LArDigitMonAlg.h index 21a5a4d7e1ef6ef5c342f4f8e1ccd1b12e1eaca3..380805d2dccbe6828ddf4ab21da91661c09305e4 100755 --- a/LArCalorimeter/LArMonitoring/src/LArDigitMonAlg.h +++ b/LArCalorimeter/LArMonitoring/src/LArDigitMonAlg.h @@ -67,7 +67,6 @@ private: Gaudi::Property<int> m_NumberBadFebs {this, "NumberBadFebs", 5}; /**bool use to mask the bad channels*/ Gaudi::Property<bool> m_ignoreKnownBadChannels{this, "IgnoreBadChannels", false}; - bool m_PercComputed; /** Switch to online/offline mode*/ Gaudi::Property<bool> m_IsOnline {this, "IsOnline", false}; /** Treshold to declare a bad event*/