]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
- setting the data to be zero suppressed as default
authorodjuvsla <odjuvsla@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 18 Feb 2010 12:18:08 +0000 (12:18 +0000)
committerodjuvsla <odjuvsla@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 18 Feb 2010 12:18:08 +0000 (12:18 +0000)
HLT/CALO/AliHLTCaloRawAnalyzerComponentv3.cxx
HLT/PHOS/AliHLTPHOSRawAnalyzerCrudeComponent.cxx
HLT/PHOS/macros/rec-hlt-calo-phos.C

index 72728313e959dae9d7ac478a6aed74d0a9e5445e..3f3e2eb8c60218d67358fb3a3cb54c6810afb280 100644 (file)
@@ -35,7 +35,6 @@
 #include "AliHLTCaloChannelRawDataStruct.h"
 #include "AliHLTCaloCoordinate.h"
 
-
 //#include "AliCALOBunchInfo.h"
 //AliCALORawAnalyzer
 
@@ -293,7 +292,8 @@ AliHLTCaloRawAnalyzerComponentv3::DoIt(const AliHLTComponentBlockData* iter, Ali
 
            //    fAnalyzerPtr->SetData( firstBunchPtr, nSamples);
            AliCaloFitResults res = fAnalyzerPtr->Evaluate( bvctr,  fAltroRawStreamPtr->GetAltroCFG1(), fAltroRawStreamPtr->GetAltroCFG2() );  
-           
+           HLTDebug("Channel energy: %f, max sig: %d, gain = %d, x = %d, z = %d", res.GetAmp(), res.GetMaxSig(), (chId >> 12)&0x1, chId&0x3f, (chId >> 6)&0x3f);
            
            //        if(fAnalyzerPtr->GetTiming() > fMinPeakPosition && fAnalyzerPtr->GetTiming() < fMaxPeakPosition)
            {
index 7e94cf99c0f53bbf8f758209b5f7c7f42a9db297..8adac323899c9bef2811410e36609f37497d5a5a 100644 (file)
@@ -25,8 +25,8 @@ AliHLTPHOSRawAnalyzerCrudeComponent gAliHLTPHOSRawAnalyzerCrudeComponent;
 //___________________________________________________________________________
 AliHLTPHOSRawAnalyzerCrudeComponent::AliHLTPHOSRawAnalyzerCrudeComponent()
 {
-  HLTError("Creating raw analyzer");
   fAnalyzerPtr = new AliCaloRawAnalyzerCrude();
+  fAnalyzerPtr->SetIsZeroSuppressed(true);
 } 
 
 //___________________________________________________________________________
index cf80819105fdd3aa5997a02d023410f9b0a63efa..5ef780cea4a8a2ef4d7300e74746f5f9c308eebc 100644 (file)
@@ -29,7 +29,7 @@ void rec_hlt_phos()//, char* opt="decoder ESD")
   // define the analysis chain to be run
   //
   int moduleStart = 2;
-  int moduleEnd = 2;
+  int moduleEnd = 4;
   int rcuStart = 0;
   int rcuEnd = 3;
   //  TString option="libAliHLTUtil.so libAliHLTRCU.so libAliHLTPHOS.so libAliHLTGlobal.so loglevel=0x7f chains=ESD-FILE";