Belle II Software  release-05-01-25
SVDClusterCalibrations Class Reference

This class defines the dbobject and the methods to access the calibration of the cluster reconstruction. More...

#include <SVDClusterCalibrations.h>

Collaboration diagram for SVDClusterCalibrations:

Public Types

typedef SVDCalibrationsBase< SVDCalibrationsScalar< SVDClusterCuts > > t_payload
 typedef for the of SVDClusterCuts payload of all SVD sensors
 
typedef SVDCalibrationsBase< SVDCalibrationsScalar< SVDHitTimeSelectionFunction > > t_time_payload
 typedef for the of SVDHitTimeSelectionFunction payload of all SVD sensors
 

Public Member Functions

 SVDClusterCalibrations ()
 Constructor, no input argument is required.
 
double getCorrectedClusterPositionError (const Belle2::VxdID &sensorID, const bool &isU, const int &size, const double &raw_error) const
 Return the corrected cluster position error. More...
 
double getMinSeedSNR (const Belle2::VxdID &sensorID, const bool &isU) const
 Return the minimum SNR for the seed. More...
 
double getMinAdjSNR (const Belle2::VxdID &sensorID, const bool &isU) const
 Return the minimum SNR for the adjacent. More...
 
double getMinClusterSNR (const Belle2::VxdID &sensorID, const bool &isU) const
 Return the minimum SNR for the cluster. More...
 
bool isClusterInTime (const Belle2::VxdID &sensorID, const bool &isU, const double &svdTime, const double &svdTimeError=0, const double &t0=0, const double &t0Error=0) const
 Return whether the cluster is estimated to be in time with the event or off-time. More...
 
bool areClusterTimesCompatible (const Belle2::VxdID &sensorID, const double &uTime, const double &vTime=0) const
 Return whether the cluster is estimated to be in time with the event or off-time. More...
 
int getTimeSelectionFunction (const Belle2::VxdID &sensorID, const bool &isU) const
 Return the version of the function used to determine whether the cluster time is acceptable at the SP creation. More...
 
float getMinClusterTime (const Belle2::VxdID &sensorID, const bool &isU) const
 Return the min value of the cluster time to use it for reconstruction. 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("SVDClusterCut")
 name of SVDClusterCuts payload
 
static std::string time_name = std::string("SVDHitTimeSelectionFunction")
 name of SVDHitTimeSelectionFunction payload
 

Private Attributes

DBObjPtr< t_payloadm_aDBObjPtr
 SVDClusterCuts payload.
 
DBObjPtr< t_time_payloadm_time_aDBObjPtr
 SVDHitTimeSelectionFunction paylaod.
 

Detailed Description

This class defines the dbobject and the methods to access the calibration of the cluster reconstruction.

Definition at line 40 of file SVDClusterCalibrations.h.

Member Function Documentation

◆ areClusterTimesCompatible()

bool areClusterTimesCompatible ( const Belle2::VxdID sensorID,
const double &  uTime,
const double &  vTime = 0 
) const
inline

Return whether the cluster is estimated to be in time with the event or off-time.

Input:

Parameters
sensorID: identity of the sensor for which the calibration is required
uTimeU-Side cluster time
vTimeV-Side cluster time

Output: bool true if the U and V cluster times are compatible

Definition at line 201 of file SVDClusterCalibrations.h.

◆ getCorrectedClusterPositionError()

double getCorrectedClusterPositionError ( const Belle2::VxdID sensorID,
const bool &  isU,
const int &  size,
const double &  raw_error 
) const
inline

Return the corrected cluster position error.

Input:

Parameters
sensorID: identity of the sensor for which the calibration is required
isUsensor side, true for p side, false for n side
stripNOT USED
sizecluster size
raw_error: error provided by the algorithm in the SVDSimpleClusterizer

Output: double corresponding to the corrected cluster position error [cm]

Definition at line 75 of file SVDClusterCalibrations.h.

◆ getMinAdjSNR()

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

Return the minimum SNR for the adjacent.

Input:

Parameters
sensorID: identity of the sensor for which the calibration is required
isUsensor side, true for p side, false for n side
stripNOT USED

Output: double corresponding to the minimum SNR for the adjacent

Definition at line 122 of file SVDClusterCalibrations.h.

◆ getMinClusterSNR()

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

Return the minimum SNR for the cluster.

Input:

Parameters
sensorID: identity of the sensor for which the calibration is required
isUsensor side, true for p side, false for n side
stripNOT USED

Output: double corresponding to the minimum SNR for the cluster

Definition at line 146 of file SVDClusterCalibrations.h.

◆ getMinClusterTime()

float getMinClusterTime ( const Belle2::VxdID sensorID,
const bool &  isU 
) const
inline

Return the min value of the cluster time to use it for reconstruction.

this function is used in the calibration monitoring

Input:

Parameters
sensorID: identity of the sensor for which the calibration is required
isUsensor side, true for p side, false for n side
stripNOT USED

Output:

Definition at line 251 of file SVDClusterCalibrations.h.

◆ getMinSeedSNR()

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

Return the minimum SNR for the seed.

Input:

Parameters
sensorID: identity of the sensor for which the calibration is required
isUsensor side, true for p side, false for n side
stripNOT USED

Output: double corresponding to the minimum SNR for the seed

Definition at line 99 of file SVDClusterCalibrations.h.

◆ getTimeSelectionFunction()

int getTimeSelectionFunction ( const Belle2::VxdID sensorID,
const bool &  isU 
) const
inline

Return the version of the function used to determine whether the cluster time is acceptable at the SP creation.

Input:

Parameters
sensorID: identity of the sensor for which the calibration is required
isUsensor side, true for p side, false for n side
stripNOT USED

Output:

Definition at line 226 of file SVDClusterCalibrations.h.

◆ isClusterInTime()

bool isClusterInTime ( const Belle2::VxdID sensorID,
const bool &  isU,
const double &  svdTime,
const double &  svdTimeError = 0,
const double &  t0 = 0,
const double &  t0Error = 0 
) const
inline

Return whether the cluster is estimated to be in time with the event or off-time.

Input:

Parameters
sensorID: identity of the sensor for which the calibration is required
isUsensor side, true for p side, false for n side
stripNOT USED
svdTimecluster time
svdTimeErrorcluster time error
t0event t0
t0Errorevent t0 error

Output: bool true if the svd hit time is compatible with t0

Definition at line 175 of file SVDClusterCalibrations.h.


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