EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
#include <fun4all_coresoftware/blob/master/simulation/g4simulation/g4detectors/PHG4CEmcTestBeamDetector.h>
Public Member Functions | |
PHG4CEmcTestBeamDetector (PHG4Subsystem *subsys, PHCompositeNode *Node, const std::string &dnam, const int lyr=0) | |
constructor | |
~PHG4CEmcTestBeamDetector (void) override | |
destructor | |
void | ConstructMe (G4LogicalVolume *world) override |
construct | |
void | SetPlaceZ (const G4double place_z) |
void | SetPlace (const G4double place_x, const G4double place_y, const G4double place_z) |
void | SetXRot (const G4double angle) |
void | SetYRot (const G4double angle) |
void | SetZRot (const G4double angle) |
void | SetActive (const int i=1) |
void | SetAbsorberActive (const int i=1) |
int | IsActive () const |
void | SuperDetector (const std::string &name) |
const std::string | SuperDetector () const |
int | get_Layer () const |
void | BlackHole (const int i=1) |
int | IsBlackHole () const |
volume accessors | |
int | IsInCEmcTestBeam (G4VPhysicalVolume *) const |
Public Member Functions inherited from PHG4Detector | |
PHG4Detector ()=delete | |
constructor | |
PHG4Detector (PHG4Subsystem *subsys, PHCompositeNode *Node, const std::string &nam) | |
virtual | ~PHG4Detector (void) |
destructor | |
virtual void | Construct (G4LogicalVolume *world) final |
construct method | |
virtual void | PostConstruction () |
Optional PostConstruction call after all geometry is constructed. | |
virtual void | Verbosity (const int v) |
virtual int | Verbosity () const |
virtual G4UserSteppingAction * | GetSteppingAction () |
virtual std::string | GetName () const |
virtual void | OverlapCheck (const bool chk) |
virtual bool | OverlapCheck () const |
virtual void | Print (const std::string &="ALL") const |
virtual int | DisplayVolume (G4VSolid *volume, G4LogicalVolume *logvol, G4RotationMatrix *rotm=nullptr) |
virtual int | DisplayVolume (G4LogicalVolume *checksolid, G4LogicalVolume *logvol, G4RotationMatrix *rotm=nullptr) |
virtual PHCompositeNode * | topNode () |
virtual PHG4Subsystem * | GetMySubsystem () |
Private Member Functions | |
void | CalculateGeometry () |
int | ConstructTowerVolume (G4LogicalVolume *tower) |
int | ConstructSandwichVolume (G4LogicalVolume *sandwich) |
Private Attributes | |
std::vector< G4VPhysicalVolume * > | sandwich_vol |
G4double | w_dimension [3] |
G4double | sc_dimension [3] |
G4double | gap |
G4double | place_in_x |
G4double | place_in_y |
G4double | place_in_z |
double | plate_x |
double | plate_z |
double | sandwich_thickness |
G4double | x_rot |
G4double | y_rot |
G4double | z_rot |
double | alpha |
double | inner_radius |
double | outer_radius |
double | tower_angular_coverage |
double | cemc_angular_coverage |
double | active_scinti_fraction |
int | sandwiches_per_tower |
int | num_towers |
int | active |
int | absorberactive |
int | layer |
int | blackhole |
std::string | detector_type |
std::string | superdetector |
Additional Inherited Members | |
Static Public Member Functions inherited from PHG4Detector | |
static G4Material * | GetDetectorMaterial (const std::string &name, const bool quit=true) |
static G4Element * | GetDetectorElement (const std::string &name, const bool quit=true) |
Definition at line 18 of file PHG4CEmcTestBeamDetector.h.
View newest version in sPHENIX GitHub at line 18 of file PHG4CEmcTestBeamDetector.h
PHG4CEmcTestBeamDetector::PHG4CEmcTestBeamDetector | ( | PHG4Subsystem * | subsys, |
PHCompositeNode * | Node, | ||
const std::string & | dnam, | ||
const int | lyr = 0 |
||
) |
constructor
Definition at line 33 of file PHG4CEmcTestBeamDetector.cc.
View newest version in sPHENIX GitHub at line 33 of file PHG4CEmcTestBeamDetector.cc
References Acts::UnitConstants::mm, plate_x, plate_z, sandwich_thickness, sandwich_vol, sc_dimension, and w_dimension.
|
inlineoverride |
destructor
Definition at line 25 of file PHG4CEmcTestBeamDetector.h.
View newest version in sPHENIX GitHub at line 25 of file PHG4CEmcTestBeamDetector.h
|
inline |
Definition at line 54 of file PHG4CEmcTestBeamDetector.h.
View newest version in sPHENIX GitHub at line 54 of file PHG4CEmcTestBeamDetector.h
References blackhole.
Referenced by PHG4CEmcTestBeamSubsystem::Init().
|
private |
Definition at line 273 of file PHG4CEmcTestBeamDetector.cc.
View newest version in sPHENIX GitHub at line 273 of file PHG4CEmcTestBeamDetector.cc
References alpha, cemc_angular_coverage, gap, inner_radius, num_towers, outer_radius, plate_x, sandwich_thickness, sandwiches_per_tower, and tower_angular_coverage.
Referenced by ConstructMe().
|
overridevirtual |
construct
Implements PHG4Detector.
Definition at line 90 of file PHG4CEmcTestBeamDetector.cc.
View newest version in sPHENIX GitHub at line 90 of file PHG4CEmcTestBeamDetector.cc
References CalculateGeometry(), cemc_angular_coverage, ConstructTowerVolume(), cos(), PHFlag::get_StringFlag(), PHG4Detector::GetDetectorMaterial(), inner_radius, recoConsts::instance(), no_overlap, outer_radius, PHG4Detector::OverlapCheck(), phi, place_in_x, place_in_y, place_in_z, Acts::UnitConstants::rad, tower_angular_coverage, w_dimension, x_rot, y_rot, and z_rot.
|
private |
Definition at line 171 of file PHG4CEmcTestBeamDetector.cc.
View newest version in sPHENIX GitHub at line 171 of file PHG4CEmcTestBeamDetector.cc
References active_scinti_fraction, PHG4Detector::GetDetectorMaterial(), PHG4Detector::OverlapCheck(), sandwich_vol, sc_dimension, and w_dimension.
Referenced by ConstructTowerVolume().
|
private |
Definition at line 130 of file PHG4CEmcTestBeamDetector.cc.
View newest version in sPHENIX GitHub at line 130 of file PHG4CEmcTestBeamDetector.cc
References alpha, ConstructSandwichVolume(), cos(), PHFlag::get_StringFlag(), PHG4Detector::GetDetectorMaterial(), inner_radius, recoConsts::instance(), outer_radius, PHG4Detector::OverlapCheck(), phi, Acts::UnitConstants::rad, sandwich_thickness, and w_dimension.
Referenced by ConstructMe().
|
inline |
Definition at line 52 of file PHG4CEmcTestBeamDetector.h.
View newest version in sPHENIX GitHub at line 52 of file PHG4CEmcTestBeamDetector.h
References layer.
|
inline |
Definition at line 49 of file PHG4CEmcTestBeamDetector.h.
View newest version in sPHENIX GitHub at line 49 of file PHG4CEmcTestBeamDetector.h
References active.
Referenced by PHG4CEmcTestBeamSteppingAction::UserSteppingAction().
|
inline |
Definition at line 55 of file PHG4CEmcTestBeamDetector.h.
View newest version in sPHENIX GitHub at line 55 of file PHG4CEmcTestBeamDetector.h
References blackhole.
Referenced by PHG4CEmcTestBeamSteppingAction::UserSteppingAction().
int PHG4CEmcTestBeamDetector::IsInCEmcTestBeam | ( | G4VPhysicalVolume * | volume | ) | const |
Definition at line 73 of file PHG4CEmcTestBeamDetector.cc.
View newest version in sPHENIX GitHub at line 73 of file PHG4CEmcTestBeamDetector.cc
References absorberactive, active, and sandwich_vol.
Referenced by PHG4CEmcTestBeamSteppingAction::UserSteppingAction().
|
inline |
Definition at line 48 of file PHG4CEmcTestBeamDetector.h.
View newest version in sPHENIX GitHub at line 48 of file PHG4CEmcTestBeamDetector.h
References absorberactive.
Referenced by PHG4CEmcTestBeamSubsystem::Init().
|
inline |
Definition at line 47 of file PHG4CEmcTestBeamDetector.h.
View newest version in sPHENIX GitHub at line 47 of file PHG4CEmcTestBeamDetector.h
References active.
Referenced by PHG4CEmcTestBeamSubsystem::Init().
|
inline |
Definition at line 38 of file PHG4CEmcTestBeamDetector.h.
View newest version in sPHENIX GitHub at line 38 of file PHG4CEmcTestBeamDetector.h
References place_in_x, place_in_y, place_in_z, and G4DRICH::place_z.
Referenced by PHG4CEmcTestBeamSubsystem::Init().
|
inline |
Definition at line 37 of file PHG4CEmcTestBeamDetector.h.
View newest version in sPHENIX GitHub at line 37 of file PHG4CEmcTestBeamDetector.h
References place_in_z, and G4DRICH::place_z.
|
inline |
Definition at line 44 of file PHG4CEmcTestBeamDetector.h.
View newest version in sPHENIX GitHub at line 44 of file PHG4CEmcTestBeamDetector.h
References x_rot.
Referenced by PHG4CEmcTestBeamSubsystem::Init().
|
inline |
Definition at line 45 of file PHG4CEmcTestBeamDetector.h.
View newest version in sPHENIX GitHub at line 45 of file PHG4CEmcTestBeamDetector.h
References y_rot.
Referenced by PHG4CEmcTestBeamSubsystem::Init().
|
inline |
Definition at line 46 of file PHG4CEmcTestBeamDetector.h.
View newest version in sPHENIX GitHub at line 46 of file PHG4CEmcTestBeamDetector.h
References z_rot.
Referenced by PHG4CEmcTestBeamSubsystem::Init().
|
inline |
Definition at line 50 of file PHG4CEmcTestBeamDetector.h.
View newest version in sPHENIX GitHub at line 50 of file PHG4CEmcTestBeamDetector.h
References name, and superdetector.
Referenced by PHG4CEmcTestBeamSubsystem::Init(), and PHG4CEmcTestBeamSteppingAction::SetInterfacePointers().
|
inline |
Definition at line 51 of file PHG4CEmcTestBeamDetector.h.
View newest version in sPHENIX GitHub at line 51 of file PHG4CEmcTestBeamDetector.h
References superdetector.
|
private |
Definition at line 85 of file PHG4CEmcTestBeamDetector.h.
View newest version in sPHENIX GitHub at line 85 of file PHG4CEmcTestBeamDetector.h
Referenced by IsInCEmcTestBeam(), and SetAbsorberActive().
|
private |
Definition at line 84 of file PHG4CEmcTestBeamDetector.h.
View newest version in sPHENIX GitHub at line 84 of file PHG4CEmcTestBeamDetector.h
Referenced by IsActive(), IsInCEmcTestBeam(), and SetActive().
|
private |
Definition at line 80 of file PHG4CEmcTestBeamDetector.h.
View newest version in sPHENIX GitHub at line 80 of file PHG4CEmcTestBeamDetector.h
Referenced by ConstructSandwichVolume().
|
private |
Definition at line 75 of file PHG4CEmcTestBeamDetector.h.
View newest version in sPHENIX GitHub at line 75 of file PHG4CEmcTestBeamDetector.h
Referenced by CalculateGeometry(), and ConstructTowerVolume().
|
private |
Definition at line 87 of file PHG4CEmcTestBeamDetector.h.
View newest version in sPHENIX GitHub at line 87 of file PHG4CEmcTestBeamDetector.h
Referenced by BlackHole(), and IsBlackHole().
|
private |
Definition at line 79 of file PHG4CEmcTestBeamDetector.h.
View newest version in sPHENIX GitHub at line 79 of file PHG4CEmcTestBeamDetector.h
Referenced by CalculateGeometry(), and ConstructMe().
|
private |
Definition at line 88 of file PHG4CEmcTestBeamDetector.h.
View newest version in sPHENIX GitHub at line 88 of file PHG4CEmcTestBeamDetector.h
|
private |
Definition at line 65 of file PHG4CEmcTestBeamDetector.h.
View newest version in sPHENIX GitHub at line 65 of file PHG4CEmcTestBeamDetector.h
Referenced by CalculateGeometry().
|
private |
Definition at line 76 of file PHG4CEmcTestBeamDetector.h.
View newest version in sPHENIX GitHub at line 76 of file PHG4CEmcTestBeamDetector.h
Referenced by CalculateGeometry(), ConstructMe(), and ConstructTowerVolume().
|
private |
Definition at line 86 of file PHG4CEmcTestBeamDetector.h.
View newest version in sPHENIX GitHub at line 86 of file PHG4CEmcTestBeamDetector.h
Referenced by get_Layer().
|
private |
Definition at line 82 of file PHG4CEmcTestBeamDetector.h.
View newest version in sPHENIX GitHub at line 82 of file PHG4CEmcTestBeamDetector.h
Referenced by CalculateGeometry().
|
private |
Definition at line 77 of file PHG4CEmcTestBeamDetector.h.
View newest version in sPHENIX GitHub at line 77 of file PHG4CEmcTestBeamDetector.h
Referenced by CalculateGeometry(), ConstructMe(), and ConstructTowerVolume().
|
private |
Definition at line 66 of file PHG4CEmcTestBeamDetector.h.
View newest version in sPHENIX GitHub at line 66 of file PHG4CEmcTestBeamDetector.h
Referenced by ConstructMe(), and SetPlace().
|
private |
Definition at line 67 of file PHG4CEmcTestBeamDetector.h.
View newest version in sPHENIX GitHub at line 67 of file PHG4CEmcTestBeamDetector.h
Referenced by ConstructMe(), and SetPlace().
|
private |
Definition at line 68 of file PHG4CEmcTestBeamDetector.h.
View newest version in sPHENIX GitHub at line 68 of file PHG4CEmcTestBeamDetector.h
Referenced by ConstructMe(), SetPlace(), and SetPlaceZ().
|
private |
Definition at line 69 of file PHG4CEmcTestBeamDetector.h.
View newest version in sPHENIX GitHub at line 69 of file PHG4CEmcTestBeamDetector.h
Referenced by CalculateGeometry(), and PHG4CEmcTestBeamDetector().
|
private |
Definition at line 70 of file PHG4CEmcTestBeamDetector.h.
View newest version in sPHENIX GitHub at line 70 of file PHG4CEmcTestBeamDetector.h
Referenced by PHG4CEmcTestBeamDetector().
|
private |
Definition at line 71 of file PHG4CEmcTestBeamDetector.h.
View newest version in sPHENIX GitHub at line 71 of file PHG4CEmcTestBeamDetector.h
Referenced by CalculateGeometry(), ConstructTowerVolume(), and PHG4CEmcTestBeamDetector().
|
private |
Definition at line 62 of file PHG4CEmcTestBeamDetector.h.
View newest version in sPHENIX GitHub at line 62 of file PHG4CEmcTestBeamDetector.h
Referenced by ConstructSandwichVolume(), IsInCEmcTestBeam(), and PHG4CEmcTestBeamDetector().
|
private |
Definition at line 81 of file PHG4CEmcTestBeamDetector.h.
View newest version in sPHENIX GitHub at line 81 of file PHG4CEmcTestBeamDetector.h
Referenced by CalculateGeometry().
|
private |
Definition at line 64 of file PHG4CEmcTestBeamDetector.h.
View newest version in sPHENIX GitHub at line 64 of file PHG4CEmcTestBeamDetector.h
Referenced by ConstructSandwichVolume(), and PHG4CEmcTestBeamDetector().
|
private |
Definition at line 89 of file PHG4CEmcTestBeamDetector.h.
View newest version in sPHENIX GitHub at line 89 of file PHG4CEmcTestBeamDetector.h
Referenced by SuperDetector().
|
private |
Definition at line 78 of file PHG4CEmcTestBeamDetector.h.
View newest version in sPHENIX GitHub at line 78 of file PHG4CEmcTestBeamDetector.h
Referenced by CalculateGeometry(), and ConstructMe().
|
private |
Definition at line 63 of file PHG4CEmcTestBeamDetector.h.
View newest version in sPHENIX GitHub at line 63 of file PHG4CEmcTestBeamDetector.h
Referenced by ConstructMe(), ConstructSandwichVolume(), ConstructTowerVolume(), and PHG4CEmcTestBeamDetector().
|
private |
Definition at line 72 of file PHG4CEmcTestBeamDetector.h.
View newest version in sPHENIX GitHub at line 72 of file PHG4CEmcTestBeamDetector.h
Referenced by ConstructMe(), and SetXRot().
|
private |
Definition at line 73 of file PHG4CEmcTestBeamDetector.h.
View newest version in sPHENIX GitHub at line 73 of file PHG4CEmcTestBeamDetector.h
Referenced by ConstructMe(), and SetYRot().
|
private |
Definition at line 74 of file PHG4CEmcTestBeamDetector.h.
View newest version in sPHENIX GitHub at line 74 of file PHG4CEmcTestBeamDetector.h
Referenced by ConstructMe(), and SetZRot().