#include "AliHLTProcessor.h"
//forward declarations
-class AliHLTTPCSpacePointData;
+struct AliHLTTPCSpacePointData;
class AliTPCParam;
//class TClonesArray;
class TObjArray;
GPUd() static int CalculateHitWeight( int NHits, float chi2, int ) {
const float chi2_suppress = 6.f;
float weight = (((float) NHits * (chi2_suppress - chi2 / 500.f)) * (1e9 / chi2_suppress / 160.));
- if (weight < 0 || weight > 2e9) weight = 0;
+ if (weight < 0. || weight > 2e9) return 0;
return ( (int) weight );
//return( (NHits << 16) + num);
}
class AliHLTTPCCATrackerFramework;
class AliHLTTPCCASliceOutput;
class AliHLTTPCCAClusterData;
-class AliHLTTPCSpacePointData;
+struct AliHLTTPCSpacePointData;
/**
* @class AliHLTTPCCATrackerComponent
#include "AliHLTProcessor.h"
-class AliHLTTPCSpacePointData;
+struct AliHLTTPCSpacePointData;
class AliHLTGlobalBarrelTrack;
class AliHLTGlobalTrackResidualsComponent : public AliHLTProcessor {