Geant4  10.01.p01
PhantomSD Class Reference

#include <PhantomSD.hh>

+ Inheritance diagram for PhantomSD:
+ Collaboration diagram for PhantomSD:

Public Member Functions

 PhantomSD (const G4String &)
 
virtual ~PhantomSD ()
 
void Initialize (G4HCofThisEvent *)
 
G4bool ProcessHits (G4Step *, G4TouchableHistory *)
 
void EndOfEvent (G4HCofThisEvent *)
 
void clear ()
 
void PrintAll ()
 
void SetShiftZ (G4double val)
 
- Public Member Functions inherited from G4VSensitiveDetector
 G4VSensitiveDetector (G4String name)
 
 G4VSensitiveDetector (const G4VSensitiveDetector &right)
 
virtual ~G4VSensitiveDetector ()
 
G4VSensitiveDetectoroperator= (const G4VSensitiveDetector &right)
 
G4int operator== (const G4VSensitiveDetector &right) const
 
G4int operator!= (const G4VSensitiveDetector &right) const
 
virtual void DrawAll ()
 
G4bool Hit (G4Step *aStep)
 
void SetROgeometry (G4VReadOutGeometry *value)
 
void SetFilter (G4VSDFilter *value)
 
G4int GetNumberOfCollections () const
 
G4String GetCollectionName (G4int id) const
 
void SetVerboseLevel (G4int vl)
 
void Activate (G4bool activeFlag)
 
G4bool isActive () const
 
G4String GetName () const
 
G4String GetPathName () const
 
G4String GetFullPathName () const
 
G4VReadOutGeometryGetROgeometry () const
 
G4VSDFilterGetFilter () const
 
virtual G4VSensitiveDetectorClone () const
 

Private Member Functions

PhantomSDoperator= (const PhantomSD &right)
 
 PhantomSD (const PhantomSD &)
 

Private Attributes

HistofHisto
 
G4double fShiftZ
 
G4int fCounter
 

Additional Inherited Members

- Protected Member Functions inherited from G4VSensitiveDetector
virtual G4int GetCollectionID (G4int i)
 
- Protected Attributes inherited from G4VSensitiveDetector
G4CollectionNameVector collectionName
 
G4String SensitiveDetectorName
 
G4String thePathName
 
G4String fullPathName
 
G4int verboseLevel
 
G4bool active
 
G4VReadOutGeometryROgeometry
 
G4VSDFilterfilter
 

Detailed Description

Definition at line 55 of file PhantomSD.hh.

Constructor & Destructor Documentation

PhantomSD::PhantomSD ( const G4String name)

Definition at line 52 of file PhantomSD.cc.

PhantomSD::~PhantomSD ( )
virtual

Definition at line 59 of file PhantomSD.cc.

PhantomSD::PhantomSD ( const PhantomSD )
private

Member Function Documentation

void PhantomSD::clear ( void  )
virtual

Reimplemented from G4VSensitiveDetector.

Definition at line 115 of file PhantomSD.cc.

void PhantomSD::EndOfEvent ( G4HCofThisEvent )
virtual

Reimplemented from G4VSensitiveDetector.

Definition at line 110 of file PhantomSD.cc.

void PhantomSD::Initialize ( G4HCofThisEvent )
virtual

Reimplemented from G4VSensitiveDetector.

Definition at line 64 of file PhantomSD.cc.

References fCounter, fHisto, G4cout, G4endl, and Histo::GetVerbose().

+ Here is the call graph for this function:

PhantomSD& PhantomSD::operator= ( const PhantomSD right)
private
void PhantomSD::PrintAll ( void  )
virtual

Reimplemented from G4VSensitiveDetector.

Definition at line 121 of file PhantomSD.cc.

G4bool PhantomSD::ProcessHits ( G4Step aStep,
G4TouchableHistory  
)
virtual

Implements G4VSensitiveDetector.

Definition at line 74 of file PhantomSD.cc.

References Histo::AddPhantomStep(), fHisto, fShiftZ, G4cout, G4endl, G4StepPoint::GetPosition(), G4Step::GetPostStepPoint(), G4Step::GetPreStepPoint(), G4Step::GetTotalEnergyDeposit(), Histo::GetVerbose(), MeV, r0, and G4InuclParticleNames::z0.

+ Here is the call graph for this function:

void PhantomSD::SetShiftZ ( G4double  val)
inline

Definition at line 69 of file PhantomSD.hh.

References fShiftZ.

Referenced by DetectorConstruction::InitialiseGeometryParameters().

+ Here is the caller graph for this function:

Member Data Documentation

G4int PhantomSD::fCounter
private

Definition at line 78 of file PhantomSD.hh.

Referenced by Initialize().

Histo* PhantomSD::fHisto
private

Definition at line 76 of file PhantomSD.hh.

Referenced by Initialize(), and ProcessHits().

G4double PhantomSD::fShiftZ
private

Definition at line 77 of file PhantomSD.hh.

Referenced by ProcessHits(), and SetShiftZ().


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