Analysis Software
Documentation for
sPHENIX
simulation software
Home page
Related Pages
Modules
Namespaces
Classes
Files
Examples
External Links
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
TrackProjectorPid.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file TrackProjectorPid.h
1
#ifndef __TRACKPROJECTORPID_H_
2
#define __TRACKPROJECTORPID_H_
3
4
/* STL includes */
5
#include <string>
6
#include <memory>
7
8
/* Forward declarations */
9
class
PHCompositeNode
;
10
class
PHFieldUtility
;
11
class
SvtxTrack
;
12
class
SvtxTrackState
;
13
14
namespace
PHGenFit{
15
class
Fitter;
16
}
17
18
namespace
genfit{
19
class
MeasuredStateOnPlane;
20
}
21
26
class
TrackProjectorPid
{
27
28
public
:
29
30
enum
PROJECTION_SURFACE
{
SPHERE
,
CYLINDER
,
PLANEXY
};
31
32
TrackProjectorPid
(
PHCompositeNode
* topNode );
33
34
bool
get_projected_position
(
SvtxTrack
* track,
double
arr_pos[3],
const
PROJECTION_SURFACE
surf
,
const
float
surface_par );
// Get mean track position
35
36
bool
get_projected_momentum
(
SvtxTrack
* track,
double
arr_mom[3],
const
PROJECTION_SURFACE
surf
,
const
float
surface_par );
// Get momentum of track
37
38
SvtxTrackState
*
project_track
(
SvtxTrack
* track,
const
PROJECTION_SURFACE
surf
,
const
float
surface_par );
39
40
bool
is_in_RICH
(
double
momv[3] );
// Check if track pass through RICH
41
42
private
:
43
44
PHGenFit::Fitter
*
_fitter
;
45
};
46
47
#endif
analysis
blob
master
ParticleID
RICHAnalysis
TrackProjectorPid.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:17:54
using
1.8.2 with
sPHENIX GitHub integration