]>
Commit | Line | Data |
---|---|---|
104ba366 | 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 | ClassImp(AliTOFHitField) | |
28 | ||
29 | //----------------------------------------------------------------------------- | |
30 | ||
31 | AliTOFHitField::AliTOFHitField() : | |
32 | fIndex(0), | |
33 | fTimeBin(0), | |
34 | fTOTBin(0), | |
35 | fDeltaBC(0), | |
36 | fL0L1Latency(0) | |
37 | { | |
38 | /* | |
39 | * default constructor | |
40 | */ | |
41 | } | |
42 | ||
43 | //----------------------------------------------------------------------------- | |
44 | ||
45 | AliTOFHitField::~AliTOFHitField() | |
46 | { | |
47 | /* | |
48 | * default destructor | |
49 | */ | |
50 | } | |
51 | ||
52 | //----------------------------------------------------------------------------- | |
53 | ||
54 | AliTOFHitField::AliTOFHitField(const AliTOFHitField &source) : | |
55 | fIndex(source.fIndex), | |
56 | fTimeBin(source.fTimeBin), | |
57 | fTOTBin(source.fTOTBin), | |
58 | fDeltaBC(source.fDeltaBC), | |
59 | fL0L1Latency(source.fL0L1Latency) | |
60 | { | |
61 | /* | |
62 | * default constructor | |
63 | */ | |
64 | } | |
65 | ||
66 | //----------------------------------------------------------------------------- | |
67 | ||
68 | AliTOFHitField & | |
69 | AliTOFHitField::operator=(const AliTOFHitField &source) | |
70 | { | |
71 | /* | |
72 | * operator= | |
73 | */ | |
74 | ||
75 | if(this==&source) return *this; | |
76 | fIndex = source.fIndex; | |
77 | fTimeBin = source.fTimeBin; | |
78 | fTOTBin = source.fTOTBin; | |
79 | fDeltaBC = source.fDeltaBC; | |
80 | fL0L1Latency =source.fL0L1Latency; | |
81 | return *this; | |
82 | } | |
83 |