Warnings fixed
authordainese <dainese@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 29 Jun 2009 13:40:35 +0000 (13:40 +0000)
committerdainese <dainese@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 29 Jun 2009 13:40:35 +0000 (13:40 +0000)
PWG3/hfe/AliHFEmcQA.cxx
PWG3/hfe/AliHFEmcQA.h

index e359c93a25429711b6c21ed1dc9d4ec8743cd73d..95a360ee8b0f02092138f76453bf1446288342cb 100644 (file)
@@ -95,7 +95,7 @@ AliHFEmcQA::~AliHFEmcQA()
 }
 
 //_______________________________________________________________________________________________
-const void AliHFEmcQA::PostAnalyze()
+void AliHFEmcQA::PostAnalyze()
 {
 }
 
@@ -536,7 +536,7 @@ void AliHFEmcQA::GetDecayedKine(Int_t iTrack, const Int_t kquark, Int_t kdecayed
                   fHistComm[iq][icut].fDeDistance->Fill(grandMa->Pt(),dedistance.P());
                   return;
                 }
-             }
+             } 
 
              partMother = grandMa;
           } // end of iteration 
@@ -666,7 +666,7 @@ void AliHFEmcQA::ReportStrangeness(Int_t &motherID, Int_t &mothertype, Int_t &mo
 }
 
 //__________________________________________
-const Float_t AliHFEmcQA::GetRapidity(TParticle *part)
+Float_t AliHFEmcQA::GetRapidity(TParticle *part)
 {
       // return rapidity
 
@@ -675,3 +675,4 @@ const Float_t AliHFEmcQA::GetRapidity(TParticle *part)
        else rapidity = 0.5*(TMath::Log((part->Energy()+part->Pz()) / (part->Energy()-part->Pz()))); 
        return rapidity;
 }
+
index de8a24379114f10c3eb42e903ee04b69b4edcf87..9c2191d4de949809fce7b9bd244cd22fe9694877 100644 (file)
@@ -50,7 +50,7 @@ class AliHFEmcQA: public TObject {
 
                 virtual ~AliHFEmcQA();
 
-                const void PostAnalyze();
+                void PostAnalyze();
                 void CreateHistograms(const Int_t kquark, Int_t icut, TString hnopt=""); // create histograms for mc qa analysis
                 void SetStack(AliStack* const stack){fStack=stack;} // set stack pointer
                 void Init();
@@ -66,7 +66,7 @@ class AliHFEmcQA: public TObject {
                 void ReportStrangeness(Int_t &motherID, Int_t &mothertype, Int_t &motherlabel); // report if the quark production process is unknown
                 Bool_t IsFromInitialShower(Int_t inputmotherlabel, Int_t &motherID, Int_t &mothertype, Int_t &motherlabel); // check if the quark is produced from initial parton shower 
                 Bool_t IsFromFinalParton(Int_t inputmotherlabel, Int_t &motherID, Int_t &mothertype, Int_t &motherlabel); // check if the quark is produced from final parton shower
-                const Float_t GetRapidity(TParticle *part); // return rapidity
+                Float_t GetRapidity(TParticle *part); // return rapidity
 
                 AliStack* fStack; // stack pointer           
 
@@ -105,7 +105,8 @@ class AliHFEmcQA: public TObject {
                 Int_t fParentSelect[2][7]; // heavy hadron species
 
 
-        ClassDef(AliHFEmcQA,0);
+        ClassDef(AliHFEmcQA,0);  // QA for MC electrons
 };
 
 #endif
+