Common sensitive detector class for LAr systems.
More...
#include <LArG4SimpleSD.h>
|
| | LArG4SimpleSD (G4String a_name, ILArCalculatorSvc *calc, const std::string &type="Default", const float width=2.5 *CLHEP::ns) |
| | Constructor.
|
| | LArG4SimpleSD (G4String a_name, StoreGateSvc *detStore) |
| | Alternative constructor, particularly for fast simulations.
|
| virtual | ~LArG4SimpleSD () |
| | Destructor.
|
| 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 | EndOfAthenaEvent (LArHitContainer *hitContnainer) |
| | End of athena event processing.
|
| 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.
|
|
| G4int | getTimeBin (G4double time) const |
| | Helper method for time info.
|
|
| | FRIEND_TEST (LArG4SimpleSDtest, ProcessHits) |
| | FRIEND_TEST (LArG4SimpleSDtest, EndOfAthenaEvent) |
| | FRIEND_TEST (LArG4SimpleSDtest, setupHelpers) |
| | FRIEND_TEST (LArG4SimpleSDtest, getTimeBin) |
| | FRIEND_TEST (LArG4SimpleSDtest, SimpleHit) |
| | FRIEND_TEST (LArG4SimpleSDtest, ConvertID) |
| | FRIEND_TEST (SDWrappertest, Initialize) |
| | FRIEND_TEST (SDWrappertest, EndOfAthenaEvent) |
| | FRIEND_TEST (SDWrappertest, addSD) |
| | FRIEND_TEST (SDWrappertest, addFastSimSD) |
| | FRIEND_TEST (SDWrappertest, ProcessHits) |
Common sensitive detector class for LAr systems.
This SD implementation saves the standard LArHits. See LArG4CalibSD for an SD that handles calibration hits.
Definition at line 35 of file LArG4SimpleSD.h.
◆ hits_t
◆ timeBins_t
◆ LArHitTimeBins
| Enumerator |
|---|
| HitTimeBinDefault | |
| HitTimeBinUniform | |
Definition at line 50 of file LArG4SimpleSD.h.
◆ LArG4SimpleSD() [1/2]
| LArG4SimpleSD::LArG4SimpleSD |
( |
G4String | a_name, |
|
|
ILArCalculatorSvc * | calc, |
|
|
const std::string & | type = "Default", |
|
|
const float | width = 2.5 *CLHEP::ns ) |
◆ LArG4SimpleSD() [2/2]
| LArG4SimpleSD::LArG4SimpleSD |
( |
G4String | a_name, |
|
|
StoreGateSvc * | detStore ) |
Alternative constructor, particularly for fast simulations.
◆ ~LArG4SimpleSD()
| virtual LArG4SimpleSD::~LArG4SimpleSD |
( |
| ) |
|
|
virtual |
◆ ConvertID()
Helper function for making "real" identifiers from LArG4Identifiers.
◆ EndOfAthenaEvent()
End of athena event processing.
◆ FRIEND_TEST() [1/11]
| LArG4SimpleSD::FRIEND_TEST |
( |
LArG4SimpleSDtest | , |
|
|
ConvertID | ) |
|
private |
◆ FRIEND_TEST() [2/11]
◆ FRIEND_TEST() [3/11]
| LArG4SimpleSD::FRIEND_TEST |
( |
LArG4SimpleSDtest | , |
|
|
getTimeBin | ) |
|
private |
◆ FRIEND_TEST() [4/11]
| LArG4SimpleSD::FRIEND_TEST |
( |
LArG4SimpleSDtest | , |
|
|
ProcessHits | ) |
|
private |
◆ FRIEND_TEST() [5/11]
| LArG4SimpleSD::FRIEND_TEST |
( |
LArG4SimpleSDtest | , |
|
|
setupHelpers | ) |
|
private |
◆ FRIEND_TEST() [6/11]
| LArG4SimpleSD::FRIEND_TEST |
( |
LArG4SimpleSDtest | , |
|
|
SimpleHit | ) |
|
private |
◆ FRIEND_TEST() [7/11]
| LArG4SimpleSD::FRIEND_TEST |
( |
SDWrappertest | , |
|
|
addFastSimSD | ) |
|
private |
◆ FRIEND_TEST() [8/11]
| LArG4SimpleSD::FRIEND_TEST |
( |
SDWrappertest | , |
|
|
addSD | ) |
|
private |
◆ FRIEND_TEST() [9/11]
◆ FRIEND_TEST() [10/11]
| LArG4SimpleSD::FRIEND_TEST |
( |
SDWrappertest | , |
|
|
Initialize | ) |
|
private |
◆ FRIEND_TEST() [11/11]
| LArG4SimpleSD::FRIEND_TEST |
( |
SDWrappertest | , |
|
|
ProcessHits | ) |
|
private |
◆ getTimeBin()
| G4int LArG4SimpleSD::getTimeBin |
( |
G4double | time | ) |
const |
|
protected |
Helper method for time info.
◆ ProcessHits()
| G4bool LArG4SimpleSD::ProcessHits |
( |
G4Step * | a_step, |
|
|
G4TouchableHistory * | ) |
|
override |
◆ setupHelpers()
Sets the ID helper pointers.
Definition at line 77 of file LArG4SimpleSD.h.
79 {
83 }
const LArHEC_ID * m_larHecID
const LArFCAL_ID * m_larFcalID
const LArEM_ID * m_larEmID
Pointers to the identifier helpers.
◆ SimpleHit()
| G4bool LArG4SimpleSD::SimpleHit |
( |
const LArG4Identifier & | lar_id, |
|
|
G4double | time, |
|
|
G4double | energy ) |
First method translates to this - also for fast sims.
◆ m_calculator
◆ m_larEmID
| const LArEM_ID* LArG4SimpleSD::m_larEmID |
|
protected |
◆ m_larFcalID
◆ m_larHecID
◆ m_numberInvalidHits
| G4int LArG4SimpleSD::m_numberInvalidHits |
|
protected |
◆ m_timeBins
◆ m_timeBinType
◆ m_timeBinWidth
| G4float LArG4SimpleSD::m_timeBinWidth |
|
protected |
Width of the time bins for summing hits - for the uniform binning.
Definition at line 137 of file LArG4SimpleSD.h.
The documentation for this class was generated from the following file: