R3BROOT
R3B analysis software
Loading...
Searching...
No Matches

NeuLAND geometry parameter storage. More...

#include <R3BNeulandGeoPar.h>

Public Member Functions

 R3BNeulandGeoPar (const char *name="R3BNeulandGeoPar", const char *title="Neuland Geometry Parameters", const char *context="TestDefaultContext")
 R3BNeulandGeoPar (R3BNeulandGeoPar &&)=delete
auto operator= (R3BNeulandGeoPar &&) -> R3BNeulandGeoPar &=delete
 R3BNeulandGeoPar (const R3BNeulandGeoPar &)
auto operator= (const R3BNeulandGeoPar &) -> R3BNeulandGeoPar &
 ~R3BNeulandGeoPar () override
void clear () override
void putParams (FairParamList *) override
auto getParams (FairParamList *) -> bool override
void printParams () override
auto GetNumberOfModules () const -> int
auto GetNeulandGeoNode () const -> TGeoNode *
void SetNeulandGeoNode (const TGeoNode *node)
auto GetPaddleHalfLength () const -> double
auto ConvertToLocalCoordinates (const ROOT::Math::XYZVector &position, int paddleID) const -> ROOT::Math::XYZVector
auto ConvertToGlobalCoordinates (const ROOT::Math::XYZVector &position, int paddleID) const -> ROOT::Math::XYZVector
auto ConvertGlobalToPixel (const ROOT::Math::XYZVector &position) const -> ROOT::Math::XYZVector

Private Member Functions

void BuildPaddleLookup ()

Private Attributes

std::map< int32_t, TGeoNode * > fPaddleGeoNodes
TGeoNode * fNeulandGeoNode

Detailed Description

Author
Jan Mayer

Stores the full Neuland geo node used in the simulation for later reference, especially for coordinate transformation from and to local and global coordinates.

Definition at line 34 of file R3BNeulandGeoPar.h.

Constructor & Destructor Documentation

◆ R3BNeulandGeoPar() [1/3]

R3BNeulandGeoPar::R3BNeulandGeoPar ( const char * name = "R3BNeulandGeoPar",
const char * title = "Neuland Geometry Parameters",
const char * context = "TestDefaultContext" )
explicit

Definition at line 30 of file R3BNeulandGeoPar.cxx.

◆ R3BNeulandGeoPar() [2/3]

R3BNeulandGeoPar::R3BNeulandGeoPar ( R3BNeulandGeoPar && )
delete

◆ R3BNeulandGeoPar() [3/3]

R3BNeulandGeoPar::R3BNeulandGeoPar ( const R3BNeulandGeoPar & )

◆ ~R3BNeulandGeoPar()

R3BNeulandGeoPar::~R3BNeulandGeoPar ( )
overridedefault

Member Function Documentation

◆ BuildPaddleLookup()

void R3BNeulandGeoPar::BuildPaddleLookup ( )
private

Definition at line 146 of file R3BNeulandGeoPar.cxx.

◆ clear()

void R3BNeulandGeoPar::clear ( )
override

Definition at line 38 of file R3BNeulandGeoPar.cxx.

◆ ConvertGlobalToPixel()

auto R3BNeulandGeoPar::ConvertGlobalToPixel ( const ROOT::Math::XYZVector & position) const -> ROOT::Math::XYZVector
nodiscard

Definition at line 120 of file R3BNeulandGeoPar.cxx.

◆ ConvertToGlobalCoordinates()

auto R3BNeulandGeoPar::ConvertToGlobalCoordinates ( const ROOT::Math::XYZVector & position,
int paddleID ) const -> ROOT::Math::XYZVector
nodiscard

Definition at line 105 of file R3BNeulandGeoPar.cxx.

◆ ConvertToLocalCoordinates()

auto R3BNeulandGeoPar::ConvertToLocalCoordinates ( const ROOT::Math::XYZVector & position,
int paddleID ) const -> ROOT::Math::XYZVector
nodiscard

Definition at line 90 of file R3BNeulandGeoPar.cxx.

◆ GetNeulandGeoNode()

auto R3BNeulandGeoPar::GetNeulandGeoNode ( ) const -> TGeoNode*
inlinenodiscard

Definition at line 52 of file R3BNeulandGeoPar.h.

◆ GetNumberOfModules()

auto R3BNeulandGeoPar::GetNumberOfModules ( ) const -> int
inlinenodiscard

Definition at line 51 of file R3BNeulandGeoPar.h.

◆ GetPaddleHalfLength()

auto R3BNeulandGeoPar::GetPaddleHalfLength ( ) const -> double
nodiscard

Definition at line 83 of file R3BNeulandGeoPar.cxx.

◆ getParams()

auto R3BNeulandGeoPar::getParams ( FairParamList * lst) -> bool
override

Definition at line 49 of file R3BNeulandGeoPar.cxx.

◆ operator=() [1/2]

auto R3BNeulandGeoPar::operator= ( const R3BNeulandGeoPar & ) -> R3BNeulandGeoPar &

◆ operator=() [2/2]

auto R3BNeulandGeoPar::operator= ( R3BNeulandGeoPar && ) -> R3BNeulandGeoPar &=delete
delete

◆ printParams()

void R3BNeulandGeoPar::printParams ( )
override

Definition at line 63 of file R3BNeulandGeoPar.cxx.

◆ putParams()

void R3BNeulandGeoPar::putParams ( FairParamList * lst)
override

Definition at line 40 of file R3BNeulandGeoPar.cxx.

◆ SetNeulandGeoNode()

void R3BNeulandGeoPar::SetNeulandGeoNode ( const TGeoNode * node)

Definition at line 77 of file R3BNeulandGeoPar.cxx.

Member Data Documentation

◆ fNeulandGeoNode

TGeoNode* R3BNeulandGeoPar::fNeulandGeoNode
private

Definition at line 64 of file R3BNeulandGeoPar.h.

◆ fPaddleGeoNodes

std::map<int32_t, TGeoNode*> R3BNeulandGeoPar::fPaddleGeoNodes
private

Definition at line 63 of file R3BNeulandGeoPar.h.


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