]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - EMCAL/AliEMCALJetFinder.cxx
Avoid compiler warnings.
[u/mrichter/AliRoot.git] / EMCAL / AliEMCALJetFinder.cxx
index d438bc7d5777024fb2394b995e1173d2ddb5618f..ef0f42463fe03304542fec61b21a2807aeb74a40 100644 (file)
@@ -540,7 +540,7 @@ void AliEMCALJetFinder::WriteJets()
       file = (pK->GetCurrentFile())->GetName();
       TBranch * jetBranch ;  
        if (fDebug > 1)
-           printf("Make Branch - TreeR address %p %p\n",gAlice->TreeR(), pEMCAL);
+           printf("Make Branch - TreeR address %p %p\n",(void*)gAlice->TreeR(), (void*)pEMCAL);
        //if (fJets && gAlice->TreeR()) {
        if (fJets && gime->TreeR()) {
          // pEMCAL->MakeBranchInTree(gAlice->TreeR(), 
@@ -1408,7 +1408,7 @@ Int_t AliEMCALJetFinder
 
 
 
-void AliEMCALJetFinder::SaveBackgroundEvent(Char_t *name)
+void AliEMCALJetFinder::SaveBackgroundEvent(const char *name)
 {
 // Saves the eta-phi lego and the tracklist and name of file with BG events
 //
@@ -1632,19 +1632,19 @@ void hf1(Int_t& , Float_t& , Float_t& )
     ;
 }
 
-void AliEMCALJetFinder::DrawLego(Char_t *opt) 
+void AliEMCALJetFinder::DrawLego(const char *opt) 
 {
 // Draw lego
        if(fLego) fLego->Draw(opt);
 }
 
-void  AliEMCALJetFinder::DrawLegoBackground(Char_t *opt) 
+void  AliEMCALJetFinder::DrawLegoBackground(const char *opt) 
 {
 // Draw background lego
        if(fLegoB) fLegoB->Draw(opt);
 }
 
-void AliEMCALJetFinder::DrawLegoEMCAL(Char_t *opt) 
+void AliEMCALJetFinder::DrawLegoEMCAL(const char *opt) 
 {
 // Draw EMCAL Lego
        if(fhLegoEMCAL) fhLegoEMCAL->Draw(opt);
@@ -1763,7 +1763,7 @@ void AliEMCALJetFinder::DrawLegos()
   int1, int2, int3, int4, int1 - (int2 + int3 - int4));
 }
 
-const Char_t* AliEMCALJetFinder::GetFileNameForParameters(Char_t* dir)
+const Char_t* AliEMCALJetFinder::GetFileNameForParameters(const char* dir)
 {
 // Get paramters from a file   
   static TString tmp;