ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Tracking
Acts
ActsMaterial
src
Acts/ActsMaterial/src/MaterialValidation.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 ACTSMATERIAL_MATERIALVALIDATION_H
6
#define ACTSMATERIAL_MATERIALVALIDATION_H
7
8
9
#include "
AthenaBaseComps/AthReentrantAlgorithm.h
"
10
11
#include "GaudiKernel/ServiceHandle.h"
12
#include "
StoreGate/ReadHandleKey.h
"
13
#include "
ActsGeometryInterfaces/ITrackingGeometrySvc.h
"
14
#include "
ActsGeometry/RecordedMaterialTrackCollection.h
"
15
#include "
AthenaKernel/IAthRNGSvc.h
"
16
17
#include "Acts/Material/MaterialValidator.hpp"
18
19
namespace
ActsTrk
{
26
27
class
MaterialValidation
:
public
AthReentrantAlgorithm
{
28
public
:
29
MaterialValidation
(
const
std::string &name, ISvcLocator *pSvcLocator);
30
virtual
StatusCode
initialize
()
override
;
31
virtual
StatusCode
execute
(
const
EventContext& ctx)
const override
;
32
virtual
~MaterialValidation
();
33
34
private
:
36
std::shared_ptr<Acts::MaterialValidator>
m_materialValidator
;
38
ServiceHandle<IAthRNGSvc>
m_rndmGenSvc
{
this
,
"AthRNGSvc"
,
"AthRNGSvc"
,
"The random number service"
};
40
Gaudi::Property<size_t>
m_nTracks
{
this
,
"NumberOfTracks"
, 1000,
"Number of tracks to use per event"
};
42
Gaudi::Property<std::pair<double, double>>
m_etaRange
{
this
,
"EtaRange"
, {-4.5, 4.5},
"The eta range for tracks"
};
43
45
ServiceHandle<ActsTrk::ITrackingGeometrySvc>
m_trackingGeometrySvc
{
this
,
"TrackingGeometrySvc"
,
"ActsTrackingGeometrySvc"
,
"The ACTS geometry service for the geometry context"
};
46
48
SG::WriteHandleKey<RecordedMaterialTrackCollection>
m_materialTrackCollectionKey
{
this
,
"MaterialTrackCollectionKey"
,
"OutputMaterialTracks"
,
"Name of the output RecordedMaterialTrackCollection"
};
49
};
50
}
51
52
#endif
ITrackingGeometrySvc.h
AthReentrantAlgorithm.h
IAthRNGSvc.h
RecordedMaterialTrackCollection.h
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
ActsTrk::MaterialValidation::initialize
virtual StatusCode initialize() override
Definition
Acts/ActsMaterial/src/MaterialValidation.cxx:20
ActsTrk::MaterialValidation::execute
virtual StatusCode execute(const EventContext &ctx) const override
Definition
Acts/ActsMaterial/src/MaterialValidation.cxx:55
ActsTrk::MaterialValidation::m_rndmGenSvc
ServiceHandle< IAthRNGSvc > m_rndmGenSvc
The random number service.
Definition
Acts/ActsMaterial/src/MaterialValidation.h:38
ActsTrk::MaterialValidation::m_materialTrackCollectionKey
SG::WriteHandleKey< RecordedMaterialTrackCollection > m_materialTrackCollectionKey
The RecordedMaterialTrackCollection to write.
Definition
Acts/ActsMaterial/src/MaterialValidation.h:48
ActsTrk::MaterialValidation::~MaterialValidation
virtual ~MaterialValidation()
Definition
Acts/ActsMaterial/src/MaterialValidation.cxx:17
ActsTrk::MaterialValidation::m_etaRange
Gaudi::Property< std::pair< double, double > > m_etaRange
The eta range for track generation.
Definition
Acts/ActsMaterial/src/MaterialValidation.h:42
ActsTrk::MaterialValidation::m_trackingGeometrySvc
ServiceHandle< ActsTrk::ITrackingGeometrySvc > m_trackingGeometrySvc
The tracking geometry service to retrive the geometry context and material surfaces.
Definition
Acts/ActsMaterial/src/MaterialValidation.h:45
ActsTrk::MaterialValidation::m_materialValidator
std::shared_ptr< Acts::MaterialValidator > m_materialValidator
The material validator from the ACTS core components.
Definition
Acts/ActsMaterial/src/MaterialValidation.h:36
ActsTrk::MaterialValidation::m_nTracks
Gaudi::Property< size_t > m_nTracks
The number of tracks to use per event.
Definition
Acts/ActsMaterial/src/MaterialValidation.h:40
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition
AthReentrantAlgorithm.h:74
SG::WriteHandleKey
Property holding a SG store/key/clid from which a WriteHandle is made.
Definition
StoreGate/StoreGate/WriteHandleKey.h:40
ServiceHandle
Definition
ClusterMakerTool.h:36
ActsTrk
The AlignStoreProviderAlg loads the rigid alignment corrections and pipes them through the readout ge...
Definition
MdtCalibInput.h:31
MaterialValidation
Definition
MaterialValidation.py:1
Generated on
for ATLAS Offline Software by
1.17.0