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 **************************************************************************/
16 ///////////////////////////////////////////////////////////////
18 // This class provides the minimum-size TOF hit info //
20 // author: Roberto Preghenella (R+) //
21 // preghenella@bo.infn.it //
23 ///////////////////////////////////////////////////////////////
25 #include "AliTOFHitField.h"
27 ClassImp(AliTOFHitField)
29 //-----------------------------------------------------------------------------
31 AliTOFHitField::AliTOFHitField() :
43 //-----------------------------------------------------------------------------
45 AliTOFHitField::~AliTOFHitField()
52 //-----------------------------------------------------------------------------
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)
66 //-----------------------------------------------------------------------------
69 AliTOFHitField::operator=(const AliTOFHitField &source)
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;