#ifndef __PAR_MAC #define __PAR_MAC // ParameterMacros.hh // written by Jared Kofron on 2/21/2011 // preprocessor macros to deal with unused parameters /* We have issues with unused parameters in GEANT4 callbacks - in general * we don't actually use these callbacks, but just return 0. The trouble * is that the compiler warns us about this, which makes building RAT * exceedingly ugly. Therefore, if you are writing one of these functions * and you don't use the parameter, you can fool the compiler using the * macro below. This will also inform future coders of your intentions. */ #define __unused_parameter(x) static_cast(x) #endif