// $Id: AliHLTTPCCAGBHit.cxx,v 1.2 2010/09/01 10:38:27 ikulakov Exp $ //*************************************************************************** // This file is property of and copyright by the ALICE HLT Project * // ALICE Experiment at CERN, All rights reserved. * // * // Primary Authors: Sergey Gorbunov * // Ivan Kisel * // for The ALICE HLT Project. * // * // Developed by: Igor Kulakov * // Maksym Zyzak * // * // Permission to use, copy, modify and distribute this software and its * // documentation strictly for non-commercial purposes is hereby granted * // without fee, provided that the above copyright notice appears in all * // copies and that both the copyright notice and this permission notice * // appear in the supporting documentation. The authors make no claims * // about the suitability of this software for any purpose. It is * // provided "as is" without express or implied warranty. * //*************************************************************************** #include "AliHLTTPCCAGBHit.h" #include "AliHLTTPCCAParameters.h" void AliHLTTPCCAGBHit::GetLocalX0X1X2( float& x0, float& x1, float &x2 ) const { AliHLTTPCCAParameters::GlobalToCALocal( fX, fY, fZ, fPhi, x0, x1, x2 ); } ostream& operator<<(ostream& out, const AliHLTTPCCAGBHit &a) { return out << a.fX << " " << a.fY << " " << a.fZ << std::endl << a.fErr2X << " " << a.fErr2Y << " " << a.fErr2Z << std::endl // CHECKME err2 << a.fIRow << " " << a.fID << " " << a.fPhi << std::endl; } istream& operator>>(istream& in, AliHLTTPCCAGBHit &a) { return in >> a.fX >> a.fY >> a.fZ >> a.fErr2X >> a.fErr2Y >> a.fErr2Z >> a.fIRow >> a.fID >> a.fPhi; } //ClassImp(AliHLTTPCCAGBHit)