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

PHFieldConfigv2 implements field configuration information for uniform field model. More...

#include <fun4all_coresoftware/blob/master/offline/packages/PHField/PHFieldConfigv2.h>

+ Inheritance diagram for PHFieldConfigv2:
+ Collaboration diagram for PHFieldConfigv2:

Public Member Functions

 PHFieldConfigv2 (double field_mag_x, double field_mag_y, double field_mag_z)
 construct field configuration in units of Tesla
 
 PHFieldConfigv2 ()
 default constructor for ROOT file IO
 
 ~PHFieldConfigv2 () override
 
PHObjectCloneMe () const override
 Virtual copy constructor.
 
void identify (std::ostream &os=std::cout) const override
 
void Reset () override
 Clear Content.
 
int isValid () const override
 isValid returns non zero if object contains vailid data
 
FieldConfigTypes get_field_config () const override
 
double get_field_mag_x () const override
 field value in Tesla for uniform field model ONLY for PHFieldConfigv2
 
void set_field_mag_x (double fieldMagX) override
 field value in Tesla for uniform field model ONLY for PHFieldConfigv2
 
double get_field_mag_y () const override
 field value in Tesla for uniform field model ONLY for PHFieldConfigv2
 
void set_field_mag_y (double fieldMagY) override
 field value in Tesla for uniform field model ONLY for PHFieldConfigv2
 
double get_field_mag_z () const override
 field value in Tesla for uniform field model ONLY for PHFieldConfigv2
 
void set_field_mag_z (double fieldMagZ) override
 field value in Tesla for uniform field model ONLY for PHFieldConfigv2
 
- Public Member Functions inherited from PHFieldConfig
 ~PHFieldConfig () override
 
std::string get_field_config_description () const
 
virtual void set_field_config (FieldConfigTypes)
 
virtual const std::string & get_filename () const
 
virtual void set_filename (const std::string &)
 
virtual double get_magfield_rescale () const
 
virtual void set_magfield_rescale (double)
 
- Public Member Functions inherited from PHObject
 PHObject ()
 ctor
 
 ~PHObject () override
 dtor
 
virtual PHObjectclone () const final
 
PHObjectClone (const char *newname="") const final
 
void Copy (TObject &object) const final
 
virtual int isValid (const float) const
 
virtual int isValid (const double) const
 
virtual int isValid (const int) const
 
virtual int isValid (const unsigned int) const
 
virtual int isImplemented (const float f) const
 
virtual int isImplemented (const double f) const
 
virtual int isImplemented (const int i) const
 
virtual int isImplemented (const unsigned int i) const
 
virtual int Integrate () const
 
virtual int Integrate (PHObject *)
 
virtual void CopyFrom (const PHObject *obj)
 

Protected Attributes

double field_mag_x_
 
double field_mag_y_
 
double field_mag_z_
 

Additional Inherited Members

- Public Types inherited from PHFieldConfig
enum  FieldConfigTypes {
  kFieldUniform = 0, kField2D = 2, kField3DCylindrical = 3, kFieldBeast = 4,
  kFieldCleo = 5, Field3DCartesian = 1, kFieldInvalid = 9999
}
 
- Protected Member Functions inherited from PHFieldConfig
 PHFieldConfig ()
 pure virtual interface class. not for direct use
 
- Static Protected Attributes inherited from PHFieldConfig
static const std::string kInvalid_FileName
 

Detailed Description

PHFieldConfigv2 implements field configuration information for uniform field model.

Definition at line 22 of file PHFieldConfigv2.h.

View newest version in sPHENIX GitHub at line 22 of file PHFieldConfigv2.h

Constructor & Destructor Documentation

PHFieldConfigv2::PHFieldConfigv2 ( double  field_mag_x,
double  field_mag_y,
double  field_mag_z 
)

construct field configuration in units of Tesla

Definition at line 16 of file PHFieldConfigv2.cc.

View newest version in sPHENIX GitHub at line 16 of file PHFieldConfigv2.cc

PHFieldConfigv2::PHFieldConfigv2 ( )
inline

default constructor for ROOT file IO

Definition at line 32 of file PHFieldConfigv2.h.

View newest version in sPHENIX GitHub at line 32 of file PHFieldConfigv2.h

Referenced by CloneMe().

+ Here is the caller graph for this function:

PHFieldConfigv2::~PHFieldConfigv2 ( )
inlineoverride

Definition at line 37 of file PHFieldConfigv2.h.

View newest version in sPHENIX GitHub at line 37 of file PHFieldConfigv2.h

Member Function Documentation

PHObject* PHFieldConfigv2::CloneMe ( ) const
inlineoverridevirtual

Virtual copy constructor.

Reimplemented from PHObject.

Definition at line 40 of file PHFieldConfigv2.h.

View newest version in sPHENIX GitHub at line 40 of file PHFieldConfigv2.h

References PHFieldConfigv2().

+ Here is the call graph for this function:

FieldConfigTypes PHFieldConfigv2::get_field_config ( ) const
inlineoverridevirtual

Reimplemented from PHFieldConfig.

Definition at line 55 of file PHFieldConfigv2.h.

View newest version in sPHENIX GitHub at line 55 of file PHFieldConfigv2.h

References PHFieldConfig::kFieldUniform.

double PHFieldConfigv2::get_field_mag_x ( ) const
inlineoverridevirtual

field value in Tesla for uniform field model ONLY for PHFieldConfigv2

Reimplemented from PHFieldConfig.

Definition at line 61 of file PHFieldConfigv2.h.

View newest version in sPHENIX GitHub at line 61 of file PHFieldConfigv2.h

References field_mag_x_.

Referenced by identify().

+ Here is the caller graph for this function:

double PHFieldConfigv2::get_field_mag_y ( ) const
inlineoverridevirtual

field value in Tesla for uniform field model ONLY for PHFieldConfigv2

Reimplemented from PHFieldConfig.

Definition at line 73 of file PHFieldConfigv2.h.

View newest version in sPHENIX GitHub at line 73 of file PHFieldConfigv2.h

References field_mag_y_.

Referenced by identify().

+ Here is the caller graph for this function:

double PHFieldConfigv2::get_field_mag_z ( ) const
inlineoverridevirtual

field value in Tesla for uniform field model ONLY for PHFieldConfigv2

Reimplemented from PHFieldConfig.

Definition at line 85 of file PHFieldConfigv2.h.

View newest version in sPHENIX GitHub at line 85 of file PHFieldConfigv2.h

References field_mag_z_.

Referenced by identify().

+ Here is the caller graph for this function:

void PHFieldConfigv2::identify ( std::ostream &  os = std::cout) const
overridevirtual

identify Function from PHObject

Parameters
osOutput Stream

Reimplemented from PHFieldConfig.

Definition at line 29 of file PHFieldConfigv2.cc.

View newest version in sPHENIX GitHub at line 29 of file PHFieldConfigv2.cc

References PHFieldConfig::get_field_config_description(), get_field_mag_x(), get_field_mag_y(), get_field_mag_z(), and isValid().

+ Here is the call graph for this function:

int PHFieldConfigv2::isValid ( ) const
inlineoverridevirtual

isValid returns non zero if object contains vailid data

Reimplemented from PHObject.

Definition at line 53 of file PHFieldConfigv2.h.

View newest version in sPHENIX GitHub at line 53 of file PHFieldConfigv2.h

Referenced by identify().

+ Here is the caller graph for this function:

void PHFieldConfigv2::Reset ( )
inlineoverridevirtual

Clear Content.

Reimplemented from PHObject.

Definition at line 49 of file PHFieldConfigv2.h.

View newest version in sPHENIX GitHub at line 49 of file PHFieldConfigv2.h

void PHFieldConfigv2::set_field_mag_x ( double  fieldMagX)
inlineoverridevirtual

field value in Tesla for uniform field model ONLY for PHFieldConfigv2

Reimplemented from PHFieldConfig.

Definition at line 67 of file PHFieldConfigv2.h.

View newest version in sPHENIX GitHub at line 67 of file PHFieldConfigv2.h

References field_mag_x_.

void PHFieldConfigv2::set_field_mag_y ( double  fieldMagY)
inlineoverridevirtual

field value in Tesla for uniform field model ONLY for PHFieldConfigv2

Reimplemented from PHFieldConfig.

Definition at line 79 of file PHFieldConfigv2.h.

View newest version in sPHENIX GitHub at line 79 of file PHFieldConfigv2.h

References field_mag_y_.

void PHFieldConfigv2::set_field_mag_z ( double  fieldMagZ)
inlineoverridevirtual

field value in Tesla for uniform field model ONLY for PHFieldConfigv2

Reimplemented from PHFieldConfig.

Definition at line 91 of file PHFieldConfigv2.h.

View newest version in sPHENIX GitHub at line 91 of file PHFieldConfigv2.h

References field_mag_z_.

Referenced by PHTpcTracker::getMagField().

+ Here is the caller graph for this function:

Member Data Documentation

double PHFieldConfigv2::field_mag_x_
protected

Definition at line 97 of file PHFieldConfigv2.h.

View newest version in sPHENIX GitHub at line 97 of file PHFieldConfigv2.h

Referenced by get_field_mag_x(), and set_field_mag_x().

double PHFieldConfigv2::field_mag_y_
protected

Definition at line 98 of file PHFieldConfigv2.h.

View newest version in sPHENIX GitHub at line 98 of file PHFieldConfigv2.h

Referenced by get_field_mag_y(), and set_field_mag_y().

double PHFieldConfigv2::field_mag_z_
protected

Definition at line 99 of file PHFieldConfigv2.h.

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

Referenced by get_field_mag_z(), and set_field_mag_z().


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