Belle II Software development
|
The Class for CDC Simulation Control Parameters. More...
#include <CDCSimControlPar.h>
Public Member Functions | |
virtual | ~CDCSimControlPar () |
Destructor. | |
void | setTimeWalk (bool onoff) |
Set time-walk flag. | |
void | setWireSag (bool onoff) |
Set wiresag flag. | |
void | setModLeftRightFlag (bool onoff) |
Set modified left/right flag. | |
void | setDebug (bool onoff) |
Set debug flag. | |
void | setThresholdEnergyDeposit (double input) |
Set threshold for Energy Deposit;. | |
void | setMinTrackLength (double input) |
Set minimum track length. | |
bool | getTimeWalk () const |
Get time-walk flag. | |
bool | getWireSag () const |
Get wiresag flag. | |
bool | getModLeftRightFlag () const |
Get modified left/right flag. | |
bool | getDebug () const |
Get debug flag. | |
double | getThresholdEnergyDeposit () const |
Get threshold for Energy Deposit;. | |
double | getMinTrackLength () const |
Get minimum track length. | |
Static Public Member Functions | |
static CDCSimControlPar & | getInstance () |
Static method to get a reference to the CDCSimControlPar instance. | |
Private Member Functions | |
CDCSimControlPar () | |
Singleton class. | |
CDCSimControlPar (const CDCSimControlPar &) | |
Singleton class. | |
CDCSimControlPar & | operator= (const CDCSimControlPar &) |
Singleton class. | |
Private Attributes | |
bool | m_timeWalk = true |
Switch for time walk in translator. | |
bool | m_wireSag = true |
Switch for sense wire sag. | |
bool | m_modLeftRightFlag = false |
Switch for modified left/right flag. | |
bool | m_debug = false |
Switch for debug printing. | |
double | m_thresholdEnergyDeposit = 0. |
Energy thresh. | |
double | m_minTrackLength = 15. |
Minimum track length for G4 step (cm) | |
Static Private Attributes | |
static CDCSimControlPar * | m_pntr = 0 |
Pointer that saves the instance of this class. | |
The Class for CDC Simulation Control Parameters.
This class provides control paramters for CDC simulation.
Definition at line 20 of file CDCSimControlPar.h.
|
virtual |
|
private |
Singleton class.
Definition at line 22 of file CDCSimControlPar.cc.
|
inline |
Get debug flag.
Definition at line 108 of file CDCSimControlPar.h.
|
static |
Static method to get a reference to the CDCSimControlPar instance.
Definition at line 16 of file CDCSimControlPar.cc.
|
inline |
Get minimum track length.
Definition at line 124 of file CDCSimControlPar.h.
|
inline |
Get modified left/right flag.
Definition at line 100 of file CDCSimControlPar.h.
|
inline |
Get threshold for Energy Deposit;.
Definition at line 116 of file CDCSimControlPar.h.
|
inline |
Get time-walk flag.
Definition at line 84 of file CDCSimControlPar.h.
|
inline |
Get wiresag flag.
Definition at line 92 of file CDCSimControlPar.h.
|
inline |
|
inline |
Set minimum track length.
Definition at line 76 of file CDCSimControlPar.h.
|
inline |
Set modified left/right flag.
Definition at line 52 of file CDCSimControlPar.h.
|
inline |
Set threshold for Energy Deposit;.
Definition at line 68 of file CDCSimControlPar.h.
|
inline |
Set time-walk flag.
Definition at line 36 of file CDCSimControlPar.h.
|
inline |
|
private |
Switch for debug printing.
Definition at line 140 of file CDCSimControlPar.h.
|
private |
Minimum track length for G4 step (cm)
Definition at line 143 of file CDCSimControlPar.h.
|
private |
Switch for modified left/right flag.
Definition at line 139 of file CDCSimControlPar.h.
|
staticprivate |
Pointer that saves the instance of this class.
Definition at line 145 of file CDCSimControlPar.h.
|
private |
|
private |
Switch for time walk in translator.
Definition at line 137 of file CDCSimControlPar.h.
|
private |
Switch for sense wire sag.
Definition at line 138 of file CDCSimControlPar.h.