Class Reference for E1039 Core & Analysis Software
PHG4Utils.h
Go to the documentation of this file.
1 #ifndef PHG4Utils__H
2 #define PHG4Utils__H
3 
4 #include <string>
5 
6 class G4VisAttributes;
7 
8 class PHG4Utils
9 {
10  public:
11  static double GetLengthForRapidityCoverage( const double radius, const double eta );
12  static double GetLengthForRapidityCoverage( const double radius);
13  static void SetPseudoRapidityCoverage( const double eta);
14  static void SetColour(G4VisAttributes* att, const std::string &mat);
15  static double get_theta(const double eta);
16  static double get_eta(const double theta);
17  static std::pair<double, double> get_etaphi(const double x, const double y, const double z);
18  static double get_eta(const double radius, const double z);
19 
20  private:
21  static double _eta_coverage;
22 
23 };
24 
25 #endif
static void SetColour(G4VisAttributes *att, const std::string &mat)
Definition: PHG4Utils.cc:75
static double get_eta(const double theta)
Definition: PHG4Utils.cc:40
static double GetLengthForRapidityCoverage(const double radius, const double eta)
Definition: PHG4Utils.cc:12
static void SetPseudoRapidityCoverage(const double eta)
Definition: PHG4Utils.cc:27
static std::pair< double, double > get_etaphi(const double x, const double y, const double z)
Definition: PHG4Utils.cc:47
static double get_theta(const double eta)
Definition: PHG4Utils.cc:33