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

DBObject containing parameters used in KLMTrigger module. More...

#include <KLMTriggerParameters.h>

Inheritance diagram for KLMTriggerParameters:
Collaboration diagram for KLMTriggerParameters:

Public Member Functions

 KLMTriggerParameters ()
 Default constructor.
 
 KLMTriggerParameters (int32_t nLayers, const std::string &whichLayers)
 Constructor. More...
 
 ~KLMTriggerParameters ()
 Destructor.
 
void setNLayers (int32_t nLayers)
 Set the number of layers used in the trigger logic. More...
 
void setWhichLayers (const std::string &whichLayers)
 Set the pattern of layers used in the trigger logic. More...
 
int32_t getNLayers () const
 Get the number of layers used in the trigger logic.
 
std::string getWhichLayers () const
 Get the pattern of layers used in the trigger logic.
 
int32_t getSubdetector (int32_t i) const
 
int32_t getSection (int32_t i) const
 
int32_t getSector (int32_t i) const
 
int32_t getLayer (int32_t i) const
 
int32_t getPlane (int32_t i) const
 
double getSlopeX (int32_t i) const
 
double getOffsetX (int32_t i) const
 
double getSlopeY (int32_t i) const
 
double getOffsetY (int32_t i) const
 
size_t getGeometryDataSize () const
 
void pushGeometryData (int32_t Subdetector, int32_t section, int32_t sector, int32_t layer, int32_t plane, double slopeX, double offsetX, double slopeY, double offsetY)
 

Private Member Functions

 ClassDef (KLMTriggerParameters, 2)
 Class version.
 

Private Attributes

int32_t m_nLayers {0}
 Number of layers used in the trigger logic.
 
std::vector< int32_t > m_Subdetector
 
std::vector< int32_t > m_section
 
std::vector< int32_t > m_sector
 
std::vector< int32_t > m_layer
 
std::vector< int32_t > m_plane
 
std::vector< double > m_slopeX
 
std::vector< double > m_offsetX
 
std::vector< double > m_slopeY
 
std::vector< double > m_offsetY
 
std::string m_whichLayers
 Pattern of layers used in the trigger logic.
 

Detailed Description

DBObject containing parameters used in KLMTrigger module.

Definition at line 31 of file KLMTriggerParameters.h.

Constructor & Destructor Documentation

◆ KLMTriggerParameters()

KLMTriggerParameters ( int32_t  nLayers,
const std::string &  whichLayers 
)
inline

Constructor.

Parameters
[in]nLayersNumber of layers used in the trigger logic.
[in]whichLayersPattern of layers used in the trigger logic.

Definition at line 47 of file KLMTriggerParameters.h.

47  :
48  m_nLayers{nLayers},
49  m_whichLayers{whichLayers}
50  {
51  }
int32_t m_nLayers
Number of layers used in the trigger logic.
std::string m_whichLayers
Pattern of layers used in the trigger logic.

Member Function Documentation

◆ setNLayers()

void setNLayers ( int32_t  nLayers)
inline

Set the number of layers used in the trigger logic.

Parameters
[in]nLayersMax number of CDC hits for an event.

Definition at line 64 of file KLMTriggerParameters.h.

◆ setWhichLayers()

void setWhichLayers ( const std::string &  whichLayers)
inline

Set the pattern of layers used in the trigger logic.

Parameters
[in]whichLayersPattern of layers used in the trigger logic.

Definition at line 85 of file KLMTriggerParameters.h.


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