From: nilsen Date: Thu, 31 Jan 2002 18:50:43 +0000 (+0000) Subject: These files no longer used, do not follow coding convensions, and are not X-Git-Url: http://git.uio.no/git/?a=commitdiff_plain;h=c6aab343cb5cbc801501a9bf52fb73056fb49288;p=u%2Fmrichter%2FAliRoot.git These files no longer used, do not follow coding convensions, and are not documented or comments sufficiently. --- diff --git a/ITS/AliITSdictSSD.cxx b/ITS/AliITSdictSSD.cxx deleted file mode 100644 index bb9618a6168..00000000000 --- a/ITS/AliITSdictSSD.cxx +++ /dev/null @@ -1,31 +0,0 @@ -#include "AliITSdictSSD.h" - -void AliITSdictSSD::AddTrack(Int_t track) { - // add track - if (fTracks > 9) return; - Int_t exist = 0; - - for(Int_t i=0; i<10; i++) - { - if(track == fTrack[i]) - { - exist = 1; - } - - } - if (!exist) - { - fTrack[fTracks++] = track; - } - -} - - -Int_t AliITSdictSSD::GetTrack(Int_t index) { - // get track - if(index > fTracks) return 0; - else return fTrack[index]; -} - - -//**************************************************************************** diff --git a/ITS/AliITSdictSSD.h b/ITS/AliITSdictSSD.h deleted file mode 100644 index 03446af3f1f..00000000000 --- a/ITS/AliITSdictSSD.h +++ /dev/null @@ -1,35 +0,0 @@ -#ifndef ALIITSDICTSSD_H -#define ALIITSDICTSSD_H - -#include - -class AliITSdictSSD { - -public: - - AliITSdictSSD() { - // constructor - ZeroTracks(); - } - virtual ~AliITSdictSSD() { - // destructor - }; - - void AddTrack(Int_t track); - Int_t GetTrack(Int_t index); - Int_t GetNTracks() { - // get num of tracks - return fTracks; - } - void ZeroTracks() { - // zero tracks - for (Int_t i =0;i<10;i++) fTrack[i]=-3; fTracks = 0; - } - -private: - Int_t fTrack[10]; // Track array - Int_t fTracks; // Tracks -}; - - -#endif