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

SD for the plastic scintillators

Definition at line 19 of file ActarSimPlaSD.hh.

Public Member Functions

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

Private Attributes

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

#include <ActarSimPlaSD.hh>

+ Inheritance diagram for ActarSimPlaSD:
+ Collaboration diagram for ActarSimPlaSD:

Constructor & Destructor Documentation

ActarSimPlaSD::ActarSimPlaSD ( G4String  name)

Constructor, just naming the Hit collection.

Definition at line 30 of file ActarSimPlaSD.cc.

ActarSimPlaSD::~ActarSimPlaSD ( )

Destructor, nothing to do.

Definition at line 37 of file ActarSimPlaSD.cc.

Member Function Documentation

void ActarSimPlaSD::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 105 of file ActarSimPlaSD.cc.

void ActarSimPlaSD::Initialize ( G4HCofThisEvent *  HCE)

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

Definition at line 43 of file ActarSimPlaSD.cc.

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

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

Definition at line 56 of file ActarSimPlaSD.cc.

Member Data Documentation

ActarSimPlaGeantHitsCollection* ActarSimPlaSD::hitsCollection
private

Geant step-like hits collect.

Definition at line 21 of file ActarSimPlaSD.hh.

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


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