ATLAS Offline Software
|
Base class for all proton reconstruction tools. More...
#include <AFP_ProtonRecoBase.h>
Classes | |
struct | Measurement |
Local class for storing tracks positions. More... | |
Public Member Functions | |
AFP_ProtonRecoBase (const std::string &type, const std::string &name, const IInterface *parent) | |
Default constructor. More... | |
const std::string & | outputContainerName () const override |
StatusCode | doProtonReco (std::unique_ptr< xAOD::AFPProtonContainer > &outputContainer, const EventContext &ctx) const override |
Protected Types | |
using | Momentum = std::array< double, 3 > |
3-momentum of reconstructed proton More... | |
Protected Member Functions | |
xAOD::AFPProton * | createProton (const Momentum &momentum, const Measurement &my_measAFP, const int algID, std::unique_ptr< xAOD::AFPProtonContainer > &outputContainer) const |
Creates and sets up a proton. More... | |
void | linkTracksToProton (const xAOD::AFPTrack *track, SG::ReadHandle< xAOD::AFPTrackContainer > &trackContainer, xAOD::AFPProton *proton) const |
Links track pair to reconstructed proton. More... | |
virtual xAOD::AFPProton * | reco (const xAOD::AFPTrack *, const xAOD::AFPTrack *, std::unique_ptr< xAOD::AFPProtonContainer > &) const |
virtual xAOD::AFPProton * | reco (const xAOD::AFPTrack *, std::unique_ptr< xAOD::AFPProtonContainer > &) const |
virtual double | chi2 (double, double, double, const Measurement &) const |
Protected Attributes | |
Gaudi::Property< std::vector< double > > | m_detectorPositions {this, "detectorPositions", {}, "absolute values of detector positions for each station on one side"} |
Gaudi::Property< int > | m_side {this, "side", 0, "side id, A=0, C=1"} |
Gaudi::Property< double > | m_trackDistance {this, "trackDistance", 2.0, "Maximum distance between tracks in the near and the far station on xy-plane"} |
Gaudi::Property< bool > | m_allowSingleStationReco {this, "allowSingleStationReco", false, "Switch for allowing proton reconstruction using only far station"} |
SG::ReadHandleKey< xAOD::AFPTrackContainer > | m_trackContainerKey {this, "AFPTrackContainerKey", "AFPTrackContainer", "Name of the container with tracks of hits from which protons are to be reconstructed"} |
Gaudi::Property< std::string > | m_protonsContainerName {this, "protonsContainerName", "AFPProtonContainer", "Name of the container in which protons are saved"} |
double | m_detectorPositionNear = 0.0 |
Default position of AFP near station. More... | |
double | m_detectorPositionFar = 0.0 |
Default position of AFP far station. More... | |
const std::vector< double > | m_vertexIP = {0, 0, 0} |
Vertex position. More... | |
Static Protected Attributes | |
static constexpr double | m_xSigma = 10e-6 |
x-Sigma value More... | |
static constexpr double | m_ySigma = 30e-6 |
y-Sigma value More... | |
Base class for all proton reconstruction tools.
Definition at line 34 of file AFP_ProtonRecoBase.h.
|
protected |
3-momentum of reconstructed proton
Definition at line 83 of file AFP_ProtonRecoBase.h.
AFP_ProtonRecoBase::AFP_ProtonRecoBase | ( | const std::string & | type, |
const std::string & | name, | ||
const IInterface * | parent | ||
) |
|
inlineprotectedvirtual |
Reimplemented in AFP_ProtonRecoAnalytical.
Definition at line 120 of file AFP_ProtonRecoBase.h.
|
protected |
Creates and sets up a proton.
Definition at line 94 of file AFP_ProtonRecoBase.cxx.
|
override |
Definition at line 16 of file AFP_ProtonRecoBase.cxx.
|
protected |
|
inlineoverride |
Definition at line 41 of file AFP_ProtonRecoBase.h.
|
inlineprotectedvirtual |
Reimplemented in AFP_ProtonRecoAnalytical.
Definition at line 108 of file AFP_ProtonRecoBase.h.
|
inlineprotectedvirtual |
Reimplemented in AFP_ProtonRecoAnalytical.
Definition at line 113 of file AFP_ProtonRecoBase.h.
|
protected |
Definition at line 76 of file AFP_ProtonRecoBase.h.
|
protected |
Default position of AFP far station.
Definition at line 95 of file AFP_ProtonRecoBase.h.
|
protected |
Default position of AFP near station.
Definition at line 92 of file AFP_ProtonRecoBase.h.
|
protected |
Definition at line 70 of file AFP_ProtonRecoBase.h.
|
protected |
Definition at line 80 of file AFP_ProtonRecoBase.h.
Definition at line 72 of file AFP_ProtonRecoBase.h.
|
protected |
Definition at line 78 of file AFP_ProtonRecoBase.h.
|
protected |
Definition at line 74 of file AFP_ProtonRecoBase.h.
|
protected |
Vertex position.
Definition at line 105 of file AFP_ProtonRecoBase.h.
|
staticconstexprprotected |
x-Sigma value
Definition at line 98 of file AFP_ProtonRecoBase.h.
|
staticconstexprprotected |
y-Sigma value
Definition at line 101 of file AFP_ProtonRecoBase.h.