/************************************************************************** * Copyright(c) 1998-1999, 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. * **************************************************************************/ /////////////////////////////////////////////////////////////// // // // Class for ZDC calibration -> ADC channels mapping // // author: Chiara Oppedisano // // // /////////////////////////////////////////////////////////////// #include "AliZDCChMap.h" ClassImp(AliZDCChMap) //________________________________________________________________ AliZDCChMap::AliZDCChMap(): TNamed() { Reset(); } //________________________________________________________________ AliZDCChMap::AliZDCChMap(const char* name): TNamed() { // Constructor TString namst = "Calib_"; namst += name; SetName(namst.Data()); SetTitle(namst.Data()); Reset(); int const kNModules = 10; int const kNChannels = 48; int const kNScChannels = 32; for(Int_t i=0; i detector %d sector %d\n", fADCModule[i], fADCChannel[i],fDetector[i], fSector[i]); for(Int_t i=0; i<32; i++) if(fScalerChannel[i]!=-1) printf(" SCALER - ch. %d -> detector %d sector %d\n", fScalerChannel[i],fScDetector[i], fScSector[i]); printf("\n\n\t **********************************************************\n\n"); }