Belle II Software development
|
Provides BKLM simulation parameters. More...
#include <BKLMSimulationPar.h>
Public Member Functions | |
BKLMSimulationPar () | |
Default constructor. | |
BKLMSimulationPar (const GearDir &) | |
Constructor. | |
~BKLMSimulationPar () | |
Default destructor. | |
void | read (const GearDir &) |
Get simulation parameters from Gearbox. | |
double | getHitTimeMax (void) const |
Get the maximum global time for a recorded sim hit. | |
int | getNPhiDivision (void) const |
Get number of divisions for phi strips. | |
int | getNZDivision (void) const |
Get number of divisions for z strips. | |
int | getMaxMultiplicity (void) const |
Get the maximum multiplicity in the RPC strip cumulative prob density functions. | |
int | getNPhiMultiplicity (int division) const |
Get number of kind of multiplicity for phistrips. | |
int | getNZMultiplicity (int division) const |
Get number of kind of multiplicity for zstrips. | |
double | getPhiWeight (int division, int nmutiplicity) const |
Get weight table for phi. | |
double | getZWeight (int division, int nmutiplicity) const |
Get weight table for z. | |
double | getPhiMultiplicityCDF (double stripDiv, int mult) const |
Get the RPC phi-strip cumulative prob density function. | |
double | getZMultiplicityCDF (double stripDiv, int mult) const |
Get the RPC z-strip cumulative prob density function. | |
Private Member Functions | |
ClassDef (BKLMSimulationPar, 3) | |
Class version. | |
Private Attributes | |
double | m_HitTimeMax |
Maximum global time for a recorded sim hit. | |
double | m_PhiMultiplicityCDF [c_NDIV+1][c_MAX_NHIT] |
RPC phiStrip multiplicity cumulative probability distribution table. | |
double | m_ZMultiplicityCDF [c_NDIV+1][c_MAX_NHIT] |
RPC zStrip multiplicity cumulative probability distribution table. | |
int | m_NPhiDiv |
Number of division for phistrips. | |
int | m_NZDiv |
Number of division for zstrips. | |
int | m_NPhiMultiplicity [c_NDIV+1] |
Number of kind of multiplicity of phistrips in each division. | |
int | m_NZMultiplicity [c_NDIV+1] |
Number of weights of zstrips in each division. | |
double | m_PhiWeight [c_NDIV+1][c_MAX_NHIT] |
RPC phiStrip weight table. | |
double | m_ZWeight [c_NDIV+1][c_MAX_NHIT] |
RPC zStrip weight table. | |
Static Private Attributes | |
static const int | c_NDIV = 5 |
Number of divisions. | |
static const int | c_MAX_NHIT = 10 |
Maximum number of hits. | |
Provides BKLM simulation parameters.
Definition at line 24 of file BKLMSimulationPar.h.
|
inline |
|
explicit |
Constructor.
Definition at line 21 of file BKLMSimulationPar.cc.
~BKLMSimulationPar | ( | ) |
|
inline |
Get the maximum global time for a recorded sim hit.
Definition at line 49 of file BKLMSimulationPar.h.
|
inline |
Get the maximum multiplicity in the RPC strip cumulative prob density functions.
Definition at line 67 of file BKLMSimulationPar.h.
|
inline |
Get number of divisions for phi strips.
Definition at line 55 of file BKLMSimulationPar.h.
|
inline |
Get number of kind of multiplicity for phistrips.
Definition at line 73 of file BKLMSimulationPar.h.
|
inline |
Get number of divisions for z strips.
Definition at line 61 of file BKLMSimulationPar.h.
|
inline |
Get number of kind of multiplicity for zstrips.
Definition at line 79 of file BKLMSimulationPar.h.
double getPhiMultiplicityCDF | ( | double | stripDiv, |
int | mult | ||
) | const |
Get the RPC phi-strip cumulative prob density function.
Definition at line 93 of file BKLMSimulationPar.cc.
|
inline |
Get weight table for phi.
Definition at line 85 of file BKLMSimulationPar.h.
double getZMultiplicityCDF | ( | double | stripDiv, |
int | mult | ||
) | const |
Get the RPC z-strip cumulative prob density function.
Definition at line 105 of file BKLMSimulationPar.cc.
|
inline |
Get weight table for z.
Definition at line 91 of file BKLMSimulationPar.h.
void read | ( | const GearDir & | content | ) |
Get simulation parameters from Gearbox.
Definition at line 30 of file BKLMSimulationPar.cc.
|
staticprivate |
Maximum number of hits.
Definition at line 30 of file BKLMSimulationPar.h.
|
staticprivate |
Number of divisions.
Definition at line 27 of file BKLMSimulationPar.h.
|
private |
Maximum global time for a recorded sim hit.
Definition at line 105 of file BKLMSimulationPar.h.
|
private |
Number of division for phistrips.
Definition at line 114 of file BKLMSimulationPar.h.
|
private |
Number of kind of multiplicity of phistrips in each division.
Definition at line 120 of file BKLMSimulationPar.h.
|
private |
Number of division for zstrips.
Definition at line 117 of file BKLMSimulationPar.h.
|
private |
Number of weights of zstrips in each division.
Definition at line 123 of file BKLMSimulationPar.h.
|
private |
RPC phiStrip multiplicity cumulative probability distribution table.
Definition at line 108 of file BKLMSimulationPar.h.
|
private |
RPC phiStrip weight table.
Definition at line 126 of file BKLMSimulationPar.h.
|
private |
RPC zStrip multiplicity cumulative probability distribution table.
Definition at line 111 of file BKLMSimulationPar.h.
|
private |
RPC zStrip weight table.
Definition at line 129 of file BKLMSimulationPar.h.