ATLAS Offline Software
Loading...
Searching...
No Matches
CaloCellContainerSD.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef ISF_FASTCALOSIMPARAMETRIZATION_CALOCELLCONTAINERSD_H
6#define ISF_FASTCALOSIMPARAMETRIZATION_CALOCELLCONTAINERSD_H
7
8/* Base class header */
9#include "G4VSensitiveDetector.hh"
10/* CaloCellContainer include */
12#include <string>
13
14class G4TouchableHistory;
15class G4HCofThisEvent;
17
18class CaloCellContainerSD : public G4VSensitiveDetector
19{
20public:
21 CaloCellContainerSD(const std::string& name, const std::string& CaloCellContainerName);
23
24 // Initialize from G4.
25 void Initialize(G4HCofThisEvent*) override final;
26
27 // Needs to be implemented, but is not used for this SD
28 G4bool ProcessHits(G4Step*, G4TouchableHistory*) override final;
29
30 // Method to record the cells from a TFCSSimulationState
32
33protected:
35
37 // Non-owning cache set by Initialize; HitCollectionMap owns the container.
39};
40
41#endif // ISF_FASTCALOSIMPARAMETRIZATION_CALOCELLCONTAINERSD_H
void Initialize(G4HCofThisEvent *) override final
CaloCellContainer * m_caloCellContainer
std::string m_caloCellContainerName
G4bool ProcessHits(G4Step *, G4TouchableHistory *) override final
CaloCellContainer * getCaloCellContainer() const
void recordCells(TFCSSimulationState &)
CaloCellContainerSD(const std::string &name, const std::string &CaloCellContainerName)
Container class for CaloCell.