effc++ warnings
authorfca <fca@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 4 Mar 2008 12:56:43 +0000 (12:56 +0000)
committerfca <fca@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 4 Mar 2008 12:56:43 +0000 (12:56 +0000)
ANALYSIS/AliAnalysis.cxx
ANALYSIS/AliAnalysis.h

index 7ad46df..1536651 100644 (file)
@@ -46,6 +46,20 @@ AliAnalysis::AliAnalysis(const char* name,const char* title):
  //ctor
 }
 /*********************************************************/
+AliAnalysis::AliAnalysis(const AliAnalysis& ana):
+ TTask(ana),
+ fEventCut(ana.fEventCut),
+ fCutOnSim(ana.fCutOnSim),
+ fCutOnRec(ana.fCutOnRec),
+ fPairCut(ana.fPairCut),
+ fkPass(ana.fkPass),
+ fkPass1(ana.fkPass1),
+ fkPass2(ana.fkPass2),
+ fkPassPairProp(ana.fkPassPairProp)
+{
+ //ctor
+}
+/*********************************************************/
 
 AliAnalysis::~AliAnalysis()
 {
index 79fe759..0d3a10d 100644 (file)
@@ -73,7 +73,11 @@ class AliAnalysis: public TTask
     Bool_t PassTrack2(AliVAODParticle* /*part*/, AliVAODParticle* track) const {return fPairCut->GetSecondPartCut()->Rejected(track);}
     Bool_t PassPairPropTrack (AliAODPair* /*partpair*/, AliAODPair* trackpair) const {return fPairCut->PassPairProp((AliAODPair*)trackpair);}
 
+    AliAnalysis(const AliAnalysis&); 
+
   private:
+    AliAnalysis& operator=(const AliAnalysis&); // Not implemented
+
     ClassDef(AliAnalysis,1)
 };