Skip to content
Snippets Groups Projects
Commit 3bdeaa91 authored by Rene Brun's avatar Rene Brun
Browse files

Forgot to update TChain::Draw with const char* instead of TCut like in TTree::Draw.

The Sun compiler was complaining.


git-svn-id: http://root.cern.ch/svn/root/trunk@467 27541ba8-7e3a-0410-8455-c3a389f83636
parent b7184cdb
No related branches found
No related tags found
No related merge requests found
// @(#)root/tree:$Name: $:$Id: TChain.h,v 1.6 2000/07/12 17:13:01 brun Exp $
// @(#)root/tree:$Name: $:$Id: TChain.h,v 1.7 2000/07/17 10:26:41 brun Exp $
// Author: Rene Brun 03/02/97
/*************************************************************************
......@@ -50,7 +50,7 @@ public:
virtual void Browse(TBrowser *b);
virtual void CreatePackets();
virtual void Draw(Option_t *opt);
virtual Int_t Draw(TCut varexp, TCut selection, Option_t *option=""
virtual Int_t Draw(const char *varexp, TCut selection, Option_t *option=""
,Int_t nentries=1000000000, Int_t firstentry=0);
virtual Int_t Draw(const char *varexp, const char *selection, Option_t *option=""
,Int_t nentries=1000000000, Int_t firstentry=0); // *MENU*
......
// @(#)root/tree:$Name: $:$Id: TChain.cxx,v 1.7 2000/07/12 17:13:01 brun Exp $
// @(#)root/tree:$Name: $:$Id: TChain.cxx,v 1.8 2000/07/17 10:26:41 brun Exp $
// Author: Rene Brun 03/02/97
/*************************************************************************
......@@ -230,7 +230,7 @@ void TChain::CreatePackets()
}
//______________________________________________________________________________
Int_t TChain::Draw(TCut varexp, TCut selection, Option_t *option, Int_t nentries, Int_t firstentry)
Int_t TChain::Draw(const char *varexp, TCut selection, Option_t *option, Int_t nentries, Int_t firstentry)
{
// Draw expression varexp for selected entries.
//
......@@ -239,7 +239,7 @@ Int_t TChain::Draw(TCut varexp, TCut selection, Option_t *option, Int_t nentries
// ntuple.Draw("x",cut1+cut2+cut3);
//
return TChain::Draw(varexp.GetTitle(), selection.GetTitle(), option, nentries, firstentry);
return TChain::Draw(varexp, selection.GetTitle(), option, nentries, firstentry);
}
//______________________________________________________________________________
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment