diff --git a/Simulation/DetSimInterface/DetSimInterface/IDedxSimTool.h b/Simulation/DetSimInterface/DetSimInterface/IDedxSimTool.h new file mode 100644 index 0000000000000000000000000000000000000000..f47ceb0211c3a61553adca623e443f25e46c5038 --- /dev/null +++ b/Simulation/DetSimInterface/DetSimInterface/IDedxSimTool.h @@ -0,0 +1,29 @@ +#ifndef IDedxSimTool_h +#define IDedxSimTool_h + +/* + * Description: + * IDedxSimTool is used to give a dE/dx value during simulation. + * + * The interface: + * * dedx: predict the dE/dx according to Geant4 Step + * + * Author: Tao Lin <lintao@ihep.ac.cn> + */ + + +#include "GaudiKernel/IAlgTool.h" + +class G4Step; + +class IDedxSimTool: virtual public IAlgTool { +public: + + DeclareInterfaceID(IDedxSimTool, 0, 1); + virtual ~IDedxSimTool() {} + + virtual double dedx(const G4Step* aStep) = 0; + +}; + +#endif