#include <CaloCellContainerSD.h>
Definition at line 21 of file CaloCellContainerSD.h.
◆ CaloCellContainerSD()
| CaloCellContainerSD::CaloCellContainerSD |
( |
const std::string & | name, |
|
|
const std::string & | CaloCellContainerName, |
|
|
PublicToolHandle< ICaloCellMakerTool > | FastHitConvertTool ) |
Definition at line 17 of file CaloCellContainerSD.cxx.
18 : G4VSensitiveDetector( name ),
22{
24 G4Exception("CaloCellContainerSD", "FailedEmptyCellBuilderToolRetrieval", FatalException, "CaloCellContainerSD: Failed to retrieve the empty cell builder tool.");
25 abort();
26 }
27}
PublicToolHandle< ICaloCellMakerTool > m_FastHitConvertTool
PublicToolHandle< ICaloCellMakerTool > m_EmptyCellBuilderTool
SG::WriteHandle< CaloCellContainer > m_caloCellContainer
◆ ~CaloCellContainerSD()
| CaloCellContainerSD::~CaloCellContainerSD |
( |
| ) |
|
|
inline |
◆ EndOfAthenaEvent()
| void CaloCellContainerSD::EndOfAthenaEvent |
( |
const EventContext & | ctx | ) |
|
Definition at line 43 of file CaloCellContainerSD.cxx.
43 {
44
45
47
48
50 G4Exception("CaloCellContainerSD", "FailedFastHitConvertToolProcess", FatalException, "CaloCellContainerSD: Failed to process calo cell container with the fast hit convert tool.");
51 abort();
52 }
53
54 return;
55}
◆ ProcessHits()
| G4bool CaloCellContainerSD::ProcessHits |
( |
G4Step * | , |
|
|
G4TouchableHistory * | ) |
|
finaloverride |
Definition at line 57 of file CaloCellContainerSD.cxx.
57 {
58
59 G4Exception("CaloCellContainerSD", "UndefinedProcessHitsCall", FatalException, "CaloCellContainerSD: Call to undefined ProcessHits.");
60 abort();
61 return true;
62}
◆ recordCells()
Definition at line 65 of file CaloCellContainerSD.cxx.
66{
67
68 for(
const auto& icell : simState.
cells()) {
71 }
72
73}
void addEnergy(float energy)
add energy
◆ StartOfAthenaEvent()
| void CaloCellContainerSD::StartOfAthenaEvent |
( |
const EventContext & | ctx | ) |
|
Definition at line 30 of file CaloCellContainerSD.cxx.
30 {
31
33
34
36 G4Exception("CaloCellContainerSD", "FailedEmptyCellBuilderToolProcess", FatalException, "CaloCellContainerSD: Failed to process calo cell container with the empty cell builder tool.");
37 abort();
38 }
39
40 return;
41}
@ VIEW_ELEMENTS
this data object is a view, it does not own its elmts
◆ m_caloCellContainer
◆ m_EmptyCellBuilderTool
◆ m_FastHitConvertTool
The documentation for this class was generated from the following files: