![]() |
ATLAS Offline Software
|
This is the interface for the fast simulation dedicated sensitive detector. More...
#include <IFastSimDedicatedSD.h>
Public Types | |
| enum | LArHitTimeBins { HitTimeBinDefault = 0 , HitTimeBinUniform = 1 } |
Public Member Functions | |
| IFastSimDedicatedSD (const std::string &name, StoreGateSvc *detStore, std::string hitCollectionName) | |
| Simple constructor and destructor. | |
| ~IFastSimDedicatedSD () | |
| virtual void | ProcessSpot (const EnergySpot &spot, double weight)=0 |
| ProcessHitsMethod. | |
| void | Initialize (G4HCofThisEvent *) override |
| Register this regular SD with the event-owned builder. | |
| G4bool | ProcessHits (G4Step *a_step, G4TouchableHistory *) override |
| Main processing method. | |
| G4bool | SimpleHit (const LArG4Identifier &lar_id, G4double time, G4double energy) |
| First method translates to this - also for fast sims. | |
| void | setupHelpers (const LArEM_ID *EM, const LArFCAL_ID *FCAL, const LArHEC_ID *HEC) |
| Sets the ID helper pointers. | |
| Identifier | ConvertID (const LArG4Identifier &a_ident) const |
| Helper function for making "real" identifiers from LArG4Identifiers. | |
Protected Member Functions | |
| G4int | getTimeBin (G4double time) const |
| Helper method for time info. | |
| LArHitContainerBuilder * | getHitContainer () const |
Protected Attributes | |
| ILArCalculatorSvc * | m_calculator |
| Member variable - the calculator we'll use. | |
| G4int | m_numberInvalidHits |
| Count the number of invalid hits. | |
| LArG4SimpleSD::LArHitTimeBins | m_timeBinType |
| G4float | m_timeBinWidth |
| Width of the time bins for summing hits - for the uniform binning. | |
| const LArEM_ID * | m_larEmID |
| Pointers to the identifier helpers. | |
| const LArFCAL_ID * | m_larFcalID |
| const LArHEC_ID * | m_larHecID |
Private Member Functions | |
| FRIEND_TEST (LArG4SimpleSDtest, ProcessHits) | |
| FRIEND_TEST (LArG4SimpleSDtest, setupHelpers) | |
| FRIEND_TEST (LArG4SimpleSDtest, getTimeBin) | |
| FRIEND_TEST (LArG4SimpleSDtest, SimpleHit) | |
| FRIEND_TEST (LArG4SimpleSDtest, ConvertID) | |
Private Attributes | |
| std::string | m_hitCollectionName |
| std::string | m_hitSourceName |
This is the interface for the fast simulation dedicated sensitive detector.
Definition at line 16 of file IFastSimDedicatedSD.h.
|
inherited |
| Enumerator | |
|---|---|
| HitTimeBinDefault | |
| HitTimeBinUniform | |
Definition at line 46 of file LArG4SimpleSD.h.
|
inline |
Simple constructor and destructor.
Definition at line 21 of file IFastSimDedicatedSD.h.
|
inline |
Definition at line 25 of file IFastSimDedicatedSD.h.
|
inherited |
Helper function for making "real" identifiers from LArG4Identifiers.
|
privateinherited |
|
privateinherited |
|
privateinherited |
|
privateinherited |
|
privateinherited |
|
protectedinherited |
|
protectedinherited |
Helper method for time info.
|
overrideinherited |
Register this regular SD with the event-owned builder.
|
overrideinherited |
Main processing method.
|
pure virtual |
ProcessHitsMethod.
Process a single energy spot from a frozen shower. The appropriate region of the sensitive detector is calculated and a LArIdentifier is constructed
Implemented in BarrelFastSimDedicatedSD, EndcapFastSimDedicatedSD, and FCALFastSimDedicatedSD.
|
inlineinherited |
Sets the ID helper pointers.
Definition at line 75 of file LArG4SimpleSD.h.
|
inherited |
First method translates to this - also for fast sims.
|
protectedinherited |
Member variable - the calculator we'll use.
Definition at line 91 of file LArG4SimpleSD.h.
|
privateinherited |
Definition at line 122 of file LArG4SimpleSD.h.
|
privateinherited |
Definition at line 123 of file LArG4SimpleSD.h.
Pointers to the identifier helpers.
Definition at line 115 of file LArG4SimpleSD.h.
|
protectedinherited |
Definition at line 116 of file LArG4SimpleSD.h.
Definition at line 117 of file LArG4SimpleSD.h.
|
protectedinherited |
Count the number of invalid hits.
Definition at line 94 of file LArG4SimpleSD.h.
|
protectedinherited |
Definition at line 109 of file LArG4SimpleSD.h.
|
protectedinherited |
Width of the time bins for summing hits - for the uniform binning.
Definition at line 112 of file LArG4SimpleSD.h.