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

This class defines the dbobject and the methods to access the SVD time fudge factors for MC reconstruction. More...

#include <SVDMCClusterTimeFudgeFactor.h>

Collaboration diagram for SVDMCClusterTimeFudgeFactor:

Public Types

typedef SVDCalibrationsBase< SVDCalibrationsScalar< float > > t_payload
 typedef for the SVDMCClusterTimeFudgeFactor payload of all SVD sensors
 

Public Member Functions

 SVDMCClusterTimeFudgeFactor ()
 Constructor, no input argument is required.
 
double getFudgeFactor (const Belle2::VxdID &sensorID, const bool &isU) 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("SVDMCClusterTimeFudgeFactor")
 name of the SVDMCClusterTimeFudgeFactor payload
 

Private Attributes

DBObjPtr< t_payloadm_aDBObjPtr
 SVDMCClusterTimeFudgeFactor payload.
 

Detailed Description

This class defines the dbobject and the methods to access the SVD time fudge factors for MC reconstruction.

Definition at line 26 of file SVDMCClusterTimeFudgeFactor.h.

Member Function Documentation

◆ getFudgeFactor()

double getFudgeFactor ( const Belle2::VxdID sensorID,
const bool &  isU 
) 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

Output: double corresponding to the fudge factor

Definition at line 47 of file SVDMCClusterTimeFudgeFactor.h.

50  {
51  return m_aDBObjPtr->get(sensorID.getLayerNumber(),
52  sensorID.getLadderNumber(),
53  sensorID.getSensorNumber(),
54  m_aDBObjPtr->sideIndex(isU),
55  1);
56  }
DBObjPtr< t_payload > m_aDBObjPtr
SVDMCClusterTimeFudgeFactor 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: