From 2bdd97ae21008bb4b91c12a4aa1dcf6456be6def Mon Sep 17 00:00:00 2001 From: dlohner Date: Mon, 13 Aug 2012 13:13:49 +0000 Subject: [PATCH] remove warnings --- PWGGA/GammaConv/AliAnalysisTaskPi0v2.cxx | 35 +++++++++++++++++ PWGGA/GammaConv/AliAnalysisTaskPi0v2.h | 1 - PWGGA/GammaConv/AliConversionAODBGHandlerRP.h | 3 ++ PWGGA/GammaConv/AliConversionCuts.h | 3 -- PWGGA/GammaConv/AliV0ReaderV1.cxx | 39 +++++++++++++++++++ PWGGA/GammaConv/AliV0ReaderV1.h | 5 +++ 6 files changed, 82 insertions(+), 4 deletions(-) diff --git a/PWGGA/GammaConv/AliAnalysisTaskPi0v2.cxx b/PWGGA/GammaConv/AliAnalysisTaskPi0v2.cxx index 38a633e4246..7848988b860 100644 --- a/PWGGA/GammaConv/AliAnalysisTaskPi0v2.cxx +++ b/PWGGA/GammaConv/AliAnalysisTaskPi0v2.cxx @@ -53,9 +53,44 @@ ClassImp(AliAnalysisTaskPi0v2) fRunIndex(0), fNEPMethods(knEPMethod), fFillQA(kTRUE), + + hNEvents(NULL), + hRPTPC(NULL), + hRPV0A(NULL), + hRPV0C(NULL), + hRPTPCAC(NULL), + hRPV0ATPC(NULL), + hRPV0CTPC(NULL), + hRPV0AC(NULL), + hCos2TPC(NULL), + hCos2V0ATPC(NULL), + hCos2V0CTPC(NULL), + hCos2V0AC(NULL), + hRPTPCEtaA(NULL), + hRPTPCEtaC(NULL), + hRPTPCEtaAC(NULL), + hCos2TPCEta(NULL), + hGammaMultCent(NULL), + hGammaPhi(NULL), + hMultChargedvsNGamma(NULL), + hMultChargedvsVZERO(NULL), + hMultChargedvsSPD(NULL), + hGammadNdPhi(NULL), + hGammaMultdPhiTRUE(NULL), + hGammaMultdPhiRECOTRUE(NULL), + hGammaMultTRUE(NULL), + hGammaMultRECOTRUE(NULL), + hGammaMultdPhi(NULL), + hGammaMult(NULL), + hGamma(NULL), + hCharged(NULL), + hPi0(NULL), + hPi0BG(NULL), + fMultV0(0x0), fV0Cpol(0.), fV0Apol(0.) + { fInvMassRange=new Double_t[2]; fInvMassRange[0]=0.05; diff --git a/PWGGA/GammaConv/AliAnalysisTaskPi0v2.h b/PWGGA/GammaConv/AliAnalysisTaskPi0v2.h index a5089d16340..beae1cf03f8 100644 --- a/PWGGA/GammaConv/AliAnalysisTaskPi0v2.h +++ b/PWGGA/GammaConv/AliAnalysisTaskPi0v2.h @@ -128,7 +128,6 @@ private: TRandom3 *fRandomizer; // Randomizer for Event Plane Randomisation TList *fOutputList; // List for Output (Histograms etc.) EPDGCode fMesonPDGCode; // PDG Code of the processed Meson (for MC truth) - Int_t fPhotonMultiplicity; // Photon Multiplicity of the analyzed Event Double_t *fInvMassRange; // Inv Mass Range Double_t fDeltaPsiRP; // Difference between subEventPlane angles Int_t fRunNumber; // current run number diff --git a/PWGGA/GammaConv/AliConversionAODBGHandlerRP.h b/PWGGA/GammaConv/AliConversionAODBGHandlerRP.h index 144eb9894af..920fef3e91d 100644 --- a/PWGGA/GammaConv/AliConversionAODBGHandlerRP.h +++ b/PWGGA/GammaConv/AliConversionAODBGHandlerRP.h @@ -46,6 +46,9 @@ private: Double_t *fBinLimitsArrayMultiplicity;//! bin limit multiplicity array AliGammaConversionBGVector fBGPool; //background events + AliConversionAODBGHandlerRP(AliConversionAODBGHandlerRP &original); + AliConversionAODBGHandlerRP &operator=(const AliConversionAODBGHandlerRP &ref); + ClassDef(AliConversionAODBGHandlerRP,0); }; diff --git a/PWGGA/GammaConv/AliConversionCuts.h b/PWGGA/GammaConv/AliConversionCuts.h index 364b7ee16e5..55a8196eb12 100644 --- a/PWGGA/GammaConv/AliConversionCuts.h +++ b/PWGGA/GammaConv/AliConversionCuts.h @@ -312,9 +312,6 @@ class AliConversionCuts : public AliAnalysisCuts { UInt_t fOfflineTriggerMask; // Task processes collision candidates only TRandom3 fRandom; // Int_t *fElectronLabelArray; // Array with elec/pos v0 label - Float_t fConversionPointXArray; // Array with conversion Point x - Float_t fConversionPointYArray; // Array with conversion Point y - Float_t fConversionPointZArray; // Array with conversion Point z // Histograms TObjString *fCutString; // cut number used for analysis diff --git a/PWGGA/GammaConv/AliV0ReaderV1.cxx b/PWGGA/GammaConv/AliV0ReaderV1.cxx index 456ced0bb30..dde2d453da8 100644 --- a/PWGGA/GammaConv/AliV0ReaderV1.cxx +++ b/PWGGA/GammaConv/AliV0ReaderV1.cxx @@ -76,6 +76,45 @@ AliV0ReaderV1::~AliV0ReaderV1() fConversionGammas=0x0; } } +/* +//________________________________________________________________________ +AliV0ReaderV1::AliV0ReaderV1(AliV0ReaderV1 &original) : AliAnalysisTaskSE(original), + fConversionCuts(NULL), + fConversionGammas(NULL), + fUseImprovedVertex(original.fUseImprovedVertex), + fUseOwnXYZCalculation(original.fUseOwnXYZCalculation), + fUseConstructGamma(original.fUseConstructGamma), + kUseAODConversionPhoton(original.kUseAODConversionPhoton), + fCreateAOD(original.fCreateAOD), + fDeltaAODBranchName(original.fDeltaAODBranchName), + fDeltaAODFilename(original.fDeltaAODFilename), + fEventIsSelected(original.fEventIsSelected) +{ + // Default constructor + + DefineInput(0, TChain::Class()); +} + +//____________________________________________________________ +AliV0ReaderV1 &AliV0ReaderV1::operator=(const AliV0ReaderV1 &ref){ + // + // Assignment operator + // Only copies pointers, object is not the owner of the references + // + if(this != &ref){ + AliAnalysisTaskSE::operator=(ref); + fUseImprovedVertex=ref.fUseImprovedVertex; + fUseOwnXYZCalculation=ref.fUseOwnXYZCalculation; + fUseConstructGamma=ref.fUseConstructGamma; + kUseAODConversionPhoton=ref.kUseAODConversionPhoton; + fCreateAOD=ref.fCreateAOD; + fDeltaAODBranchName=ref.fDeltaAODBranchName; + fDeltaAODFilename=ref.fDeltaAODFilename; + fEventIsSelected=ref.fEventIsSelected; + } + return *this; +} +*/ //________________________________________________________________________ void AliV0ReaderV1::Init() { diff --git a/PWGGA/GammaConv/AliV0ReaderV1.h b/PWGGA/GammaConv/AliV0ReaderV1.h index c110cffd666..b916fc2ee4f 100644 --- a/PWGGA/GammaConv/AliV0ReaderV1.h +++ b/PWGGA/GammaConv/AliV0ReaderV1.h @@ -28,6 +28,7 @@ class AliV0ReaderV1 : public AliAnalysisTaskSE { virtual ~AliV0ReaderV1(); //virtual destructor void UserCreateOutputObjects(); + virtual void UserExec(Option_t *option); virtual void Terminate(Option_t *); virtual void Init(); @@ -84,6 +85,10 @@ protected: TString fDeltaAODFilename; // set filename for delta/satellite aod Bool_t fEventIsSelected; +private: + AliV0ReaderV1(AliV0ReaderV1 &original); + AliV0ReaderV1 &operator=(const AliV0ReaderV1 &ref); + ClassDef(AliV0ReaderV1,1) }; -- 2.43.0