#include "AliTPCclusterMI.h"
#include "AliTPCclusterInfo.h"
+#include "AliTrackPointArray.h"
#include "AliGeomManager.h"
#include "AliLog.h"
if (fInfo) delete fInfo;
fInfo = info;
}
+
+
+AliTPCclusterMI* AliTPCclusterMI::MakeCluster(AliTrackPoint* point) {
+ //
+ // make AliTPCclusterMI out of AliTrackPoint
+ // (not yet implemented)
+
+ return NULL;
+}
+
+
+AliTrackPoint* AliTPCclusterMI::MakePoint(AliTPCclusterMI* cluster) {
+ //
+ // make AliTrackPoint out of AliTPCclusterMI
+ //
+
+ AliTrackPoint* point = NULL;
+
+ if(cluster){
+ point = new AliTrackPoint();
+
+ Float_t xyz[3];
+ cl->GetGlobalXYZ(xyz);
+ point->SetXYZ(xyz);
+ }
+
+ return point;
+}
#include "AliCluster.h"
#include "TMath.h"
#include "AliTPCclusterInfo.h"
+
+class AliTrackPoint;
+
//_____________________________________________________________________________
class AliTPCclusterMI : public AliCluster {
public:
Float_t GetPad() const { return fPad;}
AliTPCclusterInfo * GetInfo() const { return fInfo;}
void SetInfo(AliTPCclusterInfo * info);
+ //
+ AliTPCclusterMI* MakeCluster(AliTrackPoint* point);
+ AliTrackPoint* MakePoint(AliTPCclusterMI* cluster);
private:
AliTPCclusterInfo * fInfo; // pointer to the cluster debug info