// "trackingV2".
///////////////////////////////////////////////////////////////////////////////
-
+#include <TGeoMatrix.h>
#include "AliITSRecPoint.h"
#include "AliAlignObj.h"
fNy(0),
fChargeRatio(0),
fType(0),
-fDeltaProb(0)
+fDeltaProb(0),
+fDriftTime(0.)
{
// default constructor
}
//________________________________________________________________________
AliITSRecPoint::AliITSRecPoint(Int_t *lab,Float_t *hit, Int_t *info, Bool_t local):
-AliCluster(AliAlignObj::LayerToVolUID((info[2]+AliAlignObj::kSPD1),lab[3]&0x3FF),hit,0,0,lab),
+AliCluster(AliGeomManager::LayerToVolUID((info[2]+AliGeomManager::kSPD1),lab[3]&0x3FF),hit,0,0,lab),
fXloc(0),
fZloc(0),
fdEdX(0),
fNy(info[0]),
fChargeRatio(0),
fType(0),
-fDeltaProb(0)
+fDeltaProb(0),
+fDriftTime(0.)
{
//standard constructor used in AliITSClusterFinderV2
fNy(pt.fNy),
fChargeRatio(pt.fChargeRatio),
fType(pt.fType),
-fDeltaProb(pt.fDeltaProb)
+fDeltaProb(pt.fDeltaProb),
+fDriftTime(pt.fDriftTime)
{
//Copy constructor
*os << fXloc << " " << fZloc << " " << fdEdX << " ";
fmt = os->setf(ios::fixed); // every fixed
*os << fIndex <<" " << fQ << " "<<fLayer <<" "<<fNz<<" "<<fNy<<" ";
- *os << fChargeRatio<<" " << fType << " " << fDeltaProb;
+ *os << fChargeRatio<<" " << fType << " " << fDeltaProb << " " << fDriftTime;
os->flags(fmt); // reset back to old formating.
return;
}
SetVolumeId(lab[0]);// fIsMisalinged = mis;
*is >> fXloc >> fZloc >> fdEdX;
*is >> fIndex >> fQ >> fLayer >> fNz >> fNy >> fChargeRatio >> fType;
- *is >> fDeltaProb;
+ *is >> fDeltaProb >> fDriftTime;
return;
}