]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
ctor and assop
authorsnelling <snelling@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 22 May 2008 16:29:22 +0000 (16:29 +0000)
committersnelling <snelling@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 22 May 2008 16:29:22 +0000 (16:29 +0000)
PWG2/FLOW/AliAnalysisTaskScalarProduct.h
PWG2/FLOW/AliFlowAnalysisWithScalarProduct.h

index 6e52b37a722a439c2568ab7d9de7cf20af211ed3..d9b110df1939c806141514a75c054d80029cec51 100644 (file)
@@ -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
index 3ce5a580f6c3f08066386918385767e0a8c1001d..a884ef7dfbe655454023ef6f2d3076130d05ca50 100644 (file)
@@ -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