From b5ee4425c93874c0ce306795eec31f8c0a87308d Mon Sep 17 00:00:00 2001 From: cholm Date: Thu, 24 Aug 2006 23:24:21 +0000 Subject: [PATCH] Fixed Effective C++ warnings --- FMD/AliFMD.cxx | 14 +++++++------- FMD/AliFMD3.cxx | 17 ++++++++++++++++- FMD/AliFMDAlignFaker.cxx | 11 ++++++++++- FMD/AliFMDAlignFaker.h | 17 ++++++++++++++++- FMD/AliFMDBaseDigit.cxx | 12 +++++++----- FMD/AliFMDBaseDigitizer.cxx | 10 ++++++++-- FMD/AliFMDBaseDigitizer.h | 9 ++++++++- FMD/AliFMDBoolMap.cxx | 2 ++ FMD/AliFMDCalibGain.cxx | 6 +++++- FMD/AliFMDCalibPedestal.cxx | 6 +++++- FMD/AliFMDDetector.cxx | 16 ++++++++++++++++ FMD/AliFMDDisplay.cxx | 15 ++++++++++++++- FMD/AliFMDDisplay.h | 24 +++++++++++++++++++++++- FMD/AliFMDEdepMap.cxx | 2 ++ FMD/AliFMDGeometry.cxx | 23 ++++++++++++++++++++++- FMD/AliFMDGeometryBuilder.cxx | 21 ++++++++++++++++++--- FMD/AliFMDGeometryBuilder.h | 19 ++++++++++++++++++- FMD/AliFMDIndex.cxx | 5 ++++- FMD/AliFMDInput.cxx | 4 ++++ FMD/AliFMDInput.h | 29 ++++++++++++++++++++++++++++- FMD/AliFMDParameters.cxx | 11 +++++++++++ FMD/AliFMDParameters.h | 25 ++++++++++++++++++++++++- FMD/AliFMDRawReader.h | 7 ++++++- FMD/AliFMDRawWriter.cxx | 5 ++++- FMD/AliFMDRawWriter.h | 8 +++++++- FMD/AliFMDRecPoint.cxx | 3 ++- FMD/AliFMDRing.cxx | 18 ++++++++++++++++++ FMD/AliFMDUShortMap.cxx | 2 ++ 28 files changed, 307 insertions(+), 34 deletions(-) diff --git a/FMD/AliFMD.cxx b/FMD/AliFMD.cxx index 1e73d4904e2..6c4a2875f2f 100644 --- a/FMD/AliFMD.cxx +++ b/FMD/AliFMD.cxx @@ -127,7 +127,9 @@ AliFMD::AliFMD() fSDigits(0), fNsdigits(0), fDetailed(kTRUE), - fBad(0) + fUseOld(kFALSE), + fUseAssembly(kTRUE), + fBad(0) { // // Default constructor for class AliFMD @@ -136,8 +138,6 @@ AliFMD::AliFMD() fHits = 0; fDigits = 0; fIshunt = 0; - fUseOld = kFALSE; - fUseAssembly = kTRUE; fBad = new TClonesArray("AliFMDHit"); } @@ -147,11 +147,11 @@ AliFMD::AliFMD(const AliFMD& other) fSDigits(other.fSDigits), fNsdigits(other.fNsdigits), fDetailed(other.fDetailed), + fUseOld(other.fUseOld), + fUseAssembly(other.fUseAssembly), fBad(other.fBad) { // Copy constructor - fUseOld = other.fUseOld; - fUseAssembly = other.fUseAssembly; } //____________________________________________________________________ @@ -160,14 +160,14 @@ AliFMD::AliFMD(const char *name, const char *title) fSDigits(0), fNsdigits(0), fDetailed(kTRUE), + fUseOld(kFALSE), + fUseAssembly(kFALSE), fBad(0) { // // Standard constructor for Forward Multiplicity Detector // AliDebug(10, "\tStandard CTOR"); - fUseOld = kFALSE; - fUseAssembly = kFALSE; fBad = new TClonesArray("AliFMDHit"); // Initialise Hit array diff --git a/FMD/AliFMD3.cxx b/FMD/AliFMD3.cxx index 83eb9b9bce5..adc5ace5dd8 100644 --- a/FMD/AliFMD3.cxx +++ b/FMD/AliFMD3.cxx @@ -42,7 +42,22 @@ ClassImp(AliFMD3) //____________________________________________________________________ AliFMD3::AliFMD3(AliFMDRing* inner, AliFMDRing* outer) - : AliFMDDetector(3, inner, outer) + : AliFMDDetector(3, inner, outer), + fNoseZ(0), + fNoseLowR(0), + fNoseHighR(0), + fNoseLength(0), + fBackLowR(0), + fBackHighR(0), + fBackLength(0), + fBeamThickness(0), + fBeamWidth(0), + fConeLength(0), + fFlangeR(0), + fZ(0), + fAlpha(0), + fNBeam(0), + fNFlange(0) { // Constructor. SetInnerZ(-62.8); diff --git a/FMD/AliFMDAlignFaker.cxx b/FMD/AliFMDAlignFaker.cxx index dd39b2dabf6..1dc29477a72 100644 --- a/FMD/AliFMDAlignFaker.cxx +++ b/FMD/AliFMDAlignFaker.cxx @@ -67,9 +67,18 @@ AliFMDAlignFaker::AliFMDAlignFaker(Int_t mask, const char* geo, const char* loc) : TTask(geo, loc), fMask(mask), + fSensorTransMin(0,0,0), + fSensorTransMax(0,0,0), + fSensorRotMin(0,0,0), + fSensorRotMax(0,0,0), + fHalfTransMin(0,0,0), + fHalfTransMax(0,0,0), + fHalfRotMin(0,0,0), + fHalfRotMax(0,0,0), fRunMin(0), fRunMax(10), - fArray(0) + fArray(0), + fComment("") { // Default constructor SetSensorDisplacement(); diff --git a/FMD/AliFMDAlignFaker.h b/FMD/AliFMDAlignFaker.h index a3e4969462a..6c60fc61865 100644 --- a/FMD/AliFMDAlignFaker.h +++ b/FMD/AliFMDAlignFaker.h @@ -126,7 +126,22 @@ public: @param option Not used. */ void Exec(Option_t* option=""); protected: - AliFMDAlignFaker(const AliFMDAlignFaker& o) : TTask(o) {} + AliFMDAlignFaker(const AliFMDAlignFaker& o) + : TTask(o), + fMask(0), + fSensorTransMin(0,0,0), + fSensorTransMax(0,0,0), + fSensorRotMin(0,0,0), + fSensorRotMax(0,0,0), + fHalfTransMin(0,0,0), + fHalfTransMax(0,0,0), + fHalfRotMin(0,0,0), + fHalfRotMax(0,0,0), + fRunMin(0), + fRunMax(0), + fArray(0), + fComment("") +{} AliFMDAlignFaker& operator=(const AliFMDAlignFaker&) { return *this; } /** Make the alignment object for a path diff --git a/FMD/AliFMDBaseDigit.cxx b/FMD/AliFMDBaseDigit.cxx index 5035dd7f128..a32ea7cc08d 100644 --- a/FMD/AliFMDBaseDigit.cxx +++ b/FMD/AliFMDBaseDigit.cxx @@ -79,18 +79,20 @@ AliFMDBaseDigit::AliFMDBaseDigit() : fDetector(0), fRing('\0'), fSector(0), - fStrip(0) + fStrip(0), + fName("") {} //____________________________________________________________________ AliFMDBaseDigit::AliFMDBaseDigit(UShort_t detector, - Char_t ring, - UShort_t sector, - UShort_t strip) + Char_t ring, + UShort_t sector, + UShort_t strip) : fDetector(detector), fRing(ring), fSector(sector), - fStrip(strip) + fStrip(strip), + fName("") { // // Creates a base data digit object diff --git a/FMD/AliFMDBaseDigitizer.cxx b/FMD/AliFMDBaseDigitizer.cxx index 30aa74df290..0b14ead9840 100644 --- a/FMD/AliFMDBaseDigitizer.cxx +++ b/FMD/AliFMDBaseDigitizer.cxx @@ -220,7 +220,12 @@ ClassImp(AliFMDBaseDigitizer) //____________________________________________________________________ AliFMDBaseDigitizer::AliFMDBaseDigitizer() - : fRunLoader(0) + : fRunLoader(0), + fEdep(AliFMDMap::kMaxDetectors, + AliFMDMap::kMaxRings, + AliFMDMap::kMaxSectors, + AliFMDMap::kMaxStrips), + fShapingTime(0) { // Default ctor - don't use it } @@ -232,7 +237,8 @@ AliFMDBaseDigitizer::AliFMDBaseDigitizer(AliRunDigitizer* manager) fEdep(AliFMDMap::kMaxDetectors, AliFMDMap::kMaxRings, AliFMDMap::kMaxSectors, - AliFMDMap::kMaxStrips) + AliFMDMap::kMaxStrips), + fShapingTime(0) { // Normal CTOR AliDebug(1," processed"); diff --git a/FMD/AliFMDBaseDigitizer.h b/FMD/AliFMDBaseDigitizer.h index 86a188cde7e..9ae35641bd9 100644 --- a/FMD/AliFMDBaseDigitizer.h +++ b/FMD/AliFMDBaseDigitizer.h @@ -239,7 +239,14 @@ protected: /** Copy CTOR @param o object to copy from */ AliFMDBaseDigitizer(const AliFMDBaseDigitizer& o) - : AliDigitizer(o) {} + : AliDigitizer(o), + fRunLoader(0), + fEdep(AliFMDMap::kMaxDetectors, + AliFMDMap::kMaxRings, + AliFMDMap::kMaxSectors, + AliFMDMap::kMaxStrips), + fShapingTime(0) + {} /** Assignment operator @return Reference to this object */ AliFMDBaseDigitizer& operator=(const AliFMDBaseDigitizer&) { return *this; } diff --git a/FMD/AliFMDBoolMap.cxx b/FMD/AliFMDBoolMap.cxx index aa2c6dc633f..fffa34c208e 100644 --- a/FMD/AliFMDBoolMap.cxx +++ b/FMD/AliFMDBoolMap.cxx @@ -40,6 +40,7 @@ AliFMDBoolMap::AliFMDBoolMap(const AliFMDBoolMap& other) other.fMaxRings, other.fMaxSectors, other.fMaxStrips), + fTotal(0), fData(0) { // Copy constructor @@ -54,6 +55,7 @@ AliFMDBoolMap::AliFMDBoolMap(size_t maxDet, size_t maxSec, size_t maxStr) : AliFMDMap(maxDet, maxRing, maxSec, maxStr), + fTotal(0), fData(0) { // Constructor. diff --git a/FMD/AliFMDCalibGain.cxx b/FMD/AliFMDCalibGain.cxx index 831ed6c95db..de18b4ac610 100644 --- a/FMD/AliFMDCalibGain.cxx +++ b/FMD/AliFMDCalibGain.cxx @@ -35,6 +35,8 @@ ClassImp(AliFMDCalibGain) //____________________________________________________________________ AliFMDCalibGain::AliFMDCalibGain() + : fValue(), + fThreshold(-1.) { // CTOR fValue.Reset(-1.); @@ -43,7 +45,9 @@ AliFMDCalibGain::AliFMDCalibGain() //____________________________________________________________________ AliFMDCalibGain::AliFMDCalibGain(const AliFMDCalibGain& o) - : TObject(o), fValue(o.fValue), fThreshold(o.fThreshold) + : TObject(o), + fValue(o.fValue), + fThreshold(o.fThreshold) { // Copy CTOR } diff --git a/FMD/AliFMDCalibPedestal.cxx b/FMD/AliFMDCalibPedestal.cxx index b1a8c8f1345..8795c027283 100644 --- a/FMD/AliFMDCalibPedestal.cxx +++ b/FMD/AliFMDCalibPedestal.cxx @@ -36,6 +36,8 @@ ClassImp(AliFMDCalibPedestal) //____________________________________________________________________ AliFMDCalibPedestal::AliFMDCalibPedestal() + : fValue(), + fWidth() { // CTOR fValue.Reset(-1.); @@ -44,7 +46,9 @@ AliFMDCalibPedestal::AliFMDCalibPedestal() //____________________________________________________________________ AliFMDCalibPedestal::AliFMDCalibPedestal(const AliFMDCalibPedestal& o) - : TObject(o), fValue(o.fValue), fWidth(o.fWidth) + : TObject(o), + fValue(o.fValue), + fWidth(o.fWidth) { // Copy Ctor } diff --git a/FMD/AliFMDDetector.cxx b/FMD/AliFMDDetector.cxx index acde14a22fd..2a890d5e487 100644 --- a/FMD/AliFMDDetector.cxx +++ b/FMD/AliFMDDetector.cxx @@ -51,6 +51,14 @@ ClassImp(AliFMDDetector) AliFMDDetector::AliFMDDetector(Int_t id, AliFMDRing* inner, AliFMDRing* outer) : TNamed(Form("FMD%d", id), "Forward multiplicity ring"), fId(id), + fInnerZ(0.), + fOuterZ(0.), + fHoneycombThickness(0.), + fAlThickness(0.), + fInnerHoneyLowR(0.), + fInnerHoneyHighR(0.), + fOuterHoneyLowR(0.), + fOuterHoneyHighR(0.), fInner(inner), fOuter(outer), fInnerTransforms(0), @@ -76,6 +84,14 @@ AliFMDDetector::AliFMDDetector(Int_t id, AliFMDRing* inner, AliFMDRing* outer) AliFMDDetector::AliFMDDetector(const AliFMDDetector& other) : TNamed(other), fId(other.fId), + fInnerZ(0.), + fOuterZ(0.), + fHoneycombThickness(0.), + fAlThickness(0.), + fInnerHoneyLowR(0.), + fInnerHoneyHighR(0.), + fOuterHoneyLowR(0.), + fOuterHoneyHighR(0.), fInner(other.fInner), fOuter(other.fOuter), fInnerTransforms(other.fInnerTransforms), diff --git a/FMD/AliFMDDisplay.cxx b/FMD/AliFMDDisplay.cxx index d3adb92652e..bbde8fb7603 100644 --- a/FMD/AliFMDDisplay.cxx +++ b/FMD/AliFMDDisplay.cxx @@ -69,12 +69,25 @@ AliFMDDisplay::Instance() AliFMDDisplay::AliFMDDisplay(const char* gAliceFile) : AliFMDInput(gAliceFile), fWait(kFALSE), + fMarkers(0), + fHits(0), fCanvas(0), fPad(0), fButton(0), fZoom(0), fPick(0), - fZoomMode(kFALSE) + fZoomMode(kFALSE), + fX0(0), + fY0(0), + fX1(0), + fY1(0), + fMultCut(0), + fPedestalFactor(0), + fXPixel(0), + fYPixel(0), + fOldXPixel(0), + fOldYPixel(0), + fLineDrawn(0) { // Constructor of an FMD display object. AddLoad(kGeometry); diff --git a/FMD/AliFMDDisplay.h b/FMD/AliFMDDisplay.h index 3d586ae285d..7ba256530cf 100644 --- a/FMD/AliFMDDisplay.h +++ b/FMD/AliFMDDisplay.h @@ -107,7 +107,29 @@ public: protected: /** Copy constructor @param o Object to copy from */ - AliFMDDisplay(const AliFMDDisplay& o) : AliFMDInput(o) { } + AliFMDDisplay(const AliFMDDisplay& o) + : AliFMDInput(o), + fWait(kFALSE), + fMarkers(0), + fHits(0), + fCanvas(0), + fPad(0), + fButton(0), + fZoom(0), + fPick(0), + fZoomMode(0), + fX0(0), + fY0(0), + fX1(0), + fY1(0), + fMultCut(0), + fPedestalFactor(0), + fXPixel(0), + fYPixel(0), + fOldXPixel(0), + fOldYPixel(0), + fLineDrawn(0) + { } /** Assignment operator @return Reference to this object */ AliFMDDisplay& operator=(const AliFMDDisplay&) { return *this; } diff --git a/FMD/AliFMDEdepMap.cxx b/FMD/AliFMDEdepMap.cxx index aa8cd817bd8..b4653602317 100644 --- a/FMD/AliFMDEdepMap.cxx +++ b/FMD/AliFMDEdepMap.cxx @@ -40,6 +40,7 @@ ClassImp(AliFMDEdepMap) AliFMDEdepMap::AliFMDEdepMap(const AliFMDEdepMap& other) : AliFMDMap(other.fMaxDetectors, other.fMaxRings, other.fMaxSectors, other.fMaxStrips), + fTotal(0), fData(0) { // Copy constructor @@ -56,6 +57,7 @@ AliFMDEdepMap::AliFMDEdepMap(size_t maxDet, size_t maxSec, size_t maxStr) : AliFMDMap(maxDet, maxRing, maxSec, maxStr), + fTotal(0), fData(0) { // Construct a map diff --git a/FMD/AliFMDGeometry.cxx b/FMD/AliFMDGeometry.cxx index b001ceb7ec4..176ff2fa913 100644 --- a/FMD/AliFMDGeometry.cxx +++ b/FMD/AliFMDGeometry.cxx @@ -100,7 +100,23 @@ AliFMDGeometry::Instance() //____________________________________________________________________ AliFMDGeometry::AliFMDGeometry() : AliGeometry("FMD", "Forward multiplicity"), - fBuilder(0) + fIsInitialized(kFALSE), + fInner(0), + fOuter(0), + fFMD1(0), + fFMD2(0), + fFMD3(0), + fUseFMD1(kFALSE), + fUseFMD2(kFALSE), + fUseFMD3(kFALSE), + fBuilder(0), + fDetectorOff(0), + fModuleOff(0), + fRingOff(0), + fSectorOff(0), + fActive(2), + fDetailed(kFALSE), + fUseAssembly(kFALSE) { // PROTECTED // Default constructor @@ -130,6 +146,11 @@ AliFMDGeometry::AliFMDGeometry(const AliFMDGeometry& other) fUseFMD1(other.fUseFMD1), fUseFMD2(other.fUseFMD2), fUseFMD3(other.fUseFMD3), + fBuilder(other.fBuilder), + fDetectorOff(other.fDetectorOff), + fModuleOff(other.fModuleOff), + fRingOff(other.fRingOff), + fSectorOff(other.fSectorOff), fActive(other.fActive), fDetailed(other.fDetailed), fUseAssembly(other.fUseAssembly) diff --git a/FMD/AliFMDGeometryBuilder.cxx b/FMD/AliFMDGeometryBuilder.cxx index ed1e37aa459..acacc79e621 100644 --- a/FMD/AliFMDGeometryBuilder.cxx +++ b/FMD/AliFMDGeometryBuilder.cxx @@ -82,14 +82,22 @@ const Char_t* AliFMDGeometryBuilder::fgkFMDName = "F%dM%c"; //____________________________________________________________________ AliFMDGeometryBuilder::AliFMDGeometryBuilder() - : fDetailed(kTRUE), + : TTask("FMD", "Geomtry builder"), + fActiveId(0), + fDetailed(kTRUE), fUseAssembly(kTRUE), + fSectorOff(0), + fModuleOff(0), + fRingOff(0), + fDetectorOff(0), fSi(0), fC(0), fAl(0), fPCB(0), fChip(0), - fPlastic(0) + fAir(0), + fPlastic(0), + fCopper(0) { // Default constructor fActiveId.Set(2); @@ -98,14 +106,21 @@ AliFMDGeometryBuilder::AliFMDGeometryBuilder() //____________________________________________________________________ AliFMDGeometryBuilder::AliFMDGeometryBuilder(Bool_t detailed) : TTask("FMD", "Geometry builder"), + fActiveId(0), fDetailed(detailed), fUseAssembly(kTRUE), + fSectorOff(0), + fModuleOff(0), + fRingOff(0), + fDetectorOff(0), fSi(0), fC(0), fAl(0), fPCB(0), fChip(0), - fPlastic(0) + fAir(0), + fPlastic(0), + fCopper(0) { // Normal constructor // diff --git a/FMD/AliFMDGeometryBuilder.h b/FMD/AliFMDGeometryBuilder.h index e6110dcbaa7..1a6316138ef 100644 --- a/FMD/AliFMDGeometryBuilder.h +++ b/FMD/AliFMDGeometryBuilder.h @@ -65,7 +65,24 @@ public: Int_t GetDetectorOff() const { return fDetectorOff; } protected: /** Copy CTOR */ - AliFMDGeometryBuilder(const AliFMDGeometryBuilder& o) : TTask(o) {} + AliFMDGeometryBuilder(const AliFMDGeometryBuilder& o) + : TTask(o), + fActiveId(o.fActiveId), + fDetailed(o.fDetailed), + fUseAssembly(o.fUseAssembly), + fSectorOff(o.fSectorOff), + fModuleOff(o.fModuleOff), + fRingOff(o.fRingOff), + fDetectorOff(o.fDetectorOff), + fSi(o.fSi), + fC(o.fC), + fAl(o.fAl), + fPCB(o.fPCB), + fChip(o.fChip), + fAir(o.fAir), + fPlastic(o.fPlastic), + fCopper(o.fCopper) + {} /** Assignment operator */ AliFMDGeometryBuilder& operator=(const AliFMDGeometryBuilder&){return *this;} /** Make a ring volume diff --git a/FMD/AliFMDIndex.cxx b/FMD/AliFMDIndex.cxx index 1c91261e812..919b2b19042 100644 --- a/FMD/AliFMDIndex.cxx +++ b/FMD/AliFMDIndex.cxx @@ -49,7 +49,8 @@ AliFMDIndex::AliFMDIndex() fRing('\0'), fSector(0), fStrip(0), - fHash(-1) + fName(""), + fHash(-1) { // CTOR } @@ -60,6 +61,7 @@ AliFMDIndex::AliFMDIndex(const AliFMDIndex& o) fRing(o.fRing), fSector(o.fSector), fStrip(o.fStrip), + fName(""), fHash(o.fHash) { // Copy constructor @@ -74,6 +76,7 @@ AliFMDIndex::AliFMDIndex(UShort_t detector, fRing(ring), fSector(sector), fStrip(strip), + fName(""), fHash(-1) { // diff --git a/FMD/AliFMDInput.cxx b/FMD/AliFMDInput.cxx index 3189d46c543..a8facd7819a 100644 --- a/FMD/AliFMDInput.cxx +++ b/FMD/AliFMDInput.cxx @@ -79,6 +79,7 @@ AliFMDInput::AliFMDInput() fTreeD(0), fTreeS(0), fTreeR(0), + fTreeA(0), fChainE(0), fArrayE(0), fArrayH(0), @@ -86,6 +87,7 @@ AliFMDInput::AliFMDInput() fArrayS(0), fArrayR(0), fArrayA(0), + fGeoManager(0), fTreeMask(0), fIsInit(kFALSE) { @@ -113,6 +115,7 @@ AliFMDInput::AliFMDInput(const char* gAliceFile) fTreeD(0), fTreeS(0), fTreeR(0), + fTreeA(0), fChainE(0), fArrayE(0), fArrayH(0), @@ -120,6 +123,7 @@ AliFMDInput::AliFMDInput(const char* gAliceFile) fArrayS(0), fArrayR(0), fArrayA(0), + fGeoManager(0), fTreeMask(0), fIsInit(kFALSE) { diff --git a/FMD/AliFMDInput.h b/FMD/AliFMDInput.h index a3828c92392..2983b8a88ae 100644 --- a/FMD/AliFMDInput.h +++ b/FMD/AliFMDInput.h @@ -198,7 +198,34 @@ public: protected: /** Copy ctor @param o Object to copy from */ - AliFMDInput(const AliFMDInput& o) : TObject(o) {} + AliFMDInput(const AliFMDInput& o) + : TObject(o), + fGAliceFile(""), + fLoader(0), + fRun(0), + fStack(0), + fFMDLoader(0), + fReader(0), + fFMD(0), + fMainESD(0), + fESD(0), + fTreeE(0), + fTreeH(0), + fTreeD(0), + fTreeS(0), + fTreeR(0), + fTreeA(0), + fChainE(0), + fArrayE(0), + fArrayH(0), + fArrayD(0), + fArrayS(0), + fArrayR(0), + fArrayA(0), + fGeoManager(0), + fTreeMask(0), + fIsInit(kFALSE) + {} /** Assignement operator @return REference to this */ AliFMDInput& operator=(const AliFMDInput&) { return *this; } diff --git a/FMD/AliFMDParameters.cxx b/FMD/AliFMDParameters.cxx index 711931f2579..e637a159fb8 100644 --- a/FMD/AliFMDParameters.cxx +++ b/FMD/AliFMDParameters.cxx @@ -77,6 +77,17 @@ AliFMDParameters::Instance() AliFMDParameters::AliFMDParameters() : fIsInit(kFALSE), fkSiDeDxMip(1.664), + fVA1MipRange(0), + fAltroChannelSize(0), + fChannelsPerAltro(0), + fPedestalFactor(0), + fFixedPedestal(0), + fFixedPedestalWidth(0), + fFixedZeroSuppression(0), + fFixedSampleRate(0), + fFixedThreshold(0), + fFixedMinStrip(0), + fFixedMaxStrip(0), fFixedPulseGain(0), fEdepMip(0), fZeroSuppression(0), diff --git a/FMD/AliFMDParameters.h b/FMD/AliFMDParameters.h index 0de6b761044..26898a8f388 100644 --- a/FMD/AliFMDParameters.h +++ b/FMD/AliFMDParameters.h @@ -271,7 +271,30 @@ protected: AliFMDParameters(); /** CTOR */ AliFMDParameters(const AliFMDParameters& o) - : TNamed(o), fkSiDeDxMip(o.fkSiDeDxMip) {} + : TNamed(o), + fIsInit(o.fIsInit), + fkSiDeDxMip(o.fkSiDeDxMip), + fVA1MipRange(o.fVA1MipRange), + fAltroChannelSize(o.fAltroChannelSize), + fChannelsPerAltro(o.fChannelsPerAltro), + fPedestalFactor(o.fPedestalFactor), + fFixedPedestal(o.fFixedPedestal), + fFixedPedestalWidth(o.fFixedPedestalWidth), + fFixedZeroSuppression(o.fFixedZeroSuppression), + fFixedSampleRate(o.fFixedSampleRate), + fFixedThreshold(o.fFixedThreshold), + fFixedMinStrip(o.fFixedMinStrip), + fFixedMaxStrip(o.fFixedMaxStrip), + fFixedPulseGain(o.fFixedPulseGain), + fEdepMip(o.fEdepMip), + fZeroSuppression(o.fZeroSuppression), + fSampleRate(o.fSampleRate), + fPedestal(o.fPedestal), + fPulseGain(o.fPulseGain), + fDeadMap(o.fDeadMap), + fAltroMap(o.fAltroMap), + fStripRange(o.fStripRange) + {} /** Assignement operator @return Reference to this */ AliFMDParameters& operator=(const AliFMDParameters&) { return *this; } diff --git a/FMD/AliFMDRawReader.h b/FMD/AliFMDRawReader.h index f7b43333ff5..17166302d56 100644 --- a/FMD/AliFMDRawReader.h +++ b/FMD/AliFMDRawReader.h @@ -58,7 +58,12 @@ public: @return @c true on success */ virtual Bool_t ReadAdcs(TClonesArray* array); protected: - AliFMDRawReader(const AliFMDRawReader& o) : TTask(o) {} + AliFMDRawReader(const AliFMDRawReader& o) + : TTask(o), + fTree(0), + fReader(0), + fSampleRate(0) + {} AliFMDRawReader& operator=(const AliFMDRawReader&) { return *this; } TTree* fTree; //! Pointer to tree to read into AliRawReader* fReader; //! Pointer to raw reader diff --git a/FMD/AliFMDRawWriter.cxx b/FMD/AliFMDRawWriter.cxx index 8556493ed35..229e991ee7a 100644 --- a/FMD/AliFMDRawWriter.cxx +++ b/FMD/AliFMDRawWriter.cxx @@ -59,7 +59,10 @@ ClassImp(AliFMDRawWriter) //____________________________________________________________________ AliFMDRawWriter::AliFMDRawWriter(AliFMD* fmd) : TTask("FMDRawWriter", "Writer of Raw ADC values from the FMD"), - fFMD(fmd) + fFMD(fmd), + fSampleRate(0), + fChannelsPerAltro(0), + fThreshold(0) { // CTOR } diff --git a/FMD/AliFMDRawWriter.h b/FMD/AliFMDRawWriter.h index e0b4e34cf40..6deabb95cfa 100644 --- a/FMD/AliFMDRawWriter.h +++ b/FMD/AliFMDRawWriter.h @@ -57,7 +57,13 @@ public: ALTRO data. */ virtual void WriteDigits(TClonesArray* digits); protected: - AliFMDRawWriter(const AliFMDRawWriter& o) : TTask(o) {} + AliFMDRawWriter(const AliFMDRawWriter& o) + : TTask(o), + fFMD(0), + fSampleRate(0), + fChannelsPerAltro(0), + fThreshold(0) + {} AliFMDRawWriter& operator=(const AliFMDRawWriter&) { return *this; } AliFMD* fFMD; //! Pointer to detector description UShort_t fSampleRate; // The sample rate (0 -> inferred from data) diff --git a/FMD/AliFMDRecPoint.cxx b/FMD/AliFMDRecPoint.cxx index 989b5128e87..cae558bc6e5 100644 --- a/FMD/AliFMDRecPoint.cxx +++ b/FMD/AliFMDRecPoint.cxx @@ -44,7 +44,8 @@ AliFMDRecPoint::AliFMDRecPoint() fStrip(0), fEta(0), fPhi(0), - fEdep(0) + fEdep(0), + fParticles(0) { // CTOR } diff --git a/FMD/AliFMDRing.cxx b/FMD/AliFMDRing.cxx index 78db3450481..1ff2890d7c0 100644 --- a/FMD/AliFMDRing.cxx +++ b/FMD/AliFMDRing.cxx @@ -44,6 +44,24 @@ ClassImp(AliFMDRing) AliFMDRing::AliFMDRing(Char_t id) : TNamed(Form("FMD%c", id), "Forward multiplicity ring"), fId(id), + fBondingWidth(0), + fWaferRadius(0), + fSiThickness(0), + fLowR(0), + fHighR(0), + fMinR(0), + fMaxR(0), + fTheta(0), + fNStrips(0), + fRingDepth(0), + fLegRadius(0), + fLegLength(0), + fLegOffset(0), + fModuleSpacing(0), + fPrintboardThickness(0), + fCopperThickness(0), + fChipThickness(0), + fSpacing(0), fVerticies(0) { // CTOR diff --git a/FMD/AliFMDUShortMap.cxx b/FMD/AliFMDUShortMap.cxx index 9a4ff2306ff..16cb51c2bee 100644 --- a/FMD/AliFMDUShortMap.cxx +++ b/FMD/AliFMDUShortMap.cxx @@ -38,6 +38,7 @@ ClassImp(AliFMDUShortMap) AliFMDUShortMap::AliFMDUShortMap(const AliFMDUShortMap& other) : AliFMDMap(other.fMaxDetectors, other.fMaxRings, other.fMaxSectors, other.fMaxStrips), + fTotal(0), fData(0) { // CTOR @@ -54,6 +55,7 @@ AliFMDUShortMap::AliFMDUShortMap(size_t maxDet, size_t maxSec, size_t maxStr) : AliFMDMap(maxDet, maxRing, maxSec, maxStr), + fTotal(0), fData(0) { // Construct a map -- 2.39.3