Belle II Software development
TOPPmtInstallation Class Reference

PMT position within a module. More...

#include <TOPPmtInstallation.h>

Inheritance diagram for TOPPmtInstallation:

Public Types

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

Public Member Functions

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

Private Member Functions

 ClassDef (TOPPmtInstallation, 2)
 ClassDef.
 

Private Attributes

std::string m_serialNumber
 serial number, e.g.
 
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.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum

number of PMT's in a PMT array (TOP module)

Definition at line 28 of file TOPPmtInstallation.h.

28{c_NumPMTs = 32};

Constructor & Destructor Documentation

◆ TOPPmtInstallation() [1/2]

TOPPmtInstallation ( )
inline

Default constructor.

Definition at line 34 of file TOPPmtInstallation.h.

35 {}

◆ TOPPmtInstallation() [2/2]

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.

74{return m_arrayNumber;}

◆ getModuleCNumber()

int getModuleCNumber ( ) const
inline

Returns construction module number.

Returns
construction module number

Definition at line 62 of file TOPPmtInstallation.h.

62{return m_moduleCNumber;}

◆ getPosition()

int getPosition ( ) const
inline

Returns PMT position within array/module.

Returns
PMT position

Definition at line 80 of file TOPPmtInstallation.h.

80{return m_position;}

◆ getSerialNumber()

const std::string & getSerialNumber ( ) const
inline

Returns PMT serial number.

Returns
serial number

Definition at line 56 of file TOPPmtInstallation.h.

56{return m_serialNumber;}

◆ getSlotNumber()

int getSlotNumber ( ) const
inline

Returns slot number.

Returns
slot number

Definition at line 68 of file TOPPmtInstallation.h.

68{return m_slotNumber;}

◆ getType()

TOPPmtObsoleteData::EType getType ( ) const
inline

Returns PMT type.

Returns
type

Definition at line 86 of file TOPPmtInstallation.h.

86{return m_type;}

Member Data Documentation

◆ m_arrayNumber

int m_arrayNumber = 0
private

MCP array number (1-based)

Definition at line 94 of file TOPPmtInstallation.h.

◆ m_moduleCNumber

int m_moduleCNumber = 0
private

module construction number (1-based)

Definition at line 92 of file TOPPmtInstallation.h.

◆ m_position

int m_position = 0
private

position within the TOP module (1-based)

Definition at line 95 of file TOPPmtInstallation.h.

◆ m_serialNumber

std::string m_serialNumber
private

serial number, e.g.

JTxxxx

Definition at line 91 of file TOPPmtInstallation.h.

◆ m_slotNumber

int m_slotNumber = 0
private

slot number (1-based)

Definition at line 93 of file TOPPmtInstallation.h.

◆ m_type

TOPPmtObsoleteData::EType m_type = TOPPmtObsoleteData::c_Unknown
private

type (conventional, ALD, ...)

Definition at line 97 of file TOPPmtInstallation.h.


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