PandaRoot
PndFTSCAMCVertex.h
Go to the documentation of this file.
1 //-*- Mode: C++ -*-
2 // ************************************************************************
3 // This file is property of and copyright by the ALICE HLT Project *
4 // ALICE Experiment at CERN, All rights reserved. *
5 // See cxx source for full Copyright notice *
6 // *
7 //*************************************************************************
8 
9 #ifndef PNDFTSCAMCVERTEX_H
10 #define PNDFTSCAMCVERTEX_H
11 
12 #include "PndFTSCADef.h"
13 #include "PndFTSCAMCVertex.h"
14 
15 #include <iostream>
16 using std::istream;
17 using std::ostream;
18 
24  public:
26 
27  float Par(int i) const { return fPar[i]; }
28 
29  float X() const { return fPar[0]; }
30  float Y() const { return fPar[1]; }
31  float Z() const { return fPar[2]; }
32 
33  void SetPar(int i, float v) { fPar[i] = v; }
34 
35  void SetX(float v) { fPar[0] = v; }
36  void SetY(float v) { fPar[1] = v; }
37  void SetZ(float v) { fPar[2] = v; }
38 
39  friend ostream &operator<<(ostream &out, const PndFTSCAMCVertex &a);
40  friend istream &operator>>(istream &in, PndFTSCAMCVertex &a);
41 
42  protected:
43  float fPar[3]; //* x,y,z
44 };
45 
46 #endif
void SetPar(int i, float v)
basic_istream< char, char_traits< char > > istream
void SetZ(float v)
float Y() const
__m128 v
Definition: P4_F32vec4.h:3
unsigned int i
Definition: P4_F32vec4.h:21
void SetY(float v)
float Par(int i) const
float Z() const
basic_ostream< char, char_traits< char > > ostream
friend ostream & operator<<(ostream &out, const PndFTSCAMCVertex &a)
float X() const
void SetX(float v)
friend istream & operator>>(istream &in, PndFTSCAMCVertex &a)