]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Adjust the ranges for histograms
authormarian <marian@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 21 Feb 2011 11:00:10 +0000 (11:00 +0000)
committermarian <marian@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 21 Feb 2011 11:00:10 +0000 (11:00 +0000)
AliTPCcalibTime.h - higher threshold on the number of tracks

TPC/AliTPCcalibGainMult.cxx
TPC/AliTPCcalibTime.cxx
TPC/AliTPCcalibTime.h
TPC/AliTPCcalibTimeGain.cxx

index e943fb75b3e01bf925889c4161a1bc78ec83055f..048e31bf35c3bfb2d513f96c50492a7f20b36ea7 100644 (file)
@@ -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
+
 
 }
 
index e25ca3916635a744f4a1fe9b410a52ad4e49903c..3b44ecdc2e74da98fafd529deca079b9de6ad3bd 100644 (file)
@@ -111,7 +111,7 @@ AliTPCcalibTime::AliTPCcalibTime()
    fCutMaxDz(25),      // maximal distance in rfi ditection
    fCutTheta(0.03),    // maximal distan theta
    fCutMinDir(-0.99),  // direction vector products
-   fCutTracks(100),
+   fCutTracks(2500),
    fArrayLaserA(0),      //laser  fit parameters C
    fArrayLaserC(0),      //laser  fit parameters A
    fArrayDz(0),          //NEW! Tmap of V drifts for different triggers
@@ -177,7 +177,7 @@ AliTPCcalibTime::AliTPCcalibTime(const Text_t *name, const Text_t *title, UInt_t
    fCutMaxDz(40),   // maximal distance in rfi ditection
    fCutTheta(5*0.004644),// maximal distan theta
    fCutMinDir(-0.99),    // direction vector products
-   fCutTracks(100),
+   fCutTracks(2500),
    fArrayLaserA(new TObjArray(1000)),      //laser  fit parameters C
    fArrayLaserC(new TObjArray(1000)),      //laser  fit parameters A
    fArrayDz(0),            //Tmap of V drifts for different triggers
index 1811a95ee87f72d9841990d40a4c747a5e9def00..c9d9bb0bc7adb92dce3ce35b60459d3ba8fb39aa 100644 (file)
@@ -78,6 +78,12 @@ public:
   TObjArray * GetLaserArrayA() const { return fArrayLaserA;}
   TObjArray * GetLaserArrayC() const { return fArrayLaserC;}
 
+
+  void   SetCutTracks(Int_t maxTracks)  { fCutTracks = maxTracks; }  // set maximal number of tracks
+  Int_t  GetCutTracks() const { return fCutTracks; }    // retun maximal number of tracks
+
+
+
 protected:
   void ResetCurrent();                  // reset current values
   Int_t              fMemoryMode;       // 0 -do not fill THnSparse with residuals  1- fill only important QA THn 2 - Fill all THnsparse for calibration
index d2501e7b1ffbe18a60a021d2d10b8e5679025d82..95c45d54ad45702213241ea422ccb278a62509d6 100644 (file)
@@ -413,9 +413,9 @@ void AliTPCcalibTimeGain::ProcessBeamEvent(AliESDEvent *event) {
 
     if (seed) {
       Int_t particleCase = 0;
-      if (meanP > 0.5  || meanP < 0.4)  particleCase = 2; // MIP pions
-      if (meanP > 0.56 || meanP < 0.57) particleCase = 3; // protons 1
-      if (meanP > 0.64 || meanP < 0.66) particleCase = 4; // protons 2
+      if (meanP < 0.5  && meanP > 0.4)  particleCase = 2; // MIP pions
+      if (meanP < 0.57 && meanP > 0.56) particleCase = 3; // protons 1
+      if (meanP < 0.66 && meanP > 0.65) particleCase = 4; // protons 2
       //
       if (fLowMemoryConsumption && particleCase == 0) continue;
       //