1 /**************************************************************************
2 * Copyright(c) 1998-2007, 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 **************************************************************************/
16 //-------------------------------------------------------------------------
17 // Container class for AOD TZERO data
18 // Author: Filip Krizek
19 // filip.krizek@cern.ch 23/02/2012
20 //-------------------------------------------------------------------------
22 #include "AliAODTZERO.h"
27 //__________________________________________________________________________
28 AliAODTZERO::AliAODTZERO()
36 // Default constructor
37 for(Int_t j=0; j<3; j++){
39 fT0TOFbest[j] = -9999;
41 for (Int_t i=0; i<26; i++) fT0Amp[i]=-1;
44 //__________________________________________________________________________
45 AliAODTZERO::AliAODTZERO(const AliAODTZERO &source)
47 fPileup(source.fPileup),
48 fSattelite(source.fSattelite),
49 fBackground(source.fBackground),
50 fT0VertexRaw(source.fT0VertexRaw),
51 fT0zVertex(source.fT0zVertex)
53 // Default constructor
54 for(Int_t j=0; j<3; j++) {
55 fT0TOF[j] = source.fT0TOF[j];
56 fT0TOFbest[j] = source.fT0TOFbest[j];
58 for (Int_t i=0; i<26; i++) fT0Amp[i]=source.fT0Amp[i];
61 //__________________________________________________________________________
62 AliAODTZERO& AliAODTZERO::operator=(const AliAODTZERO& source)
64 // Assignment operator
66 if(this==&source) return *this;
67 // Assignment operator
68 fPileup = source.fPileup;
69 fSattelite = source.fSattelite;
70 fBackground = source.fBackground;
71 fT0VertexRaw = source.fT0VertexRaw;
72 fT0zVertex = source.fT0zVertex;
74 for(Int_t j=0; j<3; j++){
75 fT0TOF[j] = source.fT0TOF[j];
76 fT0TOFbest[j] = source.fT0TOFbest[j];
78 for (Int_t i=0; i<26; i++) fT0Amp[i]=source.fT0Amp[i];