Analysis Software
Documentation for sPHENIX simulation software
 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>
19 
20 #include <g4hough/SvtxTrack.h>
21 
22 class eic_dual_rich;
23 
24 using namespace std;
25 
26 
27 // SetupDualRICHAnalyzer class //
28 
30 
31  private:
32 
33  public:
34 
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 */
44 
45 };
46 
47 #endif