- coverity fixes
[u/mrichter/AliRoot.git] / TRD / Cal / AliTRDCalDCSGTUSegment.cxx
CommitLineData
3821ce70 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/* $Id: AliTRDCalDCSGTUSegment.cxx 18952 2007-06-08 11:36:12Z cblume $ */
17
18///////////////////////////////////////////////////////////////////////////////
19// //
20// TRD calibration class for TRD DCS GTU parameters //
21// //
22///////////////////////////////////////////////////////////////////////////////
23
24#include "AliTRDCalDCSGTUSegment.h"
75bbe3c8 25#include <TObjArray.h>
3821ce70 26
27ClassImp(AliTRDCalDCSGTUSegment)
28
75bbe3c8 29
3821ce70 30//_____________________________________________________________________________
31AliTRDCalDCSGTUSegment::AliTRDCalDCSGTUSegment()
32 :TNamed()
33 ,fId(0)
34 ,fFromRunNumber(0)
35 ,fFromSORFlag(0)
36 ,fChild(0)
37 ,fTmuArr(new TObjArray(5))
38 ,fSmuStackMask(0)
39 ,fSmuTracklets(0)
40 ,fSmuTracks(0)
41 ,fSmuIdelay(0)
42 ,fSmuTriggerWindowL1Low(0)
43 ,fSmuTriggerWindowL1High(0)
44 ,fSmuTriggerWindowL2Low(0)
45 ,fSmuTriggerWindowL2High(0)
46 ,fSmuTtcEmulatorEnable(0)
47 ,fSmuBoardInfo()
48{
49 //
50 // AliTRDCalDCSGTU default constructor
51 //
52 fTmuArr->SetOwner();
53
54
55}
56
57//_____________________________________________________________________________
58AliTRDCalDCSGTUSegment::AliTRDCalDCSGTUSegment(const char *name, const char *title)
59 :TNamed(name,title)
60 ,fId(0)
61 ,fFromRunNumber(0)
62 ,fFromSORFlag(0)
63 ,fChild(0)
64 ,fTmuArr(new TObjArray(5))
65 ,fSmuStackMask(0)
66 ,fSmuTracklets(0)
67 ,fSmuTracks(0)
68 ,fSmuIdelay(0)
69 ,fSmuTriggerWindowL1Low(0)
70 ,fSmuTriggerWindowL1High(0)
71 ,fSmuTriggerWindowL2Low(0)
72 ,fSmuTriggerWindowL2High(0)
73 ,fSmuTtcEmulatorEnable(0)
74 ,fSmuBoardInfo()
75{
76 //
77 // AliTRDCalDCSGTU constructor
78 //
79}
80
81//_____________________________________________________________________________
82AliTRDCalDCSGTUSegment::AliTRDCalDCSGTUSegment(const AliTRDCalDCSGTUSegment&)
83 :TNamed("","")
84 ,fId(0)
85 ,fFromRunNumber(0)
86 ,fFromSORFlag(0)
87 ,fChild(0)
88 ,fTmuArr(new TObjArray(5))
89 ,fSmuStackMask(0)
90 ,fSmuTracklets(0)
91 ,fSmuTracks(0)
92 ,fSmuIdelay(0)
93 ,fSmuTriggerWindowL1Low(0)
94 ,fSmuTriggerWindowL1High(0)
95 ,fSmuTriggerWindowL2Low(0)
96 ,fSmuTriggerWindowL2High(0)
97 ,fSmuTtcEmulatorEnable(0)
98 ,fSmuBoardInfo()
99{
100 //
101 // AliTRDCalDCSGTUSegment constructor
102 //
103}
104
105//_____________________________________________________________________________
106AliTRDCalDCSGTUSegment& AliTRDCalDCSGTUSegment::operator=(const AliTRDCalDCSGTUSegment& sh)
107{
108 //
109 // AliTRDCalDCSGTUSegment constructor
110 //
111 if (&sh == this) return *this;
112
113 new (this) AliTRDCalDCSGTUSegment(sh);
114 return *this;
115}
116
117