|
k4SimGeant4
|
Interface to the particle smearing tool. More...
#include <SimG4Interface/include/SimG4Interface/ISimG4ParticleSmearTool.h>


Public Member Functions | |
| 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 parameters of the model. | |
Interface to the particle smearing tool.
(smearing its momentum/energy for the purpose of fast simulation)
|
pure virtual |
Check conditions of the smearing model, especially if the given parametrs do not exceed the parameters of the model.
| [in] | aMinMomentum | Minimum momentum. |
| [in] | aMaxMomentum | Maximum momentum. |
| [in] | aMaxEta | Maximum pseudorapidity. |
Implemented in SimG4ParticleSmearFormula, SimG4ParticleSmearRootFile, and SimG4ParticleSmearSimple.
| ISimG4ParticleSmearTool::DeclareInterfaceID | ( | ISimG4ParticleSmearTool | , |
| 1 | , | ||
| 0 | ) |
|
pure virtual |
Smear the momentum of the particle.
| aMom | Particle momentum to be smeared. | |
| [in] | aPdg | Particle PDG code. |
Implemented in SimG4ParticleSmearFormula, SimG4ParticleSmearRootFile, and SimG4ParticleSmearSimple.