Skip to content
Snippets Groups Projects

RHadrons: Fix non-standard marking of unused parameters.

Merged Scott Snyder requested to merge ssnyder/athena:unused.RHadrons-20190805 into master
1 file
+ 3
14
Compare changes
  • Side-by-side
  • Inline
/*
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
*/
#include "FullModelHadronicProcess.hh"
@@ -12,17 +12,6 @@
#include "CustomParticle.h"
// Macro to help with overzealous compiler warnings
#ifdef UNUSED
#elif defined(__GNUC__)
# define UNUSED(x) UNUSED_ ## x __attribute__((unused))
#elif defined(__LCLINT__)
# define UNUSED(x) /*@unused@*/ x
#else
# define UNUSED(x) x
#endif
FullModelHadronicProcess::FullModelHadronicProcess(const G4String& processName) :
G4VDiscreteProcess(processName,fUserDefined),m_theParticle(0),m_newParticle(0),m_toyModel(false),m_cache(0)
{
@@ -41,7 +30,7 @@ G4bool FullModelHadronicProcess::IsApplicable(const G4ParticleDefinition& aP)
G4double FullModelHadronicProcess::GetMicroscopicCrossSection(const G4DynamicParticle *aParticle,
const G4Element *anElement,
G4double UNUSED(aTemp))
G4double /*aTemp*/)
{
// Get the cross section for this particle/element combination from the ProcessHelper
G4double InclXsec = m_theHelper->GetInclusiveCrossSection(aParticle,anElement);
@@ -88,7 +77,7 @@ G4double FullModelHadronicProcess::GetMeanFreePath(const G4Track& aTrack, G4doub
G4VParticleChange* FullModelHadronicProcess::PostStepDoIt(const G4Track& aTrack,
const G4Step& UNUSED(aStep))
const G4Step& /*aStep*/)
{
// A little setting up
aParticleChange.Initialize(aTrack);
Loading