Added to repository

This commit is contained in:
paraiso
2005-11-11 12:35:21 +00:00
parent bad53d7f6c
commit 277293fc40
201 changed files with 47334 additions and 0 deletions

View File

@ -0,0 +1,32 @@
#include "G4ElectricField.hh"
#include"G4ThreeVector.hh"
#include"G4ios.hh"
class LEMuSRCryoField : public G4ElectricField
{
public:
LEMuSRCryoField(G4ThreeVector FieldVector);
LEMuSRCryoField(G4ThreeVector FieldVector,G4double radius,G4double zmin, G4double zmax,G4double mcpv_z);
~LEMuSRCryoField();
G4bool DoesFieldChangeEnergy() const { return true; }
// Since an electric field can change track energy
void GetFieldValue(const G4double pos[4], G4double *field) const;
G4bool uniform;
G4double R;
private:
G4double flength, fpotential, fradius, fzmin, fzmax;
G4ThreeVector position;
G4ThreeVector EField;
};