StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
AliHLTTPCCAGBHit.cxx
1 // $Id: AliHLTTPCCAGBHit.cxx,v 1.1 2016/02/05 23:27:27 fisyak Exp $
2 //***************************************************************************
3 // This file is property of and copyright by the ALICE HLT Project *
4 // ALICE Experiment at CERN, All rights reserved. *
5 // *
6 // Primary Authors: Sergey Gorbunov <sergey.gorbunov@kip.uni-heidelberg.de> *
7 // Ivan Kisel <kisel@kip.uni-heidelberg.de> *
8 // for The ALICE HLT Project. *
9 // *
10 // Developed by: Igor Kulakov <I.Kulakov@gsi.de> *
11 // Maksym Zyzak <M.Zyzak@gsi.de> *
12 // *
13 // Permission to use, copy, modify and distribute this software and its *
14 // documentation strictly for non-commercial purposes is hereby granted *
15 // without fee, provided that the above copyright notice appears in all *
16 // copies and that both the copyright notice and this permission notice *
17 // appear in the supporting documentation. The authors make no claims *
18 // about the suitability of this software for any purpose. It is *
19 // provided "as is" without express or implied warranty. *
20 //***************************************************************************
21 
22 #include "AliHLTTPCCAGBHit.h"
23 
24 ostream& operator<<(ostream& out, const AliHLTTPCCAGBHit &a)
25 {
26  return out << a.fX << " " << a.fY << " " << a.fZ << std::endl
27  << a.fErrX << " " << a.fErrY << " " << a.fErrZ << std::endl
28  << a.fAmp << " " << a.fISlice << " " << a.fIRow << " " << a.fID << " " << a.fIsUsed << std::endl;
29 
30 }
31 
32 istream& operator>>(istream& in, AliHLTTPCCAGBHit &a)
33 {
34  return in >> a.fX >> a.fY >> a.fZ
35  >> a.fErrX >> a.fErrY >> a.fErrZ
36  >> a.fAmp >> a.fISlice >> a.fIRow >> a.fID >> a.fIsUsed;
37 }
38 
39 
40 //ClassImp(AliHLTTPCCAGBHit)