Go to the source code of this file.
|
vector3 | InitV (float x, float y, float z) |
|
vector3 | InitV1 (float phi, float cosTheta, float magnitude) |
|
float | Mag (vector3 v) |
|
float | Mag2 (vector3 v) |
|
float | Dot (vector3 v1, vector3 v2) |
|
vector3 | Cross (vector3 v1, vector3 v2) |
|
vector3 | Unit (vector3 v) |
|
vector3 | Intersection (float z0, vector3 vec, vector3 pos) |
|
vector3 | TimesA (float a, vector3 v) |
|
vector3 | AddV (vector3 v1, vector3 v2) |
|
vector3 | SubV (vector3 v1, vector3 v2) |
|
vector3 | TransformFrom (vector3 v, vector3 ux, vector3 uy, vector3 uz) |
|
vector3 | TransformTo (vector3 v, vector3 ux, vector3 uy, vector3 uz) |
|
|
const float | pi = 3.1415926536 |
|
const float | rad = 57.29578 |
|
◆ AddV()
Definition at line 93 of file vector3.h.
94{
100}
**********Class see also m_nmax DOUBLE PRECISION m_amel DOUBLE PRECISION m_x2 DOUBLE PRECISION m_alfinv DOUBLE PRECISION m_Xenph INTEGER m_KeyWtm INTEGER m_idyfs DOUBLE PRECISION m_zini DOUBLE PRECISION m_q2 DOUBLE PRECISION m_Wt_KF DOUBLE PRECISION m_WtCut INTEGER m_KFfin *COMMON c_KarLud $ !Input CMS energy[GeV] $ !CMS energy after beam spread beam strahlung[GeV] $ !Beam energy spread[GeV] $ !z boost due to beam spread $ !electron beam mass *ff pair spectrum $ !minimum v
Referenced by TransformFrom().
◆ Cross()
Definition at line 49 of file vector3.h.
50{
52 v.
x = v1.
y*v2.
z - v1.
z*v2.
y;
53 v.y = v1.
z*v2.
x - v1.
x*v2.
z;
54 v.z = v1.
x*v2.
y - v1.
y*v2.
x;
56}
◆ Dot()
◆ InitV()
vector3 InitV |
( |
float | x, |
|
|
float | y, |
|
|
float | z ) |
◆ InitV1()
vector3 InitV1 |
( |
float | phi, |
|
|
float | cosTheta, |
|
|
float | magnitude ) |
Definition at line 19 of file vector3.h.
20{
22 float sinTheta = sqrt(1.0-cosTheta*cosTheta);
23 v.z = magnitude*cosTheta;
24 v.y = magnitude*sinTheta*
sin(phi);
25 v.x = magnitude*sinTheta*
cos(phi);
27}
double sin(const BesAngle a)
double cos(const BesAngle a)
◆ Intersection()
Definition at line 72 of file vector3.h.
73{
77 vz0.y = (vz0.z - pos.
z)*
vec.y/
vec.z + pos.
y;
78 return vz0;
79}
◆ Mag()
◆ Mag2()
◆ SubV()
◆ TimesA()
◆ TransformFrom()
Definition at line 113 of file vector3.h.
114{
120}
vector3 AddV(vector3 v1, vector3 v2)
vector3 TimesA(float a, vector3 v)
◆ TransformTo()
Definition at line 124 of file vector3.h.
125{
130 return vv;
131}
float Dot(vector3 v1, vector3 v2)
◆ Unit()
◆ pi
const float pi = 3.1415926536 |
Definition at line 133 of file vector3.h.
Referenced by Dalitz::Babar_sakurai(), EmcRecCrystal::BarrelCheckout(), EvtConExc::baryon_sampling(), BesMdcWire::BesMdcWire(), G4HepMCInterface::Boost(), PreXtCalib::calib(), MdcUtilitySvc::cellTrackPassed(), BesMdcConstruction::Construct(), BesSCM::Construct(), BesEvent::ConstructMdcTrackFromRec(), BesEvent::ConstructMucTrackFromRec(), TMDCTsf::createTsf(), EvtCalHelAmp::decay(), EvtDToKpienu::decay(), EvtConExc::difgamXs(), EvtConExc::difgamXs(), BesMdcGeoParameter::Dump(), EmcRecCrystal::EndCapCheckout(), EvtEulerAngles::EulerAngles(), EvtmyEulerAngles::EulerAngles(), CalibEventSelect::execute(), DQADtag::execute(), DQAPi2p2::execute(), DQARhopi::execute(), DQASelBhabha::execute(), DQASelDimu::execute(), DQASelHadron::execute(), EmcRec::execute(), EvtSelExample::execute(), Gam4pikp::execute(), PipiJpsi::execute(), Ppjrhopi::execute(), Rhopi::execute(), rhopi::execute(), TofRec::execute(), MagneticFieldSvc::fieldVector(), TofCheckDigi::FillCol(), EvtConExc::findMaxXS(), EmcSelBhaEvent::findPhiDiff(), EvtCalHelAmp::firstder(), TRungeFitter::fit(), BesMdcGeoParameter::InitFromFile(), BesMdcGeoParameter::InitFromSvc(), TTrackManager::makeTds(), EvtConExc::meson_sampling(), EvtRexc::meson_sampling(), K0kpi::MTotal(), TMDCWire::neighbor(), ParticleIDBase::pdfCalculate(), BesMdcWire::Phi(), BesMdcSD::ProcessHits(), EvtConExc::Rad1(), EvtConExc::Rad2(), EvtConExc::Ros_xs(), Dalitz::sakurai(), TRecEmcShower::setPhi(), EvtConExc::SoftPhoton_xs(), PreXtMdcCalib::updateConst(), EvtConExc::VP_sampling(), EvtRexc::VP_sampling(), EvtXsection::Xsection_c(), and MdcSegInfoSterO::zPosition().
◆ rad
const float rad = 57.29578 |