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 **************************************************************************/
19 // * this class defines the TOF object to be stored
20 // * in Reference data a run-by-run basis in order to have
21 // * info about readout electronics
27 #include "AliTOFReadoutInfo.h"
31 ClassImp(AliTOFReadoutInfo)
33 //_________________________________________________________
35 AliTOFReadoutInfo::AliTOFReadoutInfo() :
37 fChainEfficiency(NULL),
40 fTRMBadEventCounter(NULL),
43 fChainBadStatus(NULL),
44 fChainBadEventCounter(NULL),
53 //_________________________________________________________
55 AliTOFReadoutInfo::~AliTOFReadoutInfo()
63 //_________________________________________________________
65 AliTOFReadoutInfo::AliTOFReadoutInfo(const AliTOFReadoutInfo &source) :
67 fChainEfficiency(source.fChainEfficiency),
68 fTRMData(source.fTRMData),
69 fTRMEmptyEvent(source.fTRMEmptyEvent),
70 fTRMBadEventCounter(source.fTRMBadEventCounter),
71 fTRMBadCRC(source.fTRMBadCRC),
72 fChainData(source.fChainData),
73 fChainBadStatus(source.fChainBadStatus),
74 fChainBadEventCounter(source.fChainBadEventCounter),
75 fTDCError(source.fTDCError),
76 fTDCErrorFlags(source.fTDCErrorFlags)
84 //_________________________________________________________
87 AliTOFReadoutInfo::operator=(const AliTOFReadoutInfo &source)
93 if (this == &source) return *this;
94 TObject::operator=(source);
96 fChainEfficiency = source.fChainEfficiency;
97 fTRMData = source.fTRMData;
98 fTRMEmptyEvent = source.fTRMEmptyEvent;
99 fTRMBadEventCounter = source.fTRMBadEventCounter;
100 fTRMBadCRC = source.fTRMBadCRC;
101 fChainData = source.fChainData;
102 fChainBadStatus = source.fChainBadStatus;
103 fChainBadEventCounter = source.fChainBadEventCounter;
104 fTDCError = source.fTDCError;
105 fTDCErrorFlags = source.fTDCErrorFlags;