diff options
| author | Stan Seibert <stan@mtrr.org> | 2011-09-19 14:36:13 -0400 |
|---|---|---|
| committer | Stan Seibert <stan@mtrr.org> | 2011-09-19 14:36:13 -0400 |
| commit | a21b05e4727403e2e061234289af9e60e6022e5a (patch) | |
| tree | 7a7d4c5809c370f3e542cfc8cb0bec7c2e4f5cdc /generator/G4chroma.hh | |
| parent | cfecff941fc619eb7269128afc62d9c11ae78aff (diff) | |
| parent | a38c56ff1e268298568077af7f03c8ac64c6fb82 (diff) | |
| download | chroma-a21b05e4727403e2e061234289af9e60e6022e5a.tar.gz chroma-a21b05e4727403e2e061234289af9e60e6022e5a.tar.bz2 chroma-a21b05e4727403e2e061234289af9e60e6022e5a.zip | |
merge relayout branch
Diffstat (limited to 'generator/G4chroma.hh')
| -rw-r--r-- | generator/G4chroma.hh | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/generator/G4chroma.hh b/generator/G4chroma.hh deleted file mode 100644 index 4f085aa..0000000 --- a/generator/G4chroma.hh +++ /dev/null @@ -1,49 +0,0 @@ -#ifndef __G4chroma_hh__ -#define __G4chroma_hh__ - -#include <geant4/G4VModularPhysicsList.hh> -class ChromaPhysicsList: public G4VModularPhysicsList -{ -public: - ChromaPhysicsList(); - virtual ~ChromaPhysicsList(); - virtual void SetCuts(); -}; - -#include <geant4/G4UserTrackingAction.hh> -#include <vector> -#include <geant4/G4ThreeVector.hh> - -class PhotonTrackingAction : public G4UserTrackingAction -{ -public: - PhotonTrackingAction(); - virtual ~PhotonTrackingAction(); - - int GetNumPhotons() const; - void Clear(); - - void GetX(double *x) const; - void GetY(double *y) const; - void GetZ(double *z) const; - void GetDirX(double *dir_x) const; - void GetDirY(double *dir_y) const; - void GetDirZ(double *dir_z) const; - void GetPolX(double *pol_x) const; - void GetPolY(double *pol_y) const; - void GetPolZ(double *pol_z) const; - - void GetWavelength(double *wl) const; - void GetT0(double *t) const; - - virtual void PreUserTrackingAction(const G4Track *); - -protected: - std::vector<G4ThreeVector> pos; - std::vector<G4ThreeVector> dir; - std::vector<G4ThreeVector> pol; - std::vector<double> wavelength; - std::vector<double> t0; -}; - -#endif |
