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

This class defines the dbobject and the methods to access the SVD cluster position fudge factors for the SVDClusterizer module. More...

#include <SVDMCClusterPositionFudgeFactor.h>

Collaboration diagram for SVDMCClusterPositionFudgeFactor:

Public Types

typedef SVDCalibrationsBase< SVDCalibrationsScalar< SVDMCFudgeFactorFunction > > t_payload
 typedef for the SVDMCClusterPositionFudgeFactor payload of all SVD sensors
 

Public Member Functions

 SVDMCClusterPositionFudgeFactor ()
 Constructor, no input argument is required.
 
double getFudgeFactor (const Belle2::VxdID &sensorID, const bool &isU, const double &trkAngle) const
 Return the MC fudge factor. More...
 
TString getUniqueID ()
 returns the unique ID of the payload
 
bool isValid ()
 returns true if the m_aDBObtPtr is valid in the requested IoV
 

Static Public Attributes

static std::string name = std::string("SVDMCClusterPositionFudgeFactor")
 name of the SVDMCClusterPositionFudgeFactor payload
 

Private Attributes

DBObjPtr< t_payloadm_aDBObjPtr
 SVDMCClusterPositionFudgeFactor payload.
 

Detailed Description

This class defines the dbobject and the methods to access the SVD cluster position fudge factors for the SVDClusterizer module.

Definition at line 27 of file SVDMCClusterPositionFudgeFactor.h.

Member Function Documentation

◆ getFudgeFactor()

double getFudgeFactor ( const Belle2::VxdID sensorID,
const bool &  isU,
const double &  trkAngle 
) const
inline

Return the MC fudge factor.

Input:

Parameters
sensorIDidentity of the sensor for which the calibration is required
isUsensor side, true for p side, false for n side
trkAngletrack's incident angle

Output: double corresponding to the fudge factor

Definition at line 49 of file SVDMCClusterPositionFudgeFactor.h.

53  {
54  return m_aDBObjPtr->getReference(sensorID.getLayerNumber(),
55  sensorID.getLadderNumber(),
56  sensorID.getSensorNumber(),
57  m_aDBObjPtr->sideIndex(isU),
58  1)
59  .getFudgeFactor(trkAngle);
60  }
DBObjPtr< t_payload > m_aDBObjPtr
SVDMCClusterPositionFudgeFactor payload.
baseType getSensorNumber() const
Get the sensor id.
Definition: VxdID.h:100
baseType getLadderNumber() const
Get the ladder id.
Definition: VxdID.h:98
baseType getLayerNumber() const
Get the layer id.
Definition: VxdID.h:96

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