FairRoot/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::ostream;
17 using std::istream;
18 
19 
25 {
26  public:
28 
29  float Par( int i ) const { return fPar[i]; }
30 
31  float X() const { return fPar[0]; }
32  float Y() const { return fPar[1]; }
33  float Z() const { return fPar[2]; }
34 
35  void SetPar( int i, float v ) { fPar[i] = v; }
36 
37  void SetX( float v ) { fPar[0] = v; }
38  void SetY( float v ) { fPar[1] = v; }
39  void SetZ( float v ) { fPar[2] = v; }
40 
41  friend ostream& operator<<(ostream& out, const PndFTSCAMCVertex &a);
43 
44  protected:
45 
46  float fPar[3]; //* x,y,z
47 };
48 
49 #endif
void SetPar(int i, float v)
Int_t i
Definition: run_full.C:25
void SetZ(float v)
float Y() const
__m128 v
Definition: P4_F32vec4.h:4
Int_t a
Definition: anaLmdDigi.C:126
void SetY(float v)
basic_ostream< char, char_traits< char > > ostream
TFile * out
Definition: reco_muo.C:20
basic_istream< char, char_traits< char > > istream
friend ostream & operator<<(ostream &out, const PndFTSCAMCVertex &a)
float Par(int i) const
float X() const
void SetX(float v)
friend istream & operator>>(istream &in, PndFTSCAMCVertex &a)
float Z() const