EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PHG4OuterHcalField Class Reference

PHG4OuterHcalField. More...

#include <fun4all_coresoftware/blob/master/simulation/g4simulation/g4detectors/PHG4OuterHcalField.h>

+ Inheritance diagram for PHG4OuterHcalField:
+ Collaboration diagram for PHG4OuterHcalField:

Public Member Functions

 PHG4OuterHcalField ()=delete
 
 PHG4OuterHcalField (bool isInIron, G4int steelPlates, G4double scintiGap, G4double tiltAngle)
 
 ~PHG4OuterHcalField () override
 
void GetFieldValue (const double Point[4], double *Bfield) const override
 
bool is_is_in_iron () const
 
void set_is_in_iron (bool isInIron)
 
G4int get_steel_plates () const
 
void set_steel_plates (G4int steelPlates)
 
double get_relative_permeability_absorber () const
 
void set_relative_permeability_absorber (double relativePermeabilityAbsorber)
 
double get_relative_permeability_gap () const
 
void set_relative_permeability_gap (double relativePermeabilityGap)
 
G4double get_scinti_gap () const
 
void set_scinti_gap (G4double scintiGap)
 
G4double get_tilt_angle () const
 
void set_tilt_angle (G4double tiltAngle)
 

Private Attributes

double relative_permeability_absorber = 1514.
 
double relative_permeability_gap = 1
 
bool is_in_iron
 
G4int n_steel_plates
 
G4double scinti_gap
 
G4double tilt_angle
 

Detailed Description

PHG4OuterHcalField.

After burner to produce magnetic field in outer HCal on top of sPHENIX field map In leading order, for the field within the plane of absorber plate, iron absorb almost all the flux, with field in the air-scintillator region reduced to 1/relative_permeability_absorber of that in the iron. The field strength perpendicular to the plate remain unchanged.

relative_permeability_absorber = 1514, relative permeability for Steel 1006 @ B = 1.06T http://www.fieldp.com/magneticproperties.html

Definition at line 31 of file PHG4OuterHcalField.h.

View newest version in sPHENIX GitHub at line 31 of file PHG4OuterHcalField.h

Constructor & Destructor Documentation

PHG4OuterHcalField::PHG4OuterHcalField ( )
delete
PHG4OuterHcalField::PHG4OuterHcalField ( bool  isInIron,
G4int  steelPlates,
G4double  scintiGap,
G4double  tiltAngle 
)

Definition at line 28 of file PHG4OuterHcalField.cc.

View newest version in sPHENIX GitHub at line 28 of file PHG4OuterHcalField.cc

PHG4OuterHcalField::~PHG4OuterHcalField ( )
inlineoverride

Definition at line 39 of file PHG4OuterHcalField.h.

View newest version in sPHENIX GitHub at line 39 of file PHG4OuterHcalField.h

Member Function Documentation

double PHG4OuterHcalField::get_relative_permeability_absorber ( ) const
inline

Definition at line 69 of file PHG4OuterHcalField.h.

View newest version in sPHENIX GitHub at line 69 of file PHG4OuterHcalField.h

References relative_permeability_absorber.

double PHG4OuterHcalField::get_relative_permeability_gap ( ) const
inline

Definition at line 81 of file PHG4OuterHcalField.h.

View newest version in sPHENIX GitHub at line 81 of file PHG4OuterHcalField.h

References relative_permeability_gap.

G4double PHG4OuterHcalField::get_scinti_gap ( ) const
inline

Definition at line 93 of file PHG4OuterHcalField.h.

View newest version in sPHENIX GitHub at line 93 of file PHG4OuterHcalField.h

References scinti_gap.

G4int PHG4OuterHcalField::get_steel_plates ( ) const
inline

Definition at line 57 of file PHG4OuterHcalField.h.

View newest version in sPHENIX GitHub at line 57 of file PHG4OuterHcalField.h

References n_steel_plates.

G4double PHG4OuterHcalField::get_tilt_angle ( ) const
inline

Definition at line 105 of file PHG4OuterHcalField.h.

View newest version in sPHENIX GitHub at line 105 of file PHG4OuterHcalField.h

References tilt_angle.

void PHG4OuterHcalField::GetFieldValue ( const double  Point[4],
double *  Bfield 
) const
override

Definition at line 37 of file PHG4OuterHcalField.cc.

View newest version in sPHENIX GitHub at line 37 of file PHG4OuterHcalField.cc

References Acts::UnitConstants::cm, cos(), exit(), is_in_iron, n_steel_plates, Acts::IntegrationTest::R, relative_permeability_absorber, relative_permeability_gap, scinti_gap, tilt_angle, twopi, x, and y.

+ Here is the call graph for this function:

bool PHG4OuterHcalField::is_is_in_iron ( ) const
inline

Definition at line 45 of file PHG4OuterHcalField.h.

View newest version in sPHENIX GitHub at line 45 of file PHG4OuterHcalField.h

References is_in_iron.

void PHG4OuterHcalField::set_is_in_iron ( bool  isInIron)
inline

Definition at line 51 of file PHG4OuterHcalField.h.

View newest version in sPHENIX GitHub at line 51 of file PHG4OuterHcalField.h

References is_in_iron.

void PHG4OuterHcalField::set_relative_permeability_absorber ( double  relativePermeabilityAbsorber)
inline

Definition at line 75 of file PHG4OuterHcalField.h.

View newest version in sPHENIX GitHub at line 75 of file PHG4OuterHcalField.h

References relative_permeability_absorber.

void PHG4OuterHcalField::set_relative_permeability_gap ( double  relativePermeabilityGap)
inline

Definition at line 87 of file PHG4OuterHcalField.h.

View newest version in sPHENIX GitHub at line 87 of file PHG4OuterHcalField.h

References relative_permeability_gap.

void PHG4OuterHcalField::set_scinti_gap ( G4double  scintiGap)
inline

Definition at line 99 of file PHG4OuterHcalField.h.

View newest version in sPHENIX GitHub at line 99 of file PHG4OuterHcalField.h

References scinti_gap.

void PHG4OuterHcalField::set_steel_plates ( G4int  steelPlates)
inline

Definition at line 63 of file PHG4OuterHcalField.h.

View newest version in sPHENIX GitHub at line 63 of file PHG4OuterHcalField.h

References n_steel_plates.

void PHG4OuterHcalField::set_tilt_angle ( G4double  tiltAngle)
inline

Definition at line 111 of file PHG4OuterHcalField.h.

View newest version in sPHENIX GitHub at line 111 of file PHG4OuterHcalField.h

References tilt_angle.

Member Data Documentation

bool PHG4OuterHcalField::is_in_iron
private

Definition at line 121 of file PHG4OuterHcalField.h.

View newest version in sPHENIX GitHub at line 121 of file PHG4OuterHcalField.h

Referenced by GetFieldValue(), is_is_in_iron(), and set_is_in_iron().

G4int PHG4OuterHcalField::n_steel_plates
private

Definition at line 122 of file PHG4OuterHcalField.h.

View newest version in sPHENIX GitHub at line 122 of file PHG4OuterHcalField.h

Referenced by get_steel_plates(), GetFieldValue(), and set_steel_plates().

double PHG4OuterHcalField::relative_permeability_absorber = 1514.
private

Definition at line 117 of file PHG4OuterHcalField.h.

View newest version in sPHENIX GitHub at line 117 of file PHG4OuterHcalField.h

Referenced by get_relative_permeability_absorber(), GetFieldValue(), and set_relative_permeability_absorber().

double PHG4OuterHcalField::relative_permeability_gap = 1
private

Definition at line 119 of file PHG4OuterHcalField.h.

View newest version in sPHENIX GitHub at line 119 of file PHG4OuterHcalField.h

Referenced by get_relative_permeability_gap(), GetFieldValue(), and set_relative_permeability_gap().

G4double PHG4OuterHcalField::scinti_gap
private

Definition at line 123 of file PHG4OuterHcalField.h.

View newest version in sPHENIX GitHub at line 123 of file PHG4OuterHcalField.h

Referenced by get_scinti_gap(), GetFieldValue(), and set_scinti_gap().

G4double PHG4OuterHcalField::tilt_angle
private

Definition at line 124 of file PHG4OuterHcalField.h.

View newest version in sPHENIX GitHub at line 124 of file PHG4OuterHcalField.h

Referenced by get_tilt_angle(), GetFieldValue(), and set_tilt_angle().


The documentation for this class was generated from the following files: