Changeset 8707
- Timestamp:
- 08/24/07 15:37:58 (17 years ago)
- Location:
- trunk/MagicSoft/Mars/datacenter/macros
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/datacenter/macros/plotdb.C
r8478 r8707 1 1 /* ======================================================================== *\ 2 ! $Name: not supported by cvs2svn $:$Id: plotdb.C,v 1.3 4 2007-05-09 12:15:51tbretz Exp $2 ! $Name: not supported by cvs2svn $:$Id: plotdb.C,v 1.35 2007-08-24 14:37:58 tbretz Exp $ 3 3 ! -------------------------------------------------------------------------- 4 4 ! … … 131 131 gStyle->SetOptStat(111111); 132 132 133 TSQLRow *row;134 135 133 // Create TGraph objects 136 134 TGraph > = res.GetFieldCount()>4 ? *new TGraphErrors : *new TGraph; … … 158 156 159 157 // Loop over the data 158 TSQLRow *row = 0; 160 159 while ((row=res.Next())) 161 160 { … … 166 165 const char *snum = res.GetFieldCount()>3 ? (*row)[3] : 0; 167 166 const char *verr = res.GetFieldCount()>4 ? (*row)[5] : 0; 167 168 delete row; 169 168 170 if (!date || !val || !zd) 169 171 continue; -
trunk/MagicSoft/Mars/datacenter/macros/plotoptical.C
r8216 r8707 1 1 /* ======================================================================== *\ 2 ! $Name: not supported by cvs2svn $:$Id: plotoptical.C,v 1. 6 2006-11-17 11:45:29 dornerExp $2 ! $Name: not supported by cvs2svn $:$Id: plotoptical.C,v 1.7 2007-08-24 14:37:58 tbretz Exp $ 3 3 ! -------------------------------------------------------------------------- 4 4 ! … … 150 150 gStyle->SetOptStat(111111); 151 151 152 TSQLRow *row;153 154 152 // Create TGraph objects 155 153 TGraph > = res.GetFieldCount()>4 ? *new TGraphErrors : *new TGraph; … … 177 175 178 176 // Loop over the data 177 TSQLRow *row=0; 179 178 while ((row=res.Next())) 180 179 { … … 185 184 const char *snum = res.GetFieldCount()>3 ? (*row)[3] : 0; 186 185 const char *verr = res.GetFieldCount()>4 ? (*row)[5] : 0; 186 187 delete row; 188 187 189 if (!date || !val || !zd) 188 190 continue; -
trunk/MagicSoft/Mars/datacenter/macros/plotrundb.C
r8212 r8707 1 1 /* ======================================================================== *\ 2 ! $Name: not supported by cvs2svn $:$Id: plotrundb.C,v 1. 2 2006-11-03 10:52:36tbretz Exp $2 ! $Name: not supported by cvs2svn $:$Id: plotrundb.C,v 1.3 2007-08-24 14:37:58 tbretz Exp $ 3 3 ! -------------------------------------------------------------------------- 4 4 ! … … 131 131 gStyle->SetOptStat(111111); 132 132 133 TSQLRow *row;134 135 133 // Create TGraph objects 136 134 TGraph > = res.GetFieldCount()>4 ? *new TGraphErrors : *new TGraph; … … 158 156 159 157 // Loop over the data 158 TSQLRow *row=0; 160 159 while ((row=res.Next())) 161 160 { … … 166 165 const char *snum = res.GetFieldCount()>3 ? (*row)[3] : 0; 167 166 const char *verr = res.GetFieldCount()>4 ? (*row)[5] : 0; 167 168 delete row; 169 168 170 if (!date || !val || !zd) 169 171 continue;
Note:
See TracChangeset
for help on using the changeset viewer.