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