Public Member Functions | |
void | setUp () |
void | tearDown () |
void | testMomentum () |
void | testProperties () |
Private Member Functions | |
CPPUNIT_TEST (testProperties) | |
CPPUNIT_TEST (testMomentum) | |
CPPUNIT_TEST_SUITE (testParticle) | |
CPPUNIT_TEST_SUITE_END () | |
Definition at line 33 of file testParticle.cc.
|
private |
|
private |
|
private |
|
private |
|
inline |
Definition at line 45 of file testParticle.cc.
|
inline |
Definition at line 47 of file testParticle.cc.
|
inline |
Definition at line 62 of file testParticle.cc.
References utl::Particle::ePhoton, utl::Particle::eProton, utl::Particle::eShower, utl::Particle::GetDirection(), utl::Particle::GetKineticEnergy(), utl::Particle::GetMass(), utl::Particle::GetMomentum(), utl::Particle::GetName(), utl::Particle::GetTotalEnergy(), utl::Particle::GetType(), utl::GeV, utl::kProtonMass, utl::MeV, utl::Vector::Normalize(), G4StationSimulatorOG::p, utl::Particle::SetMomentum(), utl::Sqr(), and sqrt().
|
inline |
Definition at line 49 of file testParticle.cc.
References utl::Particle::eElectron, utl::Particle::eShower, utl::Particle::GetMass(), utl::Particle::GetName(), utl::Particle::GetType(), and utl::kElectronMass.