]> git.uio.no Git - u/mrichter/AliRoot.git/blame - HLT/TPCLib/tracking-ca/AliHLTTPCCAHit.h
Adding -Weffc++
[u/mrichter/AliRoot.git] / HLT / TPCLib / tracking-ca / AliHLTTPCCAHit.h
CommitLineData
326c2d4b 1//-*- Mode: C++ -*-
2// @(#) $Id$
3
4//* This file is property of and copyright by the ALICE HLT Project *
5//* ALICE Experiment at CERN, All rights reserved. *
6//* See cxx source for full Copyright notice *
7
8#ifndef ALIHLTTPCCAHIT_H
9#define ALIHLTTPCCAHIT_H
10
11
12#include "Rtypes.h"
13
14/**
15 * @class AliHLTTPCCAHit
16 */
17class AliHLTTPCCAHit
18{
19 public:
20 AliHLTTPCCAHit(): fY(0),fZ(0),fErrY(0),fErrZ(0),fID(0){;}
21
22 Float_t &Y(){ return fY; }
23 Float_t &Z(){ return fZ; }
24 Float_t &ErrY(){ return fErrY; }
25 Float_t &ErrZ(){ return fErrZ; }
26
27 Int_t &ID(){ return fID; }
28
29 void Set( Int_t ID, Double_t Y, Double_t Z,
30 Double_t ErrY, Double_t ErrZ );
31
32
33 protected:
34 Float_t fY, fZ; // Y and Z position of the TPC cluster
35 Float_t fErrY, fErrZ; // position errors
36 Int_t fID; // external ID of this hit,
37 // used as cluster index in track->hit reference array
38
39
40 ClassDef(AliHLTTPCCAHit,1);
41};
42
43
44#endif