AliRoot Core  edcc906 (edcc906)
AliTPCcalibDB Class Reference

Class providing the calibration parameters by accessing the CDB. More...

#include <AliTPCcalibDB.h>

Inheritance diagram for AliTPCcalibDB:

Public Types

enum  EDcsGasSensor {
  kNeon =0, kArgon, kCO2, kN2,
  kH2O, kO2, kNGasSensor
}
 

Public Member Functions

 AliTPCcalibDB ()
 
virtual ~AliTPCcalibDB ()
 
void SetRun (Long64_t run)
 
void Update ()
 
void UpdateRunInformations (Int_t run, Bool_t force=kFALSE)
 
void UpdateNonRec ()
 
Bool_t GetTailcancelationGraphs (Int_t sector, TGraphErrors **graphRes, Float_t *indexAmpGraphs)
 
Long64_t GetRun () const
 
AliTPCTransformGetTransform () const
 
AliTPCExBGetExB () const
 
void SetExBField (Float_t bz)
 
void SetExBField (const AliMagF *bmap)
 
AliTPCCalPadGetPadGainFactorOld () const
 
AliTPCCalPadGetPadGainFactor () const
 
AliTPCCalPadGetActiveChannelMap () const
 
AliTPCCalPadGetDedxGainFactor () const
 
AliTPCCalPadGetPadTime0 () const
 
AliTPCCalPadGetDistortionMap (Int_t i) const
 
AliTPCCorrectionGetTPCComposedCorrection () const
 
TObjArrayGetTPCComposedCorrectionArray () const
 
TObjArrayGetCorrectionMaps () const
 
void SetTPCComposedCorrection (AliTPCCorrection *compCorr)
 
AliTPCCorrectionGetTPCComposedCorrection (Float_t field) const
 
AliTPCCorrectionGetTPCComposedCorrectionDelta () const
 
Bool_t HasAlignmentOCDB () const
 
AliTPCCalPadGetPadNoise () const
 
AliTPCCalPadGetPedestals () const
 
void LoadCorrectionMaps ()
 
TObjArrayGetAltroConfigData () const
 
AliTPCCalPadGetALTROAcqStart () const
 
AliTPCCalPadGetALTROZsThr () const
 
AliTPCCalPadGetALTROFPED () const
 
AliTPCCalPadGetALTROAcqStop () const
 
AliTPCCalPadGetALTROMasked () const
 
TMap * GetDDLMap () const
 
TMap * GetRCUconfig () const
 
Int_t GetRCUTriggerConfig () const
 
Bool_t IsTrgL0 ()
 
Bool_t IsTrgL1 ()
 
Int_t GetMaxTimeBinAllPads () const
 
TObjArrayGetIonTailArray () const
 
TObjArrayGetPulserData () const
 
AliTPCCalPadGetPulserTmean () const
 
AliTPCCalPadGetPulserTrms () const
 
AliTPCCalPadGetPulserQmean () const
 
TObjArrayGetCEData () const
 
AliTPCCalPadGetCETmean () const
 
AliTPCCalPadGetCETrms () const
 
AliTPCCalPadGetCEQmean () const
 
TObjArrayGetCErocTtime () const
 
TObjArrayGetCErocQtime () const
 
TObjArrayGetCEfitsDrift () const
 
TGraph * GetCErocTgraph (const Int_t roc) const
 
TGraph * GetCErocQgraph (const Int_t roc) const
 
AliTPCCalibRawGetCalibRaw () const
 
AliTPCdataQAGetDataQA () const
 
AliDCSSensorArrayGetGasSensors () const
 
Float_t GetGasSensorValue (EDcsGasSensor type, Int_t timeStamp=-1, Int_t sigDigits=-1)
 
AliTPCSensorTempArrayGetTemperature () const
 
AliTPCParamGetParameters () const
 
AliTPCAltroMapping ** GetMapping () const
 
AliTPCClusterParamGetClusterParam () const
 
TObjArrayGetTimeGainSplines () const
 
AliTPCRecoParamGetRecoParam (Int_t i) const
 
AliTPCRecoParamGetRecoParamFromGRP () const
 
AliRecoParam::EventSpecie_t GetEventSpecieFromGRP () const
 
Bool_t GetChamberHVStatus (UInt_t roc) const
 
Float_t GetChamberHighVoltageMedian (UInt_t roc) const
 
Float_t GetChamberCurrentNominalHighVoltage (UInt_t roc) const
 
Float_t GetChamberGoodHighVoltageFraction (UInt_t roc) const
 
AliDCSSensorGetChamberHVSensor (UInt_t roc) const
 
Double_t GetGainCorrectionHVandPT (Int_t timeStamp, Int_t run, Int_t sector, Int_t deltaCache, Int_t mode)
 
Bool_t IsDataTakingActive (time_t timeStamp)
 
AliDCSSensorGetPressureSensor (Int_t run, Int_t type=0)
 
AliTPCSensorTempArrayGetTemperatureSensor (Int_t run)
 
AliDCSSensorArrayGetGoofieSensors (Int_t run)
 
AliDCSSensorArrayGetVoltageSensors (Int_t run)
 
AliTPCCalibVdriftGetVdrift (Int_t run)
 
TObjArrayGetTimeGainSplinesRun (Int_t run)
 
TObjArrayGetTimeVdriftSplineRun (Int_t run)
 
Double_t GetVDriftCorrectionTime (Int_t timeStamp, Int_t run, Int_t side, Int_t mode)
 
Double_t GetTime0CorrectionTime (Int_t timeStamp, Int_t run, Int_t side, Int_t mode)
 
Double_t GetVDriftCorrectionGy (Int_t timeStamp, Int_t run, Int_t side, Int_t mode)
 
Double_t GetVDriftCorrectionDeltaZ (Int_t timeStamp, Int_t run, Int_t side, Int_t mode)
 
AliSplineFitGetVdriftSplineFit (const char *name, Int_t run)
 
AliSplineFitCreateVdriftSplineFit (const char *graphName, Int_t run)
 
Int_t GetMaskedChannelsFromCorrectionMaps (TBits maskedPads[72])
 
AliTPCCalPadMakeDeadMap (Double_t notInMap=1, const char *nameMappingFile="$ALICE_ROOT/TPC/Calib/tpcMapping.root")
 
AliGRPObjectMakeGRPObjectFromMap (TMap *map)
 
AliCTPTimeParamsGetCTPTimeParams () const
 
Bool_t CreateGUITree (const char *filename="")
 

Static Public Member Functions

static AliTPCcalibDBInstance ()
 
static void Terminate ()
 
static AliTPCExBGetExB (Float_t bz, Bool_t bdelete)
 
static Float_t GetCEdriftTime (Int_t run, Int_t sector, Double_t timeStamp=-1., Int_t *entries=0)
 
static Float_t GetCEchargeTime (Int_t run, Int_t sector, Double_t timeStamp=-1., Int_t *entries=0)
 
static AliGRPObjectGetGRP (Int_t run)
 
static TMap * GetGRPMap (Int_t run)
 
static Float_t GetPressure (Int_t timeStamp, Int_t run, Int_t type=0)
 
static Float_t GetL3Current (Int_t run, Int_t statType=0)
 
static Float_t GetBz (Int_t run)
 
static Char_t GetL3Polarity (Int_t run)
 
static TString GetRunType (Int_t run)
 
static Float_t GetDCSSensorValue (AliDCSSensorArray *arr, Int_t timeStamp, const char *sensorName, Int_t sigDigits=-1)
 
static Float_t GetDCSSensorMeanValue (AliDCSSensorArray *arr, const char *sensorName, Int_t sigDigits=-1)
 
static Float_t GetChamberHighVoltage (Int_t run, Int_t sector, Int_t timeStamp=-1, Int_t sigDigits=0, Bool_t current=kFALSE)
 
static Float_t GetSkirtVoltage (Int_t run, Int_t sector, Int_t timeStamp=-1, Int_t sigDigits=0)
 
static Float_t GetCoverVoltage (Int_t run, Int_t sector, Int_t timeStamp=-1, Int_t sigDigits=0)
 
static Float_t GetGGoffsetVoltage (Int_t run, Int_t sector, Int_t timeStamp=-1, Int_t sigDigits=0)
 
static Float_t GetGGnegVoltage (Int_t run, Int_t sector, Int_t timeStamp=-1, Int_t sigDigits=0)
 
static Float_t GetGGposVoltage (Int_t run, Int_t sector, Int_t timeStamp=-1, Int_t sigDigits=0)
 
static Float_t GetValueGoofie (Int_t timeStamp, Int_t run, Int_t type)
 
static Bool_t GetTemperatureFit (Int_t timeStamp, Int_t run, Int_t side, TVectorD &fit)
 
static Float_t GetTemperature (Int_t timeStamp, Int_t run, Int_t side)
 
static Double_t GetPTRelative (UInt_t timeSec, Int_t run, Int_t side)
 
static Float_t GetGain (Int_t sector, Int_t row, Int_t pad)
 
static void CreateObjectList (const Char_t *filename, TObjArray *calibObjects)
 
static void MakeTree (const char *fileName, TObjArray *array, const char *mapFileName=0, AliTPCCalPad *outlierPad=0, Float_t ltmFraction=0.9)
 
static void RegisterExB (Int_t index, Float_t bz, Bool_t bdelete)
 
static Bool_t CreateGUITree (Int_t run, const char *filename="")
 
static Bool_t CreateRefFile (Int_t run, const char *filename="")
 

Protected Member Functions

AliCDBEntryGetCDBEntry (const char *cdbPath)
 
void UpdateChamberHighVoltageData ()
 
Int_t InitDeadMap ()
 
void InitAltroData ()
 

Protected Attributes

Int_t fRun
 current run number More...
 
AliTPCTransformfTransform
 object responsible for spacial corrections More...
 
AliTPCExBfExB
 ExB correction factor. More...
 
AliTPCCalPadfPadGainFactor
 Gain calibration entry. More...
 
AliTPCCalPadfActiveChannelMap
 Map of active channels calculated on the fly. More...
 
AliTPCCalPadfDedxGainFactor
 Gain calibration entry - for dEdx. More...
 
AliTPCCalPadfPadTime0
 Time0 calibration entry. More...
 
TObjArrayfDistortionMap
 distortion map More...
 
AliTPCCorrectionfComposedCorrection
 general space point corrections More...
 
TObjArrayfComposedCorrectionArray
 space point corrections for different field setting More...
 
TObjArrayfCorrectionMaps
 RS: new fast Chebyshev parameterization maps. More...
 
AliTPCCalPadfPadNoise
 Noise calibration entry. More...
 
AliTPCCalPadfPedestals
 Pedestal calibration entry. More...
 
AliTPCCalibRawfCalibRaw
 raw data calibration entry More...
 
AliTPCdataQAfDataQA
 qa object More...
 
TObjArrayfALTROConfigData
 ALTRO configuration data. More...
 
TObjArrayfIonTailArray
 array of graphs with the ion tail More...
 
TObjArrayfPulserData
 Calibration Pulser data. More...
 
TObjArrayfCEData
 CE data. More...
 
AliDCSSensorArrayfGasSensorArray
 Gas sensors. More...
 
Int_t fMaxTimeBinAllPads
 Maximum Time bin in whole TPC extracted from AltroConfig. More...
 
Bool_t fChamberHVStatus [72]
 Status of the Chamber, HV wise (on/off) More...
 
Float_t fChamberHVmedian [72]
 median chamber high voltage More...
 
Float_t fCurrentNominalVoltage [72]
 current nominal voltages More...
 
Float_t fChamberHVgoodFraction [72]
 fraction of time the chamber has a good HV (wrt. robust median) More...
 
AliDCSSensorfHVsensors [72]
 HV sensors. More...
 
TGraph * fGrRunState
 store information if run is active or paused More...
 
AliTPCSensorTempArrayfTemperature
 Temperature calibration entry. More...
 
AliTPCAltroMapping ** fMapping
 Altro mapping. More...
 
AliRecoParam::EventSpecie_t fRunEventSpecie
 Event specie suggested for the run according to GRP. More...
 
AliTPCParamfParam
 TPC parameters. More...
 
AliTPCClusterParamfClusterParam
 TPC cluster error, shape and Q parameterization. More...
 
TObjArrayfRecoParamList
 List of TPC reco param objects. More...
 
TObjArrayfTimeGainSplines
 Array of AliSplineFits: at 0 MIP position in time ; at 1 Fermi Plateau from cosmics. More...
 
TMap fTimeGainSplinesArray
 ! array Array of AliSplineFits: at 0 MIP position in time ; at 1 Fermi Plateau from cosmics More...
 
TMap fGRPArray
 ! array of GRPs - per run More...
 
TMap fGRPMaps
 ! array of GRPs maps - per run - old data More...
 
TMap fGoofieArray
 ! array of GOOFIE values -per run More...
 
TMap fVoltageArray
 ! array of Chamber HV values -per run More...
 
TMap fTemperatureArray
 ! array of temperature sensors - per run More...
 
TMap fVdriftArray
 ! array of v drift interfaces More...
 
TMap fDriftCorrectionArray
 ! array of drift correction More...
 
TArrayI fRunList
 ! run list - indicates try to get the run param More...
 
Bool_t fBHasAlignmentOCDB
 Flag - alignment from the Transformation class. More...
 
AliTPCcalibDButilfDButil
 utility class More...
 
AliCTPTimeParamsfCTPTimeParams
 CTP timing parameters. More...
 
Int_t fMode
 RCU trigger config mode. More...
 

Static Protected Attributes

static const char * fgkGasSensorNames [kNGasSensor] = {"TPC_GC_NEON", "TPC_GC_ARGON", "TPC_GC_CO2", "TPC_GC_N2", "TPC_An_L1Sr141_H2O", "TPC_An_L1Sr141_O2"}
 DCS gas sensor names. More...
 
static AliTPCcalibDBfgInstance = 0
 singleton control More...
 
static Bool_t fgTerminated = kFALSE
 termination control More...
 
static TObjArray fgExBArray
 array of ExB corrections More...
 

Private Member Functions

 AliTPCcalibDB (const AliTPCcalibDB &)
 
AliTPCcalibDBoperator= (const AliTPCcalibDB &)
 

Detailed Description

Class providing the calibration parameters by accessing the CDB.

Request an instance with AliTPCcalibDB::Instance() If a new event is processed set the event number with SetRun Then request the calibration data

Calibration data: 0.) Altro mapping Simulation - not yet Reconstruction - AliTPCclusterer::Digits2Clusters(AliRawReader* rawReader)

1.) pad by pad calibration - AliTPCCalPad

 a.) fPadGainFactor
     Simulation: AliTPCDigitizer::ExecFast - Multiply by gain
     Reconstruction : AliTPCclusterer::Digits2Clusters - Divide by gain

 b.) fPadNoise -
     Simulation:        AliTPCDigitizer::ExecFast
     Reconstruction:    AliTPCclusterer::FindClusters(AliTPCCalROC * noiseROC)
                        Noise depending cut on clusters charge (n sigma)
 c.) fPedestal:
     Simulation:     Not used yet - To be impleneted - Rounding to the nearest integer
     Reconstruction: Used in AliTPCclusterer::Digits2Clusters(AliRawReader* rawReader)
                     if data taken without zero suppression
                     Currently switch in  fRecoParam->GetCalcPedestal();

 d.) fPadTime0
     Simulation:      applied in the AliTPC::MakeSector - adding offset
     Reconstruction:  AliTPCTransform::Transform() - remove offset
                      AliTPCTransform::Transform() - to be called
                      in AliTPCtracker::Transform()

2.) Space points transformation:

 a.) General coordinate tranformation - AliTPCtransform (see $ALICE_ROOT/TPC/AliTPCtransform.cxx)
     Created on fly - use the other calibration components
            Unisochronity  - (substract time0 - pad by pad)
            Drift velocity - Currently common drift velocity - functionality of AliTPCParam
            ExB effect
     Simulation     - Not used directly (the effects are applied one by one (see AliTPC::MakeSector)
     Reconstruction -
                      AliTPCclusterer::AddCluster
                      AliTPCtracker::Transform
 b.) ExB effect calibration -
        classes (base class AliTPCExB, implementation- AliTPCExBExact.h  AliTPCExBFirst.h)
        a.a) Simulation:   applied in the AliTPC::MakeSector -
                           calib->GetExB()->CorrectInverse(dxyz0,dxyz1);
        a.b) Reconstruction -

             in AliTPCtransform::Correct() - called calib->GetExB()->Correct(dxyz0,dxyz1)

3.) cluster error, shape and Q parameterization

Definition at line 44 of file AliTPCcalibDB.h.

Member Enumeration Documentation

Enumerator
kNeon 
kArgon 
kCO2 
kN2 
kH2O 
kO2 
kNGasSensor 

Definition at line 47 of file AliTPCcalibDB.h.

Constructor & Destructor Documentation

AliTPCcalibDB::AliTPCcalibDB ( )

constructor

Definition at line 172 of file AliTPCcalibDB.cxx.

Referenced by Instance().

AliTPCcalibDB::~AliTPCcalibDB ( )
virtual

destructor

delete fIonTailArray;

Definition at line 314 of file AliTPCcalibDB.cxx.

AliTPCcalibDB::AliTPCcalibDB ( const AliTPCcalibDB )
private

Copy constructor invalid – singleton implementation

Definition at line 238 of file AliTPCcalibDB.cxx.

Member Function Documentation

Bool_t AliTPCcalibDB::CreateGUITree ( const char *  filename = "")
Bool_t AliTPCcalibDB::CreateGUITree ( Int_t  run,
const char *  filename = "" 
)
static

Create a gui tree for run number 'run'

Definition at line 2524 of file AliTPCcalibDB.cxx.

void AliTPCcalibDB::CreateObjectList ( const Char_t *  filename,
TObjArray calibObjects 
)
static

Create calibration objects and read contents from OCDB

Definition at line 782 of file AliTPCcalibDB.cxx.

Referenced by GetChamberHVSensor().

Bool_t AliTPCcalibDB::CreateRefFile ( Int_t  run,
const char *  filename = "" 
)
static

Create a gui tree for run number 'run'

Definition at line 2598 of file AliTPCcalibDB.cxx.

Referenced by GetCTPTimeParams().

AliSplineFit * AliTPCcalibDB::CreateVdriftSplineFit ( const char *  graphName,
Int_t  run 
)

create spline fit from the drift time graph in TimeDrift

Definition at line 1479 of file AliTPCcalibDB.cxx.

Referenced by GetChamberHVSensor().

AliTPCCalPad* AliTPCcalibDB::GetActiveChannelMap ( ) const
inline

Definition at line 70 of file AliTPCcalibDB.h.

Referenced by CreateGUITree().

AliTPCCalPad* AliTPCcalibDB::GetALTROAcqStart ( ) const
inline

Definition at line 89 of file AliTPCcalibDB.h.

Referenced by CreateGUITree(), and CreateRefFile().

AliTPCCalPad* AliTPCcalibDB::GetALTROAcqStop ( ) const
inline

Definition at line 92 of file AliTPCcalibDB.h.

Referenced by CreateGUITree(), CreateRefFile(), and InitAltroData().

TObjArray* AliTPCcalibDB::GetAltroConfigData ( ) const
inline

Definition at line 88 of file AliTPCcalibDB.h.

AliTPCCalPad* AliTPCcalibDB::GetALTROFPED ( ) const
inline

Definition at line 91 of file AliTPCcalibDB.h.

Referenced by CreateGUITree(), and CreateRefFile().

AliTPCCalPad* AliTPCcalibDB::GetALTROMasked ( ) const
inline
AliTPCCalPad* AliTPCcalibDB::GetALTROZsThr ( ) const
inline

Definition at line 90 of file AliTPCcalibDB.h.

Referenced by CreateGUITree(), and CreateRefFile().

Float_t AliTPCcalibDB::GetBz ( Int_t  run)
static

calculate BZ in T from L3 current

Definition at line 2405 of file AliTPCcalibDB.cxx.

Referenced by GetEventSpecieFromGRP().

AliTPCCalibRaw* AliTPCcalibDB::GetCalibRaw ( ) const
inline

Definition at line 121 of file AliTPCcalibDB.h.

Referenced by AliTPCcalibDButil::UpdateFromCalibDB().

AliCDBEntry * AliTPCcalibDB::GetCDBEntry ( const char *  cdbPath)
protected

Retrieves an entry with path <cdbPath> from the CDB.

Definition at line 353 of file AliTPCcalibDB.cxx.

Referenced by GetCTPTimeParams(), LoadCorrectionMaps(), Update(), UpdateChamberHighVoltageData(), and UpdateNonRec().

Float_t AliTPCcalibDB::GetCEchargeTime ( Int_t  run,
Int_t  sector,
Double_t  timeStamp = -1.,
Int_t *  entries = 0 
)
static

GetCE mean charge for 'sector' it timestamp==-1 return mean value

Definition at line 1647 of file AliTPCcalibDB.cxx.

Referenced by GetCErocQgraph().

TObjArray* AliTPCcalibDB::GetCEData ( ) const
inline
Float_t AliTPCcalibDB::GetCEdriftTime ( Int_t  run,
Int_t  sector,
Double_t  timeStamp = -1.,
Int_t *  entries = 0 
)
static

GetCE drift time information for 'sector' sector 72 is the mean drift time of the A-Side sector 73 is the mean drift time of the C-Side it timestamp==-1 return mean value

Definition at line 1619 of file AliTPCcalibDB.cxx.

Referenced by GetCErocQgraph().

TObjArray* AliTPCcalibDB::GetCEfitsDrift ( ) const
inline

Definition at line 115 of file AliTPCcalibDB.h.

Referenced by AliTPCcalibDButil::GetVDriftTPCLaserTracksOnline().

AliTPCCalPad* AliTPCcalibDB::GetCEQmean ( ) const
inline
TGraph* AliTPCcalibDB::GetCErocQgraph ( const Int_t  roc) const
inline

Definition at line 117 of file AliTPCcalibDB.h.

Referenced by GetCEchargeTime().

TObjArray* AliTPCcalibDB::GetCErocQtime ( ) const
inline

Definition at line 114 of file AliTPCcalibDB.h.

Referenced by GetCErocQgraph(), and AliTPCcalibDButil::ProcessCEgraphs().

TGraph* AliTPCcalibDB::GetCErocTgraph ( const Int_t  roc) const
inline

Definition at line 116 of file AliTPCcalibDB.h.

Referenced by GetCEdriftTime().

TObjArray* AliTPCcalibDB::GetCErocTtime ( ) const
inline
AliTPCCalPad* AliTPCcalibDB::GetCETmean ( ) const
inline
AliTPCCalPad* AliTPCcalibDB::GetCETrms ( ) const
inline
Float_t AliTPCcalibDB::GetChamberCurrentNominalHighVoltage ( UInt_t  roc) const
inline

Definition at line 163 of file AliTPCcalibDB.h.

Referenced by GetGainCorrectionHVandPT().

Float_t AliTPCcalibDB::GetChamberGoodHighVoltageFraction ( UInt_t  roc) const
inline

Definition at line 164 of file AliTPCcalibDB.h.

Float_t AliTPCcalibDB::GetChamberHighVoltage ( Int_t  run,
Int_t  sector,
Int_t  timeStamp = -1,
Int_t  sigDigits = 0,
Bool_t  current = kFALSE 
)
static

return the chamber HV for given run and time: 0-35 IROC, 36-72 OROC if timeStamp==-1 return mean value

Definition at line 2217 of file AliTPCcalibDB.cxx.

Referenced by GetEventSpecieFromGRP(), and GetGainCorrectionHVandPT().

Float_t AliTPCcalibDB::GetChamberHighVoltageMedian ( UInt_t  roc) const
inline

Definition at line 162 of file AliTPCcalibDB.h.

AliDCSSensor* AliTPCcalibDB::GetChamberHVSensor ( UInt_t  roc) const
inline

Definition at line 165 of file AliTPCcalibDB.h.

Bool_t AliTPCcalibDB::GetChamberHVStatus ( UInt_t  roc) const
inline

Definition at line 161 of file AliTPCcalibDB.h.

AliTPCClusterParam* AliTPCcalibDB::GetClusterParam ( ) const
inline
TObjArray* AliTPCcalibDB::GetCorrectionMaps ( ) const
inline

Definition at line 76 of file AliTPCcalibDB.h.

Float_t AliTPCcalibDB::GetCoverVoltage ( Int_t  run,
Int_t  sector,
Int_t  timeStamp = -1,
Int_t  sigDigits = 0 
)
static

Get the cover voltage for run 'run' at time 'timeStamp' type corresponds to the following: 0 - IROC A-Side; 1 - IROC C-Side; 2 - OROC A-Side; 3 - OROC C-Side if timeStamp==-1 return the mean value for the run

Definition at line 2274 of file AliTPCcalibDB.cxx.

Referenced by GetEventSpecieFromGRP().

AliCTPTimeParams* AliTPCcalibDB::GetCTPTimeParams ( ) const
inline

Definition at line 208 of file AliTPCcalibDB.h.

Referenced by AliTPCTransform::UpdateTimeDependentCache().

AliTPCdataQA* AliTPCcalibDB::GetDataQA ( ) const
inline

Definition at line 124 of file AliTPCcalibDB.h.

Referenced by CreateGUITree(), MakeTree(), and AliTPCcalibDButil::UpdateFromCalibDB().

Float_t AliTPCcalibDB::GetDCSSensorMeanValue ( AliDCSSensorArray arr,
const char *  sensorName,
Int_t  sigDigits = -1 
)
static

Get mean Value for a DCS sensor 'sensorName' during run 'run'

Definition at line 1727 of file AliTPCcalibDB.cxx.

Referenced by GetChamberHighVoltage(), GetCoverVoltage(), GetEventSpecieFromGRP(), GetGasSensorValue(), GetGGnegVoltage(), GetGGoffsetVoltage(), GetGGposVoltage(), and GetSkirtVoltage().

Float_t AliTPCcalibDB::GetDCSSensorValue ( AliDCSSensorArray arr,
Int_t  timeStamp,
const char *  sensorName,
Int_t  sigDigits = -1 
)
static

Get Value for a DCS sensor 'sensorName', run 'run' at time 'timeStamp'

Definition at line 1673 of file AliTPCcalibDB.cxx.

Referenced by GetChamberHighVoltage(), GetCoverVoltage(), GetEventSpecieFromGRP(), GetGasSensorValue(), GetGGnegVoltage(), GetGGoffsetVoltage(), GetGGposVoltage(), and GetSkirtVoltage().

TMap* AliTPCcalibDB::GetDDLMap ( ) const
inline

Definition at line 94 of file AliTPCcalibDB.h.

Referenced by InitDeadMap().

AliTPCCalPad* AliTPCcalibDB::GetDedxGainFactor ( ) const
inline

Definition at line 71 of file AliTPCcalibDB.h.

Referenced by CreateGUITree(), and MakeTree().

AliTPCCalPad * AliTPCcalibDB::GetDistortionMap ( Int_t  i) const

get distortion map - due E field distortions

Definition at line 325 of file AliTPCcalibDB.cxx.

Referenced by GetPadTime0(), and AliTPCTransform::Transform().

AliRecoParam::EventSpecie_t AliTPCcalibDB::GetEventSpecieFromGRP ( ) const
inline

Definition at line 141 of file AliTPCcalibDB.h.

AliTPCExB* AliTPCcalibDB::GetExB ( ) const
inline
AliTPCExB * AliTPCcalibDB::GetExB ( Float_t  bz,
Bool_t  bdelete 
)
static

bz filed in KGaus not in tesla Get ExB correction map if doesn't exist - create it

Definition at line 1324 of file AliTPCcalibDB.cxx.

Float_t AliTPCcalibDB::GetGain ( Int_t  sector,
Int_t  row,
Int_t  pad 
)
static

Get Gain factor for given pad

Definition at line 1463 of file AliTPCcalibDB.cxx.

Referenced by GetChamberHVSensor().

Double_t AliTPCcalibDB::GetGainCorrectionHVandPT ( Int_t  timeStamp,
Int_t  run,
Int_t  sector,
Int_t  deltaCache,
Int_t  mode 
)

Correction for changes of gain caused by change of the HV and by relative change of the gas density Function is slow some kind of caching needed Cache implemented using the static TVectorD

Input paremeters: deltaCache - maximal time differnce above which the cache is recaclulated mode - mode==0 by default return combined correction actual HV and Pt correction has to be present in the run calibration otherwise it is ignored. (retrun value differnt than 1 only in case calibration present in the OCDB entry CalibTimeGain mode==1 return combined correction ( important for calibration pass) (in case thereis no calibration in CalibTimeGain, default value from the AliTPCParam (Parameters) is used this mode is used in the CPass0 mode==2 return HV correction mode==3 return P/T correction Usage in the simulation/reconstruction MC: Qcorr = Qorig*GetGainCorrectionHVandPT ( in AliTPC.cxx ) Rec: dEdx = dEdx/GetGainCorrectionHVandPT ( in aliTPCseed.cxx )

Definition at line 2917 of file AliTPCcalibDB.cxx.

Referenced by GetChamberHVSensor().

AliDCSSensorArray* AliTPCcalibDB::GetGasSensors ( ) const
inline

Definition at line 128 of file AliTPCcalibDB.h.

Float_t AliTPCcalibDB::GetGasSensorValue ( EDcsGasSensor  type,
Int_t  timeStamp = -1,
Int_t  sigDigits = -1 
)

Get the gas sensor value if timeStamp == -1 return the average value in this run

Definition at line 2199 of file AliTPCcalibDB.cxx.

Referenced by GetGasSensors().

Float_t AliTPCcalibDB::GetGGnegVoltage ( Int_t  run,
Int_t  sector,
Int_t  timeStamp = -1,
Int_t  sigDigits = 0 
)
static

Get the GG offset voltage for run 'run' at time 'timeStamp' type corresponds to the following: 0 - IROC A-Side; 1 - IROC C-Side; 2 - OROC A-Side; 3 - OROC C-Side if timeStamp==-1 return the mean value for the run

Definition at line 2330 of file AliTPCcalibDB.cxx.

Referenced by GetEventSpecieFromGRP().

Float_t AliTPCcalibDB::GetGGoffsetVoltage ( Int_t  run,
Int_t  sector,
Int_t  timeStamp = -1,
Int_t  sigDigits = 0 
)
static

Get the GG offset voltage for run 'run' at time 'timeStamp' type corresponds to the following: 0 - IROC A-Side; 1 - IROC C-Side; 2 - OROC A-Side; 3 - OROC C-Side if timeStamp==-1 return the mean value for the run

Definition at line 2302 of file AliTPCcalibDB.cxx.

Referenced by GetEventSpecieFromGRP().

Float_t AliTPCcalibDB::GetGGposVoltage ( Int_t  run,
Int_t  sector,
Int_t  timeStamp = -1,
Int_t  sigDigits = 0 
)
static

Get the GG offset voltage for run 'run' at time 'timeStamp' type corresponds to the following: 0 - IROC A-Side; 1 - IROC C-Side; 2 - OROC A-Side; 3 - OROC C-Side if timeStamp==-1 return the mean value for the run

Definition at line 2358 of file AliTPCcalibDB.cxx.

Referenced by GetEventSpecieFromGRP().

AliDCSSensorArray * AliTPCcalibDB::GetGoofieSensors ( Int_t  run)

Get temperature sensor array

Definition at line 1595 of file AliTPCcalibDB.cxx.

Referenced by GetChamberHVSensor(), GetValueGoofie(), and AliTPCcalibDButil::UpdateFromCalibDB().

AliGRPObject * AliTPCcalibDB::GetGRP ( Int_t  run)
static
TMap * AliTPCcalibDB::GetGRPMap ( Int_t  run)
static

Get GRP map for given run

Definition at line 1506 of file AliTPCcalibDB.cxx.

Referenced by GetEventSpecieFromGRP(), and GetPressureSensor().

TObjArray* AliTPCcalibDB::GetIonTailArray ( ) const
inline

Definition at line 102 of file AliTPCcalibDB.h.

Float_t AliTPCcalibDB::GetL3Current ( Int_t  run,
Int_t  statType = 0 
)
static

return L3 current stat type is: AliGRPObject::Stats: kMean = 0, kTruncMean = 1, kMedian = 2, kSDMean = 3, kSDMedian = 4

Definition at line 2395 of file AliTPCcalibDB.cxx.

Referenced by GetBz(), and GetEventSpecieFromGRP().

Char_t AliTPCcalibDB::GetL3Polarity ( Int_t  run)
static

get l3 polarity from GRP

Definition at line 2414 of file AliTPCcalibDB.cxx.

Referenced by GetEventSpecieFromGRP().

AliTPCAltroMapping** AliTPCcalibDB::GetMapping ( ) const
inline

Definition at line 134 of file AliTPCcalibDB.h.

Referenced by FindKrClustersRaw().

Int_t AliTPCcalibDB::GetMaskedChannelsFromCorrectionMaps ( TBits  maskedPads[72])

Definition at line 1758 of file AliTPCcalibDB.cxx.

Referenced by GetChamberHVSensor(), and InitDeadMap().

Int_t AliTPCcalibDB::GetMaxTimeBinAllPads ( ) const
inline

Definition at line 99 of file AliTPCcalibDB.h.

AliTPCCalPad* AliTPCcalibDB::GetPadGainFactor ( ) const
inline

Definition at line 69 of file AliTPCcalibDB.h.

AliTPCCalPad* AliTPCcalibDB::GetPadGainFactorOld ( ) const
inline

Definition at line 68 of file AliTPCcalibDB.h.

AliTPCCalPad* AliTPCcalibDB::GetPadNoise ( ) const
inline
AliTPCCalPad* AliTPCcalibDB::GetPadTime0 ( ) const
inline

Definition at line 72 of file AliTPCcalibDB.h.

Referenced by AliTPCTransform::Transform().

AliTPCCalPad* AliTPCcalibDB::GetPedestals ( ) const
inline
Float_t AliTPCcalibDB::GetPressure ( Int_t  timeStamp,
Int_t  run,
Int_t  type = 0 
)
static

GetPressure for given time stamp and runt

Definition at line 2386 of file AliTPCcalibDB.cxx.

Referenced by GetEventSpecieFromGRP().

AliDCSSensor * AliTPCcalibDB::GetPressureSensor ( Int_t  run,
Int_t  type = 0 
)

Get Pressure sensor run = run number type = 0 - Cavern pressure 1 - Suface pressure First try to get if trom map - if existing (Old format of data storing)

Definition at line 1519 of file AliTPCcalibDB.cxx.

Referenced by GetChamberHVSensor(), GetPressure(), and UpdateRunInformations().

Double_t AliTPCcalibDB::GetPTRelative ( UInt_t  timeSec,
Int_t  run,
Int_t  side 
)
static

Get relative P/T time - absolute time run - run number side - 0 - A side 1-C side

Definition at line 2481 of file AliTPCcalibDB.cxx.

Referenced by GetChamberHVSensor(), and GetGainCorrectionHVandPT().

TObjArray* AliTPCcalibDB::GetPulserData ( ) const
inline

Definition at line 104 of file AliTPCcalibDB.h.

AliTPCCalPad* AliTPCcalibDB::GetPulserQmean ( ) const
inline
AliTPCCalPad* AliTPCcalibDB::GetPulserTmean ( ) const
inline
AliTPCCalPad* AliTPCcalibDB::GetPulserTrms ( ) const
inline
TMap* AliTPCcalibDB::GetRCUconfig ( ) const
inline

Definition at line 95 of file AliTPCcalibDB.h.

Referenced by GetRCUTriggerConfig().

Int_t AliTPCcalibDB::GetRCUTriggerConfig ( ) const

return the RCU trigger configuration register

Definition at line 1266 of file AliTPCcalibDB.cxx.

Referenced by GetRCUconfig(), and Update().

AliTPCRecoParam * AliTPCcalibDB::GetRecoParam ( Int_t  i) const

Definition at line 332 of file AliTPCcalibDB.cxx.

Referenced by GetTimeGainSplines().

AliTPCRecoParam * AliTPCcalibDB::GetRecoParamFromGRP ( ) const

Definition at line 337 of file AliTPCcalibDB.cxx.

Referenced by GetMaskedChannelsFromCorrectionMaps(), and GetTimeGainSplines().

TString AliTPCcalibDB::GetRunType ( Int_t  run)
static

return run type from grp

Definition at line 2423 of file AliTPCcalibDB.cxx.

Referenced by GetEventSpecieFromGRP().

Float_t AliTPCcalibDB::GetSkirtVoltage ( Int_t  run,
Int_t  sector,
Int_t  timeStamp = -1,
Int_t  sigDigits = 0 
)
static

Get the skirt voltage for 'run' at 'timeStamp' and 'sector': 0-35 IROC, 36-72 OROC type corresponds to the following: 0 - IROC A-Side; 1 - IROC C-Side; 2 - OROC A-Side; 3 - OROC C-Side if timeStamp==-1 return the mean value for the run

Definition at line 2252 of file AliTPCcalibDB.cxx.

Referenced by GetEventSpecieFromGRP().

Bool_t AliTPCcalibDB::GetTailcancelationGraphs ( Int_t  sector,
TGraphErrors **  graphRes,
Float_t *  indexAmpGraphs 
)

Read OCDB entry object of Iontail (TObjArray of TGraphErrors of TRFs) Naming of the TRF objects is: "gr_<chamber_type>_<voltage>_<laser_track_angle>_<distance_to_COG>" –> "gr_iroc_1240_1_1"

Definition at line 670 of file AliTPCcalibDB.cxx.

AliTPCSensorTempArray* AliTPCcalibDB::GetTemperature ( ) const
inline

Definition at line 132 of file AliTPCcalibDB.h.

Referenced by GetChamberHVSensor().

Float_t AliTPCcalibDB::GetTemperature ( Int_t  timeStamp,
Int_t  run,
Int_t  side 
)
static

Get mean temperature

Definition at line 2465 of file AliTPCcalibDB.cxx.

Bool_t AliTPCcalibDB::GetTemperatureFit ( Int_t  timeStamp,
Int_t  run,
Int_t  side,
TVectorD fit 
)
static

GetTmeparature fit at parameter for given time stamp

Definition at line 2447 of file AliTPCcalibDB.cxx.

Referenced by GetChamberHVSensor(), and GetTemperature().

AliTPCSensorTempArray * AliTPCcalibDB::GetTemperatureSensor ( Int_t  run)

Get temperature sensor array

Definition at line 1550 of file AliTPCcalibDB.cxx.

Referenced by GetChamberHVSensor(), GetTemperatureFit(), and UpdateRunInformations().

Double_t AliTPCcalibDB::GetTime0CorrectionTime ( Int_t  timeStamp,
Int_t  run,
Int_t  side,
Int_t  mode 
)

Get time dependent time 0 (trigger delay in cm) correction additive correction time0 = time0+ GetTime0CorrectionTime Value etracted combining the vdrift correction using laser tracks and CE and the physics track matchin Arguments: mode determines the algorith how to combine the Laser Track and physics tracks timestamp - timestamp run - run number side - the drift velocity per side (possible for laser and CE)

Notice - Extrapolation outside of calibration range - using constant function

Definition at line 2693 of file AliTPCcalibDB.cxx.

Referenced by GetChamberHVSensor(), and AliTPCTransform::UpdateTimeDependentCache().

TObjArray* AliTPCcalibDB::GetTimeGainSplines ( ) const
inline

Definition at line 136 of file AliTPCcalibDB.h.

TObjArray * AliTPCcalibDB::GetTimeGainSplinesRun ( Int_t  run)

Get temperature sensor array

Definition at line 1562 of file AliTPCcalibDB.cxx.

Referenced by GetChamberHVSensor(), and GetGainCorrectionHVandPT().

AliTPCCorrection * AliTPCcalibDB::GetTPCComposedCorrection ( Float_t  field) const

GetComposed correction for given field setting If not specific correction for field used return correction for all field

  • Complication needed to gaurantee OCDB back compatibility
  • Not neeeded for the new space point correction

Definition at line 2880 of file AliTPCcalibDB.cxx.

TObjArray* AliTPCcalibDB::GetTPCComposedCorrectionArray ( ) const
inline

Definition at line 75 of file AliTPCcalibDB.h.

Referenced by UpdateEffSectorOCDB().

AliTPCCorrection * AliTPCcalibDB::GetTPCComposedCorrectionDelta ( ) const

GetComposedCorrection delta Delta is time dependent - taken form the CalibTime OCDB entry

Definition at line 2898 of file AliTPCcalibDB.cxx.

Referenced by SetTPCComposedCorrection(), and AliTPCTransform::Transform().

AliTPCTransform* AliTPCcalibDB::GetTransform ( ) const
inline

Definition at line 63 of file AliTPCcalibDB.h.

Referenced by ConfigOCDB(), GetMaskedChannelsFromCorrectionMaps(), and SetupCustom().

Float_t AliTPCcalibDB::GetValueGoofie ( Int_t  timeStamp,
Int_t  run,
Int_t  type 
)
static

GetPressure for given time stamp and runt

Definition at line 2432 of file AliTPCcalibDB.cxx.

Referenced by GetChamberHVSensor().

AliTPCCalibVdrift * AliTPCcalibDB::GetVdrift ( Int_t  run)

Get the interface to the the vdrift

Definition at line 1608 of file AliTPCcalibDB.cxx.

Referenced by GetChamberHVSensor(), GetPTRelative(), and AliTPCTransform::UpdateTimeDependentCache().

Double_t AliTPCcalibDB::GetVDriftCorrectionDeltaZ ( Int_t  timeStamp,
Int_t  run,
Int_t  side,
Int_t  mode 
)

Get deltaZ run/by/run correction - as fitted together with drift velocity Value extracted form the TPC-ITS, mean value is used

Definition at line 2774 of file AliTPCcalibDB.cxx.

Referenced by GetChamberHVSensor(), and AliTPCTransform::UpdateTimeDependentCache().

Double_t AliTPCcalibDB::GetVDriftCorrectionGy ( Int_t  timeStamp,
Int_t  run,
Int_t  side,
Int_t  mode 
)

Get global y correction drift velocity correction factor additive factor vd = vdnom*(1+GetVDriftCorrectionGy *gy) Value etracted combining the vdrift correction using laser tracks and CE or TPC-ITS Arguments: mode determines the algorith how to combine the Laser Track, LaserCE or TPC-ITS timestamp - timestamp run - run number side - the drift velocity gy correction per side (CE and Laser tracks)

Notice - Extrapolation outside of calibration range - using constant function

Definition at line 2723 of file AliTPCcalibDB.cxx.

Referenced by GetChamberHVSensor(), and AliTPCTransform::UpdateTimeDependentCache().

Double_t AliTPCcalibDB::GetVDriftCorrectionTime ( Int_t  timeStamp,
Int_t  run,
Int_t  side,
Int_t  mode 
)

Get time dependent drift velocity correction multiplication factor vd = vdnom *(1+vdriftcorr) Arguments: mode determines the algorith how to combine the Laser Track, LaserCE and physics tracks timestamp - timestamp run - run number side - the drift velocity per side (possible for laser and CE)

Notice - Extrapolation outside of calibration range - using constant function

Definition at line 2641 of file AliTPCcalibDB.cxx.

Referenced by GetChamberHVSensor().

AliSplineFit * AliTPCcalibDB::GetVdriftSplineFit ( const char *  name,
Int_t  run 
)

GetDrift velocity spline fit

Definition at line 1471 of file AliTPCcalibDB.cxx.

Referenced by GetChamberHVSensor().

AliDCSSensorArray * AliTPCcalibDB::GetVoltageSensors ( Int_t  run)
Bool_t AliTPCcalibDB::HasAlignmentOCDB ( ) const
inline

Definition at line 80 of file AliTPCcalibDB.h.

void AliTPCcalibDB::InitAltroData ( )
protected

Initialise derived ALTRO data

List of required OCDB Entries

  • TPC/Calib/AltroConfig
  • TPC/Calib/Parameters

Definition at line 1004 of file AliTPCcalibDB.cxx.

Referenced by GetCTPTimeParams(), and Update().

Int_t AliTPCcalibDB::InitDeadMap ( )
protected

Initialize DeadChannel Map Source of information:

List of required OCDB Entries (See also UpdateChamberHighVoltageData())

  • TPC/Calib/AltroConfig
  • TPC/Calib/HighVoltage

Definition at line 875 of file AliTPCcalibDB.cxx.

Referenced by GetCTPTimeParams(), and Update().

AliTPCcalibDB * AliTPCcalibDB::Instance ( )
static

Singleton implementation Returns an instance of this class, it is created if necessary

Definition at line 142 of file AliTPCcalibDB.cxx.

Referenced by AliTPCParam::BetheBlochAleph(), ConfigOCDB(), ConfigOCDBAlien(), CreateGUITree(), CreateRefFile(), AliTPCcalibDButil::FilterCE(), AliTPCcalibDButil::FilterTracks(), FindKrClustersRaw(), GetCEchargeTime(), GetCEdriftTime(), GetChamberHighVoltage(), GetCoverVoltage(), GetGain(), GetGGnegVoltage(), GetGGoffsetVoltage(), GetGGposVoltage(), GetGRP(), GetGRPMap(), AliTPCcalibDButil::GetLaserTime0(), GetPressure(), GetPTRelative(), GetSkirtVoltage(), GetTemperatureFit(), AliTPCcalibDButil::GetTime0TPCITS(), AliTPCcalibDButil::GetTriggerOffsetTPC(), GetValueGoofie(), GetVDriftCorrectionDeltaZ(), GetVDriftCorrectionGy(), AliTPCcalibDButil::GetVDriftTPC(), AliTPCcalibDButil::GetVDriftTPCCE(), AliTPCcalibDButil::GetVDriftTPCITS(), AliTPCcalibDButil::GetVDriftTPCLaserTracks(), AliTPCcalibDButil::GetVDriftTPCLaserTracksOnline(), GoodTracksTPC(), AliTPCSpaceCharge2D2D::Init(), AliTPCExBEffective::Init(), AliTPCROCVoltError3D::Init(), Init(), AliTPCSpaceCharge::Init(), AliTPCExBConical::Init(), AliTPCFCVoltError3D::Init(), AliTPCSpaceCharge3D::Init(), AliTPCExBEffectiveSector::Init(), AliTPCBoundaryVoltError::Init(), AliTPCExBBShape::Init(), AliTPCExBTwist::Init(), AliTPCGGVoltError::Init(), AliTPCSpaceCharge3DDriftLine::Init(), AliTPCTransform::Local2RotatedGlobal(), AliTPCCorrection::MakeLaserDistortionTree(), AliTPCCorrection::MakeLaserDistortionTreeOld(), MakeOCDBEntry(), MakeTree(), PseudoCode(), AliTPCClusterParam::QmaxCorrection(), AliTPCClusterParam::QtotCorrection(), AliTPCPointCorrection::RPhiCOGCorrection(), SetupCustom(), TestChainCosmicDedx(), TestVertex(), AliTPCTransform::TimeBin2Z(), AliTPCTransform::Transform(), AliTPCSpaceCharge2D2D::Update(), AliTPCExBEffective::Update(), AliTPCROCVoltError3D::Update(), AliTPCSpaceCharge::Update(), AliTPCExBConical::Update(), AliTPCFCVoltError3D::Update(), AliTPCExBEffectiveSector::Update(), AliTPCSpaceCharge3D::Update(), AliTPCBoundaryVoltError::Update(), AliTPCExBBShape::Update(), AliTPCExBTwist::Update(), AliTPCGGVoltError::Update(), UpdateEffSectorOCDB(), AliTPCcalibDButil::UpdateFromCalibDB(), AliTPCTransform::UpdateTimeDependentCache(), and AliTPCTransform::Z2TimeBin().

Bool_t AliTPCcalibDB::IsDataTakingActive ( time_t  timeStamp)

Definition at line 1927 of file AliTPCcalibDB.cxx.

Referenced by GetChamberHVSensor(), and UpdateChamberHighVoltageData().

Bool_t AliTPCcalibDB::IsTrgL0 ( )

return if the FEE readout was triggered on L0

Definition at line 1284 of file AliTPCcalibDB.cxx.

Referenced by GetRCUconfig(), and AliTPCTransform::UpdateTimeDependentCache().

Bool_t AliTPCcalibDB::IsTrgL1 ( )

return if the FEE readout was triggered on L1

Definition at line 1292 of file AliTPCcalibDB.cxx.

Referenced by GetRCUconfig().

void AliTPCcalibDB::LoadCorrectionMaps ( )

Definition at line 628 of file AliTPCcalibDB.cxx.

Referenced by GetPedestals().

AliTPCCalPad * AliTPCcalibDB::MakeDeadMap ( Double_t  notInMap = 1,
const char *  nameMappingFile = "$ALICE_ROOT/TPC/Calib/tpcMapping.root" 
)

Read list of active DDLs from OCDB entry Generate and return AliTPCCalPad containing 1 for all pads in active DDLs, 0 for all pads in non-active DDLs. For DDLs with missing status information (no DCS input point to Shuttle), the value of the AliTPCCalPad entry is determined by the parameter notInMap (default value 1)

get list of active DDLs from OCDB entry

Definition at line 2801 of file AliTPCcalibDB.cxx.

Referenced by GetChamberHVSensor().

AliGRPObject * AliTPCcalibDB::MakeGRPObjectFromMap ( TMap *  map)

Function to covert old GRP run information from TMap to GRPObject

TMap * map = AliTPCcalibDB::GetGRPMap(52406);

Definition at line 2492 of file AliTPCcalibDB.cxx.

Referenced by GetChamberHVSensor(), and UpdateRunInformations().

void AliTPCcalibDB::MakeTree ( const char *  fileName,
TObjArray array,
const char *  mapFileName = 0,
AliTPCCalPad outlierPad = 0,
Float_t  ltmFraction = 0.9 
)
static

Write a tree with all available information if mapFileName is specified, the Map information are also written to the tree pads specified in outlierPad are not used for calculating statistics

  • the same function as AliTPCCalPad::MakeTree -

Definition at line 1059 of file AliTPCcalibDB.cxx.

Referenced by GetChamberHVSensor().

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

Singleton implementation - no assignment operator

Definition at line 303 of file AliTPCcalibDB.cxx.

void AliTPCcalibDB::RegisterExB ( Int_t  index,
Float_t  bz,
Bool_t  bdelete 
)
static

Register static ExB correction map index - registration index - used for visualization bz - bz field in kGaus

Definition at line 1300 of file AliTPCcalibDB.cxx.

Referenced by GetChamberHVSensor(), and GetExB().

void AliTPCcalibDB::SetExBField ( Float_t  bz)

Set magnetic filed for ExB correction

Definition at line 1336 of file AliTPCcalibDB.cxx.

Referenced by GetExB(), and SetupCustom().

void AliTPCcalibDB::SetExBField ( const AliMagF bmap)

Set magnetic field for ExB correction

Definition at line 1342 of file AliTPCcalibDB.cxx.

void AliTPCcalibDB::SetRun ( Long64_t  run)

Sets current run number. Calibration data is read from the corresponding file.

Definition at line 371 of file AliTPCcalibDB.cxx.

Referenced by ConfigOCDB(), ConfigOCDBAlien(), CreateGUITree(), CreateRefFile(), GetCEchargeTime(), and GetCEdriftTime().

void AliTPCcalibDB::SetTPCComposedCorrection ( AliTPCCorrection compCorr)
inline

Definition at line 77 of file AliTPCcalibDB.h.

void AliTPCcalibDB::Terminate ( )
static

Singleton implementation Deletes the instance of this class and sets the terminated flag, instances cannot be requested anymore This function can be called several times.

Definition at line 156 of file AliTPCcalibDB.cxx.

void AliTPCcalibDB::Update ( )

cache the OCDB entries for simulation, reconstruction, calibration

Definition at line 383 of file AliTPCcalibDB.cxx.

Referenced by AliTPCcalibDB(), and SetRun().

void AliTPCcalibDB::UpdateChamberHighVoltageData ( )
protected

set chamber high voltage data

  1. Robust median (sampling the hv graphs over time)
  2. Current nominal voltages (nominal voltage corrected for common HV offset)
  3. Fraction of good HV values over time (deviation from robust median)
  4. HV status, based on the above

List of required OCDB Entries

  • GRP/GRP/Data
  • GRP/CTP/Scalers
  • TPC/Calib/HighVoltage
  • TPC/Calib/Parameters

Definition at line 1954 of file AliTPCcalibDB.cxx.

Referenced by GetCTPTimeParams(), and Update().

void AliTPCcalibDB::UpdateNonRec ( )

Update/Load the parameters which are important for QA studies and not used yet for the reconstruction

RAW calibration data

Definition at line 640 of file AliTPCcalibDB.cxx.

Referenced by CreateGUITree(), MakeTree(), and AliTPCcalibDButil::UpdateFromCalibDB().

void AliTPCcalibDB::UpdateRunInformations ( Int_t  run,
Bool_t  force = kFALSE 
)

Member Data Documentation

AliTPCCalPad* AliTPCcalibDB::fActiveChannelMap
protected

Map of active channels calculated on the fly.

Definition at line 229 of file AliTPCcalibDB.h.

Referenced by GetActiveChannelMap(), GetPadGainFactor(), InitDeadMap(), and ~AliTPCcalibDB().

TObjArray* AliTPCcalibDB::fALTROConfigData
protected
Bool_t AliTPCcalibDB::fBHasAlignmentOCDB
protected

Flag - alignment from the Transformation class.

Definition at line 288 of file AliTPCcalibDB.h.

Referenced by HasAlignmentOCDB(), and Update().

AliTPCCalibRaw* AliTPCcalibDB::fCalibRaw
protected

raw data calibration entry

Definition at line 238 of file AliTPCcalibDB.h.

Referenced by GetCalibRaw(), and UpdateNonRec().

TObjArray* AliTPCcalibDB::fCEData
protected
Float_t AliTPCcalibDB::fChamberHVgoodFraction[72]
protected

fraction of time the chamber has a good HV (wrt. robust median)

Definition at line 260 of file AliTPCcalibDB.h.

Referenced by AliTPCcalibDB(), GetChamberGoodHighVoltageFraction(), and UpdateChamberHighVoltageData().

Float_t AliTPCcalibDB::fChamberHVmedian[72]
protected

median chamber high voltage

Definition at line 258 of file AliTPCcalibDB.h.

Referenced by AliTPCcalibDB(), GetChamberHighVoltageMedian(), and UpdateChamberHighVoltageData().

Bool_t AliTPCcalibDB::fChamberHVStatus[72]
protected

Status of the Chamber, HV wise (on/off)

Definition at line 257 of file AliTPCcalibDB.h.

Referenced by AliTPCcalibDB(), GetChamberHVStatus(), InitDeadMap(), and UpdateChamberHighVoltageData().

AliTPCClusterParam* AliTPCcalibDB::fClusterParam
protected

TPC cluster error, shape and Q parameterization.

Definition at line 272 of file AliTPCcalibDB.h.

Referenced by GetClusterParam(), and Update().

AliTPCCorrection* AliTPCcalibDB::fComposedCorrection
protected

general space point corrections

Definition at line 233 of file AliTPCcalibDB.h.

Referenced by GetTPCComposedCorrection(), SetTPCComposedCorrection(), and Update().

TObjArray* AliTPCcalibDB::fComposedCorrectionArray
protected

space point corrections for different field setting

Definition at line 234 of file AliTPCcalibDB.h.

Referenced by GetTPCComposedCorrection(), GetTPCComposedCorrectionArray(), GetTPCComposedCorrectionDelta(), Update(), and UpdateRunInformations().

TObjArray* AliTPCcalibDB::fCorrectionMaps
protected

RS: new fast Chebyshev parameterization maps.

Definition at line 235 of file AliTPCcalibDB.h.

Referenced by GetCorrectionMaps(), LoadCorrectionMaps(), and Update().

AliCTPTimeParams* AliTPCcalibDB::fCTPTimeParams
protected

CTP timing parameters.

Definition at line 295 of file AliTPCcalibDB.h.

Referenced by GetCTPTimeParams(), and Update().

Float_t AliTPCcalibDB::fCurrentNominalVoltage[72]
protected

current nominal voltages

Definition at line 259 of file AliTPCcalibDB.h.

Referenced by AliTPCcalibDB(), GetChamberCurrentNominalHighVoltage(), and UpdateChamberHighVoltageData().

AliTPCdataQA* AliTPCcalibDB::fDataQA
protected

qa object

Definition at line 239 of file AliTPCcalibDB.h.

Referenced by GetDataQA(), and UpdateNonRec().

AliTPCcalibDButil* AliTPCcalibDB::fDButil
protected

utility class

Definition at line 293 of file AliTPCcalibDB.h.

Referenced by GetTime0CorrectionTime(), GetVDriftCorrectionTime(), Update(), and UpdateRunInformations().

AliTPCCalPad* AliTPCcalibDB::fDedxGainFactor
protected

Gain calibration entry - for dEdx.

Definition at line 230 of file AliTPCcalibDB.h.

Referenced by GetDedxGainFactor(), GetGain(), and Update().

TObjArray* AliTPCcalibDB::fDistortionMap
protected

distortion map

Definition at line 232 of file AliTPCcalibDB.h.

Referenced by GetDistortionMap(), and Update().

TMap AliTPCcalibDB::fDriftCorrectionArray
protected

! array of drift correction

Definition at line 285 of file AliTPCcalibDB.h.

Referenced by AliTPCcalibDB(), GetTimeVdriftSplineRun(), GetTPCComposedCorrectionDelta(), and UpdateRunInformations().

AliTPCExB* AliTPCcalibDB::fExB
protected

ExB correction factor.

Definition at line 223 of file AliTPCcalibDB.h.

Referenced by GetExB(), and SetExBField().

AliDCSSensorArray* AliTPCcalibDB::fGasSensorArray
protected

Gas sensors.

Definition at line 248 of file AliTPCcalibDB.h.

Referenced by GetGasSensors(), GetGasSensorValue(), and Update().

TObjArray AliTPCcalibDB::fgExBArray
staticprotected

array of ExB corrections

Definition at line 292 of file AliTPCcalibDB.h.

Referenced by GetExB(), and RegisterExB().

AliTPCcalibDB * AliTPCcalibDB::fgInstance = 0
staticprotected

singleton control

Definition at line 290 of file AliTPCcalibDB.h.

Referenced by AliTPCcalibDB(), Instance(), Terminate(), and ~AliTPCcalibDB().

const char * AliTPCcalibDB::fgkGasSensorNames = {"TPC_GC_NEON", "TPC_GC_ARGON", "TPC_GC_CO2", "TPC_GC_N2", "TPC_An_L1Sr141_H2O", "TPC_An_L1Sr141_O2"}
staticprotected

DCS gas sensor names.

Definition at line 247 of file AliTPCcalibDB.h.

Referenced by GetGasSensorValue().

TMap AliTPCcalibDB::fGoofieArray
protected

! array of GOOFIE values -per run

Definition at line 281 of file AliTPCcalibDB.h.

Referenced by AliTPCcalibDB(), GetGoofieSensors(), and UpdateRunInformations().

TMap AliTPCcalibDB::fGRPArray
protected

! array of GRPs - per run

Definition at line 279 of file AliTPCcalibDB.h.

Referenced by AliTPCcalibDB(), GetGRP(), GetPressureSensor(), and UpdateRunInformations().

TMap AliTPCcalibDB::fGRPMaps
protected

! array of GRPs maps - per run - old data

Definition at line 280 of file AliTPCcalibDB.h.

Referenced by AliTPCcalibDB(), GetGRPMap(), and UpdateRunInformations().

TGraph* AliTPCcalibDB::fGrRunState
protected

store information if run is active or paused

Definition at line 262 of file AliTPCcalibDB.h.

Referenced by IsDataTakingActive(), UpdateChamberHighVoltageData(), and ~AliTPCcalibDB().

Bool_t AliTPCcalibDB::fgTerminated = kFALSE
staticprotected

termination control

Definition at line 291 of file AliTPCcalibDB.h.

Referenced by Instance(), and Terminate().

AliDCSSensor* AliTPCcalibDB::fHVsensors[72]
protected

HV sensors.

Definition at line 261 of file AliTPCcalibDB.h.

Referenced by GetChamberHVSensor(), and UpdateChamberHighVoltageData().

TObjArray* AliTPCcalibDB::fIonTailArray
protected

array of graphs with the ion tail

Definition at line 241 of file AliTPCcalibDB.h.

Referenced by GetIonTailArray(), GetTailcancelationGraphs(), and Update().

AliTPCAltroMapping** AliTPCcalibDB::fMapping
protected

Altro mapping.

Definition at line 267 of file AliTPCcalibDB.h.

Referenced by GetMapping(), and Update().

Int_t AliTPCcalibDB::fMaxTimeBinAllPads
protected

Maximum Time bin in whole TPC extracted from AltroConfig.

Definition at line 253 of file AliTPCcalibDB.h.

Referenced by GetMaxTimeBinAllPads(), and InitAltroData().

Int_t AliTPCcalibDB::fMode
protected

RCU trigger config mode.

Definition at line 296 of file AliTPCcalibDB.h.

Referenced by IsTrgL0(), IsTrgL1(), and Update().

AliTPCCalPad* AliTPCcalibDB::fPadGainFactor
protected

Gain calibration entry.

Definition at line 228 of file AliTPCcalibDB.h.

Referenced by GetPadGainFactorOld(), and Update().

AliTPCCalPad* AliTPCcalibDB::fPadNoise
protected

Noise calibration entry.

Definition at line 236 of file AliTPCcalibDB.h.

Referenced by GetPadNoise(), and Update().

AliTPCCalPad* AliTPCcalibDB::fPadTime0
protected

Time0 calibration entry.

Definition at line 231 of file AliTPCcalibDB.h.

Referenced by GetPadTime0(), and Update().

AliTPCCalPad* AliTPCcalibDB::fPedestals
protected

Pedestal calibration entry.

Definition at line 237 of file AliTPCcalibDB.h.

Referenced by GetPedestals(), and Update().

TObjArray* AliTPCcalibDB::fPulserData
protected

Calibration Pulser data.

Definition at line 242 of file AliTPCcalibDB.h.

Referenced by GetPulserData(), GetPulserQmean(), GetPulserTmean(), GetPulserTrms(), Update(), and UpdateRunInformations().

TObjArray* AliTPCcalibDB::fRecoParamList
protected

List of TPC reco param objects.

Definition at line 273 of file AliTPCcalibDB.h.

Referenced by GetRecoParam(), GetRecoParamFromGRP(), and Update().

Int_t AliTPCcalibDB::fRun
protected
AliRecoParam::EventSpecie_t AliTPCcalibDB::fRunEventSpecie
protected

Event specie suggested for the run according to GRP.

Definition at line 270 of file AliTPCcalibDB.h.

Referenced by GetEventSpecieFromGRP(), GetRecoParamFromGRP(), and Update().

TArrayI AliTPCcalibDB::fRunList
protected

! run list - indicates try to get the run param

Definition at line 287 of file AliTPCcalibDB.h.

Referenced by UpdateRunInformations().

AliTPCSensorTempArray* AliTPCcalibDB::fTemperature
protected

Temperature calibration entry.

Definition at line 266 of file AliTPCcalibDB.h.

Referenced by GetTemperature(), Update(), and UpdateRunInformations().

TMap AliTPCcalibDB::fTemperatureArray
protected

! array of temperature sensors - per run

Definition at line 283 of file AliTPCcalibDB.h.

Referenced by AliTPCcalibDB(), GetTemperatureSensor(), and UpdateRunInformations().

TObjArray* AliTPCcalibDB::fTimeGainSplines
protected

Array of AliSplineFits: at 0 MIP position in time ; at 1 Fermi Plateau from cosmics.

Definition at line 274 of file AliTPCcalibDB.h.

Referenced by GetTimeGainSplines(), Update(), and UpdateRunInformations().

TMap AliTPCcalibDB::fTimeGainSplinesArray
protected

! array Array of AliSplineFits: at 0 MIP position in time ; at 1 Fermi Plateau from cosmics

Definition at line 278 of file AliTPCcalibDB.h.

Referenced by AliTPCcalibDB(), GetTimeGainSplinesRun(), and UpdateRunInformations().

AliTPCTransform* AliTPCcalibDB::fTransform
protected

object responsible for spacial corrections

Definition at line 222 of file AliTPCcalibDB.h.

Referenced by GetTransform(), GetVDriftCorrectionDeltaZ(), GetVDriftCorrectionGy(), and Update().

TMap AliTPCcalibDB::fVdriftArray
protected

! array of v drift interfaces

Definition at line 284 of file AliTPCcalibDB.h.

Referenced by AliTPCcalibDB(), GetVdrift(), and UpdateRunInformations().

TMap AliTPCcalibDB::fVoltageArray
protected

! array of Chamber HV values -per run

Definition at line 282 of file AliTPCcalibDB.h.

Referenced by AliTPCcalibDB(), GetVoltageSensors(), UpdateNonRec(), and UpdateRunInformations().


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