Geant4  10.02.p01
LXePMTSD Class Reference

#include <LXePMTSD.hh>

+ Inheritance diagram for LXePMTSD:
+ Collaboration diagram for LXePMTSD:

Public Member Functions

 LXePMTSD (G4String name)
 
virtual ~LXePMTSD ()
 
virtual void Initialize (G4HCofThisEvent *)
 
virtual G4bool ProcessHits (G4Step *aStep, G4TouchableHistory *)
 
G4bool ProcessHits_constStep (const G4Step *, G4TouchableHistory *)
 
virtual void EndOfEvent (G4HCofThisEvent *)
 
virtual void clear ()
 
void DrawAll ()
 
void PrintAll ()
 
void InitPMTs (G4int nPMTs)
 
void SetPmtPositions (const std::vector< G4ThreeVector > &positions)
 
- 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
 
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

LXePMTHitsCollectionfPMTHitCollection
 
G4DataVectorfPMTPositionsX
 
G4DataVectorfPMTPositionsY
 
G4DataVectorfPMTPositionsZ
 

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 44 of file LXePMTSD.hh.

Constructor & Destructor Documentation

LXePMTSD::LXePMTSD ( G4String  name)

Definition at line 49 of file LXePMTSD.cc.

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

+ Here is the call graph for this function:

LXePMTSD::~LXePMTSD ( )
virtual

Definition at line 58 of file LXePMTSD.cc.

Member Function Documentation

void LXePMTSD::clear ( void  )
virtual

Reimplemented from G4VSensitiveDetector.

Definition at line 152 of file LXePMTSD.cc.

void LXePMTSD::DrawAll ( void  )
virtual

Reimplemented from G4VSensitiveDetector.

Definition at line 156 of file LXePMTSD.cc.

void LXePMTSD::EndOfEvent ( G4HCofThisEvent )
virtual

Reimplemented from G4VSensitiveDetector.

Definition at line 148 of file LXePMTSD.cc.

void LXePMTSD::Initialize ( G4HCofThisEvent hitsCE)
virtual

Reimplemented from G4VSensitiveDetector.

Definition at line 73 of file LXePMTSD.cc.

References G4HCofThisEvent::AddHitsCollection(), G4VSensitiveDetector::collectionName, fPMTHitCollection, G4VSensitiveDetector::GetCollectionID(), and G4VSensitiveDetector::SensitiveDetectorName.

+ Here is the call graph for this function:

void LXePMTSD::InitPMTs ( G4int  nPMTs)
inline

Definition at line 64 of file LXePMTSD.hh.

References fPMTPositionsX, fPMTPositionsY, and fPMTPositionsZ.

Referenced by LXeDetectorConstruction::ConstructSDandField().

+ Here is the caller graph for this function:

void LXePMTSD::PrintAll ( void  )
virtual

Reimplemented from G4VSensitiveDetector.

Definition at line 160 of file LXePMTSD.cc.

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

Implements G4VSensitiveDetector.

Definition at line 86 of file LXePMTSD.cc.

G4bool LXePMTSD::ProcessHits_constStep ( const G4Step aStep,
G4TouchableHistory  
)
void LXePMTSD::SetPmtPositions ( const std::vector< G4ThreeVector > &  positions)

Definition at line 62 of file LXePMTSD.cc.

References fPMTPositionsX, fPMTPositionsY, fPMTPositionsZ, x, and z.

Referenced by LXeDetectorConstruction::ConstructSDandField().

+ Here is the caller graph for this function:

Member Data Documentation

LXePMTHitsCollection* LXePMTSD::fPMTHitCollection
private

Definition at line 78 of file LXePMTSD.hh.

Referenced by Initialize(), and ProcessHits_constStep().

G4DataVector* LXePMTSD::fPMTPositionsX
private

Definition at line 80 of file LXePMTSD.hh.

Referenced by InitPMTs(), ProcessHits_constStep(), and SetPmtPositions().

G4DataVector* LXePMTSD::fPMTPositionsY
private

Definition at line 81 of file LXePMTSD.hh.

Referenced by InitPMTs(), ProcessHits_constStep(), and SetPmtPositions().

G4DataVector* LXePMTSD::fPMTPositionsZ
private

Definition at line 82 of file LXePMTSD.hh.

Referenced by InitPMTs(), ProcessHits_constStep(), and SetPmtPositions().


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