Remove G4ParticleDefinition dependance.

This commit is contained in:
paraiso
2006-02-24 14:34:55 +00:00
parent dbf68bfae2
commit cd724f2691
17 changed files with 324 additions and 192 deletions

View File

@ -20,24 +20,6 @@
// ElectroMagnetic Field
//$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$//
/**
* In order to build complex electromagnetic fields, the following class has been built.
* It allows the superposition of an electric field and a magnetic field.
*
* The main reason for this is that the field manager attached to a given volume do not handle such a
* superposition. In the case of the sample chamber, this is a big problem because we have to handle
* the electric fields of the ring anode and of the sample cryostat as well as the magnetic field over the sample.
*
* The electromagnetic field in the sample region (gate valve chamber + mcp2 chamber) is then the
* superposition of the following fields:
* -# electric field for left side of the ring anode
* -# electric field for right side of the ring anode
* -# electric field for sample cryostat
* -# magnetic field for sample region
* .
* On the same principle was built the class LEMuSRElFieldMix
*/
#ifndef LEMUSRELECTRICMAGFIELD_H
#define LEMUSRELECTRICMAGFIELD_H 1
@ -58,6 +40,26 @@
#include "LEMuSRElectricField.hh"
/**
* In order to build complex electromagnetic fields, the following class has been built.
* It allows the superposition of an electric field and a magnetic field.
*
* The main reason for this is that the field manager attached to a given volume do not handle such a
* superposition. In the case of the sample chamber, this is a big problem because we have to handle
* the electric fields of the ring anode and of the sample cryostat as well as the magnetic field over the sample.
*
* The electromagnetic field in the sample region (gate valve chamber + mcp2 chamber) is then the
* superposition of the following fields:
* -# electric field for left side of the ring anode
* -# electric field for right side of the ring anode
* -# electric field for sample cryostat
* -# magnetic field for sample region
* .
* On the same principle was built the class LEMuSRElFieldMix
*/
class LEMuSRElMagField : public G4MagneticField
{
public: