Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
TrackProjectorPlaneECAL.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file TrackProjectorPlaneECAL.h
1 #ifndef __TRACKPROJECTORPlaneECAL_H_
2 #define __TRACKPROJECTORPlaneECAL_H_
3 
4 /* STL includes */
5 
9 
10 #include <string>
11 #include <memory>
12 
13 /* Forward declarations */
14 class PHCompositeNode;
15 class PHFieldUtility;
16 class SvtxTrack;
17 class SvtxTrackState;
18 class RawCluster;
19 class SvtxTrackMap;
20 
21 namespace PHGenFit{
22  class Fitter;
23 }
24 
25 namespace genfit{
27 }
28 
30 
31 public:
32 
35 
37 
38  bool get_projected_position( SvtxTrack_FastSim * track, RawCluster* cluster, double arr_pos[3], const PROJECTION_SURFACE surf, const float surface_par ); // Get mean track position
39 
40  bool get_projected_momentum( SvtxTrack_FastSim * track, RawCluster* cluster, double arr_mom[3], const PROJECTION_SURFACE surf, const float surface_par ); // Get momentum of track
41 
42  SvtxTrack_FastSim * get_best_track( SvtxTrackMap * trackmap, RawCluster* cluster); // Get track closest to cluster (within deltaR)
43 
45 
46  char get_detector(); // Return capitalized letter of detector
47 
48  SvtxTrackState* project_track( SvtxTrack_FastSim * track, RawCluster* cluster, const PROJECTION_SURFACE surf, const float surface_par );
49 
50  void set_detector( char c ); //Sets the detector name
51 
52  char get_detector_from_cluster( RawCluster* cluster);
53 private:
54 
57 
58 };
59 
60 #endif