ATLAS Offline Software
Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
ZdcInjPulserAmpMap::Token Class Reference

#include <ZdcInjPulserAmpMap.h>

Collaboration diagram for ZdcInjPulserAmpMap::Token:

Public Member Functions

 Token ()
 
bool isValid () const
 

Private Member Functions

int value () const
 
float scaleFactor () const
 
 Token (int index, float scaleFactor)
 

Private Attributes

int m_index
 
float m_scaleFactor
 

Friends

class ZdcInjPulserAmpMap
 

Detailed Description

Definition at line 27 of file ZdcInjPulserAmpMap.h.

Constructor & Destructor Documentation

◆ Token() [1/2]

ZdcInjPulserAmpMap::Token::Token ( int  index,
float  scaleFactor 
)
inlineprivate

Definition at line 35 of file ZdcInjPulserAmpMap.h.

35  :
36  m_index(index),
38  {}

◆ Token() [2/2]

ZdcInjPulserAmpMap::Token::Token ( )
inline

Definition at line 43 of file ZdcInjPulserAmpMap.h.

43  :
44  m_index(-1),
45  m_scaleFactor(1)
46  {}

Member Function Documentation

◆ isValid()

bool ZdcInjPulserAmpMap::Token::isValid ( ) const
inline

Definition at line 48 of file ZdcInjPulserAmpMap.h.

48 {return m_index != -1;}

◆ scaleFactor()

float ZdcInjPulserAmpMap::Token::scaleFactor ( ) const
inlineprivate

Definition at line 33 of file ZdcInjPulserAmpMap.h.

33 {return m_scaleFactor;}

◆ value()

int ZdcInjPulserAmpMap::Token::value ( ) const
inlineprivate

Definition at line 32 of file ZdcInjPulserAmpMap.h.

32 {return m_index;}

Friends And Related Function Documentation

◆ ZdcInjPulserAmpMap

friend class ZdcInjPulserAmpMap
friend

Definition at line 41 of file ZdcInjPulserAmpMap.h.

Member Data Documentation

◆ m_index

int ZdcInjPulserAmpMap::Token::m_index
private

Definition at line 29 of file ZdcInjPulserAmpMap.h.

◆ m_scaleFactor

float ZdcInjPulserAmpMap::Token::m_scaleFactor
private

Definition at line 30 of file ZdcInjPulserAmpMap.h.


The documentation for this class was generated from the following file:
index
Definition: index.py:1
ZdcInjPulserAmpMap::Token::m_index
int m_index
Definition: ZdcInjPulserAmpMap.h:29
ZdcInjPulserAmpMap::Token::scaleFactor
float scaleFactor() const
Definition: ZdcInjPulserAmpMap.h:33
ZdcInjPulserAmpMap::Token::m_scaleFactor
float m_scaleFactor
Definition: ZdcInjPulserAmpMap.h:30