Geant4  10.02.p02
Em10CalorimeterSD Class Reference

#include <Em10CalorimeterSD.hh>

+ Inheritance diagram for Em10CalorimeterSD:
+ Collaboration diagram for Em10CalorimeterSD:

Public Member Functions

 Em10CalorimeterSD (G4String, Em10DetectorConstruction *)
 
 ~Em10CalorimeterSD ()
 
void Initialize (G4HCofThisEvent *)
 
G4bool ProcessHits (G4Step *, G4TouchableHistory *)
 
void EndOfEvent (G4HCofThisEvent *)
 
void clear ()
 
void PrintAll ()
 
- 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 Attributes

Em10CalorHitsCollectionCalCollection
 
Em10DetectorConstructionDetector
 
G4intHitID
 

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 50 of file Em10CalorimeterSD.hh.

Constructor & Destructor Documentation

Em10CalorimeterSD::Em10CalorimeterSD ( G4String  name,
Em10DetectorConstruction det 
)

Definition at line 52 of file Em10CalorimeterSD.cc.

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

+ Here is the call graph for this function:

Em10CalorimeterSD::~Em10CalorimeterSD ( )

Definition at line 62 of file Em10CalorimeterSD.cc.

References HitID.

Member Function Documentation

void Em10CalorimeterSD::clear ( void  )
virtual

Reimplemented from G4VSensitiveDetector.

Definition at line 126 of file Em10CalorimeterSD.cc.

void Em10CalorimeterSD::EndOfEvent ( G4HCofThisEvent HCE)
virtual

Reimplemented from G4VSensitiveDetector.

Definition at line 116 of file Em10CalorimeterSD.cc.

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

+ Here is the call graph for this function:

void Em10CalorimeterSD::Initialize ( G4HCofThisEvent )
virtual
void Em10CalorimeterSD::PrintAll ( void  )
virtual

Reimplemented from G4VSensitiveDetector.

Definition at line 132 of file Em10CalorimeterSD.cc.

Member Data Documentation

Em10CalorHitsCollection* Em10CalorimeterSD::CalCollection
private

Definition at line 65 of file Em10CalorimeterSD.hh.

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

Em10DetectorConstruction* Em10CalorimeterSD::Detector
private

Definition at line 66 of file Em10CalorimeterSD.hh.

Referenced by ProcessHits().

G4int* Em10CalorimeterSD::HitID
private

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