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

The Class for CDC Geometry Control Parameters. More...

#include <CDCGeoControlPar.h>

Collaboration diagram for CDCGeoControlPar:

Public Member Functions

virtual ~CDCGeoControlPar ()
 Destructor.
 
void setDebug (bool onoff)
 Set debug flag.
 
void setPrintMaterialTable (bool onoff)
 Set printMaterialTable flag.
 
void setMaterialDefinitionMode (int input)
 Set material defition mode.
 
void setSenseWireZposMode (int input)
 Set sense wire zpos mode.
 
void setDisplacement (bool input)
 Set displacement switch.
 
void setAlignment (bool input)
 Set alignment switch.
 
void setMisalignment (bool input)
 Set misalignment switch.
 
void setDisplacementInputType (bool input)
 Set input type for wire displacement.
 
void setAlignmentInputType (bool input)
 Set input type for wire alignment.
 
void setMisalignmentInputType (bool input)
 Set input type for wire misalignment.
 
void setXtInputType (bool input)
 Set input type for xt.
 
void setSigmaInputType (bool input)
 Set input type for sigma.
 
void setFFactorInputType (bool input)
 Set input type for fudge factor.
 
void setPropSpeedInputType (bool input)
 Set input type for prop. More...
 
void setT0InputType (bool input)
 Set input type for t0.
 
void setTwInputType (bool input)
 Set input type for time-walk.
 
void setBwInputType (bool input)
 Set input type for bad wire.
 
void setChMapInputType (bool input)
 Set input type for channel map.
 
void setEDepToADCInputType (bool input)
 Set input type for edep-to-adc.
 
void setDisplacementFile (const std::string &input)
 Set input file name for wire displacement.
 
void setAlignmentFile (const std::string &input)
 Set input file name for wire alignment.
 
void setMisalignmentFile (const std::string &input)
 Set input file name for wire misalignment.
 
void setXtFile (const std::string &input)
 Set input file name for xt-relation.
 
void setSigmaFile (const std::string &input)
 Set input file name for sigma.
 
void setFFactorFile (const std::string &input)
 Set input file name for fudge factor.
 
void setPropSpeedFile (const std::string &input)
 Set input file name for prop-speed.
 
void setT0File (const std::string &input)
 Set input file name for t0.
 
void setTwFile (const std::string &input)
 Set input file name for time-walk.
 
void setBwFile (const std::string &input)
 Set input file name for bad wire.
 
void setChMapFile (const std::string &input)
 Set input file name for channel map.
 
void setEDepToADCFile (const std::string &input)
 Set input file name for edep-to-adc.
 
void setAddFudgeFactorForSigmaForData (double input)
 Set additional fudge factor for space resol. More...
 
void setAddFudgeFactorForSigmaForMC (double input)
 Set additional fudge factor for space resol. More...
 
void setMapperGeometry (bool torf)
 Set mapper geometry flag.
 
void setMapperPhiAngle (double phi)
 Set mapper phi-angle (deg.)
 
bool getDebug () const
 Get debug flag.
 
bool getPrintMaterialTable () const
 Get printMaterialTable flag.
 
double getMaterialDefinitionMode () const
 Get material definition mode.
 
int getSenseWireZposMode () const
 Get sense wire z position mode.
 
bool getDisplacement () const
 Get displacement switch.
 
bool getAlignment () const
 Get alignment switch.
 
bool getMisalignment () const
 Get misalignment switch.
 
bool getDisplacementInputType ()
 Get input type for wire displacement.
 
bool getAlignmentInputType ()
 Get input type for wire alignment.
 
bool getMisalignmentInputType ()
 Get input type for wire misalignment.
 
bool getXtInputType ()
 Get input type for xt.
 
bool getSigmaInputType ()
 Get input type for sigma.
 
bool getFFactorInputType ()
 Get input type for fuge factor.
 
bool getPropSpeedInputType ()
 Get input type for prop. More...
 
bool getT0InputType ()
 Get input type for t0.
 
bool getTwInputType ()
 Get input type for time-walk.
 
bool getBwInputType ()
 Get input type for bad wire.
 
bool getChMapInputType ()
 Get input type for channel map.
 
bool getEDepToADCInputType ()
 Get input type for edeptoadc.
 
std::string getDisplacementFile () const
 Get input file name for wire displacement.
 
std::string getAlignmentFile () const
 Get input file name for wire alignment.
 
std::string getMisalignmentFile () const
 Get input file name for wire misalignment.
 
std::string getXtFile () const
 Get input file name for xt-relation.
 
std::string getSigmaFile () const
 Get input file name for sigma.
 
std::string getFFactorFile () const
 Get input file name for fudge factor.
 
std::string getPropSpeedFile () const
 Get input file name for prop-speed.
 
std::string getT0File () const
 Get input file name for t0.
 
std::string getTwFile () const
 Get input file name for time-walk.
 
std::string getBwFile () const
 Get input file name for badwire.
 
std::string getChMapFile () const
 Get input file name for channel map.
 
std::string getEDepToADCFile () const
 Get input file name for edeptoadc.
 
double getAddFudgeFactorForSigmaForData () const
 Get additional fudge factor for space resol for data.
 
double getAddFudgeFactorForSigmaForMC () const
 Get additional fudge factor for space resol for MC.
 
bool getMapperGeometry ()
 Get mapper geometry flag.
 
double getMapperPhiAngle ()
 Get mapper phi-angle.
 

Static Public Member Functions

static CDCGeoControlPargetInstance ()
 Static method to get a reference to the CDCGeoControlPar instance. More...
 

Private Member Functions

 CDCGeoControlPar ()
 Singleton class.
 
 CDCGeoControlPar (const CDCGeoControlPar &)
 Singleton class.
 
CDCGeoControlParoperator= (const CDCGeoControlPar &)
 Singleton class.
 

Private Attributes

bool m_debug = false
 Switch for debug printing.
 
bool m_printMaterialTable = false
 Switch for printing the G4 material table.
 
int m_materialDefinitionMode = 0
 Material definition mode.
 
int m_senseWireZposMode = 1
 Sense wire z postion mode.
 
bool m_displacement = true
 Switch for displacement.
 
bool m_alignment = true
 Switch for alignment.
 
bool m_misalignment = false
 Switch for misalignment.
 
bool m_displacementInputType = true
 Input type for displacement.
 
bool m_alignmentInputType = true
 Input type for alignment.
 
bool m_misalignmentInputType = true
 Input type for misalignment.
 
bool m_xtInputType = true
 Input type for xt.
 
bool m_sigmaInputType = true
 Input type for sigma.
 
bool m_fFactorInputType = true
 Input type for fudge factor.
 
bool m_propSpeedInputType = true
 Input type for prop. More...
 
bool m_t0InputType = true
 Input type for t0.
 
bool m_twInputType = true
 Input type for time-walk.
 
bool m_bwInputType = true
 Input type for bad wire.
 
bool m_chMapInputType = true
 Input type for channel map.
 
bool m_eDepToADCInputType = true
 Input type for edep-to-adc.
 
double m_addFudgeFactorForSigmaForData = 1.
 Additional fudge factor for space resol. More...
 
double m_addFudgeFactorForSigmaForMC = 1.
 Additional fudge factor for space resol. More...
 
bool m_mapperGeometry = false
 B-field mapper geometry flag.
 
double m_mapperPhiAngle = 16.7
 B-field mapper phi-angle (deg).
 
std::string m_displacementFile = "displacement_v2.2.1.dat"
 Displacement file.
 
std::string m_alignmentFile = "alignment_v2.dat"
 Alignment file.
 
std::string m_misalignmentFile = "misalignment_v2.dat"
 Misalignment file.
 
std::string m_xtFile = "xt_v3_chebyshev.dat.gz"
 Xt file.
 
std::string m_sigmaFile = "sigma_v2.dat"
 Sigma file.
 
std::string m_fFactorFile = "fFactor.dat"
 Fudge factor file.
 
std::string m_propSpeedFile = "propspeed_v0.dat"
 Prop-apeed file.
 
std::string m_t0File = "t0_v1.dat"
 T0 file.
 
std::string m_twFile = "tw_off.dat"
 Time walk file.
 
std::string m_bwFile = "badwire_v1.dat"
 Bad wire file.
 
std::string m_chMapFile = "ch_map.dat"
 Channel map file.
 
std::string m_eDepToADCFile = "edeptoadc.dat"
 Edep-to-adc file.
 

Static Private Attributes

static CDCGeoControlParm_pntr = 0
 Pointer that saves the instance of this class.
 

Detailed Description

The Class for CDC Geometry Control Parameters.

This class provides control paramters for CDC geometry.

Definition at line 22 of file CDCGeoControlPar.h.

Member Function Documentation

◆ getInstance()

CDCGeoControlPar & getInstance ( )
static

Static method to get a reference to the CDCGeoControlPar instance.

Returns
A reference to an instance of this class.

Definition at line 16 of file CDCGeoControlPar.cc.

17 {
18  if (!m_pntr) m_pntr = new CDCGeoControlPar();
19  return *m_pntr;
20 }
static CDCGeoControlPar * m_pntr
Pointer that saves the instance of this class.
CDCGeoControlPar()
Singleton class.

◆ getPropSpeedInputType()

bool getPropSpeedInputType ( )
inline

Get input type for prop.

speed

Definition at line 423 of file CDCGeoControlPar.h.

424  {
425  return m_propSpeedInputType;
426  }
bool m_propSpeedInputType
Input type for prop.

◆ setAddFudgeFactorForSigmaForData()

void setAddFudgeFactorForSigmaForData ( double  input)
inline

Set additional fudge factor for space resol.

for data

Definition at line 286 of file CDCGeoControlPar.h.

◆ setAddFudgeFactorForSigmaForMC()

void setAddFudgeFactorForSigmaForMC ( double  input)
inline

Set additional fudge factor for space resol.

for MC

Definition at line 294 of file CDCGeoControlPar.h.

◆ setPropSpeedInputType()

void setPropSpeedInputType ( bool  input)
inline

Set input type for prop.

speed

Definition at line 142 of file CDCGeoControlPar.h.

Member Data Documentation

◆ m_addFudgeFactorForSigmaForData

double m_addFudgeFactorForSigmaForData = 1.
private

Additional fudge factor for space resol.

for data

Definition at line 627 of file CDCGeoControlPar.h.

◆ m_addFudgeFactorForSigmaForMC

double m_addFudgeFactorForSigmaForMC = 1.
private

Additional fudge factor for space resol.

for MC

Definition at line 628 of file CDCGeoControlPar.h.

◆ m_propSpeedInputType

bool m_propSpeedInputType = true
private

Input type for prop.

speed.

Definition at line 620 of file CDCGeoControlPar.h.


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