ATLAS Offline Software
Loading...
Searching...
No Matches
CaloCellContainerSDTool.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef ISF_FASTCALOSIMPARAMETRIZATION_CALOCELLCONTAINERTOOL_H
6#define ISF_FASTCALOSIMPARAMETRIZATION_CALOCELLCONTAINERTOOL_H
7
8// Base class header
10
11/* Fast hit converter include to take into account sampling fractions */
13
14class G4VSensitiveDetector;
15
17{
18public:
19 // Constructor
20 CaloCellContainerSDTool(const std::string& type, const std::string& name, const IInterface* parent);
21 // Destructor
23
24 StatusCode initialize() override final;
26 StatusCode SetupEvent(HitCollectionMap&) override final;
28 StatusCode Gather(HitCollectionMap&) override final;
29
31 // Make me an SD!
32 G4VSensitiveDetector* makeSD() const override final;
35
36};
37
38#endif //ISF_FASTCALOSIMPARAMETRIZATION_CALOCELLCONTAINERTOOL_H
#define protected
G4VSensitiveDetector * makeSD() const override final
PublicToolHandle< ICaloCellMakerTool > m_EmptyCellBuilderTool
StatusCode initialize() override final
StatusCode SetupEvent(HitCollectionMap &) override final
Beginning of an athena event.
StatusCode Gather(HitCollectionMap &) override final
End of an athena event.
PublicToolHandle< ICaloCellMakerTool > m_FastHitConvertTool
CaloCellContainerSDTool(const std::string &type, const std::string &name, const IInterface *parent)
Small wrapper around hit collection map to facilitate accessing the hit collection.
SensitiveDetectorBase(const std::string &type, const std::string &name, const IInterface *parent)
Standard constructor.