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

PMT position within a module. More...

#include <TOPPmtInstallation.h>

Inheritance diagram for TOPPmtInstallation:
Collaboration diagram for TOPPmtInstallation:

Public Types

enum  { c_NumPMTs = 32 }
 number of PMT's in a PMT array (TOP module)
 

Public Member Functions

 TOPPmtInstallation ()
 Default constructor.
 
 TOPPmtInstallation (const std::string &serialNumber, int moduleCNumber, int slotNumber, int arrayNumber, int position, TOPPmtObsoleteData::EType type)
 Useful constructor. More...
 
const std::string & getSerialNumber () const
 Returns PMT serial number. More...
 
int getModuleCNumber () const
 Returns construction module number. More...
 
int getSlotNumber () const
 Returns slot number. More...
 
int getArrayNumber () const
 Returns PMT array number. More...
 
int getPosition () const
 Returns PMT position within array/module. More...
 
TOPPmtObsoleteData::EType getType () const
 Returns PMT type. More...
 

Private Member Functions

 ClassDef (TOPPmtInstallation, 2)
 ClassDef.
 

Private Attributes

std::string m_serialNumber
 serial number, e.g. More...
 
int m_moduleCNumber = 0
 module construction number (1-based)
 
int m_slotNumber = 0
 slot number (1-based)
 
int m_arrayNumber = 0
 MCP array number (1-based)
 
int m_position = 0
 position within the TOP module (1-based)
 
TOPPmtObsoleteData::EType m_type = TOPPmtObsoleteData::c_Unknown
 type (conventional, ALD, ...)
 

Detailed Description

PMT position within a module.

Definition at line 23 of file TOPPmtInstallation.h.

Constructor & Destructor Documentation

◆ TOPPmtInstallation()

TOPPmtInstallation ( const std::string &  serialNumber,
int  moduleCNumber,
int  slotNumber,
int  arrayNumber,
int  position,
TOPPmtObsoleteData::EType  type 
)
inline

Useful constructor.

Parameters
serialNumberserial number
moduleCNumbermodule construction number
slotNumberslot number
arrayNumbernumber of PMT array
positionposition of PMT within array (module)
typePMT type

Definition at line 46 of file TOPPmtInstallation.h.

47  :
48  m_serialNumber(serialNumber), m_moduleCNumber(moduleCNumber), m_slotNumber(slotNumber),
49  m_arrayNumber(arrayNumber), m_position(position), m_type(type)
50  {}
int m_slotNumber
slot number (1-based)
int m_arrayNumber
MCP array number (1-based)
TOPPmtObsoleteData::EType m_type
type (conventional, ALD, ...)
int m_moduleCNumber
module construction number (1-based)
std::string m_serialNumber
serial number, e.g.
int m_position
position within the TOP module (1-based)

Member Function Documentation

◆ getArrayNumber()

int getArrayNumber ( ) const
inline

Returns PMT array number.

Returns
PMT array number

Definition at line 74 of file TOPPmtInstallation.h.

◆ getModuleCNumber()

int getModuleCNumber ( ) const
inline

Returns construction module number.

Returns
construction module number

Definition at line 62 of file TOPPmtInstallation.h.

◆ getPosition()

int getPosition ( ) const
inline

Returns PMT position within array/module.

Returns
PMT position

Definition at line 80 of file TOPPmtInstallation.h.

◆ getSerialNumber()

const std::string& getSerialNumber ( ) const
inline

Returns PMT serial number.

Returns
serial number

Definition at line 56 of file TOPPmtInstallation.h.

◆ getSlotNumber()

int getSlotNumber ( ) const
inline

Returns slot number.

Returns
slot number

Definition at line 68 of file TOPPmtInstallation.h.

◆ getType()

TOPPmtObsoleteData::EType getType ( ) const
inline

Returns PMT type.

Returns
type

Definition at line 86 of file TOPPmtInstallation.h.

Member Data Documentation

◆ m_serialNumber

std::string m_serialNumber
private

serial number, e.g.

JTxxxx

Definition at line 91 of file TOPPmtInstallation.h.


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