ATLAS Offline Software
Public Member Functions | Public Attributes | List of all members
Trk::PathLimit Struct Reference

#include <HelperStructs.h>

Collaboration diagram for Trk::PathLimit:

Public Member Functions

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

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:
Trk::PathLimit::process
int process
Definition: HelperStructs.h:39
Monitored::Z
@ Z
Definition: HistogramFillerUtils.h:24
Trk::PathLimit::weightedZ
float weightedZ
Definition: HelperStructs.h:38
Trk::PathLimit::x0Collected
float x0Collected
Definition: HelperStructs.h:36
mc.proc
proc
Definition: mc.PhPy8EG_A14NNPDF23_gg4l_example.py:22
Trk::PathLimit::l0Collected
float l0Collected
Definition: HelperStructs.h:37
Trk::PathLimit::x0Max
float x0Max
Definition: HelperStructs.h:35