]>
Commit | Line | Data |
---|---|---|
5b4ed716 | 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 | author: Roberto Preghenella (R+), preghenella@bo.infn.it | |
18 | */ | |
19 | ||
20 | ||
21 | ////////////////////////////////////////////////////////////////////// | |
22 | // // | |
23 | // // | |
24 | // This class provides a definition for TDC errors. // | |
25 | // // | |
26 | // // | |
27 | ////////////////////////////////////////////////////////////////////// | |
28 | ||
29 | #include "AliTOFTDCError.h" | |
30 | ||
31 | ClassImp(AliTOFTDCError) | |
32 | ||
33 | AliTOFTDCError::AliTOFTDCError() : | |
34 | TObject(), | |
35 | fErrorFlags(0), | |
36 | fTDCID(0) | |
37 | { | |
38 | /* default constructor */ | |
39 | } | |
40 | ||
41 | //_________________________________________________________________ | |
42 | ||
43 | AliTOFTDCError::AliTOFTDCError(const AliTOFTDCError &source) : | |
44 | TObject(), | |
45 | fErrorFlags(source.fErrorFlags), | |
46 | fTDCID(source.fTDCID) | |
47 | { | |
48 | /* copy contructor */ | |
49 | } | |
50 | ||
51 | //_________________________________________________________________ | |
52 | ||
53 | AliTOFTDCError & | |
54 | AliTOFTDCError::operator = (const AliTOFTDCError &source) | |
55 | { | |
56 | /* operator = */ | |
a44583b8 | 57 | if (this == &source) return *this; |
58 | TObject::operator=(source); | |
5b4ed716 | 59 | fErrorFlags = source.fErrorFlags; |
60 | fTDCID = source.fTDCID; | |
61 | return *this; | |
62 | } | |
63 | ||
64 | //_________________________________________________________________ | |
65 | ||
66 | AliTOFTDCError::~AliTOFTDCError() | |
67 | { | |
68 | /* default destructor */ | |
69 | } |