From: snelling Date: Thu, 22 May 2008 16:29:22 +0000 (+0000) Subject: ctor and assop X-Git-Url: http://git.uio.no/git/?a=commitdiff_plain;h=b76ccfd52004b7ef41652897f07e4af50a3b1136;p=u%2Fmrichter%2FAliRoot.git ctor and assop --- diff --git a/PWG2/FLOW/AliAnalysisTaskScalarProduct.h b/PWG2/FLOW/AliAnalysisTaskScalarProduct.h index 6e52b37a722..d9b110df193 100644 --- a/PWG2/FLOW/AliAnalysisTaskScalarProduct.h +++ b/PWG2/FLOW/AliAnalysisTaskScalarProduct.h @@ -31,6 +31,10 @@ class AliAnalysisTaskScalarProduct : public AliAnalysisTask { TString GetAnalysisType() const { return this->fAnalysisType; } private: + + AliAnalysisTaskScalarProduct(const AliAnalysisTaskScalarProduct& aAnalysisTask); + AliAnalysisTaskScalarProduct& operator=(const AliAnalysisTaskScalarProduct& aAnalysisTask); + AliESDEvent *fESD; // ESD object AliAODEvent *fAOD; // AOD object AliFlowAnalysisWithScalarProduct* fSP; // analysis object diff --git a/PWG2/FLOW/AliFlowAnalysisWithScalarProduct.h b/PWG2/FLOW/AliFlowAnalysisWithScalarProduct.h index 3ce5a580f6c..a884ef7dfbe 100644 --- a/PWG2/FLOW/AliFlowAnalysisWithScalarProduct.h +++ b/PWG2/FLOW/AliFlowAnalysisWithScalarProduct.h @@ -38,19 +38,19 @@ class AliFlowAnalysisWithScalarProduct { void Make(AliFlowEventSimple* anEvent); //calculates variables and fills histograms void Finish(); //saves histograms - void SetDebug(Bool_t kt) { this->fDebug = kt ; } - Bool_t GetDebug() const { return this->fDebug ; } + void SetDebug(Bool_t kt) { this->fDebug = kt ; } + Bool_t GetDebug() const { return this->fDebug ; } // Output - void SetHistFileName(TString name) { this->fHistFileName = name ; } // Sets output file name - TString GetHistFileName() const { return this->fHistFileName ; } // Gets output file name - TFile* GetHistFile() const { return this->fHistFile ; } // Gets output file + void SetHistFileName(TString name) { this->fHistFileName = name ; } // Sets output file name + TString GetHistFileName() const { return this->fHistFileName ; } // Gets output file name + TFile* GetHistFile() const { return this->fHistFile ; } // Gets output file private: - //cp const - //ass op + AliFlowAnalysisWithScalarProduct(const AliFlowAnalysisWithScalarProduct& aAnalysis); + AliFlowAnalysisWithScalarProduct& operator=(const AliFlowAnalysisWithScalarProduct& aAnalysis); AliFlowVector fQ; // flow vector TVector2 fU; // particle unit vector