B1Hits.hh 440 Bytes
Newer Older
1 2 3 4
#include "G4VHit.hh"
#include "G4Allocator.hh"
#include "G4THitsCollection.hh"
#include "G4Step.hh"
5
#include "G4ParticleDefinition.hh"
6 7 8 9 10 11 12 13

class B1Hits: public G4VHit {

public:
  B1Hits();
  ~B1Hits();

  void print();
14 15 16 17 18 19 20 21 22
  void set_partdef (const G4String particle_name);

  const G4String getParticleInTarget() {
    return fParticleInTarget;
  }
private:

 G4String fParticleInTarget;

23 24 25
};

typedef G4THitsCollection<B1Hits> B1HitsCollection;