]> git.uio.no Git - u/mrichter/AliRoot.git/blame - TOF/AliTOFChannel.cxx
just Fixing Log info
[u/mrichter/AliRoot.git] / TOF / AliTOFChannel.cxx
CommitLineData
6dc9348d 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/*$Log$
17author: Chiara Zampolli, zampolli@bo.infn.it
18 */
19
20///////////////////////////////////////////////////////////////////////////////
21// //
22// class for TOF calibration //
23// //
24///////////////////////////////////////////////////////////////////////////////
25
26#include "AliTOFChannel.h"
27
28ClassImp(AliTOFChannel)
29
30//________________________________________________________________
31AliTOFChannel::AliTOFChannel():
32fStatus(kFALSE),
33fDelay(0)
34{
35 for(Int_t i=0;i<6;i++) fSlewPar[i]=0.;
36}
37
38//________________________________________________________________
39AliTOFChannel::AliTOFChannel(Bool_t status, Float_t delay, Float_t* slewingPar):
40fStatus(status),
41fDelay(delay)
42{
43 for(Int_t i = 0; i<6;i++) fSlewPar[i]=slewingPar[i];
44}
45
46//________________________________________________________________
47AliTOFChannel::AliTOFChannel(const AliTOFChannel& channel) :
48 TObject(channel)
49{
50// copy constructor
51
52}
53
54
55//________________________________________________________________
56AliTOFChannel &AliTOFChannel::operator =(const AliTOFChannel& channel)
57{
58// assignment operator
59 fStatus= channel.GetStatus();
60 fDelay=channel.GetDelay();
61 return *this;
62}
63
64//
65//________________________________________________________________
66//virtual AliTOFChannel::~AliTOFChannel()/
67//{
68
69//}
70//*/
71
72//________________________________________________________________
73void AliTOFChannel::SetSlewPar(Float_t* slewingPar)
74{
75 if(slewingPar) for(Int_t i = 0; i<6;i++) fSlewPar[i]=slewingPar[i];
76 else for(int t=0; t<6; t++) fSlewPar[t] = 0.;
77}
78
79
80