Belle II Software  release-08-01-10
ARICHCableInfo Class Reference

List of Cables. More...

#include <ARICHCableInfo.h>

Inheritance diagram for ARICHCableInfo:
Collaboration diagram for ARICHCableInfo:

Public Member Functions

 ARICHCableInfo ()
 Default constructor.
 
 ARICHCableInfo (int id, int type, float length)
 Constructor.
 
 ARICHCableInfo (int id, int type, float length, const std::string &comment)
 Constructor.
 
 ~ARICHCableInfo ()
 Destructor.
 
int getCableID () const
 Return Cable Identifier. More...
 
void setCableID (int id)
 Set Cable Identifier. More...
 
int getCableType () const
 Return Cable Type. More...
 
void setCableType (int type)
 Set Cable Type. More...
 
float getCableLength () const
 Return Cable Type. More...
 
void setCableLength (float length)
 Set Cable Length. More...
 
std::string getCableComment () const
 Return comment. More...
 
void setCableComment (const std::string &comment)
 Set comment. More...
 

Private Member Functions

 ClassDef (ARICHCableInfo, 1)
 ClassDef.
 

Private Attributes

int m_id
 Cable Identifier.
 
int m_type
 Cable Type.
 
float m_length
 Length of the Cable.
 
std::string m_comment
 comment
 

Detailed Description

List of Cables.

Definition at line 24 of file ARICHCableInfo.h.

Member Function Documentation

◆ getCableComment()

std::string getCableComment ( ) const
inline

Return comment.

Returns
comment

Definition at line 80 of file ARICHCableInfo.h.

80 {return m_comment; }
std::string m_comment
comment

◆ getCableID()

int getCableID ( ) const
inline

Return Cable Identifier.

Returns
Cable Identifier

Definition at line 50 of file ARICHCableInfo.h.

◆ getCableLength()

float getCableLength ( ) const
inline

Return Cable Type.

Returns
Cable Type

Definition at line 70 of file ARICHCableInfo.h.

◆ getCableType()

int getCableType ( ) const
inline

Return Cable Type.

Returns
Cable Type

Definition at line 60 of file ARICHCableInfo.h.

◆ setCableComment()

void setCableComment ( const std::string &  comment)
inline

Set comment.

Parameters
comment

Definition at line 85 of file ARICHCableInfo.h.

◆ setCableID()

void setCableID ( int  id)
inline

Set Cable Identifier.

Parameters
CableIdentifier

Definition at line 55 of file ARICHCableInfo.h.

◆ setCableLength()

void setCableLength ( float  length)
inline

Set Cable Length.

Parameters
CableLength

Definition at line 75 of file ARICHCableInfo.h.

◆ setCableType()

void setCableType ( int  type)
inline

Set Cable Type.

Parameters
CableType

Definition at line 65 of file ARICHCableInfo.h.


The documentation for this class was generated from the following file: