/************************************************************************** * Copyright(c) 1998-2003, ALICE Experiment at CERN, All rights reserved. * * * * Author: The ALICE Off-line Project. * * Contributors are mentioned in the code where appropriate. * * * * Permission to use, copy, modify and distribute this software and its * * documentation strictly for non-commercial purposes is hereby granted * * without fee, provided that the above copyright notice appears in all * * copies and that both the copyright notice and this permission notice * * appear in the supporting documentation. The authors make no claims * * about the suitability of this software for any purpose. It is * * provided "as is" without express or implied warranty. * **************************************************************************/ ///////////////////////////////////////////////////////////////////////// // ALICE MODULE INFORMATION CLASS // // Author: Mayeul ROUSSELET // // e-mail: Mayeul.Rousselet@cern.ch // // Last update:26/08/2003 // ///////////////////////////////////////////////////////////////////////// #include #include "AliModuleInfo.h" ClassImp(AliModuleInfo) //_____________________________________________________________ AliModuleInfo::AliModuleInfo(int n) { // Constructor fName = new char*[n]; fId = new Int_t[n]; fEnabled = new Bool_t[n]; fNb = 0; } //_____________________________________________________________ AliModuleInfo::AliModuleInfo(const AliModuleInfo& rh) { // Copy constructor fName = new char*[rh.fNb]; fId = new Int_t[rh.fNb]; fEnabled = new Bool_t[rh.fNb]; fNb = rh.fNb; for (Int_t i=0; i