]> git.uio.no Git - u/mrichter/AliRoot.git/blame - ITS/AliITSNoiseSSD.cxx
Revision of SSD calibration classes (E. Fragiacomo)
[u/mrichter/AliRoot.git] / ITS / AliITSNoiseSSD.cxx
CommitLineData
fb4dfab9 1/**************************************************************************
2 * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
3 * *
4 * Author: The ALICE Off-line Project. *
5 * Contributors are mentioned in the code where appropriate. *
6 * *
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 **************************************************************************/
15
16
17#include "AliITSNoiseSSD.h"
18
19//////////////////////////////////////////////////////
20// Author: Enrico Fragiacomo
21// Date: 23/08/2007
ced4d9bc 22// Modified: 08/07/2008
fb4dfab9 23// //
24//////////////////////////////////////////////////////
25
ced4d9bc 26//const Int_t AliITSNoiseSSD::fgkDefaultNModulesSSD = 1698;
27//const Int_t AliITSNoiseSSD::fgkDefaultNStripsSSD = 768;
fb4dfab9 28
ced4d9bc 29ClassImp(AliITSNoiseSSD)
30
fb4dfab9 31//______________________________________________________________________
ced4d9bc 32 AliITSNoiseSSD::AliITSNoiseSSD() {
33 // Default Constructor
34 for(Int_t i=0; i<2*fgkDefaultNModulesSSD*fgkDefaultNStripsSSD; i++)
35 fNois[i]=0;
fb4dfab9 36}
37
039309dc 38//______________________________________________________________________
ced4d9bc 39AliITSNoiseSSD::AliITSNoiseSSD(const AliITSNoiseSSD &source):
40 TObject(source)
41{
039309dc 42 // copy Constructor
ced4d9bc 43 memcpy(fNois,source.fNois,
44 2*fgkDefaultNModulesSSD*fgkDefaultNStripsSSD*sizeof(Float_t));
039309dc 45}
ced4d9bc 46
fb4dfab9 47//______________________________________________________________________
48AliITSNoiseSSD::~AliITSNoiseSSD(){
49 // destructor
50
51}
52
039309dc 53//______________________________________________________________________
54AliITSNoiseSSD& AliITSNoiseSSD::operator=(const AliITSNoiseSSD &source) {
55 // ass. op.
56 if (this == &source)
57 return *this;
ced4d9bc 58
59 memcpy(fNois,source.fNois,
60 2*fgkDefaultNModulesSSD*fgkDefaultNStripsSSD*sizeof(Float_t));
61
039309dc 62 return *this;
63}