CbmRoot
|
#include <CbmTaskStsHitFinderParWrite.h>
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 | |
CbmStsSetup * | fSetup = nullptr |
CbmStsParSim * | fParSim = nullptr |
Instance of STS setup. | |
CbmStsParSetModule * | fParSetModule = nullptr |
Module parameters. | |
CbmStsParSetSensor * | fParSetSensor = nullptr |
Sensor parameters. | |
CbmStsParSetSensorCond * | fParSetCond = nullptr |
Sensor conditions. | |
CbmStsParAsic * | fUserParAsic = nullptr |
CbmStsParModule * | fUserParModule = nullptr |
CbmStsParSensor * | fUserParSensor = nullptr |
CbmStsParSensorCond * | fUserParCond = nullptr |
CbmStsParSetModule * | fUserParSetModule = nullptr |
CbmStsParSetSensor * | fUserParSetSensor = nullptr |
CbmStsParSetSensorCond * | fUserParSetCond = nullptr |
Definition at line 20 of file CbmTaskStsHitFinderParWrite.h.
CbmTaskStsHitFinderParWrite::CbmTaskStsHitFinderParWrite | ( | ) |
Constructor.
Definition at line 30 of file CbmTaskStsHitFinderParWrite.cxx.
|
delete |
Copy constructor (disabled)
|
virtualdefault |
Destructor
|
private |
Instantiate reconstruction modules @value Number of modules created.
Definition at line 40 of file CbmTaskStsHitFinderParWrite.cxx.
References fParSetCond, fParSetModule, fParSetSensor, fParSim, fSetup, CbmStsElement::GetAddress(), CbmStsElement::GetDaughter(), CbmStsParAsic::GetDeadTime(), CbmStsParAsic::GetDynRange(), CbmStsPhysics::GetLandauWidthTable(), CbmStsSetup::GetModule(), CbmStsParAsic::GetNofAdc(), CbmStsParModule::GetNofChannels(), CbmStsElement::GetNofDaughters(), CbmStsSetup::GetNofModules(), CbmStsParAsic::GetNoise(), CbmStsParSensor::GetPar(), CbmStsParModule::GetParAsic(), CbmStsParSetModule::GetParModule(), CbmStsParSetSensor::GetParSensor(), CbmStsParSetSensorCond::GetParSensor(), CbmStsElement::GetPnode(), CbmStsParAsic::GetThreshold(), CbmStsParAsic::GetTimeResol(), CbmStsParAsic::GetZeroNoiseRate(), CbmStsPhysics::Instance(), CbmStsParSim::LorentzShift(), LorentzShift(), cbm::algo::sts::HitfinderPars::ModuleTransform::rotation, shape, CbmStsParSetSensor::ToString(), and cbm::algo::sts::HitfinderPars::ModuleTransform::translation.
Referenced by Init().
|
inlinevirtual |
Task execution.
Definition at line 39 of file CbmTaskStsHitFinderParWrite.h.
|
inlinevirtual |
End-of-run action.
Definition at line 42 of file CbmTaskStsHitFinderParWrite.h.
|
private |
Get the sensor parameters.
geoSensor | Pointer to setup sensor |
|
virtual |
Initialisation.
Definition at line 155 of file CbmTaskStsHitFinderParWrite.cxx.
References CreateModules(), fParSim, fSetup, CbmStsSetup::Init(), InitParams(), CbmStsSetup::Instance(), and CbmStsParSim::ToString().
|
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().
|
private |
Average Lorentz Shift in a sensor.
conditions | Sensor operating conditions |
dZ | Sensor thickness [cm] |
bY | y component of magnetic field in sensor centre |
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().
|
delete |
Assignment operator (disabled)
|
virtual |
Define the needed parameter containers.
Definition at line 286 of file CbmTaskStsHitFinderParWrite.cxx.
References fParSetCond, fParSetModule, fParSetSensor, and fParSim.
|
inline |
User-defined module parameters.
parModule | Module 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.
|
inline |
User-defined module parameter set.
parModule | Module 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.
|
inline |
User-defined sensor condition parameters.
parModule | Sensor 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.
|
inline |
User-defined module parameter set.
parModule | Module 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.
|
inline |
User-defined sensor parameters.
parModule | Sensor 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.
|
inline |
User-defined module parameter set.
parModule | Module 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.
|
private |
Sensor conditions.
Definition at line 136 of file CbmTaskStsHitFinderParWrite.h.
Referenced by CreateModules(), InitParams(), and SetParContainers().
|
private |
Module parameters.
Definition at line 134 of file CbmTaskStsHitFinderParWrite.h.
Referenced by CreateModules(), InitParams(), and SetParContainers().
|
private |
Sensor parameters.
Definition at line 135 of file CbmTaskStsHitFinderParWrite.h.
Referenced by CreateModules(), InitParams(), and SetParContainers().
|
private |
Instance of STS setup.
Simulation settings
Definition at line 133 of file CbmTaskStsHitFinderParWrite.h.
Referenced by CreateModules(), Init(), and SetParContainers().
|
private |
Definition at line 132 of file CbmTaskStsHitFinderParWrite.h.
Referenced by CreateModules(), and Init().
|
private |
Definition at line 139 of file CbmTaskStsHitFinderParWrite.h.
|
private |
Definition at line 142 of file CbmTaskStsHitFinderParWrite.h.
Referenced by InitParams(), and UseSensorCond().
|
private |
Definition at line 140 of file CbmTaskStsHitFinderParWrite.h.
Referenced by InitParams(), and UseModulePar().
|
private |
Definition at line 141 of file CbmTaskStsHitFinderParWrite.h.
Referenced by InitParams(), and UseSensorPar().
|
private |
Definition at line 147 of file CbmTaskStsHitFinderParWrite.h.
Referenced by InitParams(), and UseSensorCondSet().
|
private |
Definition at line 145 of file CbmTaskStsHitFinderParWrite.h.
Referenced by InitParams(), and UseModuleParSet().
|
private |
Definition at line 146 of file CbmTaskStsHitFinderParWrite.h.
Referenced by InitParams(), and UseSensorParSet().