EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
#include <cmath>
Go to the source code of this file.
Macros | |
#define | _X_ 0 |
#define | _Y_ 1 |
#define | _Z_ 2 |
#define | PI M_PI |
#define | SQR(x) ((x)*(x)) |
#define | mm2cm(val) ((val)/10.) |
#define | m2cm(val) ((val)*100.) |
#define | inch2cm(val) ((val)*2.54) |
#define | m2mm(val) ((val)*1000.) |
#define | cm2mm(val) ((val)*10.) |
#define | cm2m(val) ((val)/100.) |
#define | gev2mev(val) ((val)*1000.) |
#define | mev2gev(val) ((val)/1000.) |
#define | deg2rad(val) ((val)*PI/180.) |
#define | deg2mrad(val) ((val)*PI/.18) |
#define | rad2deg(val) ((val)*180./PI) |
#define | mrad2deg(val) ((val)*.18/PI) |
#define | tesla2kgs(val) ((val)*10.) |
#define _X_ 0 |
#define _Y_ 1 |
#define _Z_ 2 |
#define cm2m | ( | val | ) | ((val)/100.) |
#define cm2mm | ( | val | ) | ((val)*10.) |
Definition at line 35 of file ayk.h.
View newest version in sPHENIX GitHub at line 35 of file ayk.h
Referenced by EicHtcTask::Exec().
#define deg2mrad | ( | val | ) | ((val)*PI/.18) |
#define deg2rad | ( | val | ) | ((val)*PI/180.) |
Definition at line 39 of file ayk.h.
View newest version in sPHENIX GitHub at line 39 of file ayk.h
Referenced by Mgrid::convertOutputField(), FwdHoughTree::MappingCall(), Mgrid::recalculatePosition(), FairGeoRotation::setEulerAngles(), and transform_coord_type().
#define gev2mev | ( | val | ) | ((val)*1000.) |
#define inch2cm | ( | val | ) | ((val)*2.54) |
#define m2cm | ( | val | ) | ((val)*100.) |
Definition at line 32 of file ayk.h.
View newest version in sPHENIX GitHub at line 32 of file ayk.h
Referenced by m2cm_fun().
#define m2mm | ( | val | ) | ((val)*1000.) |
#define mev2gev | ( | val | ) | ((val)/1000.) |
#define mm2cm | ( | val | ) | ((val)/10.) |
#define mrad2deg | ( | val | ) | ((val)*.18/PI) |
#define PI M_PI |
#define rad2deg | ( | val | ) | ((val)*180./PI) |
Definition at line 41 of file ayk.h.
View newest version in sPHENIX GitHub at line 41 of file ayk.h
Referenced by cross_l_l(), and transform_coord_type().
Definition at line 27 of file ayk.h.
View newest version in sPHENIX GitHub at line 27 of file ayk.h
Referenced by TrKalmanFilter::AccountIonizationLosses(), TrKalmanFilter::CalculateProcessNoise(), KfMatrix::CheckPositivity(), cross_l_l(), Mgrid::directFieldValue(), EicCadWizard::FaceGuidedSplit(), KfMatrix::FixPositivity(), EicCadWizard::FlatSurfaceSplit(), ThreeDeePolySpace::getNaivePolyFitError(), ThreeDeePolySpace::getRealisticPolyFitError(), FwdTrackFinder::Init(), TrKalmanNodeLocation::InitializeProcessNoiseMatrices(), EicCadWizardSphere::IsEqual(), EicCadWizardCone::IsEqual(), EicCadWizardTorus::IsEqual(), RungeKuttaRequest::kk(), MgridInterpolation::prepairIrregularCase(), TrKalmanFilter::ResetNode(), FwdTrackFinder::ResetVtxNode(), t_3d_line::t_3d_line(), transform_coord_type(), and FwdTrackFinder::UpdateVtxNode().
#define tesla2kgs | ( | val | ) | ((val)*10.) |
Definition at line 43 of file ayk.h.
View newest version in sPHENIX GitHub at line 43 of file ayk.h
Referenced by tesla2kgs_fun().