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 **************************************************************************/
17 #include "AliITSBadChannelsSSDv2.h"
20 //////////////////////////////////////////////////////
21 // Author: Enrico Fragiacomo
23 // Modified: 08/07/2008
25 //////////////////////////////////////////////////////
27 //const Int_t AliITSBadChannelsSSD::fgkDefaultNModulesSSD = 1698;
28 //const Int_t AliITSBadChannelsSSD::fgkDefaultNStripsSSD = 768;
30 ClassImp(AliITSBadChannelsSSDv2)
32 //______________________________________________________________________
33 AliITSBadChannelsSSDv2::AliITSBadChannelsSSDv2()
34 // Default Constructor
36 for(Int_t i=0; i<2*fgkDefaultNModulesSSD*fgkDefaultNStripsSSD; i++)
40 //______________________________________________________________________
41 AliITSBadChannelsSSDv2::AliITSBadChannelsSSDv2(const AliITSBadChannelsSSDv2 &source):
45 memcpy(fBadChannels,source.fBadChannels,
46 2*fgkDefaultNModulesSSD*fgkDefaultNStripsSSD*sizeof(Char_t));
49 //______________________________________________________________________
50 AliITSBadChannelsSSDv2::~AliITSBadChannelsSSDv2(){
54 //______________________________________________________________________
55 AliITSBadChannelsSSDv2& AliITSBadChannelsSSDv2::operator=(const AliITSBadChannelsSSDv2 &source) {
57 if (this == &source)return *this;
58 TObject::operator=(source);
59 memcpy(fBadChannels,source.fBadChannels,
60 2*fgkDefaultNModulesSSD*fgkDefaultNStripsSSD*sizeof(Char_t));