ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ActsTransformations.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file ActsTransformations.h
1 #ifndef TRACKRECO_ACTSTRANSFORMATIONS_H
2 #define TRACKRECO_ACTSTRANSFORMATIONS_H
3 
4 #include <trackbase/TrkrDefs.h>
7 
12 
13 #include "SvtxTrack.h"
14 
15 #include <ActsExamples/EventData/TrkrClusterMultiTrajectory.hpp>
16 
18 #include <cmath>
19 #include <iostream>
20 #include <memory>
21 #include <utility>
22 
23 class TrkrCluster;
24 
25 using Trajectory = ActsExamples::TrkrClusterMultiTrajectory;
26 
27 
36 {
37  public:
38  ActsTransformations() = default;
39 
45  Acts::GeometryContext geoCtxt) const;
46 
49  const Acts::BoundTrackParameters params,
50  Acts::GeometryContext geoCtxt) const;
51 
52  void setVerbosity(int verbosity) {m_verbosity = verbosity;}
53 
54  void printMatrix(const std::string &message, Acts::BoundSymMatrix matrix) const;
55 
59  Acts::Vector3D vertex,
61  Acts::GeometryContext geoCtxt,
62  float &dca3Dxy,
63  float &dca3Dz,
64  float &dca3DxyCov,
65  float &dca3DzCov) const;
66 
67  void fillSvtxTrackStates(const Trajectory& traj,
68  const size_t &trackTip,
69  SvtxTrack *svtxTrack,
71 
73  ActsSurfaceMaps* surfMaps,
76  ActsSurfaceMaps* surfMaps,
79  ActsSurfaceMaps* surfMaps) const;
80 
81  private:
82  int m_verbosity = 0;
83 
85  ActsSurfaceMaps *maps) const;
87  TrkrDefs::subsurfkey surfkey,
88  ActsSurfaceMaps *maps) const;
90  ActsSurfaceMaps *maps) const;
91 
92 
93 };
94 
95 
96 #endif