//-*- Mode: C++ -*- // ***************************************************************************** // * // @Autors: I.Kulakov; M.Zyzak; I.Kisel * // @e-mail: I.Kulakov@gsi.de; M.Zyzak@gsi.de; I.Kisel@compeng.uni-frankfurt.de * // * // ***************************************************************************** #ifndef ITSCADOUBLETS_H #define ITSCADOUBLETS_H #include "ITSCASinglets.h" class ITSCADoublet { public: ITSCADoublet():fParam(){} ITSCADoublet( const ITSCASinglet& s1, const ITSCASinglet& s2, const AliHLTTPCCATrackParam& param ):fParam(param){ fIHit[0] = s1.IHit(0); fIHit[1] = s2.IHit(0); } TES IHit( int IH ) const { return fIHit[IH]; } const AliHLTTPCCATrackParam& Param() const { return fParam; } private: TES fIHit[2]; // index of hit on station AliHLTTPCCATrackParam fParam; }; class ITSCADoublets: public ITSCAStationArray { public: ITSCADoublets( int nSta, const ITSCAHits* hits ):ITSCAStationArray( nSta,hits ){}; }; #endif