11#include <framework/logging/Logger.h>
48 const int& layer,
const bool& isU)
const
53 if (
auto searchShift = (searchAlg->second).find(sensorType);
54 searchShift != (searchAlg->second).end())
55 return (searchShift->second);
67 const Double_t shiftValue)
69 B2INFO(
"Shift value for " << alg <<
" and " << sensorType <<
" is set.");
91 return TString::Format(
"L%iS%c", layer, (isU ?
'U' :
'V'));
TString m_uniqueID
unique identifier of the SVD reconstruction configuration payload
void setClusterTimeShift(const TString &alg, const TString &sensorType, const Double_t shiftValue)
Sets the cluster time shift in ns.
SVDAbsoluteClusterTimeShift(const TString &uniqueID="")
Default constructor.
TString get_uniqueID() const
Get the unique ID of the payload.
Double_t getAbsTimeShift(const TString &alg, const int &layer, const bool &isU) const
Returns cluster time shift in ns.
static std::string name
name of the payload
std::map< TString, std::map< TString, Double_t > > m_svdAbsTimeShift
cluster time shifts
TString getSensorType(const int &layer, const bool &isU) const
Returns the types of sensor grouping.
ClassDef(SVDAbsoluteClusterTimeShift, 1)
needed by root
Abstract base class for different kinds of events.