CbmRoot
LxLayer Struct Reference

#include <LxCA.h>

Collaboration diagram for LxLayer:
[legend]

Public Member Functions

 LxLayer (LxStation *st, int lNum)
 
 ~LxLayer ()
 
void Clear ()
 
LxPointAddPoint (int hitId, scaltype x, scaltype y, scaltype z, scaltype dx, scaltype dy, scaltype dz, bool isArtificial=false)
 
LxPointPickNearestPoint (scaltype x, scaltype y)
 
LxPointPickNearestPoint (LxRay *ray)
 
LxPointPickNearestPoint (scaltype x, scaltype y, scaltype deltaX, scaltype deltaY)
 
bool HasPointInRange (scaltype x, scaltype y, scaltype deltaX, scaltype deltaY)
 
 LxLayer (LxStation *Station, int LayerNumber)
 
 ~LxLayer ()
 
void Clear ()
 

Public Attributes

std::list< LxPoint * > points
 
LxStationstation
 
int layerNumber
 
scaltype zCoord
 
kdt_points_handle points_handle
 
Double_t zCoord
 
Int_t layerNumber
 

Detailed Description

Definition at line 152 of file LxCA.h.

Constructor & Destructor Documentation

◆ LxLayer() [1/2]

LxLayer::LxLayer ( LxStation st,
int  lNum 
)

Definition at line 821 of file LxCA.cxx.

◆ ~LxLayer() [1/2]

LxLayer::~LxLayer ( )

Definition at line 824 of file LxCA.cxx.

References Clear().

◆ LxLayer() [2/2]

LxLayer::LxLayer ( LxStation Station,
int  LayerNumber 
)

◆ ~LxLayer() [2/2]

LxLayer::~LxLayer ( )

Member Function Documentation

◆ AddPoint()

LxPoint* LxLayer::AddPoint ( int  hitId,
scaltype  x,
scaltype  y,
scaltype  z,
scaltype  dx,
scaltype  dy,
scaltype  dz,
bool  isArtificial = false 
)
inline

Definition at line 161 of file LxCA.h.

References points, x, and y.

Referenced by LxStation::RestoreMiddlePoints().

◆ Clear() [1/2]

void LxLayer::Clear ( )

◆ Clear() [2/2]

void LxLayer::Clear ( )

Definition at line 826 of file LxCA.cxx.

References i, and points.

Referenced by ~LxLayer().

◆ HasPointInRange()

bool LxLayer::HasPointInRange ( scaltype  x,
scaltype  y,
scaltype  deltaX,
scaltype  deltaY 
)

Definition at line 903 of file LxCA.cxx.

References i, points, scaltype, LxPoint::x, x, LxPoint::y, and y.

Referenced by LxStation::RestoreMiddlePoints().

◆ PickNearestPoint() [1/3]

LxPoint * LxLayer::PickNearestPoint ( LxRay ray)

◆ PickNearestPoint() [2/3]

LxPoint * LxLayer::PickNearestPoint ( scaltype  x,
scaltype  y 
)

◆ PickNearestPoint() [3/3]

LxPoint * LxLayer::PickNearestPoint ( scaltype  x,
scaltype  y,
scaltype  deltaX,
scaltype  deltaY 
)

Definition at line 872 of file LxCA.cxx.

References i, points, scaltype, LxPoint::x, x, LxPoint::y, and y.

Member Data Documentation

◆ layerNumber [1/2]

Int_t LxLayer::layerNumber

Definition at line 133 of file LxCATriplets.h.

◆ layerNumber [2/2]

int LxLayer::layerNumber

Definition at line 155 of file LxCA.h.

Referenced by LxEff::CalcRecoEff(), and LxFinder::MatchMCToReco().

◆ points

◆ points_handle

kdt_points_handle LxLayer::points_handle

Definition at line 130 of file LxCATriplets.h.

Referenced by LxSpace::AddPoint(), and LxStation::BuildTriplets().

◆ station

LxStation * LxLayer::station

Definition at line 154 of file LxCA.h.

Referenced by LxEff::CalcRecoEff(), LxFinder::MatchMCToReco(), and RecoTrackChi2().

◆ zCoord [1/2]

Double_t LxLayer::zCoord

Definition at line 131 of file LxCATriplets.h.

◆ zCoord [2/2]

scaltype LxLayer::zCoord

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