Optional scoring for background studies in HALL.
[u/mrichter/AliRoot.git] / TOF / AliTOFReadoutInfo.cxx
CommitLineData
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// *
18// *
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
22// *
23// *
24// *
25// *
26
27#include "AliTOFReadoutInfo.h"
28#include "TH1F.h"
29#include "TH2F.h"
30
31ClassImp(AliTOFReadoutInfo)
32
33//_________________________________________________________
34
35AliTOFReadoutInfo::AliTOFReadoutInfo() :
36 TObject(),
37 fChainEfficiency(NULL),
38 fTRMData(NULL),
39 fTRMEmptyEvent(NULL),
40 fTRMBadEventCounter(NULL),
41 fTRMBadCRC(NULL),
42 fChainData(NULL),
43 fChainBadStatus(NULL),
44 fChainBadEventCounter(NULL),
45 fTDCError(NULL),
46 fTDCErrorFlags(NULL)
47{
48 /*
49 * default constructor
50 */
51}
52
53//_________________________________________________________
54
55AliTOFReadoutInfo::~AliTOFReadoutInfo()
56{
57 /*
58 * default destructor
59 */
60
61}
62
63//_________________________________________________________
64
65AliTOFReadoutInfo::AliTOFReadoutInfo(const AliTOFReadoutInfo &source) :
66 TObject(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)
77{
78 /*
79 * copy constructor
80 */
81
82}
83
84//_________________________________________________________
85
86AliTOFReadoutInfo &
87AliTOFReadoutInfo::operator=(const AliTOFReadoutInfo &source)
88{
89 /*
90 * operator=
91 */
92
93 if (this == &source) return *this;
94 TObject::operator=(source);
95
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;
106
107 return *this;
108}
109