|
ATLAS Offline Software
|
Go to the documentation of this file.
11 #ifndef TRKVERTEXSEEDFINDERUTILS_GAUSSIANDENSITYTESTALG_H
12 #define TRKVERTEXSEEDFINDERUTILS_GAUSSIANDENSITYTESTALG_H 1
21 #include "GaudiKernel/ToolHandle.h"
22 #include "GaudiKernel/ServiceHandle.h"
23 #include "GaudiKernel/ITHistSvc.h"
77 const std::vector<Trk::ITrackLink*>& trackVector,
78 std::vector<Amg::Vector3D>& truth,
80 TH1* h_modeCheck)
const;
89 static void analyzeTracks(
const std::vector<Trk::ITrackLink*> & trackVector, std::vector<const Trk::TrackParameters*>& perigeeList);
97 "SignificanceTruthCut",
99 "Reco track must pass within this many sigma of pp vertex to be good" };
102 "MinTruthVertexTracks",
104 "Minimum associated reconstructed tracks for vertex to be considered visible" };
110 ToolHandle< InDet::IInDetTrackSelectionTool >
m_trackFilter {
this,
"TrackSelector",
111 "InDet::InDetTrackSelectionTool/InDetDetailedTrackSelectionTool",
112 "Track selection tool" } ;
114 ToolHandle< Trk::IVertexTrackDensityEstimator >
m_estimator {
this,
"Estimator",
"Trk::GaussianTrackDensity",
115 "Track density function" };
117 ToolHandle< Trk::ITrackToVertexIPEstimator >
m_ipEstimator {
this,
"IPEstimator",
"Trk::TrackToVertexIPEstimator",
118 "Impact point estimator" };
127 "Input track particle collection" };
130 "Key for truth event collection" };
133 "Key for truth pileup event collection" };
145 #endif //> !TRKVERTEXSEEDFINDERUTILS_IMAGINGSEEDTUNINGALG_H
virtual StatusCode finalize()
void selectTracks(const xAOD::TrackParticleContainer *trackParticles, std::vector< Trk::ITrackLink * > &trackVector)
ToolHandle< InDet::IInDetTrackSelectionTool > m_trackFilter
ToolHandle< Trk::IVertexTrackDensityEstimator > m_estimator
virtual StatusCode execute()
static void analyzeTracks(const std::vector< Trk::ITrackLink * > &trackVector, std::vector< const Trk::TrackParameters * > &perigeeList)
ServiceHandle< ITHistSvc > m_iTHistSvc
SG::ReadHandleKey< xAOD::TrackParticleContainer > m_trackParticlesKey
Data handle keys.
::StatusCode StatusCode
StatusCode definition for legacy code.
SG::ReadHandleKey< xAOD::TruthEventContainer > m_truthEventsKey
Gaudi::Property< double > m_significanceTruthCut
Ensure that the ATLAS eigen extensions are properly loaded.
Eigen::Matrix< double, 3, 1 > Vector3D
Gaudi::Property< int > m_truthVertexTracks
StatusCode findTruth(double mode, const std::vector< Trk::ITrackLink * > &trackVector, std::vector< Amg::Vector3D > &truth, TH1 *h_truthDensity, TH1 *h_modeCheck) const
SG::ReadCondHandleKey< InDet::BeamSpotData > m_beamSpotKey
SG::ReadHandleKey< xAOD::TruthPileupEventContainer > m_pileupEventsKey
virtual ~GaussianDensityTestAlg()
Destructor:
ToolHandle< Trk::ITrackToVertexIPEstimator > m_ipEstimator
TH1 * m_h_density
Histograms and trees.
virtual StatusCode initialize()
double ipSignificance(const Trk::TrackParameters *params, const Amg::Vector3D *vertex) const