ATLAS Offline Software
Public Types | Public Member Functions | Private Attributes | List of all members
LinearService Class Reference

#include <LinearService.h>

Collaboration diagram for LinearService:

Public Types

typedef std::pair< std::string, double > EntryType
 

Public Member Functions

 LinearService ()
 
 LinearService (const std::string &name, double lw, const std::vector< EntryType > &cmp)
 
 LinearService (const std::string &name, double lw)
 Constructor for elementary material (no components) More...
 
const std::string & name () const
 
double length () const
 
const std::vector< EntryType > & components () const
 

Private Attributes

std::string m_name
 
double m_length
 
std::vector< EntryTypem_components
 

Detailed Description

Definition at line 11 of file LinearService.h.

Member Typedef Documentation

◆ EntryType

typedef std::pair< std::string, double> LinearService::EntryType

Definition at line 14 of file LinearService.h.

Constructor & Destructor Documentation

◆ LinearService() [1/3]

LinearService::LinearService ( )
inline

Definition at line 16 of file LinearService.h.

16 {}

◆ LinearService() [2/3]

LinearService::LinearService ( const std::string &  name,
double  lw,
const std::vector< EntryType > &  cmp 
)
inline

Definition at line 18 of file LinearService.h.

18  :

◆ LinearService() [3/3]

LinearService::LinearService ( const std::string &  name,
double  lw 
)
inline

Constructor for elementary material (no components)

Definition at line 22 of file LinearService.h.

22  :

Member Function Documentation

◆ components()

const std::vector< EntryType>& LinearService::components ( ) const
inline

Definition at line 29 of file LinearService.h.

29 {return m_components;}

◆ length()

double LinearService::length ( ) const
inline

Definition at line 27 of file LinearService.h.

27 {return m_length;}

◆ name()

const std::string& LinearService::name ( ) const
inline

Definition at line 25 of file LinearService.h.

25 {return m_name;}

Member Data Documentation

◆ m_components

std::vector< EntryType> LinearService::m_components
private

Definition at line 35 of file LinearService.h.

◆ m_length

double LinearService::m_length
private

Definition at line 34 of file LinearService.h.

◆ m_name

std::string LinearService::m_name
private

Definition at line 33 of file LinearService.h.


The documentation for this class was generated from the following file:
python.EI_Lib.cmp
def cmp(x, y)
Definition: EI_Lib.py:6
LinearService::m_components
std::vector< EntryType > m_components
Definition: LinearService.h:35
python.LumiCalcWorking.lw
lw
Definition: LumiCalcWorking.py:112
LinearService::name
const std::string & name() const
Definition: LinearService.h:25
LinearService::m_length
double m_length
Definition: LinearService.h:34
LinearService::m_name
std::string m_name
Definition: LinearService.h:33