CbmRoot
Loading...
Searching...
No Matches
CbmTaskTofClusterizerParWrite Class Reference

#include <CbmTaskTofClusterizerParWrite.h>

Inheritance diagram for CbmTaskTofClusterizerParWrite:
[legend]
Collaboration diagram for CbmTaskTofClusterizerParWrite:
[legend]

Public Member Functions

 CbmTaskTofClusterizerParWrite ()
 Constructor.
 
 CbmTaskTofClusterizerParWrite (const char *name, int32_t verbose=1, bool writeDataInOut=true)
 Constructor.
 
virtual ~CbmTaskTofClusterizerParWrite ()
 Destructor.
 
virtual InitStatus Init ()
 Inherited from FairTask.
 
virtual void SetParContainers ()
 Inherited from FairTask.
 
virtual void Exec (Option_t *)
 Inherited from FairTask.
 
virtual void Finish ()
 Inherited from FairTask.
 
void SetCalMode (int32_t iMode)
 
void PosYMaxScal (double val)
 
void SetTotMax (double val)
 
void SetTotMin (double val)
 
void SetTotMean (double val)
 
void SetMaxTimeDist (double val)
 
void SetChannelDeadtime (double val)
 
void SetCalParFileName (TString CalParFileName)
 
double GetTotMean ()
 
void SwapChannelSides (bool bSwap)
 
void SetDeadStrips (int32_t iDet, uint32_t ival)
 

Private Member Functions

 CbmTaskTofClusterizerParWrite (const CbmTaskTofClusterizerParWrite &)
 Copy constructor.
 
CbmTaskTofClusterizerParWriteoperator= (const CbmTaskTofClusterizerParWrite &)
 Copy operator.
 
bool InitParameters ()
 Initialize other parameters not included in parameter classes.
 
bool InitCalibParameter ()
 Initialize other parameters not included in parameter classes.
 
bool InitAlgos ()
 Create one algo object for each RPC.
 
 ClassDef (CbmTaskTofClusterizerParWrite, 1)
 

Private Attributes

bool bAddBeamCounterSideDigi = true
 
const int32_t nbClWalkBinX = 50
 
const int32_t nbClWalkBinY = 41
 
CbmTofDetectorIdfTofId
 
CbmTofDigiParfDigiPar
 
CbmTofDigiBdfParfDigiBdfPar
 
std::vector< std::vector< std::vector< std::vector< double > > > > fvCPTOff
 
std::vector< std::vector< std::vector< std::vector< double > > > > fvCPTotGain
 
std::vector< std::vector< std::vector< std::vector< double > > > > fvCPTotOff
 
std::vector< std::vector< std::vector< std::vector< std::vector< double > > > > > fvCPWalk
 
std::vector< std::vector< std::vector< double > > > fvCPTOffY
 
std::vector< std::vector< double > > fvCPTOffYBinWidth
 
std::vector< std::vector< double > > fvCPTOffYRange
 
std::vector< uint32_t > fvDeadStrips
 
int32_t fCalMode
 
double fPosYMaxScal
 
double fTotMax
 
double fTotMin
 
double fTotOff
 
double fTotMean
 
double fMaxTimeDist
 
double fdChannelDeadtime
 
TString fCalParFileName
 
double fdTOTMax
 
double fdTOTMin
 
double fdTTotMean
 
double fdMaxTimeDist
 
double fdMaxSpaceDist
 
double fdModifySigvel
 
bool fbSwapChannelSides
 

Detailed Description

Definition at line 30 of file CbmTaskTofClusterizerParWrite.h.

Constructor & Destructor Documentation

◆ CbmTaskTofClusterizerParWrite() [1/3]

CbmTaskTofClusterizerParWrite::CbmTaskTofClusterizerParWrite ( )

Constructor.

Definition at line 45 of file CbmTaskTofClusterizerParWrite.cxx.

◆ CbmTaskTofClusterizerParWrite() [2/3]

CbmTaskTofClusterizerParWrite::CbmTaskTofClusterizerParWrite ( const char * name,
int32_t verbose = 1,
bool writeDataInOut = true )

Constructor.

Definition at line 50 of file CbmTaskTofClusterizerParWrite.cxx.

◆ ~CbmTaskTofClusterizerParWrite()

CbmTaskTofClusterizerParWrite::~CbmTaskTofClusterizerParWrite ( )
virtual

Destructor.

Definition at line 82 of file CbmTaskTofClusterizerParWrite.cxx.

◆ CbmTaskTofClusterizerParWrite() [3/3]

CbmTaskTofClusterizerParWrite::CbmTaskTofClusterizerParWrite ( const CbmTaskTofClusterizerParWrite & )
private

Copy constructor.

Member Function Documentation

◆ ClassDef()

CbmTaskTofClusterizerParWrite::ClassDef ( CbmTaskTofClusterizerParWrite ,
1  )
private

◆ Exec()

virtual void CbmTaskTofClusterizerParWrite::Exec ( Option_t * )
inlinevirtual

Inherited from FairTask.

Definition at line 60 of file CbmTaskTofClusterizerParWrite.h.

◆ Finish()

virtual void CbmTaskTofClusterizerParWrite::Finish ( )
inlinevirtual

Inherited from FairTask.

Definition at line 65 of file CbmTaskTofClusterizerParWrite.h.

◆ GetTotMean()

double CbmTaskTofClusterizerParWrite::GetTotMean ( )
inline

Definition at line 76 of file CbmTaskTofClusterizerParWrite.h.

References fTotMean.

◆ Init()

InitStatus CbmTaskTofClusterizerParWrite::Init ( )
virtual

Inherited from FairTask.

Definition at line 86 of file CbmTaskTofClusterizerParWrite.cxx.

References InitAlgos(), InitCalibParameter(), and InitParameters().

◆ InitAlgos()

bool CbmTaskTofClusterizerParWrite::InitAlgos ( )
private

Create one algo object for each RPC.

Go to Top volume of the geometry in the GeoManager to make sure our nodes are found

Definition at line 409 of file CbmTaskTofClusterizerParWrite.cxx.

References cbm::algo::tof::HitfindSetup::Channel::address, cbm::algo::tof::HitfindSetup::Rpc::cell, cbm::algo::tof::CalibrateSetup::Rpc::channelDeadtime, cbm::algo::tof::CalibrateSetup::Rpc::chanPar, cbm::algo::tof::HitfindSetup::Rpc::chanPar, cbm::algo::tof::HitfindSetup::Rpc::CPTOffY, cbm::algo::tof::HitfindSetup::Rpc::CPTOffYBinWidth, cbm::algo::tof::HitfindSetup::Rpc::CPTOffYRange, cbm::algo::tof::HitfindSetup::Rpc::deadStrips, fbSwapChannelSides, fdChannelDeadtime, fDigiBdfPar, fDigiPar, fdMaxSpaceDist, fdMaxTimeDist, fdTOTMax, fdTOTMin, fPosYMaxScal, fTotMax, fTotMin, fvCPTOff, fvCPTOffY, fvCPTOffYBinWidth, fvCPTOffYRange, fvCPTotGain, fvCPTotOff, fvCPWalk, fvDeadStrips, CbmTofDigiPar::GetCell(), CbmTofDigiBdfPar::GetDetUId(), CbmTofDigiBdfPar::GetNbChan(), CbmTofDigiBdfPar::GetNbDet(), CbmTofDigiBdfPar::GetNbRpc(), CbmTofDigiBdfPar::GetNbSm(), CbmTofDigiBdfPar::GetNbSmTypes(), CbmTofDigiBdfPar::GetSigVel(), CbmTofCell::GetSizex(), CbmTofCell::GetSizey(), CbmTofDigiBdfPar::GetTrackingStation(), CbmTofAddress::GetUniqueAddress(), CbmTofCell::GetX(), CbmTofCell::GetY(), CbmTofCell::GetZ(), cbm::algo::tof::HitfindSetup::Rpc::maxSpaceDist, cbm::algo::tof::HitfindSetup::Rpc::maxTimeDist, nbClWalkBinX, cbm::algo::tof::CalibrateSetup::NbRpc, cbm::algo::tof::HitfindSetup::NbRpc, cbm::algo::tof::CalibrateSetup::NbSm, cbm::algo::tof::HitfindSetup::NbSm, cbm::algo::tof::CalibrateSetup::Rpc::numClWalkBinX, cbm::algo::tof::HitfindSetup::Rpc::posYMaxScal, cbm::algo::tof::HitfindSetup::Cell::rotation, cbm::algo::tof::CalibrateSetup::rpcs, cbm::algo::tof::HitfindSetup::rpcs, cbm::algo::tof::HitfindSetup::Rpc::sigVel, cbm::algo::tof::HitfindSetup::Cell::sizeX, cbm::algo::tof::HitfindSetup::Cell::sizeY, cbm::algo::tof::CalibrateSetup::Rpc::swapChannelSides, cbm::algo::tof::HitfindSetup::Rpc::timeRes, cbm::algo::tof::CalibrateSetup::Rpc::TOTMax, cbm::algo::tof::CalibrateSetup::Rpc::TOTMin, cbm::algo::tof::HitfindSetup::Rpc::trackingStationId, cbm::algo::tof::HitfindSetup::Cell::translation, cbm::algo::tof::CalibrateSetup::Channel::vCPTOff, cbm::algo::tof::CalibrateSetup::Channel::vCPTotGain, cbm::algo::tof::CalibrateSetup::Channel::vCPTotOff, and cbm::algo::tof::CalibrateSetup::Channel::vCPWalk.

Referenced by Init().

◆ InitCalibParameter()

bool CbmTaskTofClusterizerParWrite::InitCalibParameter ( )
private

Initialize other parameters not included in parameter classes.

Save old global file and folder pointer to avoid messing with FairRoot

Restore old global file and folder pointer to avoid messing with FairRoot

Definition at line 171 of file CbmTaskTofClusterizerParWrite.cxx.

References fCalMode, fCalParFileName, fDigiBdfPar, fdModifySigvel, fdTOTMax, fdTOTMin, fdTTotMean, fTotMean, fvCPTOff, fvCPTOffY, fvCPTOffYBinWidth, fvCPTOffYRange, fvCPTotGain, fvCPTotOff, fvCPWalk, CbmTofDigiBdfPar::GetChanType(), CbmTofDigiBdfPar::GetNbChan(), CbmTofDigiBdfPar::GetNbRpc(), CbmTofDigiBdfPar::GetNbSm(), CbmTofDigiBdfPar::GetNbSmTypes(), CbmTofDigiBdfPar::GetSigVel(), hSvel, nbClWalkBinX, and CbmTofDigiBdfPar::SetSigVel().

Referenced by Init().

◆ InitParameters()

◆ operator=()

CbmTaskTofClusterizerParWrite & CbmTaskTofClusterizerParWrite::operator= ( const CbmTaskTofClusterizerParWrite & )
private

Copy operator.

◆ PosYMaxScal()

void CbmTaskTofClusterizerParWrite::PosYMaxScal ( double val)
inline

Definition at line 68 of file CbmTaskTofClusterizerParWrite.h.

References fPosYMaxScal.

◆ SetCalMode()

void CbmTaskTofClusterizerParWrite::SetCalMode ( int32_t iMode)
inline

Definition at line 67 of file CbmTaskTofClusterizerParWrite.h.

References fCalMode.

◆ SetCalParFileName()

void CbmTaskTofClusterizerParWrite::SetCalParFileName ( TString CalParFileName)
inline

Definition at line 74 of file CbmTaskTofClusterizerParWrite.h.

References fCalParFileName.

◆ SetChannelDeadtime()

void CbmTaskTofClusterizerParWrite::SetChannelDeadtime ( double val)
inline

Definition at line 73 of file CbmTaskTofClusterizerParWrite.h.

References fdChannelDeadtime.

◆ SetDeadStrips()

void CbmTaskTofClusterizerParWrite::SetDeadStrips ( int32_t iDet,
uint32_t ival )

◆ SetMaxTimeDist()

void CbmTaskTofClusterizerParWrite::SetMaxTimeDist ( double val)
inline

Definition at line 72 of file CbmTaskTofClusterizerParWrite.h.

References fMaxTimeDist.

◆ SetParContainers()

void CbmTaskTofClusterizerParWrite::SetParContainers ( )
virtual

Inherited from FairTask.

Definition at line 95 of file CbmTaskTofClusterizerParWrite.cxx.

References fDigiBdfPar, fDigiPar, and CbmTofDigiPar::GetNrOfModules().

◆ SetTotMax()

void CbmTaskTofClusterizerParWrite::SetTotMax ( double val)
inline

Definition at line 69 of file CbmTaskTofClusterizerParWrite.h.

References fTotMax.

◆ SetTotMean()

void CbmTaskTofClusterizerParWrite::SetTotMean ( double val)
inline

Definition at line 71 of file CbmTaskTofClusterizerParWrite.h.

References fTotMean.

◆ SetTotMin()

void CbmTaskTofClusterizerParWrite::SetTotMin ( double val)
inline

Definition at line 70 of file CbmTaskTofClusterizerParWrite.h.

References fTotMin.

◆ SwapChannelSides()

void CbmTaskTofClusterizerParWrite::SwapChannelSides ( bool bSwap)
inline

Definition at line 78 of file CbmTaskTofClusterizerParWrite.h.

References fbSwapChannelSides.

Member Data Documentation

◆ bAddBeamCounterSideDigi

bool CbmTaskTofClusterizerParWrite::bAddBeamCounterSideDigi = true
private

Definition at line 83 of file CbmTaskTofClusterizerParWrite.h.

◆ fbSwapChannelSides

bool CbmTaskTofClusterizerParWrite::fbSwapChannelSides
private

Definition at line 149 of file CbmTaskTofClusterizerParWrite.h.

Referenced by InitAlgos(), and SwapChannelSides().

◆ fCalMode

int32_t CbmTaskTofClusterizerParWrite::fCalMode
private

Definition at line 129 of file CbmTaskTofClusterizerParWrite.h.

Referenced by InitCalibParameter(), and SetCalMode().

◆ fCalParFileName

TString CbmTaskTofClusterizerParWrite::fCalParFileName
private

Definition at line 139 of file CbmTaskTofClusterizerParWrite.h.

Referenced by InitCalibParameter(), and SetCalParFileName().

◆ fdChannelDeadtime

double CbmTaskTofClusterizerParWrite::fdChannelDeadtime
private

Definition at line 137 of file CbmTaskTofClusterizerParWrite.h.

Referenced by InitAlgos(), and SetChannelDeadtime().

◆ fDigiBdfPar

CbmTofDigiBdfPar* CbmTaskTofClusterizerParWrite::fDigiBdfPar
private

◆ fDigiPar

CbmTofDigiPar* CbmTaskTofClusterizerParWrite::fDigiPar
private

Definition at line 113 of file CbmTaskTofClusterizerParWrite.h.

Referenced by InitAlgos(), InitParameters(), and SetParContainers().

◆ fdMaxSpaceDist

double CbmTaskTofClusterizerParWrite::fdMaxSpaceDist
private

Definition at line 146 of file CbmTaskTofClusterizerParWrite.h.

Referenced by InitAlgos(), and InitParameters().

◆ fdMaxTimeDist

double CbmTaskTofClusterizerParWrite::fdMaxTimeDist
private

Definition at line 145 of file CbmTaskTofClusterizerParWrite.h.

Referenced by InitAlgos(), and InitParameters().

◆ fdModifySigvel

double CbmTaskTofClusterizerParWrite::fdModifySigvel
private

Definition at line 147 of file CbmTaskTofClusterizerParWrite.h.

Referenced by InitCalibParameter().

◆ fdTOTMax

double CbmTaskTofClusterizerParWrite::fdTOTMax
private

Definition at line 141 of file CbmTaskTofClusterizerParWrite.h.

Referenced by InitAlgos(), and InitCalibParameter().

◆ fdTOTMin

double CbmTaskTofClusterizerParWrite::fdTOTMin
private

Definition at line 142 of file CbmTaskTofClusterizerParWrite.h.

Referenced by InitAlgos(), and InitCalibParameter().

◆ fdTTotMean

double CbmTaskTofClusterizerParWrite::fdTTotMean
private

Definition at line 143 of file CbmTaskTofClusterizerParWrite.h.

Referenced by InitCalibParameter().

◆ fMaxTimeDist

double CbmTaskTofClusterizerParWrite::fMaxTimeDist
private

Definition at line 136 of file CbmTaskTofClusterizerParWrite.h.

Referenced by InitParameters(), and SetMaxTimeDist().

◆ fPosYMaxScal

double CbmTaskTofClusterizerParWrite::fPosYMaxScal
private

Definition at line 131 of file CbmTaskTofClusterizerParWrite.h.

Referenced by InitAlgos(), and PosYMaxScal().

◆ fTofId

CbmTofDetectorId* CbmTaskTofClusterizerParWrite::fTofId
private

Definition at line 112 of file CbmTaskTofClusterizerParWrite.h.

Referenced by InitParameters().

◆ fTotMax

double CbmTaskTofClusterizerParWrite::fTotMax
private

Definition at line 132 of file CbmTaskTofClusterizerParWrite.h.

Referenced by InitAlgos(), and SetTotMax().

◆ fTotMean

double CbmTaskTofClusterizerParWrite::fTotMean
private

Definition at line 135 of file CbmTaskTofClusterizerParWrite.h.

Referenced by GetTotMean(), InitCalibParameter(), and SetTotMean().

◆ fTotMin

double CbmTaskTofClusterizerParWrite::fTotMin
private

Definition at line 133 of file CbmTaskTofClusterizerParWrite.h.

Referenced by InitAlgos(), and SetTotMin().

◆ fTotOff

double CbmTaskTofClusterizerParWrite::fTotOff
private

Definition at line 134 of file CbmTaskTofClusterizerParWrite.h.

◆ fvCPTOff

std::vector<std::vector<std::vector<std::vector<double> > > > CbmTaskTofClusterizerParWrite::fvCPTOff
private

Definition at line 117 of file CbmTaskTofClusterizerParWrite.h.

Referenced by InitAlgos(), and InitCalibParameter().

◆ fvCPTOffY

std::vector<std::vector<std::vector<double> > > CbmTaskTofClusterizerParWrite::fvCPTOffY
private

Definition at line 122 of file CbmTaskTofClusterizerParWrite.h.

Referenced by InitAlgos(), and InitCalibParameter().

◆ fvCPTOffYBinWidth

std::vector<std::vector<double> > CbmTaskTofClusterizerParWrite::fvCPTOffYBinWidth
private

Definition at line 123 of file CbmTaskTofClusterizerParWrite.h.

Referenced by InitAlgos(), and InitCalibParameter().

◆ fvCPTOffYRange

std::vector<std::vector<double> > CbmTaskTofClusterizerParWrite::fvCPTOffYRange
private

Definition at line 124 of file CbmTaskTofClusterizerParWrite.h.

Referenced by InitAlgos(), and InitCalibParameter().

◆ fvCPTotGain

std::vector<std::vector<std::vector<std::vector<double> > > > CbmTaskTofClusterizerParWrite::fvCPTotGain
private

Definition at line 118 of file CbmTaskTofClusterizerParWrite.h.

Referenced by InitAlgos(), and InitCalibParameter().

◆ fvCPTotOff

std::vector<std::vector<std::vector<std::vector<double> > > > CbmTaskTofClusterizerParWrite::fvCPTotOff
private

Definition at line 119 of file CbmTaskTofClusterizerParWrite.h.

Referenced by InitAlgos(), and InitCalibParameter().

◆ fvCPWalk

std::vector<std::vector<std::vector<std::vector<std::vector<double> > > > > CbmTaskTofClusterizerParWrite::fvCPWalk
private

Definition at line 121 of file CbmTaskTofClusterizerParWrite.h.

Referenced by InitAlgos(), and InitCalibParameter().

◆ fvDeadStrips

std::vector<uint32_t> CbmTaskTofClusterizerParWrite::fvDeadStrips
private

Definition at line 126 of file CbmTaskTofClusterizerParWrite.h.

Referenced by InitAlgos(), and InitParameters().

◆ nbClWalkBinX

const int32_t CbmTaskTofClusterizerParWrite::nbClWalkBinX = 50
private

Definition at line 84 of file CbmTaskTofClusterizerParWrite.h.

Referenced by InitAlgos(), and InitCalibParameter().

◆ nbClWalkBinY

const int32_t CbmTaskTofClusterizerParWrite::nbClWalkBinY = 41
private

Definition at line 85 of file CbmTaskTofClusterizerParWrite.h.


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