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

#include <geant4/tree/geant4-10.6-release/examples/advanced/xray_fluorescence/include/XrayFluoHPGeSD.hh>

+ Inheritance diagram for XrayFluoHPGeSD:
+ Collaboration diagram for XrayFluoHPGeSD:

Public Member Functions

 XrayFluoHPGeSD (G4String, XrayFluoDetectorConstruction *)
 
 ~XrayFluoHPGeSD ()
 
void Initialize (G4HCofThisEvent *)
 
void EndOfEvent (G4HCofThisEvent *)
 
void clear ()
 
void DrawAll ()
 
void PrintAll ()
 
- 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
 
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
 

Protected Member Functions

G4bool ProcessHits (G4Step *, G4TouchableHistory *)
 
- Protected Member Functions inherited from G4VSensitiveDetector
virtual G4int GetCollectionID (G4int i)
 

Private Attributes

XrayFluoSensorHitsCollectionHPGeCollection
 
XrayFluoDetectorConstructionDetector
 
G4intHitHPGeID
 

Additional Inherited Members

- Protected Attributes inherited from G4VSensitiveDetector
G4CollectionNameVector collectionName
 
G4String SensitiveDetectorName
 
G4String thePathName
 
G4String fullPathName
 
G4int verboseLevel
 
G4bool active
 
G4VReadOutGeometryROgeometry
 
G4VSDFilterfilter
 

Detailed Description

Definition at line 49 of file XrayFluoHPGeSD.hh.

View newest version in sPHENIX GitHub at line 49 of file XrayFluoHPGeSD.hh

Constructor & Destructor Documentation

XrayFluoHPGeSD::XrayFluoHPGeSD ( G4String  name,
XrayFluoDetectorConstruction det 
)

Definition at line 49 of file XrayFluoHPGeSD.cc.

View newest version in sPHENIX GitHub at line 49 of file XrayFluoHPGeSD.cc

References G4VSensitiveDetector::collectionName, HitHPGeID, and G4CollectionNameVector::insert().

+ Here is the call graph for this function:

XrayFluoHPGeSD::~XrayFluoHPGeSD ( )

Definition at line 61 of file XrayFluoHPGeSD.cc.

View newest version in sPHENIX GitHub at line 61 of file XrayFluoHPGeSD.cc

References G4cout, G4endl, and HitHPGeID.

Member Function Documentation

void XrayFluoHPGeSD::clear ( void  )
virtual

Reimplemented from G4VSensitiveDetector.

Definition at line 158 of file XrayFluoHPGeSD.cc.

View newest version in sPHENIX GitHub at line 158 of file XrayFluoHPGeSD.cc

void XrayFluoHPGeSD::DrawAll ( void  )
virtual

Reimplemented from G4VSensitiveDetector.

Definition at line 163 of file XrayFluoHPGeSD.cc.

View newest version in sPHENIX GitHub at line 163 of file XrayFluoHPGeSD.cc

void XrayFluoHPGeSD::EndOfEvent ( G4HCofThisEvent HCE)
virtual

Reimplemented from G4VSensitiveDetector.

Definition at line 148 of file XrayFluoHPGeSD.cc.

View newest version in sPHENIX GitHub at line 148 of file XrayFluoHPGeSD.cc

References G4HCofThisEvent::AddHitsCollection(), G4VSensitiveDetector::collectionName, G4SDManager::GetCollectionID(), G4SDManager::GetSDMpointer(), and HPGeCollection.

+ Here is the call graph for this function:

void XrayFluoHPGeSD::Initialize ( G4HCofThisEvent HCE)
virtual

Reimplemented from G4VSensitiveDetector.

Definition at line 73 of file XrayFluoHPGeSD.cc.

View newest version in sPHENIX GitHub at line 73 of file XrayFluoHPGeSD.cc

References G4VSensitiveDetector::collectionName, Detector, XrayFluoDetectorConstruction::GetNbOfPixels(), HitHPGeID, HPGeCollection, and G4VSensitiveDetector::SensitiveDetectorName.

+ Here is the call graph for this function:

void XrayFluoHPGeSD::PrintAll ( void  )
virtual

Reimplemented from G4VSensitiveDetector.

Definition at line 168 of file XrayFluoHPGeSD.cc.

View newest version in sPHENIX GitHub at line 168 of file XrayFluoHPGeSD.cc

G4bool XrayFluoHPGeSD::ProcessHits ( G4Step aStep,
G4TouchableHistory ROhist 
)
protectedvirtual

Implements G4VSensitiveDetector.

Definition at line 88 of file XrayFluoHPGeSD.cc.

View newest version in sPHENIX GitHub at line 88 of file XrayFluoHPGeSD.cc

References XrayFluoSensorHit::AddEnergy(), Detector, edep, G4cout, G4endl, G4VPhysicalVolume::GetCopyNo(), XrayFluoDetectorConstruction::GetNbOfPixels(), G4Step::GetPreStepPoint(), G4Step::GetTotalEnergyDeposit(), G4StepPoint::GetTouchable(), G4TouchableHistory::GetVolume(), HitHPGeID, HPGeCollection, G4THitsCollection< T >::insert(), and G4VSensitiveDetector::verboseLevel.

+ Here is the call graph for this function:

Member Data Documentation

XrayFluoDetectorConstruction* XrayFluoHPGeSD::Detector
private

Definition at line 69 of file XrayFluoHPGeSD.hh.

View newest version in sPHENIX GitHub at line 69 of file XrayFluoHPGeSD.hh

Referenced by Initialize(), and ProcessHits().

G4int* XrayFluoHPGeSD::HitHPGeID
private

Definition at line 70 of file XrayFluoHPGeSD.hh.

View newest version in sPHENIX GitHub at line 70 of file XrayFluoHPGeSD.hh

Referenced by Initialize(), ProcessHits(), XrayFluoHPGeSD(), and ~XrayFluoHPGeSD().

XrayFluoSensorHitsCollection* XrayFluoHPGeSD::HPGeCollection
private

Definition at line 68 of file XrayFluoHPGeSD.hh.

View newest version in sPHENIX GitHub at line 68 of file XrayFluoHPGeSD.hh

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


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