ATLAS Offline Software
Loading...
Searching...
No Matches
Trk::PathLimit Struct Reference

#include <HelperStructs.h>

Collaboration diagram for Trk::PathLimit:

Public Member Functions

 PathLimit (float pathLimit, int proc)
 Constructor.
void updateMat (float dX0, float Z, float dL0)
 collected material update

Public Attributes

float x0Max
float x0Collected
float l0Collected
float weightedZ
int process

Detailed Description

Definition at line 33 of file HelperStructs.h.

Constructor & Destructor Documentation

◆ PathLimit()

Trk::PathLimit::PathLimit ( float pathLimit,
int proc )
inline

Constructor.

Definition at line 44 of file HelperStructs.h.

44 :
45 x0Max(pathLimit), x0Collected(0.0), l0Collected(0.0),weightedZ(0.0), process(proc)
46 {}

Member Function Documentation

◆ updateMat()

void Trk::PathLimit::updateMat ( float dX0,
float Z,
float dL0 )
inline

collected material update

Definition at line 51 of file HelperStructs.h.

51 {
52 x0Collected += dX0; weightedZ += dX0*Z;
53 l0Collected += dL0>0. ? dL0 : dX0/0.37/Z; // use approximation if l0 not available
54 }

Member Data Documentation

◆ l0Collected

float Trk::PathLimit::l0Collected

Definition at line 37 of file HelperStructs.h.

◆ process

int Trk::PathLimit::process

Definition at line 39 of file HelperStructs.h.

◆ weightedZ

float Trk::PathLimit::weightedZ

Definition at line 38 of file HelperStructs.h.

◆ x0Collected

float Trk::PathLimit::x0Collected

Definition at line 36 of file HelperStructs.h.

◆ x0Max

float Trk::PathLimit::x0Max

Definition at line 35 of file HelperStructs.h.


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