Fixing more warnings
authorakisiel <akisiel@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 17 Mar 2009 15:30:14 +0000 (15:30 +0000)
committerakisiel <akisiel@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 17 Mar 2009 15:30:14 +0000 (15:30 +0000)
PWG2/FEMTOSCOPY/AliFemto/AliAnalysisTaskFemto.cxx
PWG2/FEMTOSCOPY/AliFemtoUser/AliFemtoCutMonitorParticlePtPDG.cxx
PWG2/FEMTOSCOPY/AliFemtoUser/AliFemtoYlm.cxx

index 3a3913b..cb6e522 100644 (file)
@@ -47,7 +47,16 @@ extern AliFemtoManager *ConfigFemtoAnalysis();
   DefineOutput(0, TList::Class());\r
 }\r
 \r
-AliAnalysisTaskFemto::AliAnalysisTaskFemto(const AliAnalysisTaskFemto& aFemtoTask){\r
+AliAnalysisTaskFemto::AliAnalysisTaskFemto(const AliAnalysisTaskFemto& aFemtoTask):\r
+    AliAnalysisTask(aFemtoTask), \r
+    fESD(0), \r
+    fAOD(0),\r
+    fStack(0),\r
+    fOutputList(0), \r
+    fReader(0x0),\r
+    fManager(0x0),\r
+    fAnalysisType(0)\r
+{\r
   // copy constructor\r
   fESD = aFemtoTask.fESD; \r
   fAOD = aFemtoTask.fAOD; \r
index da4045c..edd93a1 100644 (file)
@@ -204,7 +204,7 @@ AliFemtoString AliFemtoCutMonitorParticlePtPDG::Report(){
 void AliFemtoCutMonitorParticlePtPDG::Fill(const AliFemtoTrack* aTrack)
 {
   // Fill in the monitor histograms with the values from the current track
-  float tEnergy = ::sqrt(aTrack->P().mag2()+fMass*fMass);
+  //  float tEnergy = ::sqrt(aTrack->P().mag2()+fMass*fMass);
   //  float tRapidity = 0.5*::log((tEnergy+aTrack->P().z())/(tEnergy-aTrack->P().z()));
   float tPt = ::sqrt((aTrack->P().x())*(aTrack->P().x())+(aTrack->P().y())*(aTrack->P().y()));
   //  float tEta = -TMath::Log(TMath::Tan(aTrack->P().theta()/2.0));
index 3bb817f..a4cd836 100644 (file)
@@ -23,6 +23,7 @@ AliFemtoYlm::~AliFemtoYlm() {}
 
 
 AliFemtoYlm::AliFemtoYlm(const AliFemtoYlm& aYlm){
+  fgPrefshift = aYlm.fgPrefshift;
   InitializeYlms();
 }