ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
STCyclotronSensitiveTarget Class Reference

#include <geant4/tree/geant4-10.6-release/examples/advanced/STCyclotron/include/STCyclotronSensitiveTarget.hh>

+ Inheritance diagram for STCyclotronSensitiveTarget:
+ Collaboration diagram for STCyclotronSensitiveTarget:

Public Member Functions

 STCyclotronSensitiveTarget (G4String, STCyclotronDetectorConstruction *)
 
virtual ~STCyclotronSensitiveTarget ()
 
virtual G4bool ProcessHits (G4Step *step, G4TouchableHistory *history)
 
- Public Member Functions inherited from G4VSensitiveDetector
 G4VSensitiveDetector (G4String name)
 
 G4VSensitiveDetector (const G4VSensitiveDetector &right)
 
virtual ~G4VSensitiveDetector ()
 
G4VSensitiveDetectoroperator= (const G4VSensitiveDetector &right)
 
G4bool operator== (const G4VSensitiveDetector &right) const
 
G4bool operator!= (const G4VSensitiveDetector &right) const
 
virtual void Initialize (G4HCofThisEvent *)
 
virtual void EndOfEvent (G4HCofThisEvent *)
 
virtual void clear ()
 
virtual void DrawAll ()
 
virtual void PrintAll ()
 
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 Attributes

STCyclotronDetectorConstructionfDet
 
G4int fTempTrack
 
G4int fTempTrack1
 
G4ThreeVector fTempVector
 
G4double fTempEnergy
 
G4TrackfTrack
 

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 41 of file STCyclotronSensitiveTarget.hh.

View newest version in sPHENIX GitHub at line 41 of file STCyclotronSensitiveTarget.hh

Constructor & Destructor Documentation

STCyclotronSensitiveTarget::STCyclotronSensitiveTarget ( G4String  name,
STCyclotronDetectorConstruction det 
)

Definition at line 54 of file STCyclotronSensitiveTarget.cc.

View newest version in sPHENIX GitHub at line 54 of file STCyclotronSensitiveTarget.cc

References fTempEnergy, fTempTrack, fTempTrack1, fTempVector, and fTrack.

STCyclotronSensitiveTarget::~STCyclotronSensitiveTarget ( )
virtual

Definition at line 66 of file STCyclotronSensitiveTarget.cc.

View newest version in sPHENIX GitHub at line 66 of file STCyclotronSensitiveTarget.cc

References fTrack.

Member Function Documentation

G4bool STCyclotronSensitiveTarget::ProcessHits ( G4Step step,
G4TouchableHistory history 
)
virtual

Implements G4VSensitiveDetector.

Definition at line 71 of file STCyclotronSensitiveTarget.cc.

View newest version in sPHENIX GitHub at line 71 of file STCyclotronSensitiveTarget.cc

References A(), STCyclotronRun::CountParticlesTarget(), STCyclotronRun::CountStableIsotopes(), STCyclotronRun::DecayIsotopeCountTarget(), edep, energy, STCyclotronRun::EnergyDepositionTarget(), fDet, fTempEnergy, fTempTrack, fTempTrack1, fTempVector, fTrack, G4ParticleDefinition::GetAtomicMass(), G4ParticleDefinition::GetAtomicNumber(), G4Track::GetCreatorProcess(), G4Track::GetCurrentStepNumber(), G4Track::GetDefinition(), STCyclotronRun::GetIsotopeID(), G4StepPoint::GetKineticEnergy(), G4StepPoint::GetMomentumDirection(), G4RunManager::GetNonConstCurrentRun(), G4Track::GetParentID(), G4ParticleDefinition::GetParticleName(), G4ParticleDefinition::GetParticleType(), G4ParticleDefinition::GetPDGLifeTime(), G4ParticleDefinition::GetPDGStable(), G4StepPoint::GetPosition(), G4Track::GetPosition(), G4Step::GetPostStepPoint(), G4Step::GetPreStepPoint(), G4VProcess::GetProcessName(), G4RunManager::GetRunManager(), STCyclotronDetectorConstruction::GetTargetDiameter(), STCyclotronDetectorConstruction::GetTargetThickness(), STCyclotronDetectorConstruction::GetTargetVolume(), G4Step::GetTotalEnergyDeposit(), G4Step::GetTrack(), G4Track::GetTrackID(), CLHEP::Hep3Vector::getX(), CLHEP::Hep3Vector::getY(), CLHEP::Hep3Vector::getZ(), G4ToolsAnalysisManager::Instance(), STCyclotronRun::ParticleCountTarget(), STCyclotronRun::ParticleParent(), STCyclotronRun::PrimaryIsotopeCountTarget(), STCyclotronRun::SetTargetDiameter(), STCyclotronRun::SetTargetThickness(), STCyclotronRun::SetTargetVolume(), STCyclotronRun::StoreIsotopeID(), and Z.

+ Here is the call graph for this function:

Member Data Documentation

STCyclotronDetectorConstruction* STCyclotronSensitiveTarget::fDet
private

Definition at line 52 of file STCyclotronSensitiveTarget.hh.

View newest version in sPHENIX GitHub at line 52 of file STCyclotronSensitiveTarget.hh

Referenced by ProcessHits().

G4double STCyclotronSensitiveTarget::fTempEnergy
private

Definition at line 56 of file STCyclotronSensitiveTarget.hh.

View newest version in sPHENIX GitHub at line 56 of file STCyclotronSensitiveTarget.hh

Referenced by ProcessHits(), and STCyclotronSensitiveTarget().

G4int STCyclotronSensitiveTarget::fTempTrack
private

Definition at line 53 of file STCyclotronSensitiveTarget.hh.

View newest version in sPHENIX GitHub at line 53 of file STCyclotronSensitiveTarget.hh

Referenced by ProcessHits(), and STCyclotronSensitiveTarget().

G4int STCyclotronSensitiveTarget::fTempTrack1
private

Definition at line 54 of file STCyclotronSensitiveTarget.hh.

View newest version in sPHENIX GitHub at line 54 of file STCyclotronSensitiveTarget.hh

Referenced by ProcessHits(), and STCyclotronSensitiveTarget().

G4ThreeVector STCyclotronSensitiveTarget::fTempVector
private

Definition at line 55 of file STCyclotronSensitiveTarget.hh.

View newest version in sPHENIX GitHub at line 55 of file STCyclotronSensitiveTarget.hh

Referenced by ProcessHits(), and STCyclotronSensitiveTarget().

G4Track* STCyclotronSensitiveTarget::fTrack
private

Definition at line 57 of file STCyclotronSensitiveTarget.hh.

View newest version in sPHENIX GitHub at line 57 of file STCyclotronSensitiveTarget.hh

Referenced by ProcessHits(), STCyclotronSensitiveTarget(), and ~STCyclotronSensitiveTarget().


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