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
SetupDualRICHAnalyzer.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file SetupDualRICHAnalyzer.h
1
#ifndef __SETUPDUALRICHANALYZER_H_
2
#define __SETUPDUALRICHANALYZER_H_
3
4
#include <stdio.h>
5
#include <fstream>
6
#include <iostream>
7
#include <iomanip>
8
#include <sstream>
9
#include <string>
10
#include <vector>
11
12
#include <cmath>
13
14
#include <
g4main/PHG4Hit.h
>
15
#include <
g4main/PHG4Particle.h
>
16
#include <
g4main/PHG4VtxPoint.h
>
17
#include <
g4main/PHG4HitContainer.h
>
18
#include <
g4main/PHG4TruthInfoContainer.h
>
19
20
#include <g4hough/SvtxTrack.h>
21
22
class
eic_dual_rich
;
23
24
using namespace
std;
25
26
27
// SetupDualRICHAnalyzer class //
28
29
class
SetupDualRICHAnalyzer
{
30
31
private
:
32
33
public
:
34
35
SetupDualRICHAnalyzer
();
36
37
double
calculate_emission_angle(
double
m_emi[3],
double
momv[3],
PHG4Hit
* hit );
// Calculate emission angle from IRT
38
39
bool
get_true_momentum(
PHG4TruthInfoContainer
* truthinfo,
SvtxTrack
* track,
double
arr_mom[3] );
// Get truth momentum of track
40
bool
get_emission_momentum(
PHG4TruthInfoContainer
* truthinfo,
PHG4HitContainer
* richhits,
SvtxTrack
* track,
double
arr_mom[3] );
// Get momentum from emission points
41
42
/* analyzer object */
43
eic_dual_rich
*
_analyzer
;
44
45
};
46
47
#endif
analysis
blob
master
ParticleID
RICHAnalysis
SetupDualRICHAnalyzer.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:17:54
using
1.8.2 with
sPHENIX GitHub integration