Analysis Software
Documentation for sPHENIX simulation software
|
#include <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 381 of file PHG4Utils.cc.
View newest version in sPHENIX GitHub at line 381 of file PHG4Utils.cc
Referenced by PHG4InttHitReco::process_event(), and PHG4MvtxHitReco::process_event().
Definition at line 58 of file PHG4Utils.cc.
View newest version in sPHENIX GitHub at line 58 of file PHG4Utils.cc
References eta.
Referenced by PHG4BlockCellReco::InitRun(), PHG4CylinderCellReco::InitRun(), and PHG4SimpleEventGenerator::process_event().
Definition at line 79 of file PHG4Utils.cc.
View newest version in sPHENIX GitHub at line 79 of file PHG4Utils.cc
References eta, and ActsTests::PropagationDatasets::theta.
|
static |
Definition at line 65 of file PHG4Utils.cc.
View newest version in sPHENIX GitHub at line 65 of file PHG4Utils.cc
References eta, ActsTests::PropagationDatasets::phi, and ActsTests::PropagationDatasets::theta.
Referenced by PHG4BlockCellReco::process_event(), and PHG4CylinderCellReco::process_event().
Definition at line 51 of file PHG4Utils.cc.
View newest version in sPHENIX GitHub at line 51 of file PHG4Utils.cc
References ActsTests::PropagationDatasets::theta.
Referenced by PHG4OHCalDetector::AddGeometryNode(), PHG4IHCalDetector::AddGeometryNode(), PHG4OuterHcalDetector::AddGeometryNode(), PHG4InnerHcalDetector::AddGeometryNode(), PHG4SpacalDetector::AddTowerGeometryNode(), PHG4OuterHcalDetector::ConstructHcalSingleScintillators(), PHG4InnerHcalDetector::ConstructHcalSingleScintillators(), RawTowerBuilder::CreateNodes(), and HcalRawTowerBuilder::InitRun().
Definition at line 31 of file PHG4Utils.cc.
View newest version in sPHENIX GitHub at line 31 of file PHG4Utils.cc
References G4PLUGDOOR::length, and ActsTests::PropagationDatasets::theta.
Referenced by CEmc_2DProjectiveSpacal(), PHG4HcalDetector::ConstructMe(), PHG4HcalSubsystem::InitRun(), and PHG4CylinderSubsystem::InitRunSubsystem().
Definition at line 40 of file PHG4Utils.cc.
View newest version in sPHENIX GitHub at line 40 of file PHG4Utils.cc
|
static |
Definition at line 246 of file PHG4Utils.cc.
View newest version in sPHENIX GitHub at line 246 of file PHG4Utils.cc
References dy, PHWHERE, vx, and vy.
Referenced by PHG4BlockCellReco::process_event(), and PHG4CylinderCellReco::process_event().
|
static |
Definition at line 191 of file PHG4Utils.cc.
View newest version in sPHENIX GitHub at line 191 of file PHG4Utils.cc
References CKF_timing_vs_mu::ax, gx, gy, and h.
|
static |
Definition at line 404 of file PHG4Utils.cc.
View newest version in sPHENIX GitHub at line 404 of file PHG4Utils.cc
References Acts::PhysicalConstants::c, and Acts::Test::hash().
Definition at line 337 of file PHG4Utils.cc.
View newest version in sPHENIX GitHub at line 337 of file PHG4Utils.cc
References KFPMath::a, physmon_track_finding_ttbar::r, and y.
|
static |
Definition at line 92 of file PHG4Utils.cc.
View newest version in sPHENIX GitHub at line 92 of file PHG4Utils.cc
Referenced by PHG4BlockDisplayAction::ApplyDisplayAction(), PHG4CylinderDisplayAction::ApplyDisplayAction(), PHG4MvtxDisplayAction::ApplyDisplayAction(), PHG4TpcEndCapDisplayAction::ApplyDisplayAction(), G4Example03DisplayAction::ApplyDisplayAction(), PHG4ConeDisplayAction::ApplyDisplayAction(), PHG4SectorDisplayAction::ApplyDisplayAction(), PHG4SpacalDisplayAction::ApplyDisplayAction(), PHG4SpacalPrototypeDetector::Construct_Fiber(), PHG4SpacalPrototype4Detector::Construct_Fiber(), PHG4SpacalPrototype4Detector::Construct_LightGuide(), PHG4SpacalPrototypeDetector::Construct_LightGuide(), PHG4BeamlineMagnetDetector::ConstructMe(), PHG4HcalDetector::ConstructMe(), PHG4SpacalPrototypeDetector::ConstructMe(), PHG4SpacalPrototype4Detector::ConstructMe(), and PHG4GDMLDetector::SetDisplayProperty().
|
static |
Definition at line 45 of file PHG4Utils.cc.
View newest version in sPHENIX GitHub at line 45 of file PHG4Utils.cc
References 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