ATLAS Offline Software
Loading...
Searching...
No Matches
SpacepointFeatureTool.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3*/
4
5#pragma once
6
7// System include(s).
8#include <list>
9#include <iostream>
10#include <memory>
11#include <vector>
12#include <string>
13#include <map>
14
20
21
22namespace InDet{
28
29 class SpacepointFeatureTool: public extends<AthAlgTool, ISpacepointFeatureTool>
30 {
31 public:
32 SpacepointFeatureTool(const std::string& type, const std::string& name, const IInterface* parent);
33
34 StatusCode initialize() override final;
35
36 virtual std::map<std::string, float> getFeatures(const Trk::SpacePoint*) const override final;
37
38 protected:
39
43
45 const SCT_ID *m_SCT_ID{};
46
47 private:
48 void cartesion_to_spherical(const Amg::Vector3D &xyzVec, float &eta_, float &phi_) const;
49 StatusCode getSCTClusterShapeInfo_fn(const InDet::SiCluster *si_cluster,
50 float &charge_count, int &pixel_count, float &loc_eta, float &loc_phi,
51 float &glob_eta, float &glob_phi,
52 float &localDir0, float &localDir1, float &localDir2,
53 float &lengthDir0, float &lengthDir1, float &lengthDir2,
54 float &eta_angle, float &phi_angle
55 ) const;
56 };
57
58}
This is an Identifier helper class for the Pixel subdetector.
This is an Identifier helper class for the SCT subdetector.
virtual std::map< std::string, float > getFeatures(const Trk::SpacePoint *) const override final
SpacepointFeatureTool(const std::string &type, const std::string &name, const IInterface *parent)
SpacepointFeatureTool & operator=(const SpacepointFeatureTool &)=delete
SpacepointFeatureTool(const SpacepointFeatureTool &)=delete
StatusCode initialize() override final
StatusCode getSCTClusterShapeInfo_fn(const InDet::SiCluster *si_cluster, float &charge_count, int &pixel_count, float &loc_eta, float &loc_phi, float &glob_eta, float &glob_phi, float &localDir0, float &localDir1, float &localDir2, float &lengthDir0, float &lengthDir1, float &lengthDir2, float &eta_angle, float &phi_angle) const
void cartesion_to_spherical(const Amg::Vector3D &xyzVec, float &eta_, float &phi_) const
This is an Identifier helper class for the Pixel subdetector.
Definition PixelID.h:67
This is an Identifier helper class for the SCT subdetector.
Definition SCT_ID.h:68
Eigen::Matrix< double, 3, 1 > Vector3D
Primary Vertex Finder.