45 TPDGDB::Draw(
char* com,
char* sel,
char* opt,
int n,
int s){
46 if(_tree!=NULL)_tree->
Draw(com,sel,opt,n,s);
51 ifstream infile(filename.Data());
53 TString outname=filename+
".root";
54 TFile* outfile=TFile::Open(outname,
"RECREATE");
55 _tree=
new TTree(
"pdg",
"pdg");
58 _tree->Branch(
"TPDGEntry",&entry);
66 if(infile.peek()==
'*'){
67 cout <<
"Stripping comment" << endl;
69 infile.getline(line,500);
82 infile.getline(line,500);
83 if(num>0 && counter++>=num)
break;