Project
Loading...
Searching...
No Matches
o2::tpc::VDriftHelper Class Reference

#include <VDriftHelper.h>

Public Types

enum  Source : int { Param , Laser , ITSTPCTgl , NSources }
 

Public Member Functions

 VDriftHelper ()
 
void accountLaserCalibration (const LtrCalibData *calib, long fallBackTimeStamp=2)
 
void accountDriftCorrectionITSTPCTgl (const VDriftCorrFact *calib)
 
bool isUpdated () const
 
void acknowledgeUpdate ()
 
const VDriftCorrFactgetVDriftObject () const
 
Source getSource () const
 
std::string_view getSourceName () const
 
bool accountCCDBInputs (const o2::framework::ConcreteDataMatcher &matcher, void *obj)
 
void extractCCDBInputs (o2::framework::ProcessingContext &pc, bool laser=true, bool itstpcTgl=true)
 

Static Public Member Functions

static std::string_view getSourceName (Source s)
 
static void requestCCDBInputs (std::vector< o2::framework::InputSpec > &inputs, bool laser=true, bool itstpcTgl=true)
 

Static Public Attributes

static constexpr std::array< std::string_view, NSourcesSourceNames
 

Protected Member Functions

 ClassDefNV (VDriftHelper, 1)
 

Static Protected Member Functions

static void addInput (std::vector< o2::framework::InputSpec > &inputs, o2::framework::InputSpec &&isp)
 

Protected Attributes

VDriftCorrFact mVDLaser {}
 
VDriftCorrFact mVDTPCITSTgl {}
 
VDriftCorrFact mVD {}
 
Source mSource {Source::Param}
 
bool mUpdated = false
 
bool mForceParamDrift = false
 
bool mForceParamOffset = false
 
uint32_t mMayRenormSrc = 0xffffffff
 

Detailed Description

Definition at line 36 of file VDriftHelper.h.

Member Enumeration Documentation

◆ Source

Enumerator
Param 
Laser 
ITSTPCTgl 
NSources 

Definition at line 39 of file VDriftHelper.h.

Constructor & Destructor Documentation

◆ VDriftHelper()

VDriftHelper::VDriftHelper ( )

Definition at line 28 of file VDriftHelper.cxx.

Member Function Documentation

◆ accountCCDBInputs()

bool VDriftHelper::accountCCDBInputs ( const o2::framework::ConcreteDataMatcher matcher,
void obj 
)

Definition at line 192 of file VDriftHelper.cxx.

◆ accountDriftCorrectionITSTPCTgl()

void VDriftHelper::accountDriftCorrectionITSTPCTgl ( const VDriftCorrFact calib)

Definition at line 93 of file VDriftHelper.cxx.

◆ accountLaserCalibration()

void VDriftHelper::accountLaserCalibration ( const LtrCalibData calib,
long  fallBackTimeStamp = 2 
)

Definition at line 55 of file VDriftHelper.cxx.

◆ acknowledgeUpdate()

void o2::tpc::VDriftHelper::acknowledgeUpdate ( )
inline

Definition at line 53 of file VDriftHelper.h.

◆ addInput()

void VDriftHelper::addInput ( std::vector< o2::framework::InputSpec > &  inputs,
o2::framework::InputSpec &&  isp 
)
staticprotected

Definition at line 184 of file VDriftHelper.cxx.

◆ ClassDefNV()

o2::tpc::VDriftHelper::ClassDefNV ( VDriftHelper  ,
 
)
protected

◆ extractCCDBInputs()

void VDriftHelper::extractCCDBInputs ( o2::framework::ProcessingContext pc,
bool  laser = true,
bool  itstpcTgl = true 
)

Definition at line 127 of file VDriftHelper.cxx.

◆ getSource()

Source o2::tpc::VDriftHelper::getSource ( ) const
inline

Definition at line 56 of file VDriftHelper.h.

◆ getSourceName() [1/2]

std::string_view o2::tpc::VDriftHelper::getSourceName ( ) const
inline

Definition at line 58 of file VDriftHelper.h.

◆ getSourceName() [2/2]

static std::string_view o2::tpc::VDriftHelper::getSourceName ( Source  s)
inlinestatic

Definition at line 57 of file VDriftHelper.h.

◆ getVDriftObject()

const VDriftCorrFact & o2::tpc::VDriftHelper::getVDriftObject ( ) const
inline

Definition at line 55 of file VDriftHelper.h.

◆ isUpdated()

bool o2::tpc::VDriftHelper::isUpdated ( ) const
inline

Definition at line 52 of file VDriftHelper.h.

◆ requestCCDBInputs()

void VDriftHelper::requestCCDBInputs ( std::vector< o2::framework::InputSpec > &  inputs,
bool  laser = true,
bool  itstpcTgl = true 
)
static

Definition at line 172 of file VDriftHelper.cxx.

Member Data Documentation

◆ mForceParamDrift

bool o2::tpc::VDriftHelper::mForceParamDrift = false
protected

Definition at line 71 of file VDriftHelper.h.

◆ mForceParamOffset

bool o2::tpc::VDriftHelper::mForceParamOffset = false
protected

Definition at line 72 of file VDriftHelper.h.

◆ mMayRenormSrc

uint32_t o2::tpc::VDriftHelper::mMayRenormSrc = 0xffffffff
protected

Definition at line 73 of file VDriftHelper.h.

◆ mSource

Source o2::tpc::VDriftHelper::mSource {Source::Param}
protected

Definition at line 69 of file VDriftHelper.h.

◆ mUpdated

bool o2::tpc::VDriftHelper::mUpdated = false
protected

Definition at line 70 of file VDriftHelper.h.

◆ mVD

VDriftCorrFact o2::tpc::VDriftHelper::mVD {}
protected

Definition at line 68 of file VDriftHelper.h.

◆ mVDLaser

VDriftCorrFact o2::tpc::VDriftHelper::mVDLaser {}
protected

Definition at line 66 of file VDriftHelper.h.

◆ mVDTPCITSTgl

VDriftCorrFact o2::tpc::VDriftHelper::mVDTPCITSTgl {}
protected

Definition at line 67 of file VDriftHelper.h.

◆ SourceNames

constexpr std::array<std::string_view, NSources> o2::tpc::VDriftHelper::SourceNames
staticconstexpr
Initial value:
= {
"Param",
"Laser",
"TPCITSTgl"}

Definition at line 44 of file VDriftHelper.h.


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