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

#include <CbmTaskStsHitFinderParWrite.h>

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

Public Member Functions

 CbmTaskStsHitFinderParWrite ()
 Constructor.
 
 CbmTaskStsHitFinderParWrite (const CbmTaskStsHitFinderParWrite &)=delete
 Copy constructor (disabled)
 
CbmTaskStsHitFinderParWrite operator= (const CbmTaskStsHitFinderParWrite &)=delete
 Assignment operator (disabled)
 
virtual ~CbmTaskStsHitFinderParWrite ()
 Destructor

 
virtual InitStatus Init ()
 Initialisation.
 
virtual void Exec (Option_t *)
 Task execution.
 
virtual void Finish ()
 End-of-run action.
 
virtual void SetParContainers ()
 Define the needed parameter containers.
 
void UseModulePar (CbmStsParModule *modulePar)
 User-defined module parameters.
 
void UseModuleParSet (CbmStsParSetModule *moduleParSet)
 User-defined module parameter set.
 
void UseSensorCond (CbmStsParSensorCond *sensorCond)
 User-defined sensor condition parameters.
 
void UseSensorCondSet (CbmStsParSetSensorCond *sensorCondSet)
 User-defined module parameter set.
 
void UseSensorPar (CbmStsParSensor *sensorPar)
 User-defined sensor parameters.
 
void UseSensorParSet (CbmStsParSetSensor *sensorParSet)
 User-defined module parameter set.
 

Private Member Functions

std::pair< Double_t, Double_t > LorentzShift (const CbmStsParSensorCond &conditions, Double_t dZ, Double_t bY)
 Average Lorentz Shift in a sensor.
 
UInt_t CreateModules ()
 Instantiate reconstruction modules @value Number of modules created.
 
void GetSensorParameters (CbmStsElement *geoSensor)
 Get the sensor parameters.
 
void InitParams ()
 Initialise parameters.
 

Private Attributes

CbmStsSetupfSetup = nullptr
 
CbmStsParSimfParSim = nullptr
 Instance of STS setup.
 
CbmStsParSetModulefParSetModule = nullptr
 Module parameters.
 
CbmStsParSetSensorfParSetSensor = nullptr
 Sensor parameters.
 
CbmStsParSetSensorCondfParSetCond = nullptr
 Sensor conditions.
 
CbmStsParAsicfUserParAsic = nullptr
 
CbmStsParModulefUserParModule = nullptr
 
CbmStsParSensorfUserParSensor = nullptr
 
CbmStsParSensorCondfUserParCond = nullptr
 
CbmStsParSetModulefUserParSetModule = nullptr
 
CbmStsParSetSensorfUserParSetSensor = nullptr
 
CbmStsParSetSensorCondfUserParSetCond = nullptr
 

Detailed Description

Definition at line 20 of file CbmTaskStsHitFinderParWrite.h.

Constructor & Destructor Documentation

◆ CbmTaskStsHitFinderParWrite() [1/2]

CbmTaskStsHitFinderParWrite::CbmTaskStsHitFinderParWrite ( )

Constructor.

Definition at line 30 of file CbmTaskStsHitFinderParWrite.cxx.

◆ CbmTaskStsHitFinderParWrite() [2/2]

CbmTaskStsHitFinderParWrite::CbmTaskStsHitFinderParWrite ( const CbmTaskStsHitFinderParWrite & )
delete

Copy constructor (disabled)

◆ ~CbmTaskStsHitFinderParWrite()

CbmTaskStsHitFinderParWrite::~CbmTaskStsHitFinderParWrite ( )
virtualdefault

Destructor

Member Function Documentation

◆ CreateModules()

◆ Exec()

virtual void CbmTaskStsHitFinderParWrite::Exec ( Option_t * )
inlinevirtual

Task execution.

Definition at line 39 of file CbmTaskStsHitFinderParWrite.h.

◆ Finish()

virtual void CbmTaskStsHitFinderParWrite::Finish ( )
inlinevirtual

End-of-run action.

Definition at line 42 of file CbmTaskStsHitFinderParWrite.h.

◆ GetSensorParameters()

void CbmTaskStsHitFinderParWrite::GetSensorParameters ( CbmStsElement * geoSensor)
private

Get the sensor parameters.

Parameters
geoSensorPointer to setup sensor

◆ Init()

InitStatus CbmTaskStsHitFinderParWrite::Init ( )
virtual

◆ InitParams()

void CbmTaskStsHitFinderParWrite::InitParams ( )
private

Initialise parameters.

For simulated data, the parameters for modules and sensors are retrieved from the runtimeDb. They can be overridden by user-specified parameter sets using the respective setters. This is necessary when processing experiment data without a prior simulation step.

Definition at line 191 of file CbmTaskStsHitFinderParWrite.cxx.

References CbmStsParSetModule::clear(), CbmStsParSetSensor::clear(), CbmStsParSetSensorCond::clear(), fParSetCond, fParSetModule, fParSetSensor, fUserParCond, fUserParModule, fUserParSensor, fUserParSetCond, fUserParSetModule, fUserParSetSensor, CbmStsParSetModule::SetGlobalPar(), CbmStsParSetSensor::SetGlobalPar(), CbmStsParSetSensorCond::SetGlobalPar(), CbmStsParSetModule::ToString(), CbmStsParSetSensor::ToString(), and CbmStsParSetSensorCond::ToString().

Referenced by Init().

◆ LorentzShift()

std::pair< Double_t, Double_t > CbmTaskStsHitFinderParWrite::LorentzShift ( const CbmStsParSensorCond & conditions,
Double_t dZ,
Double_t bY )
private

Average Lorentz Shift in a sensor.

Parameters
conditionsSensor operating conditions
dZSensor thickness [cm]
bYy component of magnetic field in sensor centre
Returns
Mean Lorentz shift front side and back side [cm]

The Lorentz shift will be corrected for in hit finding.

Definition at line 254 of file CbmTaskStsHitFinderParWrite.cxx.

References CbmStsParSensorCond::GetHallMobility(), CbmStsParSensorCond::GetVbias(), and CbmStsParSensorCond::GetVfd().

Referenced by CreateModules().

◆ operator=()

CbmTaskStsHitFinderParWrite CbmTaskStsHitFinderParWrite::operator= ( const CbmTaskStsHitFinderParWrite & )
delete

Assignment operator (disabled)

◆ SetParContainers()

void CbmTaskStsHitFinderParWrite::SetParContainers ( )
virtual

Define the needed parameter containers.

Definition at line 286 of file CbmTaskStsHitFinderParWrite.cxx.

References fParSetCond, fParSetModule, fParSetSensor, and fParSim.

◆ UseModulePar()

void CbmTaskStsHitFinderParWrite::UseModulePar ( CbmStsParModule * modulePar)
inline

User-defined module parameters.

Parameters
parModuleModule parameter object

If defined, these parameters will be used for all modules instead of those found in the runtimeDb.

Definition at line 54 of file CbmTaskStsHitFinderParWrite.h.

References fUserParModule.

◆ UseModuleParSet()

void CbmTaskStsHitFinderParWrite::UseModuleParSet ( CbmStsParSetModule * moduleParSet)
inline

User-defined module parameter set.

Parameters
parModuleModule parameter set object

If defined, this parameter set will be used instead of that found in the runtimeDb.

Definition at line 62 of file CbmTaskStsHitFinderParWrite.h.

References fUserParSetModule.

◆ UseSensorCond()

void CbmTaskStsHitFinderParWrite::UseSensorCond ( CbmStsParSensorCond * sensorCond)
inline

User-defined sensor condition parameters.

Parameters
parModuleSensor condition parameter object

If defined, these condition parameters will be used for all sensors instead of those found in the runtimeDb.

Definition at line 71 of file CbmTaskStsHitFinderParWrite.h.

References fUserParCond.

◆ UseSensorCondSet()

void CbmTaskStsHitFinderParWrite::UseSensorCondSet ( CbmStsParSetSensorCond * sensorCondSet)
inline

User-defined module parameter set.

Parameters
parModuleModule parameter set object

If defined, this parameter set will be used instead of that found in the runtimeDb.

Definition at line 78 of file CbmTaskStsHitFinderParWrite.h.

References fUserParSetCond.

◆ UseSensorPar()

void CbmTaskStsHitFinderParWrite::UseSensorPar ( CbmStsParSensor * sensorPar)
inline

User-defined sensor parameters.

Parameters
parModuleSensor parameter object

If defined, these parameters will be used for all sensors instead of those found in the runtimeDb.

Definition at line 87 of file CbmTaskStsHitFinderParWrite.h.

References fUserParSensor.

◆ UseSensorParSet()

void CbmTaskStsHitFinderParWrite::UseSensorParSet ( CbmStsParSetSensor * sensorParSet)
inline

User-defined module parameter set.

Parameters
parModuleModule parameter set object

If defined, this parameter set will be used instead of that found in the runtimeDb.

Definition at line 95 of file CbmTaskStsHitFinderParWrite.h.

References fUserParSetSensor.

Member Data Documentation

◆ fParSetCond

CbmStsParSetSensorCond* CbmTaskStsHitFinderParWrite::fParSetCond = nullptr
private

Sensor conditions.

Definition at line 136 of file CbmTaskStsHitFinderParWrite.h.

Referenced by CreateModules(), InitParams(), and SetParContainers().

◆ fParSetModule

CbmStsParSetModule* CbmTaskStsHitFinderParWrite::fParSetModule = nullptr
private

Module parameters.

Definition at line 134 of file CbmTaskStsHitFinderParWrite.h.

Referenced by CreateModules(), InitParams(), and SetParContainers().

◆ fParSetSensor

CbmStsParSetSensor* CbmTaskStsHitFinderParWrite::fParSetSensor = nullptr
private

Sensor parameters.

Definition at line 135 of file CbmTaskStsHitFinderParWrite.h.

Referenced by CreateModules(), InitParams(), and SetParContainers().

◆ fParSim

CbmStsParSim* CbmTaskStsHitFinderParWrite::fParSim = nullptr
private

Instance of STS setup.

Simulation settings

Definition at line 133 of file CbmTaskStsHitFinderParWrite.h.

Referenced by CreateModules(), Init(), and SetParContainers().

◆ fSetup

CbmStsSetup* CbmTaskStsHitFinderParWrite::fSetup = nullptr
private

Definition at line 132 of file CbmTaskStsHitFinderParWrite.h.

Referenced by CreateModules(), and Init().

◆ fUserParAsic

CbmStsParAsic* CbmTaskStsHitFinderParWrite::fUserParAsic = nullptr
private

Definition at line 139 of file CbmTaskStsHitFinderParWrite.h.

◆ fUserParCond

CbmStsParSensorCond* CbmTaskStsHitFinderParWrite::fUserParCond = nullptr
private

Definition at line 142 of file CbmTaskStsHitFinderParWrite.h.

Referenced by InitParams(), and UseSensorCond().

◆ fUserParModule

CbmStsParModule* CbmTaskStsHitFinderParWrite::fUserParModule = nullptr
private

Definition at line 140 of file CbmTaskStsHitFinderParWrite.h.

Referenced by InitParams(), and UseModulePar().

◆ fUserParSensor

CbmStsParSensor* CbmTaskStsHitFinderParWrite::fUserParSensor = nullptr
private

Definition at line 141 of file CbmTaskStsHitFinderParWrite.h.

Referenced by InitParams(), and UseSensorPar().

◆ fUserParSetCond

CbmStsParSetSensorCond* CbmTaskStsHitFinderParWrite::fUserParSetCond = nullptr
private

Definition at line 147 of file CbmTaskStsHitFinderParWrite.h.

Referenced by InitParams(), and UseSensorCondSet().

◆ fUserParSetModule

CbmStsParSetModule* CbmTaskStsHitFinderParWrite::fUserParSetModule = nullptr
private

Definition at line 145 of file CbmTaskStsHitFinderParWrite.h.

Referenced by InitParams(), and UseModuleParSet().

◆ fUserParSetSensor

CbmStsParSetSensor* CbmTaskStsHitFinderParWrite::fUserParSetSensor = nullptr
private

Definition at line 146 of file CbmTaskStsHitFinderParWrite.h.

Referenced by InitParams(), and UseSensorParSet().


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