]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TPC/AliTPCcalibGainMult.cxx
Update by A. Matyja
[u/mrichter/AliRoot.git] / TPC / AliTPCcalibGainMult.cxx
index e943fb75b3e01bf925889c4161a1bc78ec83055f..f5dc9ac0be383d1af6082dc9a60be96d3ed1b445 100644 (file)
@@ -128,7 +128,7 @@ AliTPCcalibGainMult::AliTPCcalibGainMult(const Text_t *name, const Text_t *title
   //
   Int_t binsPadEqual[6]    = { 200, 200,    4,   20,   50, 100};
   Double_t xminPadEqual[6] = { 0.5, 0.5, -0.5,    0, -250,   0}; 
-  Double_t xmaxPadEqual[6] = { 1.5, 1.5,  3.5, 4000,  250,   3};
+  Double_t xmaxPadEqual[6] = { 1.5, 1.5,  3.5, 13000,  250,   3};
   TString axisNamePadEqual[6]   = {"dEdxRatioMax","dEdxRatioTot","padType","mult","driftlength", "1_pt"};
   TString axisTitlePadEqual[6]  = {"dEdx_padRegion/mean_dEdx Qmax", "dEdx_padRegion/mean_dEdx Qtot","padType","mult","driftlength", "1/pt"};
   //
@@ -142,7 +142,7 @@ AliTPCcalibGainMult::AliTPCcalibGainMult(const Text_t *name, const Text_t *title
   //                    MIP Qmax, MIP Qtot,  z,  pad, vtx. contribut., ncl
   Int_t binsGainMult[6]    = { 145,  145,   25,    4,  100,  80};
   Double_t xminGainMult[6] = { 10.,  10.,    0, -0.5,    0, -0.5}; 
-  Double_t xmaxGainMult[6] = {300., 300.,  250,  3.5, 5000, 159.5};
+  Double_t xmaxGainMult[6] = {300., 300.,  250,  3.5, 13000, 159.5};
   TString axisNameMult[6]={"Qmax","Qtot","drift","padtype""multiplicity","ncl"};
   TString axisTitleMult[6]={"Qmax (a.u)","Qtot (a.u.)","driftlenght l (cm)","Pad Type","multiplicity","ncl"};
   //
@@ -161,9 +161,14 @@ AliTPCcalibGainMult::~AliTPCcalibGainMult(){
   //
   //
   //
-  //delete fHistNTracks;            //  histogram showing number of ESD tracks per event
-  //delete fHistGainSector;         //  histogram showing the number of clusters per track
-  
+  delete fHistNTracks;            //  histogram showing number of ESD tracks per event
+  delete fHistClusterShape;       //  histogram to check the cluster shape
+  delete fHistQA;                 //  dE/dx histogram showing the final spectrum
+  //
+  delete fHistGainSector;   //  histogram which shows MIP peak for each of the 3x36 sectors (pad region)
+  delete fHistPadEqual;     //  histogram for the equalization of the gain in the different pad regions -> pass0
+  delete fHistGainMult;     //  histogram which shows decrease of MIP signal as a function
+
 
 }
 
@@ -186,8 +191,7 @@ void AliTPCcalibGainMult::Process(AliESDEvent *event) {
    return;
   }
   UInt_t runNumber = event->GetRunNumber();
-  Int_t nContributors = 0;
-  if (event->GetPrimaryVertexTPC()) nContributors = event->GetPrimaryVertexTPC()->GetNContributors();
+  Int_t nContributors = event->GetNumberOfTracks();
   //
   // track loop
   //
@@ -347,8 +351,10 @@ void AliTPCcalibGainMult::Process(AliESDEvent *event) {
 }  
 
 
-void AliTPCcalibGainMult::MakeLookup(THnSparse * hist, Char_t * outputFile) {
-
+void AliTPCcalibGainMult::MakeLookup(THnSparse * /*hist*/, Char_t * /*outputFile*/) {
+  //
+  // Not  yet implemented
+  //
 }