From ba63ff3934f0879efde017243da41321516b0505 Mon Sep 17 00:00:00 2001 From: jthaeder Date: Mon, 23 Apr 2012 13:37:23 +0000 Subject: [PATCH] template function for automized dead channel map --- TPC/AliTPCcalibDB.cxx | 11 +++++++++++ TPC/AliTPCcalibDB.h | 2 ++ 2 files changed, 13 insertions(+) diff --git a/TPC/AliTPCcalibDB.cxx b/TPC/AliTPCcalibDB.cxx index b2c520ba3cc..db440a3ed48 100644 --- a/TPC/AliTPCcalibDB.cxx +++ b/TPC/AliTPCcalibDB.cxx @@ -493,6 +493,9 @@ void AliTPCcalibDB::Update(){ fTransform->SetCurrentRun(AliCDBManager::Instance()->GetRun()); } + // Create Dead Channel Map + InitDeadMap(); + // AliCDBManager::Instance()->SetCacheFlag(cdbCache); // reset original CDB cache } @@ -620,7 +623,15 @@ void AliTPCcalibDB::CreateObjectList(const Char_t *filename, TObjArray *calibObj } } +Int_t AliTPCcalibDB::InitDeadMap() { + // Initialize DeadChannel Map + // Source of information: + // - HV < HVnominal -delta + // - Altro disabled channels. Noisy channels. + // - DDL list + return 0; +} void AliTPCcalibDB::MakeTree(const char * fileName, TObjArray * array, const char * mapFileName, AliTPCCalPad* outlierPad, Float_t ltmFraction) { // diff --git a/TPC/AliTPCcalibDB.h b/TPC/AliTPCcalibDB.h index 11f774107c9..efcd006870b 100644 --- a/TPC/AliTPCcalibDB.h +++ b/TPC/AliTPCcalibDB.h @@ -173,6 +173,8 @@ class AliTPCcalibDB : public TObject protected: AliCDBEntry* GetCDBEntry(const char* cdbPath); + Int_t InitDeadMap(); + Long64_t fRun; // current run number AliTPCTransform *fTransform; // object responsible for spacial corrections AliTPCExB *fExB; // ExB correction factor -- 2.43.0