ACTARSim
ACTAR TPC Simulation Reference Guide
Public Member Functions | Private Attributes | List of all members
ActarSimSciSD Class Reference

SD for the Scintillators

Definition at line 19 of file ActarSimSciSD.hh.

Public Member Functions

 ActarSimSciSD (G4String)
 Constructor, just naming the Hit collection. More...
 
 ~ActarSimSciSD ()
 Destructor, nothing to do. More...
 
void Initialize (G4HCofThisEvent *)
 
G4bool ProcessHits (G4Step *, G4TouchableHistory *)
 
void EndOfEvent (G4HCofThisEvent *)
 

Private Attributes

ActarSimSciGeantHitsCollectionhitsCollection
 Geant step-like hits collect. More...
 

#include <ActarSimSciSD.hh>

+ Inheritance diagram for ActarSimSciSD:
+ Collaboration diagram for ActarSimSciSD:

Constructor & Destructor Documentation

ActarSimSciSD::ActarSimSciSD ( G4String  name)

Constructor, just naming the Hit collection.

Definition at line 30 of file ActarSimSciSD.cc.

ActarSimSciSD::~ActarSimSciSD ( )

Destructor, nothing to do.

Definition at line 38 of file ActarSimSciSD.cc.

Member Function Documentation

void ActarSimSciSD::EndOfEvent ( G4HCofThisEvent *  )

Just prints and draws the event hits (class ActarSimSciGeantHit) The recollection of the hits energy deposition in the plastic is done in the ActarSimROOTAnalysis::EndOfEventAction()

Definition at line 107 of file ActarSimSciSD.cc.

void ActarSimSciSD::Initialize ( G4HCofThisEvent *  HCE)

Initializing the ActarSimSciGeantHitsCollection object Invoked automatically at the beggining of each event

Definition at line 44 of file ActarSimSciSD.cc.

G4bool ActarSimSciSD::ProcessHits ( G4Step *  aStep,
G4TouchableHistory *   
)

Filling the ActarSimSciGeantHit information with the step info Invoked by G4SteppingManager for each step

Definition at line 57 of file ActarSimSciSD.cc.

Member Data Documentation

ActarSimSciGeantHitsCollection* ActarSimSciSD::hitsCollection
private

Geant step-like hits collect.

Definition at line 21 of file ActarSimSciSD.hh.

Referenced by EndOfEvent(), Initialize(), and ProcessHits().


The documentation for this class was generated from the following files: