|
ATLAS Offline Software
|
Go to the documentation of this file.
18 : G4VSensitiveDetector(
name ),
19 m_EmptyCellBuilderTool(
"EmptyCellBuilderTool/EmptyCellBuilderTool"),
24 G4Exception(
"CaloCellContainerSD",
"FailedEmptyCellBuilderToolRetrieval", FatalException,
"CaloCellContainerSD: Failed to retrieve the empty cell builder tool.");
36 G4Exception(
"CaloCellContainerSD",
"FailedEmptyCellBuilderToolProcess", FatalException,
"CaloCellContainerSD: Failed to process calo cell container with the empty cell builder tool.");
50 G4Exception(
"CaloCellContainerSD",
"FailedFastHitConvertToolProcess", FatalException,
"CaloCellContainerSD: Failed to process calo cell container with the fast hit convert tool.");
59 G4Exception(
"CaloCellContainerSD",
"UndefinedProcessHitsCall", FatalException,
"CaloCellContainerSD: Call to undefined ProcessHits.");
CaloCellContainerSD(const std::string &name, const std::string &CaloCellContainerName, PublicToolHandle< ICaloCellMakerTool > FastHitConvertTool)
@ VIEW_ELEMENTS
this data object is a view, it does not own its elmts
void recordCells(TFCSSimulationState &)
PublicToolHandle< ICaloCellMakerTool > m_EmptyCellBuilderTool
SG::WriteHandle< CaloCellContainer > m_caloCellContainer
PublicToolHandle< ICaloCellMakerTool > m_FastHitConvertTool
G4bool ProcessHits(G4Step *, G4TouchableHistory *) override final
void EndOfAthenaEvent(const EventContext &ctx)
const CaloCell * findCell(const IdentifierHash theHash) const
fast find method given identifier hash.
virtual bool isValid() override final
Can the handle be successfully dereferenced?
void StartOfAthenaEvent(const EventContext &ctx)
void updateCaloIterators()
fill calo iterators and the index of first and last cell IT IS THE RESPONSABILITY OF THE PRODUCER TO ...
Data object for each calorimeter readout cell.
virtual void addEnergy(float energy)
add energy