ATLAS Offline Software
Loading...
Searching...
No Matches
FastCaloSimCaloTransportation.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 FastCaloSimCaloTransportation_H
6#define FastCaloSimCaloTransportation_H
7
9// ISF includes
12// ATLAS tracking tools includes
15
16class ITimedExtrapolator;
17class TFCSTruthState;
18class G4FieldTrack;
19
20class FastCaloSimCaloTransportation: public extends<AthAlgTool, IFastCaloSimCaloTransportation>
21{
22
23public:
24
25 FastCaloSimCaloTransportation(const std::string& t, const std::string& n, const IInterface* p);
27
28 virtual StatusCode initialize() override final;
29 virtual StatusCode finalize() override final;
30
31 virtual std::vector<G4FieldTrack> transport(const TFCSTruthState* truth, bool forceNeutral = false) const override final;
32
34
35 // Converts a vector of Trk::HitInfo elements to a vector of G4FieldTrack
36 std::vector<G4FieldTrack> convertToFieldTrack(const std::vector<Trk::HitInfo>& vec) const;
37 // Main extrapolation tool for transporting particles in magnetic field through calorimter system using ATLAS tracking tool
38 PublicToolHandle<Trk::ITimedExtrapolator> m_extrapolator{this, "Extrapolator", "TimedExtrapolator"};
39 // Calo entrance and particle hypothesis for transportation
41 StringProperty m_caloEntranceName{this, "CaloEntrance", ""};
43};
44
45#endif // FastCaloSimCaloTransportation_H
Cached pointer with atomic update.
std::vector< size_t > vec
virtual std::vector< G4FieldTrack > transport(const TFCSTruthState *truth, bool forceNeutral=false) const override final
Trk::PdgToParticleHypothesis m_pdgToParticleHypothesis
virtual StatusCode initialize() override final
CxxUtils::CachedPointer< const Trk::TrackingVolume > m_caloEntrance
FastCaloSimCaloTransportation(const std::string &t, const std::string &n, const IInterface *p)
virtual StatusCode finalize() override final
PublicToolHandle< Trk::ITimedExtrapolator > m_extrapolator
std::vector< G4FieldTrack > convertToFieldTrack(const std::vector< Trk::HitInfo > &vec) const
small converter from the (abs) PDG code to the particle hypothsis used in Tracking
Ensure that the ATLAS eigen extensions are properly loaded.
STL namespace.
#define protected
Definition testRead.cxx:26
Cached pointer with atomic update.