/************************************************************************* * Copyright(c) 1998-2008, 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: AliTRDarrayDictionary.cxx 25392 2008-04-23 19:40:29Z cblume $ */ ///////////////////////////////////////////////////////// // // // Container Class for Dictionary Info // // // // Author: // // Hermes Leon Vargas (hleon@ikf.uni-frankfurt.de) // // // ///////////////////////////////////////////////////////// #include "AliTRDarrayDictionary.h" #include "TArray.h" #include "AliTRDfeeParam.h" ClassImp(AliTRDarrayDictionary) Short_t *AliTRDarrayDictionary::fLutPadNumbering = 0x0; //________________________________________________________________________________ AliTRDarrayDictionary::AliTRDarrayDictionary() :TObject() ,fNdet(0) ,fNrow(0) ,fNcol(0) ,fNumberOfChannels(0) ,fNtime(0) ,fNDdim(0) ,fDictionary(0) { // // AliTRDarrayDictionary default contructor // CreateLut(); } //________________________________________________________________________________ AliTRDarrayDictionary::AliTRDarrayDictionary(Int_t nrow, Int_t ncol, Int_t ntime) :TObject() ,fNdet(0) ,fNrow(0) ,fNcol(0) ,fNumberOfChannels(0) ,fNtime(0) ,fNDdim(0) ,fDictionary(0) { // // AliTRDarrayDictionary contructor // CreateLut(); Allocate(nrow,ncol,ntime); } //________________________________________________________________________________ AliTRDarrayDictionary::AliTRDarrayDictionary(const AliTRDarrayDictionary &a) :TObject() ,fNdet(a.fNdet) ,fNrow(a.fNrow) ,fNcol(a.fNcol) ,fNumberOfChannels(a.fNumberOfChannels) ,fNtime(a.fNtime) ,fNDdim(a.fNDdim) ,fDictionary(0) { // // AliTRDarrayDictionary copy constructor // fDictionary = new Int_t[fNDdim]; for(Int_t i=0; i=-1) { bufferE[i]=fDictionary[contaexp]; } if(fDictionary[contaexp]<-1) { for(Int_t j=0; j