/************************************************************************** * 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. * **************************************************************************/ /* $Id$ */ //_________________________________________________________________________ ///*-- Author: Yves Schutz (SUBATECH) // : Aleksei Pavlinov (WSU); Jun 30, 2006 - ALICE numbering scheme // : Add decalibration and time calibration arrays: Jul 21, 2011 (GCB) // : adapted for DCAL by M.L. Wang CCNU & Subatech Oct-18-2012 /////////////////////////////////////////////////////////////////////////////// // // // class for EMCAL calibration // // // /////////////////////////////////////////////////////////////////////////////// #include #include "AliEMCALCalibData.h" ClassImp(AliEMCALCalibData) //__________________________________________________________ AliEMCALCalibData::AliEMCALCalibData() : TNamed(), fADCchannelRef(0) { // Default constructor Reset(); } //________________________________________________________________________ AliEMCALCalibData::AliEMCALCalibData(const char* name) : TNamed(name,name),fADCchannelRef(0) { // Constructor Reset(); } //______________________________________________________________________ AliEMCALCalibData::AliEMCALCalibData(const AliEMCALCalibData& calibda) : TNamed(calibda), fADCchannelRef(calibda.fADCchannelRef) { // copy constructor SetName (calibda.GetName()); SetTitle(calibda.GetName()); Reset(); Int_t nSMod = AliEMCALGeoParams::fgkEMCALModules; Int_t nCol = AliEMCALGeoParams::fgkEMCALCols; //48 Int_t nRow = AliEMCALGeoParams::fgkEMCALRows; //24 for(Int_t supermodule = 0; supermodule < nSMod; supermodule++) { nCol = AliEMCALGeoParams::fgkEMCALCols; //48 nRow = AliEMCALGeoParams::fgkEMCALRows; //24 //Init all SM equally, even the channels known to not exist. for(Int_t column = 0; column