ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Simulation
ISF
ISF_FastCaloSim
ISF_FastCaloSimParametrization
src
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
9
#include "
G4AtlasTools/SensitiveDetectorBase.h
"
10
11
/* Fast hit converter include to take into account sampling fractions */
12
#include "
CaloInterface/ICaloCellMakerTool.h
"
13
14
class
G4VSensitiveDetector;
15
16
class
CaloCellContainerSDTool
:
public
SensitiveDetectorBase
17
{
18
public
:
19
// Constructor
20
CaloCellContainerSDTool
(
const
std::string&
type
,
const
std::string& name,
const
IInterface* parent);
21
// Destructor
22
~CaloCellContainerSDTool
() {}
23
24
StatusCode
initialize
() override final;
26
StatusCode
SetupEvent
(
HitCollectionMap
&) override final;
28
StatusCode
Gather
(
HitCollectionMap
&) override final;
29
30
protected
:
31
// Make me an SD!
32
G4VSensitiveDetector*
makeSD
()
const
override final;
33
PublicToolHandle<
ICaloCellMakerTool
>
m_EmptyCellBuilderTool
;
34
PublicToolHandle<
ICaloCellMakerTool
>
m_FastHitConvertTool
;
35
36
};
37
38
#endif
//ISF_FASTCALOSIMPARAMETRIZATION_CALOCELLCONTAINERTOOL_H
ICaloCellMakerTool.h
SensitiveDetectorBase.h
CaloCellContainerSDTool::makeSD
G4VSensitiveDetector * makeSD() const override final
Definition
CaloCellContainerSDTool.cxx:83
CaloCellContainerSDTool::m_EmptyCellBuilderTool
PublicToolHandle< ICaloCellMakerTool > m_EmptyCellBuilderTool
Definition
CaloCellContainerSDTool.h:33
CaloCellContainerSDTool::initialize
StatusCode initialize() override final
Definition
CaloCellContainerSDTool.cxx:27
CaloCellContainerSDTool::~CaloCellContainerSDTool
~CaloCellContainerSDTool()
Definition
CaloCellContainerSDTool.h:22
CaloCellContainerSDTool::SetupEvent
StatusCode SetupEvent(HitCollectionMap &) override final
Beginning of an athena event.
Definition
CaloCellContainerSDTool.cxx:34
CaloCellContainerSDTool::Gather
StatusCode Gather(HitCollectionMap &) override final
End of an athena event.
Definition
CaloCellContainerSDTool.cxx:56
CaloCellContainerSDTool::m_FastHitConvertTool
PublicToolHandle< ICaloCellMakerTool > m_FastHitConvertTool
Definition
CaloCellContainerSDTool.h:34
CaloCellContainerSDTool::CaloCellContainerSDTool
CaloCellContainerSDTool(const std::string &type, const std::string &name, const IInterface *parent)
Definition
CaloCellContainerSDTool.cxx:18
HitCollectionMap
Small wrapper around hit collection map to facilitate accessing the hit collection.
Definition
HitCollectionMap.h:23
ICaloCellMakerTool
Definition
ICaloCellMakerTool.h:19
SensitiveDetectorBase::SensitiveDetectorBase
SensitiveDetectorBase(const std::string &type, const std::string &name, const IInterface *parent)
Standard constructor.
Definition
SensitiveDetectorBase.cxx:17
const
type
protected
#define protected
Definition
testRead.cxx:26
Generated on
for ATLAS Offline Software by
1.17.0