]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
rmoved charge threshold in clusterTransformation, in order to not mix up the MC labels.
authorsgorbuno <sgorbuno@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sat, 13 Aug 2011 12:08:58 +0000 (12:08 +0000)
committersgorbuno <sgorbuno@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sat, 13 Aug 2011 12:08:58 +0000 (12:08 +0000)
HLT/TPCLib/AliHLTTPCHWClusterTransformComponent.cxx
HLT/TPCLib/AliHLTTPCHWClusterTransformComponent.h

index bb05446c92e8105c47193498ab644d7f17a42249..dd59924d7ff024a0b12a79c813d844d3e2daff5a 100644 (file)
@@ -53,7 +53,6 @@ const char* AliHLTTPCHWClusterTransformComponent::fgkOCDBEntryHWTransform="HLT/C
 AliHLTTPCHWClusterTransformComponent::AliHLTTPCHWClusterTransformComponent()
 :
 fDataId(kFALSE),
-fChargeThreshold(10),
 fTransform(),
 fPublishRawClusters(kFALSE),
 fpDecoder(NULL),
@@ -259,8 +258,6 @@ int AliHLTTPCHWClusterTransformComponent::DoEvent(const AliHLTComponentEventData
         }
         padrow+=AliHLTTPCTransform::GetFirstRow(minPartition);
         AliHLTUInt32_t charge=cl.GetCharge();
-        // skip clusters below threshold  
-        if( charge<fChargeThreshold ) continue;  
 
         float pad=cl.GetPad();
         float time=cl.GetTime();
@@ -345,8 +342,6 @@ int AliHLTTPCHWClusterTransformComponent::DoEvent(const AliHLTComponentEventData
           }
           padrow+=AliHLTTPCTransform::GetFirstRow(minPartition);
           AliHLTUInt32_t charge= cl.GetCharge();
-          // skip clusters below threshold  
-          if( charge<fChargeThreshold ) continue;  
 
           float pad =cl.GetPad();
           float time =cl.GetTime();
@@ -418,9 +413,8 @@ int AliHLTTPCHWClusterTransformComponent::ScanConfigurationArgument(int argc, co
   
   if (argument.CompareTo("-charge-threshold")==0) {
     if (++i>=argc) return -EPROTO;
-    argument=argv[i];
-    fChargeThreshold=(UInt_t)argument.Atoi();
-    HLTInfo("The charge threshold has been set to %d.", fChargeThreshold);
+    argument=argv[i];    
+    HLTInfo("The argument -charge-threshold is deprecated.");
     return 2;
   }    
 
index ff17c879735d1adc7cf1fca9a3886baa54f7e715..d5ab230f0f7234639eb34f76b62c636793501a5f 100644 (file)
@@ -151,7 +151,6 @@ private:
   static const char* fgkOCDBEntryHWTransform; //!transient
   
   Bool_t fDataId;
-  UInt_t fChargeThreshold;  //!transient 
   AliHLTTPCClusterTransformation fTransform;
   Bool_t fPublishRawClusters; // publish raw clusters in addition
   AliHLTTPCHWCFData* fpDecoder; // decoder