Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
EpInfo.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file EpInfo.h
1 #ifndef EpInfo_H
2 #define EpInfo_H
3 
4 #define _EpOrderMax 3 // maximum order of EP to worry about.
5 
6 #include "TVector2.h"
7 
11 class EpInfo{
12 
13  // making EpFinder a "friend class" just gives it direct access to the arrays.
14  // But the general User is required to use accessors, since the numbering/index convention can be confusing
15  friend class EpFinder;
16 
17  public:
18  EpInfo();
19  ~EpInfo(){/* no op */};
20 
21  // in the below, when it says "of order," then "order" begins at 1. E.g. order=2 means second-order q vector
22 
23  //-----------------------------------------------------------------------------------------
26  TVector2 RawQ(int order);
27 
28  //-----------------------------------------------------------------------------------------
31  TVector2 PhiWeightedQ(int order);
32 
33  //-----------------------------------------------------------------------------------------
36  double RawPsi(int order);
37 
38  //-----------------------------------------------------------------------------------------
41  double PhiWeightedPsi(int order);
42 
43  //-----------------------------------------------------------------------------------------
46  double PhiWeightedAndShiftedPsi(int order);
47 
48  //-----------------------------------------------------------------------------------------
54  double SWRaw(int order);
55 
56  //-----------------------------------------------------------------------------------------
62  double SWPhiWeighted(int order);
63 
64  private:
65 
66  bool ArgumentOutOfBounds(int order);
67 
68  double Range(double psi, int order);
69 
70  double QrawOneSide[_EpOrderMax][2];
72  double PsiRaw[_EpOrderMax];
77 
78 };
79 
80 #endif