Commit ed2be162 authored by Jochen Meyer's avatar Jochen Meyer Committed by Graeme Stewart
Browse files

addressing coverity defects (MuidCaloEnergyTools-00-01-59)

	* Tagging MuidCaloEnergyTools-00-01-59
	* addressing coverity defects 108879, 108884

2016-08-23 Jochen Meyer <Jochen.Meyer@cern.ch>

	* Tagging MuidCaloEnergyTools-00-01-58
	* endreq -> endmsg
parent 926e2068
......@@ -34,11 +34,14 @@ namespace Rec
{
MuidCaloEnergyMeas::MuidCaloEnergyMeas (const std::string& type,
const std::string& name,
const std::string& name,
const IInterface* parent)
: AthAlgTool (type, name, parent),
m_caloNoiseTool (""),
m_caloParamTool (""),
m_tileID (0),
m_emID (0),
m_hecID (0),
m_cellContainerLocation (""),
m_sigmasAboveNoise (4.),
m_sigmasAboveNoiseCore (1.5),
......@@ -194,14 +197,14 @@ MuidCaloEnergyMeas::energyMeasurement (double etaEM,
<< 100.*caloMeas->Tile_SamplingFraction()
<< " ISO :" << std::setw(8) << std::setprecision(3)
<< caloMeas->Tile_Isolation()/CLHEP::GeV
<< endreq
<< endmsg
<< " LArHEC energy (GeV):" << std::setw(8) << std::setprecision(3)
<< caloMeas->LArHEC_EnergyMeasured()/CLHEP::GeV
<< " Material percent:" << std::setw(4) << std::setprecision(0)
<< 100.*caloMeas->LArHEC_SamplingFraction()
<< " ISO :" << std::setw(8) << std::setprecision(3)
<< caloMeas->LArHEC_Isolation()/CLHEP::GeV
<< endreq
<< endmsg
<< " EM energy :" << std::setw(8) << std::setprecision(3)
<< caloMeas->LArEM_EnergyMeasured()/CLHEP::GeV
<< " first compartment:" << std::setw(8) << std::setprecision(3)
......
......@@ -24,11 +24,19 @@ namespace Rec
//<<<<<< CLASS STRUCTURE INITIALIZATION >>>>>>
MuidCaloEnergyParam::MuidCaloEnergyParam (const std::string&type,
const std::string&name,
const std::string&name,
const IInterface*parent)
: AthAlgTool (type, name, parent),
m_cosmics (false),
m_smoothingFraction (0.5)
m_smoothingFraction (0.5),
m_binWidth(0.),
m_etaOffset(0.),
m_inverseWidth(0.),
m_etaBin1(0),
m_etaBin2(0),
m_etaWeight1(0.),
m_etaWeight2(0.),
m_etaGranularity(0.)
{
declareInterface<IMuidCaloEnergyParam>(this);
declareProperty ("Cosmics", m_cosmics);
......
Supports Markdown
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