FairRoot/PandaRoot
PndCAMCVertex.cxx
Go to the documentation of this file.
1 // **************************************************************************
2 // This file is property of and copyright by the ALICE HLT Project *
3 // ALICE Experiment at CERN, All rights reserved. *
4 // *
5 // Primary Authors: Sergey Gorbunov <sergey.gorbunov@kip.uni-heidelberg.de> *
6 // Ivan Kisel <kisel@kip.uni-heidelberg.de> *
7 // for The ALICE HLT Project. *
8 // *
9 // Developed by: Igor Kulakov <I.Kulakov@gsi.de> *
10 // Maksym Zyzak <M.Zyzak@gsi.de> *
11 // *
12 // Permission to use, copy, modify and distribute this software and its *
13 // documentation strictly for non-commercial purposes is hereby granted *
14 // without fee, provided that the above copyright notice appears in all *
15 // copies and that both the copyright notice and this permission notice *
16 // appear in the supporting documentation. The authors make no claims *
17 // about the suitability of this software for any purpose. It is *
18 // provided "as is" without express or implied warranty. *
19 // *
20 //***************************************************************************
21 
22 #include "PndCAMCVertex.h"
23 
25 {
26  for( int i = 0; i < 3; i++) fPar[i] = 0;
27 }
28 
29 
31 {
32  for (int i = 0; i < 3; i++) out << a.fPar[i] << std::endl;
33  return out;
34 }
35 
36 
38 {
39  for (int i = 0; i < 3; i++) in >> a.fPar[i];
40  return in;
41 }
42 
Int_t i
Definition: run_full.C:25
float fPar[3]
Definition: PndCAMCVertex.h:46
istream & operator>>(istream &in, PndCAMCVertex &a)
Int_t a
Definition: anaLmdDigi.C:126
basic_ostream< char, char_traits< char > > ostream
basic_istream< char, char_traits< char > > istream
TFile * out
Definition: reco_muo.C:20
ostream & operator<<(ostream &out, const PndCAMCVertex &a)