ATLAS Offline Software
Loading...
Searching...
No Matches
Simulation
ISF
ISF_Fatras
ISF_FatrasToolsID
src
SimHitCreatorID.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef FATRASTOOLSID_SIMHITCREATORID_H
6
#define FATRASTOOLSID_SIMHITCREATORID_H
7
8
// GaudiKernel & Athena
9
#include "
AthenaBaseComps/AthAlgTool.h
"
10
#include "
AthenaKernel/IAtRndmGenSvc.h
"
11
#include "
CxxUtils/checker_macros.h
"
12
#include "GaudiKernel/RndmGenerators.h"
13
#include "GaudiKernel/ToolHandle.h"
14
#include "GaudiKernel/ServiceHandle.h"
15
#include "
AthContainers/DataVector.h
"
16
17
// Fatras
18
#include "
ISF_FatrasInterfaces/ISimHitCreator.h
"
19
#include "
ISF_FatrasInterfaces/IHitCreator.h
"
20
21
// STL
22
#include <utility>
23
24
class
AtlasDetectorID
;
25
26
namespace
iFatras
{
27
36
37
class
ATLAS_NOT_THREAD_SAFE
SimHitCreatorID
:
public
extends<AthAlgTool, ISimHitCreator>
// deprecated: ATLASSIM-6020
38
{
39
public
:
41
SimHitCreatorID
(
const
std::string&,
const
std::string&,
const
IInterface*);
42
44
~SimHitCreatorID
();
45
47
StatusCode
initialize
();
48
51
void
createHits
(
const
ISF::ISFParticle
& isp,
52
const
std::vector<Trk::HitInfo>& hits)
const
;
53
54
private
:
56
PublicToolHandle<iFatras::IHitCreator>
m_pixelHitCreator
{
this
,
"PixelHitCreator"
,
""
};
57
PublicToolHandle<iFatras::IHitCreator>
m_sctHitCreator
{
this
,
"SctHitCreator"
,
""
};
58
PublicToolHandle<iFatras::IHitCreator>
m_trtHitCreator
{
this
,
"TrtHitCreator"
,
""
};
60
std::string
m_idHelperName
{
"AtlasID"
};
61
const
AtlasDetectorID
*
m_idHelper
{};
62
63
};
64
}
// end of iFatras namespace
65
66
#endif
AthAlgTool.h
DataVector.h
An STL vector of pointers that by default owns its pointed-to elements.
IAtRndmGenSvc.h
IHitCreator.h
ISimHitCreator.h
checker_macros.h
Define macros for attributes used to control the static checker.
ATLAS_NOT_THREAD_SAFE
#define ATLAS_NOT_THREAD_SAFE
getNoisyStrip() Find noisy strips from hitmaps and write out into xml/db formats
Definition
checker_macros.h:212
AtlasDetectorID
This class provides an interface to generate or decode an identifier for the upper levels of the dete...
Definition
AtlasDetectorID.h:52
ISF::ISFParticle
The generic ISF particle definition,.
Definition
ISFParticle.h:42
iFatras::SimHitCreatorID::SimHitCreatorID
SimHitCreatorID(const std::string &, const std::string &, const IInterface *)
Constructor.
Definition
SimHitCreatorID.cxx:37
iFatras::SimHitCreatorID::createHits
void createHits(const ISF::ISFParticle &isp, const std::vector< Trk::HitInfo > &hits) const
Loop over the hits and call the hit creator, provide the ISF::StackParticle to register the hits.
Definition
SimHitCreatorID.cxx:66
iFatras::SimHitCreatorID::m_idHelperName
std::string m_idHelperName
Used to find out the sub-det from.
Definition
SimHitCreatorID.h:60
iFatras::SimHitCreatorID::m_pixelHitCreator
PublicToolHandle< iFatras::IHitCreator > m_pixelHitCreator
Cluster creator AlgTool.
Definition
SimHitCreatorID.h:56
iFatras::SimHitCreatorID::m_idHelper
const AtlasDetectorID * m_idHelper
Definition
SimHitCreatorID.h:61
iFatras::SimHitCreatorID::m_sctHitCreator
PublicToolHandle< iFatras::IHitCreator > m_sctHitCreator
Definition
SimHitCreatorID.h:57
iFatras::SimHitCreatorID::m_trtHitCreator
PublicToolHandle< iFatras::IHitCreator > m_trtHitCreator
Definition
SimHitCreatorID.h:58
iFatras
Definition
ActsFatrasSimTool.h:57
initialize
void initialize()
Definition
run_EoverP.cxx:894
Generated on
for ATLAS Offline Software by
1.14.0