ATLAS Offline Software
Public Member Functions | Public Attributes | List of all members
ServiceMaterial::Entry Struct Reference

Structure holding one service material. More...

#include <ServiceMaterial.h>

Collaboration diagram for ServiceMaterial::Entry:

Public Member Functions

 Entry (const std::string &nam, int num, bool lin)
 
 Entry (const std::string &nam, int num, bool lin, double w)
 

Public Attributes

std::string name
 
int number
 
bool linear
 
double weight
 

Detailed Description

Structure holding one service material.

The name must be a valid material name, the number is the number of times the service is present (e.g. number of cables), the weight is the weight per unit of length if the flag "linear" is true, and simply the weight otherwise. If the weight is zero it will be taken from the material DB

Definition at line 21 of file ServiceMaterial.h.

Constructor & Destructor Documentation

◆ Entry() [1/2]

ServiceMaterial::Entry::Entry ( const std::string &  nam,
int  num,
bool  lin 
)
inline

Definition at line 22 of file ServiceMaterial.h.

22 : name(nam), number(num), linear(lin), weight(1) {}

◆ Entry() [2/2]

ServiceMaterial::Entry::Entry ( const std::string &  nam,
int  num,
bool  lin,
double  w 
)
inline

Definition at line 23 of file ServiceMaterial.h.

23 : name(nam), number(num), linear(lin), weight(w) {}

Member Data Documentation

◆ linear

bool ServiceMaterial::Entry::linear

Definition at line 27 of file ServiceMaterial.h.

◆ name

std::string ServiceMaterial::Entry::name

Definition at line 25 of file ServiceMaterial.h.

◆ number

int ServiceMaterial::Entry::number

Definition at line 26 of file ServiceMaterial.h.

◆ weight

double ServiceMaterial::Entry::weight

Definition at line 28 of file ServiceMaterial.h.


The documentation for this struct was generated from the following file:
ServiceMaterial::Entry::weight
double weight
Definition: ServiceMaterial.h:28
ServiceMaterial::Entry::number
int number
Definition: ServiceMaterial.h:26
trigbs_pickEvents.num
num
Definition: trigbs_pickEvents.py:76
ServiceMaterial::Entry::linear
bool linear
Definition: ServiceMaterial.h:27
ServiceMaterial::Entry::name
std::string name
Definition: ServiceMaterial.h:25
python.IoTestsLib.w
def w
Definition: IoTestsLib.py:200