Geant4  10.01.p02
CexmcSimpleEnergyDeposit Class Reference

#include <CexmcSimpleEnergyDeposit.hh>

+ Inheritance diagram for CexmcSimpleEnergyDeposit:
+ Collaboration diagram for CexmcSimpleEnergyDeposit:

Public Member Functions

 CexmcSimpleEnergyDeposit (const G4String &name)
 
void Initialize (G4HCofThisEvent *hcOfThisEvent)
 
void EndOfEvent (G4HCofThisEvent *hcOfThisEvent)
 
void DrawAll (void)
 
void PrintAll (void)
 
void clear (void)
 
- Public Member Functions inherited from CexmcPrimitiveScorer
 CexmcPrimitiveScorer (const G4String &name)
 
virtual ~CexmcPrimitiveScorer ()
 
void InitializeMessenger (void)
 
- Public Member Functions inherited from G4VPrimitiveScorer
 G4VPrimitiveScorer (G4String name, G4int depth=0)
 
virtual ~G4VPrimitiveScorer ()
 
G4int GetCollectionID (G4int)
 
void SetUnit (const G4String &unit)
 
const G4StringGetUnit () const
 
G4double GetUnitValue () const
 
void SetMultiFunctionalDetector (G4MultiFunctionalDetector *d)
 
G4MultiFunctionalDetectorGetMultiFunctionalDetector () const
 
G4String GetName () const
 
void SetFilter (G4VSDFilter *f)
 
G4VSDFilterGetFilter () const
 
void SetVerboseLevel (G4int vl)
 
G4int GetVerboseLevel () const
 
void SetNijk (G4int i, G4int j, G4int k)
 

Protected Member Functions

G4int GetIndex (G4Step *step)
 
G4bool ProcessHits (G4Step *step, G4TouchableHistory *tHistory)
 
- Protected Member Functions inherited from CexmcPrimitiveScorer
void PrintHeader (G4int nmbOfEntries) const
 
- Protected Member Functions inherited from G4VPrimitiveScorer
void CheckAndSetUnit (const G4String &unit, const G4String &category)
 

Protected Attributes

CexmcEnergyDepositCollectioneventMap
 
- Protected Attributes inherited from G4VPrimitiveScorer
G4String primitiveName
 
G4MultiFunctionalDetectordetector
 
G4VSDFilterfilter
 
G4int verboseLevel
 
G4int indexDepth
 
G4String unitName
 
G4double unitValue
 
G4int fNi
 
G4int fNj
 
G4int fNk
 

Private Attributes

G4int hcId
 

Detailed Description

Definition at line 59 of file CexmcSimpleEnergyDeposit.hh.

Constructor & Destructor Documentation

CexmcSimpleEnergyDeposit::CexmcSimpleEnergyDeposit ( const G4String name)
explicit

Definition at line 49 of file CexmcSimpleEnergyDeposit.cc.

Member Function Documentation

void CexmcSimpleEnergyDeposit::clear ( void  )
virtual

Reimplemented from G4VPrimitiveScorer.

Definition at line 94 of file CexmcSimpleEnergyDeposit.cc.

References G4THitsMap< T >::clear(), and eventMap.

+ Here is the call graph for this function:

void CexmcSimpleEnergyDeposit::DrawAll ( void  )
virtual

Reimplemented from G4VPrimitiveScorer.

Definition at line 100 of file CexmcSimpleEnergyDeposit.cc.

void CexmcSimpleEnergyDeposit::EndOfEvent ( G4HCofThisEvent hcOfThisEvent)
virtual

Reimplemented from G4VPrimitiveScorer.

Definition at line 87 of file CexmcSimpleEnergyDeposit.cc.

References G4VPrimitiveScorer::GetVerboseLevel(), and PrintAll().

+ Here is the call graph for this function:

G4int CexmcSimpleEnergyDeposit::GetIndex ( G4Step step)
protectedvirtual

Reimplemented from G4VPrimitiveScorer.

Definition at line 55 of file CexmcSimpleEnergyDeposit.cc.

Referenced by ProcessHits().

+ Here is the caller graph for this function:

void CexmcSimpleEnergyDeposit::Initialize ( G4HCofThisEvent hcOfThisEvent)
virtual

Reimplemented from G4VPrimitiveScorer.

Definition at line 75 of file CexmcSimpleEnergyDeposit.cc.

References G4HCofThisEvent::AddHitsCollection(), G4VPrimitiveScorer::detector, eventMap, G4VPrimitiveScorer::GetCollectionID(), G4VSensitiveDetector::GetName(), hcId, and G4VPrimitiveScorer::primitiveName.

+ Here is the call graph for this function:

void CexmcSimpleEnergyDeposit::PrintAll ( void  )
virtual

Reimplemented from G4VPrimitiveScorer.

Definition at line 105 of file CexmcSimpleEnergyDeposit.cc.

References G4THitsMap< T >::entries(), eventMap, G4BestUnit, G4cout, G4endl, G4THitsMap< T >::GetMap(), and CexmcPrimitiveScorer::PrintHeader().

Referenced by EndOfEvent().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4bool CexmcSimpleEnergyDeposit::ProcessHits ( G4Step step,
G4TouchableHistory tHistory 
)
protectedvirtual

Implements G4VPrimitiveScorer.

Definition at line 61 of file CexmcSimpleEnergyDeposit.cc.

References G4THitsMap< T >::add(), eventMap, GetIndex(), and G4Step::GetTotalEnergyDeposit().

+ Here is the call graph for this function:

Member Data Documentation

G4int CexmcSimpleEnergyDeposit::hcId
private

Definition at line 84 of file CexmcSimpleEnergyDeposit.hh.

Referenced by Initialize().


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