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 **************************************************************************/
18 Revision 1.1 2007/06/27 16:55:24 zampolli
19 Task for TOF Calibration, optimized for pp runs
21 Revision 1.2 2006/02/13 17:22:26 arcelli
24 Revision 1.1 2006/02/13 16:10:48 arcelli
25 Add classes for TOF Calibration (C.Zampolli)
27 author: Chiara Zampolli, zampolli@bo.infn.it
30 ///////////////////////////////////////////////////////////////////////////////
32 // class for TOF calibration //
34 ///////////////////////////////////////////////////////////////////////////////
36 #include "AliTOFChannelOffline.h"
39 ClassImp(AliTOFChannelOffline)
41 //________________________________________________________________
42 AliTOFChannelOffline::AliTOFChannelOffline()
44 for(Int_t i=0;i<6;i++) fSlewPar[i]=0.;
47 //________________________________________________________________
48 AliTOFChannelOffline::AliTOFChannelOffline(Float_t* slewingPar)
50 for(Int_t i = 0; i<6;i++) fSlewPar[i]=slewingPar[i];
53 //________________________________________________________________
54 AliTOFChannelOffline::~AliTOFChannelOffline()
60 //________________________________________________________________
61 AliTOFChannelOffline::AliTOFChannelOffline(const AliTOFChannelOffline& channel) :
65 for(Int_t i = 0; i<6;i++) fSlewPar[i]=channel.GetSlewPar(i);
69 //________________________________________________________________
70 AliTOFChannelOffline &AliTOFChannelOffline::operator =(const AliTOFChannelOffline& channel)
72 // assignment operator
77 TObject::operator=(channel);
78 for(Int_t i = 0; i<6;i++) fSlewPar[i]=channel.GetSlewPar(i);
83 //________________________________________________________________
84 //virtual AliTOFChannelOffline::~AliTOFChannelOffline()/
90 //________________________________________________________________
91 void AliTOFChannelOffline::SetSlewPar(Float_t* slewingPar)
93 if(slewingPar) for(Int_t i = 0; i<6;i++) fSlewPar[i]=slewingPar[i];
94 else for(int t=0; t<6; t++) fSlewPar[t] = 0.;