Geant4  10.01.p02
CexmcEnergyDepositInLeftRightSet Class Reference

#include <CexmcEnergyDepositInLeftRightSet.hh>

+ Inheritance diagram for CexmcEnergyDepositInLeftRightSet:
+ Collaboration diagram for CexmcEnergyDepositInLeftRightSet:

Public Member Functions

 CexmcEnergyDepositInLeftRightSet (const G4String &name, const CexmcSetup *setup)
 
void PrintAll (void)
 
- Public Member Functions inherited from CexmcSimpleEnergyDeposit
 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)
 

Static Public Member Functions

static CexmcSide GetSide (G4int index)
 
static G4int GetLeftRightBitsOffset (void)
 

Protected Member Functions

G4int GetIndex (G4Step *step)
 
- Protected Member Functions inherited from CexmcSimpleEnergyDeposit
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

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

Static Protected Attributes

static const G4int leftRightBitsOffset = 16
 

Detailed Description

Definition at line 54 of file CexmcEnergyDepositInLeftRightSet.hh.

Constructor & Destructor Documentation

CexmcEnergyDepositInLeftRightSet::CexmcEnergyDepositInLeftRightSet ( const G4String name,
const CexmcSetup setup 
)

Definition at line 54 of file CexmcEnergyDepositInLeftRightSet.cc.

Member Function Documentation

G4int CexmcEnergyDepositInLeftRightSet::GetIndex ( G4Step step)
protectedvirtual

Reimplemented from G4VPrimitiveScorer.

Definition at line 61 of file CexmcEnergyDepositInLeftRightSet.cc.

References G4Step::GetPreStepPoint(), CexmcSetup::IsRightDetector(), leftRightBitsOffset, and setup.

+ Here is the call graph for this function:

G4int CexmcEnergyDepositInLeftRightSet::GetLeftRightBitsOffset ( void  )
inlinestatic

Definition at line 88 of file CexmcEnergyDepositInLeftRightSet.hh.

References leftRightBitsOffset.

CexmcSide CexmcEnergyDepositInLeftRightSet::GetSide ( G4int  index)
inlinestatic

Definition at line 79 of file CexmcEnergyDepositInLeftRightSet.hh.

References CexmcLeft, CexmcRight, and leftRightBitsOffset.

Referenced by CexmcEnergyDepositDigitizer::Digitize().

+ Here is the caller graph for this function:

void CexmcEnergyDepositInLeftRightSet::PrintAll ( void  )
virtual

Reimplemented from G4VPrimitiveScorer.

Definition at line 74 of file CexmcEnergyDepositInLeftRightSet.cc.

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

+ Here is the call graph for this function:

Member Data Documentation

const CexmcSetup* CexmcEnergyDepositInLeftRightSet::setup
protected

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