Remove G4ParticleDefinition dependance.
This commit is contained in:
@ -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:
|
||||
|
Reference in New Issue
Block a user