]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PHOS/AliPHOSRecoParam.cxx
Possibility to set threshold in SZ runs
[u/mrichter/AliRoot.git] / PHOS / AliPHOSRecoParam.cxx
index d2ae8ecd19d9abfd6a1f7510360650891204b5d3..d12b9d677a5c2ef110de56ca9d6cfd763220ea2d 100644 (file)
@@ -45,6 +45,7 @@ AliPHOSRecoParam::AliPHOSRecoParam() :
   fEMCEnergyCorrectionOn(kTRUE),
   fEMCDecoderVersion(""),
   fGlobalAltroOffset(0),
   fEMCEnergyCorrectionOn(kTRUE),
   fEMCDecoderVersion(""),
   fGlobalAltroOffset(0),
+  fGlobalAltroThreshold(0),
   fCPVClusteringThreshold(0.0),
   fCPVLocMaxCut(0.03),
   fCPVMinE(0.0),
   fCPVClusteringThreshold(0.0),
   fCPVLocMaxCut(0.03),
   fCPVMinE(0.0),
@@ -70,6 +71,7 @@ AliPHOSRecoParam::AliPHOSRecoParam(const AliPHOSRecoParam& ):
   fEMCEnergyCorrectionOn(kTRUE),
   fEMCDecoderVersion(""),
   fGlobalAltroOffset(0),
   fEMCEnergyCorrectionOn(kTRUE),
   fEMCDecoderVersion(""),
   fGlobalAltroOffset(0),
+  fGlobalAltroThreshold(0),
   fCPVClusteringThreshold(0.0),
   fCPVLocMaxCut(0.03),
   fCPVMinE(0.0),
   fCPVClusteringThreshold(0.0),
   fCPVLocMaxCut(0.03),
   fCPVMinE(0.0),
@@ -98,6 +100,7 @@ AliPHOSRecoParam& AliPHOSRecoParam::operator = (const AliPHOSRecoParam& recoPara
     fEMCEnergyCorrectionOn  = recoParam.fEMCEnergyCorrectionOn;
     fEMCDecoderVersion      = recoParam.fEMCDecoderVersion;
     fGlobalAltroOffset      = recoParam.fGlobalAltroOffset;
     fEMCEnergyCorrectionOn  = recoParam.fEMCEnergyCorrectionOn;
     fEMCDecoderVersion      = recoParam.fEMCDecoderVersion;
     fGlobalAltroOffset      = recoParam.fGlobalAltroOffset;
+    fGlobalAltroThreshold   = recoParam.fGlobalAltroThreshold;
     fCPVClusteringThreshold = recoParam.fCPVClusteringThreshold;
     fCPVLocMaxCut           = recoParam.fCPVLocMaxCut;
     fCPVMinE                = recoParam.fCPVMinE;
     fCPVClusteringThreshold = recoParam.fCPVClusteringThreshold;
     fCPVLocMaxCut           = recoParam.fCPVLocMaxCut;
     fCPVMinE                = recoParam.fCPVMinE;
@@ -125,6 +128,7 @@ void AliPHOSRecoParam::Print(Option_t * /*option*/) const
                  "\tEMCEnergyCorrectionOn  = %d\n"
                  "\tEMCDecoderVersion      = \"%s\"\n"
                  "\tGlobalAltroOffset      = %d",
                  "\tEMCEnergyCorrectionOn  = %d\n"
                  "\tEMCDecoderVersion      = \"%s\"\n"
                  "\tGlobalAltroOffset      = %d",
+                 "\tGlobalAltroThreshold   = %d",
                  fEMCClusteringThreshold,
                  fEMCLocMaxCut,
                  fEMCRawDigitThreshold,
                  fEMCClusteringThreshold,
                  fEMCLocMaxCut,
                  fEMCRawDigitThreshold,
@@ -137,7 +141,8 @@ void AliPHOSRecoParam::Print(Option_t * /*option*/) const
                  fEMCUnfold,
                  fEMCEnergyCorrectionOn,
                  fEMCDecoderVersion.Data(),
                  fEMCUnfold,
                  fEMCEnergyCorrectionOn,
                  fEMCDecoderVersion.Data(),
-                 fGlobalAltroOffset));
+                 fGlobalAltroOffset,
+                 fGlobalAltroThreshold));
 
 }
 
 
 }