/[PAMELA software]/gp2root/pPheaMgr.cpp
ViewVC logotype

Diff of /gp2root/pPheaMgr.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by pamela, Wed Apr 19 23:35:57 2006 UTC revision 1.2 by cafagna, Sun Oct 22 08:27:01 2006 UTC
# Line 22  pPheaMgr * pPheaMgr::Get(){ Line 22  pPheaMgr * pPheaMgr::Get(){
22    return _pheamgr;    return _pheamgr;
23  }  }
24    
25  pHea* pPheaMgr::GetpHea(const string &s, const char *c)  pHeader* pPheaMgr::GetpHea(const string &s, const char *c)
26  {  {
27    string temp=HEADER_NAMES;    string temp=HEADER_NAMES;
28    string::size_type spos=temp.find(ToLower(s));    string::size_type spos=temp.find(ToLower(s));
# Line 33  pHea* pPheaMgr::GetpHea(const string &s, Line 33  pHea* pPheaMgr::GetpHea(const string &s,
33    case string::npos:    case string::npos:
34      cout << " pPheaMgr : Header = " << s << " not found ";      cout << " pPheaMgr : Header = " << s << " not found ";
35      return 0;      return 0;
36      default:
37        cout << " pPheaMgr : Header = " << s << " not found ";
38        return 0;
39    }    }
40  }  }
41    
42    

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.23