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

@ -23,23 +23,6 @@
/**
*The sensitive detector classes are the most important to simulate the data acquisition.
*The sensitive detector object is attached to the detector in LEMuSRDetectorConstruction.
*
*During the particle transportation, geant4 will check if the volume where the particle
*travels is a sensitive detector (cf. G4Transportation). If this is the case, the method
*ProcessHits will be executed.
*
*In the geant4 standard, the ProcessHit method would create a hit object, fill it with
*desired parameters and send it to the corresponding hits collection for histogramming.
*
*This implementationof the \lemu simulation uses Root for histogramming, and therefore the hit object are not used.
*Instead of filling a collection, we directly fill a Root tree with all the data we want.
*A new hit structutre has been implemented according to Root format.
*/
#ifndef LEMuSRCryoSD_h
#define LEMuSRCryoSD_h 1
@ -67,6 +50,23 @@ class G4Step;
class G4HCofThisEvent;
class G4TouchableHistory;
/**
*The sensitive detector classes are the most important to simulate the data acquisition.
*The sensitive detector object is attached to the detector in LEMuSRDetectorConstruction.
*
*During the particle transportation, geant4 will check if the volume where the particle
*travels is a sensitive detector (cf. G4Transportation). If this is the case, the method
*ProcessHits will be executed.
*
*In the geant4 standard, the ProcessHit method would create a hit object, fill it with
*desired parameters and send it to the corresponding hits collection for histogramming.
*
*This implementationof the \lemu simulation uses Root for histogramming, and therefore the hit object are not used.
*Instead of filling a collection, we directly fill a Root tree with all the data we want.
*A new hit structutre has been implemented according to Root format.
*/
class LEMuSRCryoSD : public G4VSensitiveDetector
{
public: