//-*- Mode: C++ -*- // @(#) $Id: AliHLTTPCCAParam.h,v 1.3 2010/08/10 22:44:47 mzyzak Exp $ // ************************************************************************ // This file is property of and copyright by the ALICE HLT Project * // ALICE Experiment at CERN, All rights reserved. * // See cxx source for full Copyright notice * // * //************************************************************************* #ifndef ALIHLTTPCCAPARAMARBB_H #define ALIHLTTPCCAPARAMARBB_H #include "arbb.hpp" #include "AliHLTTPCCADef.h" #include "AliHLTTPCCAParameters.h" using arbb::dense; using arbb::select; using arbb::f32; using arbb::i32; using arbb::u8; class AliHLTTPCCATrackParamArBB; /** * @class ALIHLTTPCCAParam * parameters of the AliHLTTPCCATracker, including geometry information * and some reconstructon constants. * * The class is under construction. * */ class AliHLTTPCCAParamArBB { public: AliHLTTPCCAParamArBB(); ~AliHLTTPCCAParamArBB(){}; void GetClusterErrors2( dense iRow, const AliHLTTPCCATrackParamArBB &t, dense &Err2Y, dense &Err2Z ); f32 cBz() { return fcBz; } void SetcBz( float f ) { fcBz = f32(f); } void SetS0Par( const int i, const float f0, const float f1 ); dense GetS0Par( const int i ) const { return fParamS0Par[i];} inline void errorType( dense &row, dense &type ) { type = select( row < AliHLTTPCCAParameters::NumberOfInnerRows , 0 , 1 ); } private: dense fParamS0Par[6]; f32 fcBz; }; #endif