k4SimGeant4
Loading...
Searching...
No Matches
ISimG4ParticleSmearTool.h
Go to the documentation of this file.
1#ifndef SIMG4INTERFACE_ISIMG4PARTICLESMEARTOOL_H
2#define SIMG4INTERFACE_ISIMG4PARTICLESMEARTOOL_H
3
4// Gaudi
5#include "GaudiKernel/IAlgTool.h"
6
7// CLHEP
8namespace CLHEP {
9class Hep3Vector;
10}
11
20class ISimG4ParticleSmearTool : virtual public IAlgTool {
21public:
23
29 virtual StatusCode smearMomentum(CLHEP::Hep3Vector& aMom, int aPdg = 0) = 0;
30
38 virtual StatusCode checkConditions(double aMinMomentum, double aMaxMomentum, double aMaxEta) const = 0;
39};
40#endif /* SIMG4INTERFACE_ISIMG4PARTICLESMEARTOOL_H */
Interface to the particle smearing tool.
Definition ISimG4ParticleSmearTool.h:20
DeclareInterfaceID(ISimG4ParticleSmearTool, 1, 0)
virtual StatusCode smearMomentum(CLHEP::Hep3Vector &aMom, int aPdg=0)=0
Smear the momentum of the particle.
virtual StatusCode checkConditions(double aMinMomentum, double aMaxMomentum, double aMaxEta) const =0
Check conditions of the smearing model, especially if the given parametrs do not exceed the parameter...
Definition ISimG4ParticleSmearTool.h:8