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

#include <geant4/tree/geant4-10.6-release/examples/advanced/ChargeExchangeMC/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
 

Static Protected Attributes

static const G4int leftRightBitsOffset = 16
 

Detailed Description

Definition at line 54 of file CexmcEnergyDepositInLeftRightSet.hh.

View newest version in sPHENIX GitHub 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.

View newest version in sPHENIX GitHub 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.

View newest version in sPHENIX GitHub 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.

View newest version in sPHENIX GitHub at line 88 of file CexmcEnergyDepositInLeftRightSet.hh

References leftRightBitsOffset.

CexmcSide CexmcEnergyDepositInLeftRightSet::GetSide ( G4int  index)
inlinestatic

Definition at line 79 of file CexmcEnergyDepositInLeftRightSet.hh.

View newest version in sPHENIX GitHub 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.

View newest version in sPHENIX GitHub at line 74 of file CexmcEnergyDepositInLeftRightSet.cc

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

+ Here is the call graph for this function:

Member Data Documentation

const G4int CexmcEnergyDepositInLeftRightSet::leftRightBitsOffset = 16
staticprotected
const CexmcSetup* CexmcEnergyDepositInLeftRightSet::setup
protected

Definition at line 67 of file CexmcEnergyDepositInLeftRightSet.hh.

View newest version in sPHENIX GitHub at line 67 of file CexmcEnergyDepositInLeftRightSet.hh

Referenced by CexmcEnergyDepositInCalorimeter::GetIndex(), and GetIndex().


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