![]() |
AliRoot Core
3dc7879 (3dc7879)
|
TPC calibration class for temperature maps and tendencies. More...
#include <AliTPCTempMap.h>
Public Member Functions | |
AliTPCTempMap (AliTPCSensorTempArray *SensorsDCS) | |
AliTPCTempMap (const AliTPCTempMap &c) | |
virtual | ~AliTPCTempMap () |
AliTPCTempMap & | operator= (const AliTPCTempMap &c) |
virtual void | Copy (TObject &c) const |
TLinearFitter * | GetLinearFitter (Int_t type, Int_t side, UInt_t timeSec) |
TLinearFitter * | GetLinearFitter (Int_t type, Int_t side, TTimeStamp &stamp) |
Double_t | GetTempGradientY (UInt_t timeSec, Int_t side) |
TGraph2D * | GetTempMapsViaSensors (Int_t type, Int_t side, UInt_t timeSec) |
TGraph * | MakeGraphGradient (Int_t axis, Int_t side, Int_t nPoints) |
Double_t | GetTemperature (Double_t x, Double_t y, Double_t z, UInt_t timeSec) |
Double_t | GetTemperature (Double_t x, Double_t y, Double_t z, TTimeStamp &stamp) |
Bool_t | IsOK (Float_t value) |
Protected Attributes | |
AliTPCSensorTempArray * | fTempArray |
Array of Sensors (initialized in Constructor) More... | |
TString | fStringFEsimulation |
Placeholder for file of FiniteElement Simulation under ideal conditions - not existing yet. More... | |
Private Member Functions | |
AliTPCTempMap (const char *fname) | |
TPC calibration class for temperature maps and tendencies.
(based on TPC Temperature Sensors and FiniteElement Simulation)
Note: Obvioulsy some changes by Marian, but when ???
Definition at line 19 of file AliTPCTempMap.h.
AliTPCTempMap::AliTPCTempMap | ( | AliTPCSensorTempArray * | SensorsDCS | ) |
AliTPCTempMap default constructor
Definition at line 42 of file AliTPCTempMap.cxx.
AliTPCTempMap::AliTPCTempMap | ( | const AliTPCTempMap & | c | ) |
AliTPCTempMap copy constructor
Definition at line 54 of file AliTPCTempMap.cxx.
|
virtual |
AliTPCTempMap destructor
Definition at line 64 of file AliTPCTempMap.cxx.
|
private |
|
virtual |
TLinearFitter * AliTPCTempMap::GetLinearFitter | ( | Int_t | type, |
Int_t | side, | ||
UInt_t | timeSec | ||
) |
Creates a TlinearFitter object for the desired region of the TPC (via choosen type and side of TPC temperature sensors) at a given timeSec (in secounds) after start time type: 0 ... ReadOutChambers (ROC) 1 ... OuterContainmentVessel (OFC) 2 ... InnerContainmentVessel (IFC) + ThermalScreener (TS) 3 ... Within the TPC (DriftVolume) (TPC) 4 ... Only InnerContainmentVessel (IFC) side: Can be choosen for type 0 and 3 (otherwise it will be ignored in in order to get all temperature sensors of interest) 0 ... Shaft Side (A) 1 ... Muon Side (C)
Definition at line 140 of file AliTPCTempMap.cxx.
Referenced by GetLinearFitter(), AliTPCCalibVdrift::GetPTRelative(), GetTemperature(), AliTPCcalibDB::GetTemperatureFit(), and MakeGraphGradient().
TLinearFitter * AliTPCTempMap::GetLinearFitter | ( | Int_t | type, |
Int_t | side, | ||
TTimeStamp & | stamp | ||
) |
absolute time stamp used see AliTPCTempMap::GetLinearFitter(Int_t type, Int_t side, UInt_t timeSec) for details
Definition at line 130 of file AliTPCTempMap.cxx.
Double_t AliTPCTempMap::GetTemperature | ( | Double_t | x, |
Double_t | y, | ||
Double_t | z, | ||
UInt_t | timeSec | ||
) |
Returns estimated Temperature at given position (x,y,z[cm]) at given time (timeSec) after starttime Method: so far just a linear interpolation between Linar fits of the TPC temperature sensors FIXME: 'Educated Fit' through FiniteElement Simulation results! FIXXME: Return 0? if x,y,z out of range
Definition at line 396 of file AliTPCTempMap.cxx.
Referenced by GetTemperature(), and AliTPCCalibVdrift::GetVdriftChange().
Double_t AliTPCTempMap::GetTemperature | ( | Double_t | x, |
Double_t | y, | ||
Double_t | z, | ||
TTimeStamp & | stamp | ||
) |
absolute time stamp used see also Double_t AliTPCTempMap::GetTemperature(Double_t x, Double_t y, Double_t z, UInt_t timeSec) for details
Definition at line 385 of file AliTPCTempMap.cxx.
Double_t AliTPCTempMap::GetTempGradientY | ( | UInt_t | timeSec, |
Int_t | side | ||
) |
Extract Linear Vertical Temperature Gradient [K/cm] within the TPC on Shaft Side(A): 0 Muon Side(C): 1 Values based on TemperatureSensors within the TPC ( type: 3 (TPC) )
FIXME: Also return residual-distribution, covariance Matrix or simply chi2 for validity check? -> better use GetLinearFitter - function in this case!
Definition at line 91 of file AliTPCTempMap.cxx.
TGraph2D * AliTPCTempMap::GetTempMapsViaSensors | ( | Int_t | type, |
Int_t | side, | ||
UInt_t | timeSec | ||
) |
Creates a TGraph2D object for the desired region of the TPC (via choosen type and side of TPC temperature sensors) at a given timeSec (in secounds) after start time type: 0 ... ReadOutChambers (ROC) 1 ... OuterContainmentVessel (OFC) 2 ... InnerContainmentVessel (IFC) + ThermalScreener (TS) 3 ... Within the TPC (DriftVolume) (TPC) side: Can be choosen for type 0 and 3 (otherwise it will be ignored in in order to get all temperature sensors of interest) 0 ... A - side 1 ... C - side
Definition at line 244 of file AliTPCTempMap.cxx.
Bool_t AliTPCTempMap::IsOK | ( | Float_t | value | ) |
checks if value is within a certain range
Definition at line 428 of file AliTPCTempMap.cxx.
Referenced by GetLinearFitter(), and GetTempGradientY().
TGraph * AliTPCTempMap::MakeGraphGradient | ( | Int_t | axis, |
Int_t | side, | ||
Int_t | nPoints | ||
) |
Make graph from start time to end time of TempGradient in axis direction axis: 0 ... horizontal Temperature Gradient (X) 1 ... vertical Temperature Gradient (Y) 2 ... longitudenal Temperature Gradient (Z) (side is ignored) z gradient value based on OFC temperature sensors Caution!: better z gradient values through difference between param[0] A- and param[0] C-side ! side for X and Y gradient: 0 ... Shaft Side (A) 1 ... Muon Side (C)
Definition at line 330 of file AliTPCTempMap.cxx.
AliTPCTempMap & AliTPCTempMap::operator= | ( | const AliTPCTempMap & | c | ) |
Assignment operator
Definition at line 71 of file AliTPCTempMap.cxx.
|
protected |
Placeholder for file of FiniteElement Simulation under ideal conditions - not existing yet.
Definition at line 39 of file AliTPCTempMap.h.
|
protected |
Array of Sensors (initialized in Constructor)
Definition at line 38 of file AliTPCTempMap.h.
Referenced by GetLinearFitter(), GetTemperature(), GetTempGradientY(), GetTempMapsViaSensors(), and MakeGraphGradient().