Belle II Software development
VXDHalfShellPar Class Reference

The Class for VXD half shell payload. More...

#include <VXDHalfShellPar.h>

Inheritance diagram for VXDHalfShellPar:

Public Member Functions

 VXDHalfShellPar (std::string const &name="", double shellAngle=0)
 Constructor.
 
std::string getName () const
 get shell name
 
double getShellAngle () const
 get shellAngle
 
void addLadder (int layerID, int ladderID, double phi)
 add ladder
 
const std::map< int, std::vector< std::pair< int, double > > > & getLayers () const
 get layers
 

Private Member Functions

 ClassDef (VXDHalfShellPar, 5)
 ClassDef, must be the last term before the closing {}.
 

Private Attributes

std::string m_name
 Name of half shell.
 
double m_shellAngle
 Rotation angle of half shell.
 
std::map< int, std::vector< std::pair< int, double > > > m_layers
 Map for keeping ladderID and its phi rotation angle for all layers.
 

Detailed Description

The Class for VXD half shell payload.

Definition at line 27 of file VXDHalfShellPar.h.

Constructor & Destructor Documentation

◆ VXDHalfShellPar()

VXDHalfShellPar ( std::string const &  name = "",
double  shellAngle = 0 
)
inline

Constructor.

Definition at line 31 of file VXDHalfShellPar.h.

31: m_name(name), m_shellAngle(shellAngle) {}
double m_shellAngle
Rotation angle of half shell.
std::string m_name
Name of half shell.

Member Function Documentation

◆ addLadder()

void addLadder ( int  layerID,
int  ladderID,
double  phi 
)
inline

add ladder

Definition at line 37 of file VXDHalfShellPar.h.

37{ m_layers[layerID].push_back(std::pair<int, double>(ladderID, phi)); }
std::map< int, std::vector< std::pair< int, double > > > m_layers
Map for keeping ladderID and its phi rotation angle for all layers.

◆ getLayers()

const std::map< int, std::vector< std::pair< int, double > > > & getLayers ( ) const
inline

get layers

Definition at line 39 of file VXDHalfShellPar.h.

39{ return m_layers; }

◆ getName()

std::string getName ( ) const
inline

get shell name

Definition at line 33 of file VXDHalfShellPar.h.

33{ return m_name; }

◆ getShellAngle()

double getShellAngle ( ) const
inline

get shellAngle

Definition at line 35 of file VXDHalfShellPar.h.

35{ return m_shellAngle; }

Member Data Documentation

◆ m_layers

std::map< int, std::vector<std::pair<int, double> > > m_layers
private

Map for keeping ladderID and its phi rotation angle for all layers.

Definition at line 47 of file VXDHalfShellPar.h.

◆ m_name

std::string m_name
private

Name of half shell.

Definition at line 43 of file VXDHalfShellPar.h.

◆ m_shellAngle

double m_shellAngle
private

Rotation angle of half shell.

Definition at line 45 of file VXDHalfShellPar.h.


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