Line data Source code
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 : // //
18 : // This class provides the minimum-size TOF hit info //
19 : // //
20 : // author: Roberto Preghenella (R+) //
21 : // preghenella@bo.infn.it //
22 : // //
23 : ///////////////////////////////////////////////////////////////
24 :
25 : #include "AliTOFHitField.h"
26 :
27 26 : ClassImp(AliTOFHitField)
28 :
29 : //-----------------------------------------------------------------------------
30 :
31 : AliTOFHitField::AliTOFHitField() :
32 0 : fIndex(0),
33 0 : fTimeBin(0),
34 0 : fTOTBin(0),
35 0 : fDeltaBC(0),
36 0 : fL0L1Latency(0)
37 0 : {
38 : /*
39 : * default constructor
40 : */
41 0 : }
42 :
43 : //-----------------------------------------------------------------------------
44 :
45 : AliTOFHitField::~AliTOFHitField()
46 0 : {
47 : /*
48 : * default destructor
49 : */
50 0 : }
51 :
52 : //-----------------------------------------------------------------------------
53 :
54 : AliTOFHitField::AliTOFHitField(const AliTOFHitField &source) :
55 0 : fIndex(source.fIndex),
56 0 : fTimeBin(source.fTimeBin),
57 0 : fTOTBin(source.fTOTBin),
58 0 : fDeltaBC(source.fDeltaBC),
59 0 : fL0L1Latency(source.fL0L1Latency)
60 0 : {
61 : /*
62 : * default constructor
63 : */
64 0 : }
65 :
66 : //-----------------------------------------------------------------------------
67 :
68 : AliTOFHitField &
69 : AliTOFHitField::operator=(const AliTOFHitField &source)
70 : {
71 : /*
72 : * operator=
73 : */
74 :
75 0 : if(this==&source) return *this;
76 0 : fIndex = source.fIndex;
77 0 : fTimeBin = source.fTimeBin;
78 0 : fTOTBin = source.fTOTBin;
79 0 : fDeltaBC = source.fDeltaBC;
80 0 : fL0L1Latency =source.fL0L1Latency;
81 0 : return *this;
82 0 : }
83 :
|