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
RICHParticleID.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file RICHParticleID.h
1
#ifndef __RICHParticleID_H__
2
#define __RICHParticleID_H__
3
4
#include <
fun4all/SubsysReco.h
>
5
#include <math.h>
6
7
class
TTree;
8
class
TFile;
9
class
TH1D;
10
11
class
PHCompositeNode
;
12
class
PHG4TruthInfoContainer
;
13
class
PHG4Hit
;
14
class
PHG4HitContainer
;
15
class
SvtxTrackMap
;
16
class
SvtxTrack
;
17
18
class
PidInfoContainer
;
19
class
TrackProjectorPid
;
20
class
SetupDualRICHAnalyzer
;
21
class
PIDProbabilities
;
22
23
class
RICHParticleID
:
public
SubsysReco
24
{
25
26
public
:
27
28
RICHParticleID
(
std::string
richname,
std::string
tracksname);
29
30
int
31
Init
(
PHCompositeNode
*);
32
int
33
InitRun
(
PHCompositeNode
*);
34
int
35
process_event
(
PHCompositeNode
*);
36
int
37
End
(
PHCompositeNode
*);
38
39
/* set refractive index of RICH radiator */
40
void
set_refractive_index
(
float
newidx )
41
{
42
_refractive_index
= newidx;
43
return
;
44
}
45
46
private
:
47
void
CreateNodes
(
PHCompositeNode
*topNode);
48
49
bool
_verbose
;
50
51
int
_ievent
;
52
53
/* RICH detecto name */
54
std::string
_detector
;
55
56
/* Collection storing track information */
57
std::string
_trackmap_name
;
58
59
/* Hit collection storing RICH photon hits */
60
std::string
_richhits_name
;
61
62
/* Node name for node to store PID infos */
63
std::string
_pidinfo_node_name
;
64
65
/* Refractive index of RICH radiator */
66
float
_refractive_index
;
67
68
/* Collection to store PidInfos for each track on node tree */
69
PidInfoContainer
*
_pidinfos
;
70
71
/* track projector object */
72
TrackProjectorPid
*
_trackproj
;
73
74
/* acquire object */
75
SetupDualRICHAnalyzer
*
_acquire
;
76
77
/* particleid object */
78
PIDProbabilities
*
_particleid
;
79
80
/* Radius for track extrapolation */
81
float
_radius
;
82
83
};
84
85
#endif // __RICHParticleID_H__
analysis
blob
master
ParticleID
RICHAnalysis
RICHParticleID.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:17:54
using
1.8.2 with
sPHENIX GitHub integration