CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes
MSLayer::DataX0 Struct Reference

#include <MSLayer.h>

Public Member Functions

 DataX0 (const MSLayersKeeper *al=nullptr)
 
 DataX0 (float ax0, float asX0D, float aCotTheta)
 
void setForwardSumX0DSlope (float aSlope)
 

Public Attributes

const MSLayersKeeperallLayers
 
float cotTheta
 
bool hasFSlope
 
bool hasX0
 
float slopeSumX0D
 
float sumX0D
 
float x0
 

Detailed Description

Definition at line 17 of file MSLayer.h.

Constructor & Destructor Documentation

◆ DataX0() [1/2]

MSLayer::DataX0::DataX0 ( const MSLayersKeeper al = nullptr)
inline

Definition at line 18 of file MSLayer.h.

18 : hasX0(false), hasFSlope(false), allLayers(al) {}

◆ DataX0() [2/2]

MSLayer::DataX0::DataX0 ( float  ax0,
float  asX0D,
float  aCotTheta 
)
inline

Definition at line 19 of file MSLayer.h.

20  : hasX0(true),
21  hasFSlope(false),
22  x0(ax0),
23  sumX0D(asX0D),
24  cotTheta(aCotTheta),
25  slopeSumX0D(0.),
26  allLayers(nullptr) {}

Member Function Documentation

◆ setForwardSumX0DSlope()

void MSLayer::DataX0::setForwardSumX0DSlope ( float  aSlope)
inline

Definition at line 27 of file MSLayer.h.

27  {
28  hasFSlope = true;
29  slopeSumX0D = aSlope;
30  }

References hasFSlope, and slopeSumX0D.

Member Data Documentation

◆ allLayers

const MSLayersKeeper* MSLayer::DataX0::allLayers

Definition at line 33 of file MSLayer.h.

Referenced by MSLayer::sumX0D(), and MSLayer::x0().

◆ cotTheta

float MSLayer::DataX0::cotTheta

Definition at line 32 of file MSLayer.h.

Referenced by MSLayer::sumX0D().

◆ hasFSlope

bool MSLayer::DataX0::hasFSlope

Definition at line 31 of file MSLayer.h.

Referenced by setForwardSumX0DSlope(), and MSLayer::sumX0D().

◆ hasX0

bool MSLayer::DataX0::hasX0

Definition at line 31 of file MSLayer.h.

Referenced by MSLayer::sumX0D(), and MSLayer::x0().

◆ slopeSumX0D

float MSLayer::DataX0::slopeSumX0D

Definition at line 32 of file MSLayer.h.

Referenced by setForwardSumX0DSlope(), and MSLayer::sumX0D().

◆ sumX0D

float MSLayer::DataX0::sumX0D

Definition at line 32 of file MSLayer.h.

Referenced by MSLayersKeeperX0DetLayer::init(), and MSLayer::sumX0D().

◆ x0

float MSLayer::DataX0::x0

Definition at line 32 of file MSLayer.h.

Referenced by MSLayersKeeperX0Averaged::init(), and MSLayer::x0().

MSLayer::DataX0::cotTheta
float cotTheta
Definition: MSLayer.h:32
MSLayer::DataX0::allLayers
const MSLayersKeeper * allLayers
Definition: MSLayer.h:33
MSLayer::DataX0::hasX0
bool hasX0
Definition: MSLayer.h:31
MSLayer::DataX0::sumX0D
float sumX0D
Definition: MSLayer.h:32
MSLayer::DataX0::slopeSumX0D
float slopeSumX0D
Definition: MSLayer.h:32
MSLayer::DataX0::x0
float x0
Definition: MSLayer.h:32
MSLayer::DataX0::hasFSlope
bool hasFSlope
Definition: MSLayer.h:31