Removal of warnings
authorfca <fca@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 17 Mar 2008 07:55:16 +0000 (07:55 +0000)
committerfca <fca@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 17 Mar 2008 07:55:16 +0000 (07:55 +0000)
PWG2/FEMTOSCOPY/AliFemtoUser/AliFemtoCutMonitorParticleMomRes.h
PWG2/RESONANCES/AliRsnSelectorRL.cxx
PWG2/RESONANCES/AliRsnSelectorRL.h
PWG2/SPECTRA/AliProtonAnalysis.cxx
PWG2/SPECTRA/AliProtonAnalysis.h
PWG3/AliAODDimuon.cxx
PWG3/AliAnalysisTaskMuonAODfromGeneral.cxx
PWG3/AliAnalysisTaskMuonAODfromGeneral.h
PWG3/AliAnalysisTaskSingleMu.h
PWG4/AliAnaScale.h
PWG4/AliAnalysisTaskGamma.h

index 9ad89f9c4bbfa9809d0fe151cd6d47d3ac7979e9..66b146802096846e51fc89519cd26a05495dc923 100644 (file)
@@ -31,7 +31,14 @@ public:
   AliFemtoCutMonitorParticleMomRes& operator=(const AliFemtoCutMonitorParticleMomRes& aCut);
 
   virtual AliFemtoString Report();
+   virtual void Fill(const AliFemtoEvent* aEvent) {AliFemtoCutMonitor::Fill(aEvent);}
   virtual void Fill(const AliFemtoTrack* aTrack);
+  virtual void Fill(const AliFemtoV0* aV0) {AliFemtoCutMonitor::Fill(aV0);}
+  virtual void Fill(const AliFemtoKink* aKink) {AliFemtoCutMonitor::Fill(aKink);}
+  virtual void Fill(const AliFemtoPair* aPair) {AliFemtoCutMonitor::Fill(aPair);}
+  virtual void Fill(const AliFemtoParticleCollection* aCollection) {AliFemtoCutMonitor::Fill(aCollection);}
+  virtual void Fill(const AliFemtoEvent* aEvent,const AliFemtoParticleCollection* aCollection)
+  {AliFemtoCutMonitor::Fill(aEvent, aCollection);}
   void Write();
 
   virtual TList *GetOutputList();
index 582d6a04a9d96af97035d6da8e23ada0ca53e623..b8d4de468d2eb4e97848fb1c8638ab3f0d6f1f11 100644 (file)
@@ -243,7 +243,7 @@ AliPID::EParticleType AliRsnSelectorRL::FindType(Int_t pdg)
 //--------------------------------------------------------
 
 //--------------------------------------------------------------------------------------------------------
-void AliRsnSelectorRL::Begin(TTree *) const
+void AliRsnSelectorRL::Begin(TTree *)
 {
 //
 // Implementation of BEGIN method
index 56d89735862da19bf21b5bbbf3ae4c100e9e3f9f..873cba2c23ec83624147f0ecc17779b2706e24c7 100644 (file)
@@ -46,7 +46,7 @@ public:
        
        // TSelector-inherited member functions
        virtual Int_t   Version() const {return 1;}
-       virtual void    Begin(TTree *tree) const;
+       virtual void    Begin(TTree *tree);
        virtual void    SlaveBegin(TTree *tree);
        virtual void    Init(TTree *tree);
        virtual Bool_t  Process(Long64_t entry);
index 544c56d6a61f549f4d28a81c2dc4595da9328ac7..e6c86421750c43d0510dc39993f3c1f44b1d68b5 100644 (file)
@@ -260,7 +260,7 @@ TH1D *AliProtonAnalysis::GetPtAsymmetryHistogram() {
 
 //____________________________________________________________________//
 Double_t AliProtonAnalysis::GetParticleFraction(Int_t i, Double_t p) {
-  Double_t partFrac;
+  Double_t partFrac=0;
   if(fFunctionProbabilityFlag) {
     if(i == 0) partFrac = fElectronFunction->Eval(p);
     if(i == 1) partFrac = fMuonFunction->Eval(p);
index f910e20027ce428ef20d40182db4a4cf6411183c..b83a3e7fab13f13f33502af9656171f2f3bd5789 100644 (file)
@@ -90,6 +90,9 @@ class AliProtonAnalysis : public TObject {
   Double_t GetParticleFraction(Int_t i, Double_t p);
 
  private:
+  AliProtonAnalysis(const AliProtonAnalysis&); // Not implemented
+  AliProtonAnalysis& operator=(const AliProtonAnalysis&); // Not implemented
+
   Bool_t IsAccepted(AliESDtrack *track);
   Float_t GetSigmaToVertex(AliESDtrack* esdTrack); 
   Double_t Rapidity(AliESDtrack *track);
index 3b06c557c3264700cdc08c01f845383c9b801004..841d55251c2a10e027dbcc93cc2fd84d7bea8882 100644 (file)
@@ -22,7 +22,7 @@
 ClassImp(AliAODDimuon)
 
 //______________________________________________________________________________
-AliAODDimuon::AliAODDimuon():fEi(0),fP(0),fMProton(0.93827231)
+AliAODDimuon::AliAODDimuon():AliVParticle(),fEi(0),fP(0),fMProton(0.93827231)
 {
   // default constructor
   fMu[0]=0;
@@ -30,21 +30,22 @@ AliAODDimuon::AliAODDimuon():fEi(0),fP(0),fMProton(0.93827231)
 }
 
 //______________________________________________________________________________
-AliAODDimuon::AliAODDimuon(const AliAODDimuon& dimu):fP(0),fMProton(0.93827231)
+AliAODDimuon::AliAODDimuon(const AliAODDimuon& dimu):
+  AliVParticle(dimu),
+  fEi(dimu.fEi),fP(0),fMProton(0.93827231)
 {
   // copy constructor
   fMu[0]=dimu.Mu(0);
   fMu[1]=dimu.Mu(1);
-  fEi=dimu.Ei();
 }
 
 //______________________________________________________________________________
 AliAODDimuon &AliAODDimuon::operator=(const AliAODDimuon& dimu)
 {
   // assignment operator
-  fP=0;
-  fMProton=0.93827231;
   if(&dimu != this){
+    fP=0;
+    fMProton=0.93827231;
     fMu[0]=dimu.Mu(0);
     fMu[1]=dimu.Mu(1);
     fEi=dimu.Ei();
index c016fc30e1701dc19dbd5bbf9f17113947eb70d5..95d8c407030dcf30fb7f06e75afe05c7899fd4b6 100644 (file)
@@ -28,7 +28,8 @@ AliAnalysisTaskMuonAODfromGeneral::AliAnalysisTaskMuonAODfromGeneral(const char
        AliAnalysisTask(name, "AnalysisTaskMuonAODfromGeneral"),
        fInfos(0),
        fDimuons(0),
-       fOrgAOD(0), 
+        fChain(0),
+        fOrgAOD(0), 
        fNewAOD(0), 
        ft(0),
        fBeamEnergy(0)
index 070a8685b83ff25f45d24e440424533c7c89f866..f04b2127dfef26ed20d9285783b9fbd93f55bfa9 100644 (file)
@@ -30,6 +30,9 @@ class AliAnalysisTaskMuonAODfromGeneral : public AliAnalysisTask {
   Double_t GetBeamEnergy(){return fBeamEnergy;}
   
  private:
+  AliAnalysisTaskMuonAODfromGeneral(const AliAnalysisTaskMuonAODfromGeneral&); // Not implemented
+  AliAnalysisTaskMuonAODfromGeneral& operator=(const AliAnalysisTaskMuonAODfromGeneral&); // Not implemented
+
   AliAODEventInfo      *fInfos;
 /*  TClonesArray       *fInfos;*/
   TClonesArray         *fDimuons;
index 7a7a11dfecaa5fbf76c5a9e1456ec7df1aceddd2..d1c66dfc00c5e9acae6c09a4403b200e1bd13a2f 100644 (file)
@@ -24,6 +24,9 @@ protected:
   void ResetHistos();
 
 private:
+  AliAnalysisTaskSingleMu(const AliAnalysisTaskSingleMu&);
+  AliAnalysisTaskSingleMu& operator=(const AliAnalysisTaskSingleMu&);
+
   AliAODEvent *fAOD; //!< ESDevent object
 
   static const Int_t fgkNhistos = 1;
index b09e1a73a6611e1f29e19cfd46ccbe000b358447..7ca018bb6a613b5bae0851a3cedb656fc642e9e4 100644 (file)
@@ -30,6 +30,10 @@ public:
   virtual void Terminate(Option_t * opt = "") ;
 
 private:
+  AliAnaScale(const AliAnaScale&); // Not implemented
+  AliAnaScale& operator=(const AliAnaScale&); // Not implemented
+
+
   // input and output
   Int_t          fDebug ;         // Debug flag
   // task parameters
index fb2bde492882a98a803223f6ffa47f9a585d85de..7b2fbdbc16ed8376ca76bea5bf5a58ab3c1e0473 100644 (file)
@@ -30,6 +30,8 @@ class AliAnalysisTaskGamma : public AliAnalysisTask
     TString GetConfigFileName() const {return fConfigName ; }
 
  private:
+    AliAnalysisTaskGamma(const AliAnalysisTaskGamma&); // Not implemented
+    AliAnalysisTaskGamma& operator=(const AliAnalysisTaskGamma&); // Not implemented
 
     AliAnaGamma* fAna; //  Pointer to the jet finder 
     TChain*       fChain;     //! chained files