Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
TpcDistortionCorrection Class Reference

#include <coresoftware/blob/master/offline/packages/tpc/TpcDistortionCorrection.h>

Public Types

enum  DistortionType { StaticOnly =0, BeamInducedAverage =1, BeamInducedFluctuation =2 }
 
enum  CoordMask {
  COORD_PHI = 1<<0, COORD_R = 1<<1, COORD_Z = 1<<2, COORD_PHIZ = COORD_PHI|COORD_Z,
  COORD_ALL = COORD_PHI|COORD_R|COORD_Z
}
 

Public Member Functions

 TpcDistortionCorrection ()=default
 constructor
 
Acts::Vector3 get_corrected_position (const Acts::Vector3 &, const TpcDistortionCorrectionContainer *, unsigned int mask=COORD_ALL) const
 get cluster corrected 3D position using given DistortionCorrectionObject
 
void read_phi_as_radians (bool flag=true)
 set the phi histogram to be interpreted as radians.
 

Private Attributes

bool m_phi_hist_in_radians =true
 

Detailed Description

Definition at line 14 of file TpcDistortionCorrection.h.

View newest version in sPHENIX GitHub at line 14 of file TpcDistortionCorrection.h

Member Enumeration Documentation

Enumerator:
COORD_PHI 
COORD_R 
COORD_Z 
COORD_PHIZ 
COORD_ALL 

Definition at line 28 of file TpcDistortionCorrection.h.

View newest version in sPHENIX GitHub at line 28 of file TpcDistortionCorrection.h

Enumerator:
StaticOnly 
BeamInducedAverage 
BeamInducedFluctuation 

Definition at line 21 of file TpcDistortionCorrection.h.

View newest version in sPHENIX GitHub at line 21 of file TpcDistortionCorrection.h

Constructor & Destructor Documentation

TpcDistortionCorrection::TpcDistortionCorrection ( )
default

constructor

Member Function Documentation

Acts::Vector3 TpcDistortionCorrection::get_corrected_position ( const Acts::Vector3 source,
const TpcDistortionCorrectionContainer dcc,
unsigned int  mask = COORD_ALL 
) const
void TpcDistortionCorrection::read_phi_as_radians ( bool  flag = true)
inline

set the phi histogram to be interpreted as radians.

Definition at line 42 of file TpcDistortionCorrection.h.

View newest version in sPHENIX GitHub at line 42 of file TpcDistortionCorrection.h

References m_phi_hist_in_radians.

Member Data Documentation

bool TpcDistortionCorrection::m_phi_hist_in_radians =true
private

Definition at line 47 of file TpcDistortionCorrection.h.

View newest version in sPHENIX GitHub at line 47 of file TpcDistortionCorrection.h

Referenced by get_corrected_position(), and read_phi_as_radians().


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