EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
#include <fun4all_coresoftware/blob/master/simulation/g4simulation/g4main/PHG4Utils.h>
Static Public Member Functions | |
static double | GetLengthForRapidityCoverage (const double radius, const double eta) |
static double | GetLengthForRapidityCoverage (const double radius) |
static void | SetPseudoRapidityCoverage (const double eta) |
static void | SetColour (G4VisAttributes *att, const std::string &mat) |
static double | get_theta (const double eta) |
static double | get_eta (const double theta) |
static std::pair< double, double > | get_etaphi (const double x, const double y, const double z) |
static double | get_eta (const double radius, const double z) |
static std::pair< bool, double > | line_and_rectangle_intersect (double ax, double ay, double bx, double by, double cx, double cy, double dx, double dy) |
static std::pair< bool, std::pair< double, double > > | lines_intersect (double ax, double ay, double bx, double by, double cx, double cy, double dx, double dy) |
static double | circle_rectangle_intersection (double x1, double y1, double x2, double y2, double mx, double my, double r) |
static double | sA (double r, double x, double y) |
static std::string | md5sum (const std::string &filename) |
Static Private Attributes | |
static double | _eta_coverage = 1. |
Definition at line 11 of file PHG4Utils.h.
View newest version in sPHENIX GitHub at line 11 of file PHG4Utils.h
|
static |
Definition at line 377 of file PHG4Utils.cc.
View newest version in sPHENIX GitHub at line 377 of file PHG4Utils.cc
Referenced by PHG4MvtxHitReco::process_event(), and PHG4InttHitReco::process_event().
|
static |
Definition at line 54 of file PHG4Utils.cc.
View newest version in sPHENIX GitHub at line 54 of file PHG4Utils.cc
References Acts::VectorHelpers::eta().
Referenced by PHG4BlockCellReco::InitRun(), PHG4CylinderCellReco::InitRun(), and PHG4SimpleEventGenerator::process_event().
|
static |
Definition at line 75 of file PHG4Utils.cc.
View newest version in sPHENIX GitHub at line 75 of file PHG4Utils.cc
References Acts::VectorHelpers::eta(), and theta().
|
static |
Definition at line 61 of file PHG4Utils.cc.
View newest version in sPHENIX GitHub at line 61 of file PHG4Utils.cc
References Acts::VectorHelpers::eta(), phi, G4BECAL::radius, and theta().
Referenced by PHG4BlockCellReco::process_event(), and PHG4CylinderCellReco::process_event().
|
static |
Definition at line 47 of file PHG4Utils.cc.
View newest version in sPHENIX GitHub at line 47 of file PHG4Utils.cc
References theta().
Referenced by PHG4InnerHcalDetector::ConstructHcalSingleScintillators(), PHG4OuterHcalDetector::ConstructHcalSingleScintillators(), RawTowerBuilder::CreateNodes(), and HcalRawTowerBuilder::InitRun().
|
static |
Definition at line 27 of file PHG4Utils.cc.
View newest version in sPHENIX GitHub at line 27 of file PHG4Utils.cc
References G4BARRELHCAL::length, and theta().
Referenced by CEmc_2DProjectiveSpacal(), PHG4HcalDetector::ConstructMe(), PHG4HcalSubsystem::InitRun(), and PHG4CylinderSubsystem::InitRunSubsystem().
|
static |
Definition at line 36 of file PHG4Utils.cc.
View newest version in sPHENIX GitHub at line 36 of file PHG4Utils.cc
|
static |
Definition at line 242 of file PHG4Utils.cc.
View newest version in sPHENIX GitHub at line 242 of file PHG4Utils.cc
References dx, dy, PHWHERE, and rr.
Referenced by PHG4BlockCellReco::process_event(), and PHG4CylinderCellReco::process_event().
|
static |
Definition at line 187 of file PHG4Utils.cc.
View newest version in sPHENIX GitHub at line 187 of file PHG4Utils.cc
References KF_timing::ax, and Acts::UnitConstants::h.
|
static |
Definition at line 400 of file PHG4Utils.cc.
View newest version in sPHENIX GitHub at line 400 of file PHG4Utils.cc
Referenced by PHG4BackwardHcalSubsystem::SetDefaultParameters(), PHG4ForwardEcalSubsystem::SetDefaultParameters(), PHG4ForwardHcalSubsystem::SetDefaultParameters(), PHG4LFHcalSubsystem::SetDefaultParameters(), PHG4BackwardHcalSubsystem::SetTowerMappingFile(), PHG4LFHcalSubsystem::SetTowerMappingFile(), PHG4ForwardHcalSubsystem::SetTowerMappingFile(), and PHG4ForwardEcalSubsystem::SetTowerMappingFile().
|
static |
Definition at line 333 of file PHG4Utils.cc.
View newest version in sPHENIX GitHub at line 333 of file PHG4Utils.cc
References y.
|
static |
Definition at line 88 of file PHG4Utils.cc.
View newest version in sPHENIX GitHub at line 88 of file PHG4Utils.cc
Referenced by PHG4BlockDisplayAction::ApplyDisplayAction(), PHG4CylinderDisplayAction::ApplyDisplayAction(), PHG4MvtxDisplayAction::ApplyDisplayAction(), PHG4TpcEndCapDisplayAction::ApplyDisplayAction(), PHG4ConeDisplayAction::ApplyDisplayAction(), G4Example03DisplayAction::ApplyDisplayAction(), PHG4SectorDisplayAction::ApplyDisplayAction(), PHG4TTLDisplayAction::ApplyDisplayAction(), PHG4SpacalDisplayAction::ApplyDisplayAction(), G4EicDircDisplayAction::ApplyDisplayAction(), PHG4BeamlineMagnetDetector::ConstructMe(), PHG4HcalDetector::ConstructMe(), and PHG4GDMLDetector::SetDisplayProperty().
|
static |
Definition at line 41 of file PHG4Utils.cc.
View newest version in sPHENIX GitHub at line 41 of file PHG4Utils.cc
References Acts::VectorHelpers::eta().
Referenced by PHG4Reco::set_rapidity_coverage().
|
staticprivate |
Definition at line 29 of file PHG4Utils.h.
View newest version in sPHENIX GitHub at line 29 of file PHG4Utils.h