ACTARSim
ACTAR TPC Simulation Reference Guide
Public Member Functions | Private Attributes | List of all members
ActarSimEulerTransformation Class Reference

Euler transformation between beam system and lab system

Definition at line 16 of file ActarSimEulerTransformation.hh.

Public Member Functions

 ActarSimEulerTransformation ()
 
 ~ActarSimEulerTransformation ()
 Destructor. More...
 
void SetThetaInBeamSystem (G4double value)
 
void SetPhiInBeamSystem (G4double value)
 
void SetBeamDirectionAtVertexTheta (G4double value)
 
void SetBeamDirectionAtVertexPhi (G4double value)
 
G4double GetThetaInBeamSystem (void)
 
G4double GetPhiInBeamSystem (void)
 
G4double GetThetaInLabSystem (void)
 
G4double GetPhiInLabSystem (void)
 
G4double GetBeamDirectionAtVertexTheta (void)
 
G4double GetBeamDirectionAtVertexPhi (void)
 
void DoTheEulerTransformationBeam2Lab ()
 
void Dump ()
 Dump (empty function) More...
 
void PrintResults ()
 Prints results. More...
 

Private Attributes

G4double ThetaInBeamSystem
 
G4double PhiInBeamSystem
 
G4double BeamDirectionAtVertexTheta
 
G4double BeamDirectionAtVertexPhi
 
G4double ThetaInLabSystem
 
G4double PhiInLabSystem
 

#include <ActarSimEulerTransformation.hh>

Constructor & Destructor Documentation

ActarSimEulerTransformation::ActarSimEulerTransformation ( )

Constructor *** Transformation coordinate system (Euler angles) : ***

DEFINITIONS:

  • from beam to lab system (alpha = phi, beta = theta, gamma = 0) *** inputs: theta_beam, phi_beam, alpha, beta, gamma *** calculate: theta_lab, phi_lab (from beam to lab)
  • or from lab to beam system (alpha = pi, beta = theta_beam, gamma = pi - phi_beam)

Definition at line 37 of file ActarSimEulerTransformation.cc.

ActarSimEulerTransformation::~ActarSimEulerTransformation ( )

Destructor.

Definition at line 48 of file ActarSimEulerTransformation.cc.

Member Function Documentation

void ActarSimEulerTransformation::DoTheEulerTransformationBeam2Lab ( )

*** Transformation coordinate system (Euler angles) : ***

DEFINITIONS:

  • from beam to lab system (alpha = phi, beta = theta, gamma = 0) *** inputs: theta_beam, phi_beam, alpha, beta, gamma *** calculate: theta_lab, phi_lab (from beam to lab)
  • or from lab to beam system (alpha = pi, beta = theta_beam, gamma = pi - phi_beam)

BE CAREFUL of the units! Here the angles are not in degrees!

Definition at line 68 of file ActarSimEulerTransformation.cc.

Referenced by ActarSimPrimaryGeneratorAction::GeneratePrimaries(), and GetBeamDirectionAtVertexPhi().

void ActarSimEulerTransformation::Dump ( )

Dump (empty function)

Definition at line 124 of file ActarSimEulerTransformation.cc.

Referenced by GetBeamDirectionAtVertexPhi().

G4double ActarSimEulerTransformation::GetBeamDirectionAtVertexPhi ( void  )
inline

Definition at line 40 of file ActarSimEulerTransformation.hh.

G4double ActarSimEulerTransformation::GetBeamDirectionAtVertexTheta ( void  )
inline

Definition at line 39 of file ActarSimEulerTransformation.hh.

G4double ActarSimEulerTransformation::GetPhiInBeamSystem ( void  )
inline

Definition at line 36 of file ActarSimEulerTransformation.hh.

G4double ActarSimEulerTransformation::GetPhiInLabSystem ( void  )
inline
G4double ActarSimEulerTransformation::GetThetaInBeamSystem ( void  )
inline

Definition at line 35 of file ActarSimEulerTransformation.hh.

G4double ActarSimEulerTransformation::GetThetaInLabSystem ( void  )
inline
void ActarSimEulerTransformation::PrintResults ( )

Prints results.

Definition at line 129 of file ActarSimEulerTransformation.cc.

Referenced by GetBeamDirectionAtVertexPhi().

void ActarSimEulerTransformation::SetBeamDirectionAtVertexPhi ( G4double  value)
inline
void ActarSimEulerTransformation::SetBeamDirectionAtVertexTheta ( G4double  value)
inline
void ActarSimEulerTransformation::SetPhiInBeamSystem ( G4double  value)
inline
void ActarSimEulerTransformation::SetThetaInBeamSystem ( G4double  value)
inline

Member Data Documentation

G4double ActarSimEulerTransformation::BeamDirectionAtVertexPhi
private

Definition at line 21 of file ActarSimEulerTransformation.hh.

Referenced by GetBeamDirectionAtVertexPhi().

G4double ActarSimEulerTransformation::BeamDirectionAtVertexTheta
private

Definition at line 20 of file ActarSimEulerTransformation.hh.

Referenced by GetBeamDirectionAtVertexTheta().

G4double ActarSimEulerTransformation::PhiInBeamSystem
private

Definition at line 19 of file ActarSimEulerTransformation.hh.

Referenced by GetPhiInBeamSystem().

G4double ActarSimEulerTransformation::PhiInLabSystem
private

Definition at line 24 of file ActarSimEulerTransformation.hh.

Referenced by GetPhiInLabSystem().

G4double ActarSimEulerTransformation::ThetaInBeamSystem
private

Definition at line 18 of file ActarSimEulerTransformation.hh.

Referenced by GetThetaInBeamSystem().

G4double ActarSimEulerTransformation::ThetaInLabSystem
private

Definition at line 23 of file ActarSimEulerTransformation.hh.

Referenced by GetThetaInLabSystem().


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