Line data Source code
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 :
31 26 : ClassImp(AliTOFReadoutInfo)
32 :
33 : //_________________________________________________________
34 :
35 : AliTOFReadoutInfo::AliTOFReadoutInfo() :
36 0 : TObject(),
37 0 : fChainEfficiency(NULL),
38 0 : fTRMData(NULL),
39 0 : fTRMEmptyEvent(NULL),
40 0 : fTRMBadEventCounter(NULL),
41 0 : fTRMBadCRC(NULL),
42 0 : fChainData(NULL),
43 0 : fChainBadStatus(NULL),
44 0 : fChainBadEventCounter(NULL),
45 0 : fTDCError(NULL),
46 0 : fTDCErrorFlags(NULL)
47 0 : {
48 : /*
49 : * default constructor
50 : */
51 0 : }
52 :
53 : //_________________________________________________________
54 :
55 : AliTOFReadoutInfo::~AliTOFReadoutInfo()
56 0 : {
57 : /*
58 : * default destructor
59 : */
60 :
61 0 : }
62 :
63 : //_________________________________________________________
64 :
65 : AliTOFReadoutInfo::AliTOFReadoutInfo(const AliTOFReadoutInfo &source) :
66 0 : TObject(source),
67 0 : fChainEfficiency(source.fChainEfficiency),
68 0 : fTRMData(source.fTRMData),
69 0 : fTRMEmptyEvent(source.fTRMEmptyEvent),
70 0 : fTRMBadEventCounter(source.fTRMBadEventCounter),
71 0 : fTRMBadCRC(source.fTRMBadCRC),
72 0 : fChainData(source.fChainData),
73 0 : fChainBadStatus(source.fChainBadStatus),
74 0 : fChainBadEventCounter(source.fChainBadEventCounter),
75 0 : fTDCError(source.fTDCError),
76 0 : fTDCErrorFlags(source.fTDCErrorFlags)
77 0 : {
78 : /*
79 : * copy constructor
80 : */
81 :
82 0 : }
83 :
84 : //_________________________________________________________
85 :
86 : AliTOFReadoutInfo &
87 : AliTOFReadoutInfo::operator=(const AliTOFReadoutInfo &source)
88 : {
89 : /*
90 : * operator=
91 : */
92 :
93 0 : if (this == &source) return *this;
94 0 : TObject::operator=(source);
95 :
96 0 : fChainEfficiency = source.fChainEfficiency;
97 0 : fTRMData = source.fTRMData;
98 0 : fTRMEmptyEvent = source.fTRMEmptyEvent;
99 0 : fTRMBadEventCounter = source.fTRMBadEventCounter;
100 0 : fTRMBadCRC = source.fTRMBadCRC;
101 0 : fChainData = source.fChainData;
102 0 : fChainBadStatus = source.fChainBadStatus;
103 0 : fChainBadEventCounter = source.fChainBadEventCounter;
104 0 : fTDCError = source.fTDCError;
105 0 : fTDCErrorFlags = source.fTDCErrorFlags;
106 :
107 0 : return *this;
108 0 : }
109 :
|