1 /**************************************************************************
2 * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * Author: The ALICE Off-line Project. *
5 * Contributors are mentioned in the code where appropriate. *
7 * Permission to use, copy, modify and distribute this software and its *
8 * documentation strictly for non-commercial purposes is hereby granted *
9 * without fee, provided that the above copyright notice appears in all *
10 * copies and that both the copyright notice and this permission notice *
11 * appear in the supporting documentation. The authors make no claims *
12 * about the suitability of this software for any purpose. It is *
13 * provided "as is" without express or implied warranty. *
14 **************************************************************************/
16 // *** Class AliRsnPairMgr ***
20 // authors: A. Pulvirenti (email: alberto.pulvirenti@ct.infn.it)
21 // M. Vala (email: martin.vala@cern.ch)
26 #include "AliRsnPairMgr.h"
28 ClassImp ( AliRsnPairMgr )
30 //_____________________________________________________________________________
31 AliRsnPairMgr::AliRsnPairMgr ( const char*name )
32 : TNamed ( name,name),fPairs(0)
34 //=========================================================
35 // Default constructor
36 //=========================================================
40 //_____________________________________________________________________________
41 AliRsnPairMgr::~AliRsnPairMgr()
43 //=========================================================
45 //=========================================================
49 //_____________________________________________________________________________
50 void AliRsnPairMgr::AddPair ( AliRsnPair * pair )
52 //=========================================================
54 //=========================================================
56 fPairs.Add ( ( AliRsnPair * ) pair );
59 //_____________________________________________________________________________
60 void AliRsnPairMgr::PrintPairs()
62 //=========================================================
64 //=========================================================
66 for ( Int_t i=0;i<fPairs.GetEntriesFast() ;i++ )
68 pair = ( AliRsnPair * ) fPairs.At ( i );