fRecoParam->SetStreamLevel(AliTRDrecoParam::kClusterizer, 0);
fReconstructor->SetRecoParam(fRecoParam);
+ if(!fClusterizer){
+ fClusterizer = new AliHLTTRDClusterizer("TRDCclusterizer", "TRDCclusterizer");
+ HLTDebug("TRDClusterizer at 0x%x", fClusterizer);
+ }
+
TString recoOptions="!cw";
- if(fHLTflag)
+ if(fHLTflag){
recoOptions += ",hlt";
+
+ // we transfer clusters that do no contain the XYZ coodrinates (AliHLTTRDCluster),
+ // thus this coordinate transformation ist useless
+ fClusterizer->SetSkipTransform();
+ }
if(fProcessTracklets) recoOptions += ",tp";
else recoOptions += ",!tp";
}
#endif
- if(!fClusterizer){
- fClusterizer = new AliHLTTRDClusterizer("TRDCclusterizer", "TRDCclusterizer");
- HLTDebug("TRDClusterizer at 0x%x", fClusterizer);
- }
-
fClusterizer->SetRawVersion(fRawDataVersion);
return iResult;
using AliHLTProcessor::DoEvent;
int Configure(const char* arguments);
- int SetParams();
+ virtual int SetParams();
protected:
/** copy constructor prohibited */
AliHLTTRDOfflineClusterizerComponent::AliHLTTRDOfflineClusterizerComponent()
:AliHLTTRDClusterizerComponent()
- ,fOffClusterizer(NULL)
{
// Default constructor
}
inputMultiplier *= 10;
}
-int AliHLTTRDOfflineClusterizerComponent::DoInit( int argc, const char** argv )
+int AliHLTTRDOfflineClusterizerComponent::SetParams()
{
- int iResult = 0;
- iResult=AliHLTTRDClusterizerComponent::DoInit(argc, argv);
+ int iResult = AliHLTTRDClusterizerComponent::SetParams();
- return iResult;
+ // here we need the coordinate transformation as we want to ship full flavoured clusters
+ fClusterizer->SetSkipTransform(kFALSE);
}
+
int AliHLTTRDOfflineClusterizerComponent::DoEvent(const AliHLTComponent_EventData& evtData, const AliHLTComponent_BlockData* blocks,
AliHLTComponent_TriggerData& trigData, AliHLTUInt8_t* outputPtr,
AliHLTUInt32_t& size, vector<AliHLTComponent_BlockData>& outputBlocks )
virtual void GetOutputDataSize( unsigned long& constBase, double& inputMultiplier );
AliHLTComponent* Spawn();
- int DoInit( int argc, const char** argv );
int DoEvent( const AliHLTComponent_EventData& evtData, const AliHLTComponent_BlockData* blocks,
AliHLTComponent_TriggerData& trigData, AliHLTUInt8_t* outputPtr,
AliHLTUInt32_t& size, vector<AliHLTComponent_BlockData>& outputBlocks );
-protected:
- AliTRDclusterizer* fOffClusterizer;
+ int SetParams();
private:
/// copy constructor prohibited
return new AliHLTTRDOfflineTrackerV1Component;
};
-int AliHLTTRDOfflineTrackerV1Component::DoInit( int argc, const char** argv )
-{
- int iResult = 0;
- iResult=AliHLTTRDTrackerV1Component::DoInit(argc, argv);
- fRecoParam->SetStreamLevel(AliTRDrecoParam::kTracker, 1); // in order to have the friends written
- return iResult;
-}
-
const char* AliHLTTRDOfflineTrackerV1Component::GetComponentID()
{
// Return the component ID const char *
return "TRDOfflineTrackerV1"; // The ID of this component
}
+int AliHLTTRDOfflineTrackerV1Component::SetParams()
+{
+ int iResult = AliHLTTRDTrackerV1Component::SetParams();
+ fRecoParam->SetStreamLevel(AliTRDrecoParam::kTracker, 1); // in order to have the friends written
+ return iResult;
+}
+
int AliHLTTRDOfflineTrackerV1Component::DoEvent(const AliHLTComponent_EventData& evtData, const AliHLTComponent_BlockData* blocks,
AliHLTComponent_TriggerData& trigData, AliHLTUInt8_t* outputPtr,
AliHLTUInt32_t& size, vector<AliHLTComponent_BlockData>& outputBlocks )
virtual void GetOutputDataSize( unsigned long& constBase, double& inputMultiplier );
AliHLTComponent* Spawn();
- int DoInit( int argc, const char** argv );
int DoEvent( const AliHLTComponent_EventData& evtData, const AliHLTComponent_BlockData* blocks,
AliHLTComponent_TriggerData& trigData, AliHLTUInt8_t* outputPtr,
AliHLTUInt32_t& size, vector<AliHLTComponent_BlockData>& outputBlocks );
+ int SetParams();
+
protected:
ClassDef(AliHLTTRDOfflineTrackerV1Component, 1)
using AliHLTProcessor::DoEvent;
int Configure(const char* arguments);
- int SetParams();
+ virtual int SetParams();
protected:
/** copy constructor prohibited */