Digitization - Calibration corrected
authorschutz <schutz@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 22 Dec 2000 13:23:43 +0000 (13:23 +0000)
committerschutz <schutz@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 22 Dec 2000 13:23:43 +0000 (13:23 +0000)
PHOS/AliPHOSAnalyze.cxx
PHOS/AliPHOSClusterizerv1.cxx
PHOS/AliPHOSv1.cxx

index 4acdf93..826aaa7 100644 (file)
@@ -147,13 +147,6 @@ void AliPHOSAnalyze::DrawRecon(Int_t Nevent,Int_t Nmod){
 
   //========== Create the Clusterizer
   fClu = new AliPHOSClusterizerv1() ; 
-
-  fClu->SetEmcEnergyThreshold(0.05) ;
-  fClu->SetEmcClusteringThreshold(0.20) ;
-  fClu->SetPpsdEnergyThreshold    (0.0000002) ;
-  fClu->SetPpsdClusteringThreshold(0.0000001) ;
-  fClu->SetLocalMaxCut(0.03) ;
-  fClu->SetCalibrationParameters(0., 0.00000001) ;
   
   gAlice->GetEvent(Nevent);
   
@@ -316,19 +309,6 @@ void AliPHOSAnalyze::DrawRecon(Int_t Nevent,Int_t Nmod){
       cout << "Analyze > Starting Reconstructing " << endl ; 
       //========== Create the Clusterizer
       fClu = new AliPHOSClusterizerv1() ; 
-      fClu->SetEmcEnergyThreshold(0.05) ; 
-      fClu->SetEmcClusteringThreshold(0.20) ; 
-      fClu->SetLocalMaxCut(0.03) ;
-      if (strcmp(fGeom->GetName(),"GPS2") == 0 || strcmp(fGeom->GetName(),"MIXT") == 0) {
-       fClu->SetPpsdEnergyThreshold    (0.0000002) ; 
-       fClu->SetPpsdClusteringThreshold(0.0000001) ; 
-      }
-      if (strcmp(fGeom->GetName(),"IHEP") == 0 || strcmp(fGeom->GetName(),"MIXT") == 0) {
-       fClu->SetLocalMaxCutCPV(0.03) ;
-       fClu->SetLogWeightCutCPV(4.0) ;
-       fClu->SetCpvEnergyThreshold(0.09) ;
-      }
-      fClu->SetCalibrationParameters(0., 0.00000001) ; 
       
       //========== Creates the track segment maker
       fTrs = new AliPHOSTrackSegmentMakerv1()  ;
index 3487785..aa3e745 100644 (file)
@@ -62,20 +62,21 @@ AliPHOSClusterizerv1::AliPHOSClusterizerv1()
   // default ctor (to be used)
 
   fA                       = 0.;
-  fB                       = 0.01 ;
+  fB                       = 0.0000001 ;
   fGeom                    = AliPHOSGeometry::GetInstance();
   fNumberOfEmcClusters     = 0 ; 
   fNumberOfPpsdClusters    = 0 ; 
-  fEmcClusteringThreshold  = 0.1;   
-  fEmcEnergyThreshold      = 0.01;    
-  fPpsdClusteringThreshold = 0.0;
-  fPpsdEnergyThreshold     = 0.1;  
+  fEmcClusteringThreshold  = 0.2;   
+  fEmcEnergyThreshold      = 0.05;    
+  fPpsdClusteringThreshold = 0.0000002 ;
+  fPpsdEnergyThreshold     = 0.0000002 ;  
   fCpvClusteringThreshold  = 0.0;
-  fCpvEnergyThreshold      = 0.1;  
+  fCpvEnergyThreshold      = 0.09;  
   fW0                      = 4.5 ;
-  fLocMaxCut               = 0.06 ;
-  fW0CPV                   = 4.5 ;
-  fLocMaxCutCPV            = 0.06 ;
+  fLocMaxCut               = 0.03 ;
+  fW0CPV                   = 4.0 ;
+  fLocMaxCutCPV            = 0.03 ;
+
 }
 
 //____________________________________________________________________________
index 56e5a4e..5bcd675 100644 (file)
@@ -255,7 +255,7 @@ Int_t AliPHOSv1::Digitize(Float_t Energy)
 {
   // Applies the energy calibration
   
-  Float_t fB = 100000000. ;
+  Float_t fB = 10000000. ;
   Float_t fA = 0. ;
   Int_t chan = Int_t(fA + Energy*fB ) ;
   return chan ;