StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
AliHLTTPCCAOutTrack.cxx
1 // @(#) $Id: AliHLTTPCCAOutTrack.cxx,v 1.1 2016/02/05 23:27:28 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 "AliHLTTPCCAOutTrack.h"
23 
24 #include <istream>
25 
26 std::istream &operator>>( std::istream &in, AliHLTTPCCAOutTrack &t )
27 {
28  in >> t.fNHits;
29  in >> t.fFirstHitRef;
30  in >> t.fOrigTrackID;
31 
32  in >> t.fStartPoint;
33  in >> t.fEndPoint;
34 
35  return in;
36 }
37 
38 std::ostream &operator<<( std::ostream &out, const AliHLTTPCCAOutTrack &t )
39 {
40  out << t.NHits() << " "
41  << t.FirstHitRef() << " "
42  << t.OrigTrackID() << " "
43  << std::endl;
44  out << t.fStartPoint;
45  out << t.fEndPoint;
46 
47  return out;
48 }