:
fOfflineTransform(NULL),
fDataId(kFALSE),
+fChargeThreshold(10),
fOfflineTPCRecoParam()
{
// see header file for class documentation
cluster.fSigmaZ2 = *((Float_t*)&buffer[nWords+4]);
- if(cluster.fCharge<10) continue;
+ if(cluster.fCharge<fChargeThreshold) continue;
// correct expressions for the error calculation
// Kenneth: 12.11.2009 I'm not sure if this is a correct calculation. Leave it out for now since it is anyway not used later since it caused segfaults.
fDataId = kTRUE;
return 1;
}
+
+ if (argument.CompareTo("-charge-threshold")==0) {
+ if (++i>=argc) return -EPROTO;
+ argument=argv[i];
+ fChargeThreshold=argument.Atof();
+ HLTInfo("The charge threshold has been set to %d.", fChargeThreshold);
+ return 2;
+ }
// unknown argument
return -EINVAL;
using AliHLTProcessor::DoEvent;
AliTPCTransform *fOfflineTransform;
Bool_t fDataId;
+ Int_t fChargeThreshold; //!transient
private:
/** assignment operator prohibited */
AliHLTTPCHWClusterTransformComponent& operator=(const AliHLTTPCHWClusterTransformComponent&);
- AliTPCRecoParam fOfflineTPCRecoParam; //! transient
-
- static const char* fgkOCDBEntryHWTransform; //!transient
-
- ClassDef(AliHLTTPCHWClusterTransformComponent, 3)
+ AliTPCRecoParam fOfflineTPCRecoParam; //! transient
+ static const char* fgkOCDBEntryHWTransform; //!transient
+
+ ClassDef(AliHLTTPCHWClusterTransformComponent, 4)
};
#endif