Definition at line 20 of file PredictedPlot.java.
Public Member Functions | |
PredictedPlot (DataPlot basePlot, RunSeries runSeriesIn) throws JetWebException | |
void | setDataPoints (Vector< DataPoint > newDataPoints) |
PredictedPlot | setRunSeries (RunSeries rs) |
void | setRunSeriesId (int id) |
int | getRunSeriesId () |
RunSeries | getRunSeries () |
DataPlot | getCompPlot () |
void | setCompPlot (DataPlot newplot) |
boolean | hasData () throws JetWebException |
void | toDB (int update) throws JetWebException |
void | add (PredictedPlot plot2) throws JetWebException |
void | fixZeroErrors (double lumi) throws JetWebException |
boolean | isPredictedBy (RunSeries rs) |
MCProcessType | getMCProcessType () throws JetWebException |
boolean | validMCProcessType () throws JetWebException |
int | getProcIdWanted () throws JetWebException |
int | getId () |
void | setId (int newId) |
int | getNumber () |
void | setNumber (int newnum) |
CutCollection | getCutCollection () |
DataPlot | setCutCollection (CutCollection cuts) |
double | getSysScale () |
void | setSysScale (double scale) |
boolean | isDefaultFit () |
void | setDefaultFit (boolean isit) |
boolean | isDefaultSum () |
void | setDefaultSum (boolean isit) |
boolean | isLogarithmic () |
void | setLogarithmic (boolean b) |
boolean | isShape () |
void | setShape (boolean isit) |
String | getTitle () |
void | setTitle (String newtitle) |
int | getNDataSources () |
String | getYLabel () |
void | setYLabel (String newlabel) |
String | getXLabel () |
void | setXLabel (String newlabel) |
void | setHasData (boolean b) |
Vector< DataPoint > | getDataPoints () throws JetWebException |
void | setDataPoints (Collection< DataPoint > newDataPoints) |
double | getYMin () |
double | getYMinNonZero () |
double | getYMax () |
void | setFrom (DataPlot plot) |
boolean | populateDBData () throws JetWebException |
void | zero () |
Iterator< PlotSwitch > | getSwitches () throws JetWebException |
void | addSwitch (PlotSwitch ps) |
void | deleteSwitch (PlotSwitch ps) throws JetWebException |
double | getCMEnergy () |
void | setCMEnergy (double e) |
void | setPaperId (int newPaperId) |
int | getPaperId () |
void | storeSwitches () throws JetWebException |
double[] | getChi2 () |
double[] | getChi2 (int fitId) |
void | setChi2 (double[] newchi2) |
int | getCollisionId () |
void | setCollisionId (int id) |
int | getProcIdWanted (Generator gen) throws JetWebException |
Static Public Member Functions | |
void | adjustErrors (PredictedPlot plot) throws JetWebException |
double[] | getChi2 (int plotId, int fitId) |
Static Public Attributes | |
final String | REAL = DBPlotManager.REAL |
final String | PREDICTED = DBPlotManager.PREDICTED |
final String | FITTED = DBPlotManager.FITTED |
Protected Attributes | |
double | sysScale = 1.0 |
int | number |
String | title = "No title" |
int | collisionId |
int | procIdWanted |
CutCollection | cuts_ |
Vector< DataPoint > | dataPoints |
int | paperId |
double[] | chi2 = new double[]{0,0} |
double | ecms |
int | csnId = -1 |
boolean | hasdata = false |
boolean | shape |
MCProcessType | proc |
Package Attributes | |
HashSet< PlotSwitch > | switches |
Private Attributes | |
int | runSeriesId = -1 |
DataPlot | comparisonPlot |
RunSeries | runSeries |
boolean | tested = false |
boolean | isValid |
boolean | dirtyData |
|
Instantiate a PredictedPlot using an existing plot
Definition at line 40 of file PredictedPlot.java. References PredictedPlot.comparisonPlot, PredictedPlot.dirtyData, RunSeries.getId(), DataPlot.getId(), PredictedPlot.runSeries, PredictedPlot.runSeriesId, and DataPlot.setFrom(). 00042 { 00043 00044 comparisonPlot = basePlot; 00045 csnId=basePlot.getId(); 00046 runSeries=runSeriesIn; 00047 runSeriesId=runSeriesIn.getId(); 00048 setFrom(basePlot); 00049 dirtyData = true; 00050 cuts_ = basePlot.getCutCollection(); 00051 }
|
|
Add plot2 to this plot. The plot number and xml subdirName are checked and should be equal. Definition at line 186 of file PredictedPlot.java. References DataPoint.add(), and DataPlot.getDataPoints(). Referenced by Paper.add(), LogFile.addPlots(), and LogFile.makePlots(). 00186 { 00187 00188 Enumeration<DataPoint> points = this.getDataPoints().elements(); 00189 Enumeration<DataPoint> points2 = plot2.getDataPoints().elements(); 00190 while (points.hasMoreElements()){ 00191 double sig1sq=0, sig2sq=0, w1=0, w2=0; 00192 00193 DataPoint p1 = (DataPoint)points.nextElement(); 00194 DataPoint p2 = (DataPoint)points2.nextElement(); 00195 00196 p1.add(p2); 00197 } 00198 }
|
|
Add this plotSwitch to the list for this plot. Definition at line 358 of file DataPlot.java. References DataPlot.switches. Referenced by ServletUtils.addPlot(), DataPlot.getSwitches(), and ServletUtils.modifyPlots(). 00358 { 00359 00360 /* 00361 Iterator psl = switches.iterator(); 00362 while (psl.hasNext()){ 00363 if (ps.equals((PlotSwitch)psl.next())){ 00364 return; 00365 } 00366 } 00367 */ 00368 switches.add(ps); 00369 }
|
|
Definition at line 152 of file PredictedPlot.java. 00152 { 00153 00154 // Field and Stuart mean pT plots. 00155 00156 00157 // The pT away plot. 00158 if (plot.getId() == 115){ 00159 00160 for (DataPoint point : plot.getDataPoints()) { 00161 // Errors are dodgy for points above about 10 GeV. 00162 if (point.getX()>10 && point.getY()!=0){ 00163 double y = point.getY(); 00164 point.setYUp( y/2.0 + point.getX()/6.0 ); 00165 point.setYDown(point.getYUp()); 00166 } 00167 } 00168 00169 } else if (plot.getId() == 115){ 00170 00171 for (DataPoint point : plot.getDataPoints()){ 00172 00173 // Errors are dodgy for points above about 10 GeV. 00174 if (point.getX()>10 && point.getY()!=0){ 00175 double y = point.getY(); 00176 point.setYUp( y/2.0 + 1.5 ); 00177 point.setYDown(point.getYUp()); 00178 } 00179 } 00180 } 00181 }
|
|
Delete this plotSwitch from the list and the DB. Definition at line 374 of file DataPlot.java. References DataPlot.switches. Referenced by ServletUtils.modifyPlots(). 00374 { 00375 00376 if (switches.contains(ps)) { 00377 switches.remove(ps); 00378 } 00379 DBPlotManager.delete(ps); 00380 00381 }
|
|
Set zero errors to upper limits. If you can tell the plot how much integrated lumi it was generated from, and it has point with zero errors, it will set the errors for these points to the 1 sigma upper limit. Definition at line 206 of file PredictedPlot.java. References DataPoint.fixZeroError(), and DataPlot.getDataPoints(). Referenced by LogFile.makePlots(). 00206 { 00207 00208 if (lumi<=0.0) { 00209 System.out.println("DataPoint: attempt to fix errors with illegal lumi value="+lumi); 00210 return; 00211 } 00212 00213 for (DataPoint point : getDataPoints()){ 00214 point.fixZeroError(lumi); 00215 } 00216 }
|
|
Return a double array [chi2,dof] for this fit.
Definition at line 464 of file DataPlot.java. References DataPlot.getId(). 00464 { 00465 return DBPlotManager.getChi2(getId(),fitId); 00466 }
|
|
Lightweight way of getting the chi2 for a plot without instantiating the plot. Definition at line 456 of file DataPlot.java. 00456 {
00457 return DBPlotManager.getChi2(plotId,fitId);
00458 }
|
|
Return a double array [chi2,dof]
Reimplemented in FittedPlot. Definition at line 414 of file DataPlot.java. Referenced by Paper.fit(), and DataPlot.setFrom(). 00414 {
00415 return chi2;
00416 }
|
|
Definition at line 383 of file DataPlot.java. 00383 { return ecms; }
|
|
Definition at line 433 of file DataPlot.java. Referenced by RealPlot.getMCProcessType(), ServletUtils.modifyPlots(), and DataPlot.setFrom(). 00433 { return collisionId; }
|
|
Comparison DataPlot - a Real data set to be compared to this one - which should not itself be real.
Definition at line 89 of file PredictedPlot.java. 00089 { return comparisonPlot; }
|
|
Reimplemented in RealPlot. Definition at line 119 of file DataPlot.java. Referenced by DBPlotManager.insertCrossSection(), and LogFile.makePlots(). 00119 {
00120 return cuts_;
00121 }
|
|
Return an Vector of data point objects
Definition at line 192 of file DataPlot.java. References DataPlot.dataPoints. Referenced by PredictedPlot.add(), JetWebHist.buildHist(), Paper.fit(), FittedPlot.FittedPlot(), PredictedPlot.fixZeroErrors(), CombinedPaper.getFitChi2(), PredictedPlot.hasData(), DBPlotManager.insertData(), DataPlot.populateDBData(), and HTMLPlotWriter.writePlotText(). 00192 { 00193 if (dataPoints==null){ 00194 dataPoints = DBPlotManager.getDataPoints(this); 00195 } 00196 return dataPoints; 00197 }
|
|
Get csnId (the unique identifier of this cross section) Definition at line 100 of file DataPlot.java. Referenced by MergedPlot.add(), ServletUtils.addPlot(), RealPaper.addPlot(), Paper.addPlot(), MergedPlot.addPlot(), CombinedPaper.CombinedPaper(), HTMLFitWriter.comparePlots(), RealPlot.equals(), Paper.fit(), Paper.fixFit(), Fit.getChi2(), DataPlot.getChi2(), DBPlotManager.getDeleteString(), RealPlot.getMCProcessType(), DataPlot.getProcIdWanted(), DBPlotManager.getQueryString(), ServletUtils.modifyPlots(), PredictedPlot.PredictedPlot(), DataPlot.setFrom(), and DataPlot.zero(). 00100 { return csnId; }
|
|
Return the MCProcessType used to generate this plot. Implements DataPlot. Definition at line 229 of file PredictedPlot.java. References PredictedPlot.runSeriesId. Referenced by PredictedPlot.validMCProcessType(). 00229 { 00230 00231 if (proc==null) { 00232 proc = new MCProcessType(DBPlotManager.getProcId(runSeriesId)); 00233 } 00234 return proc; 00235 00236 }
|
|
Number of data sources associated with this plot. Definition at line 161 of file DataPlot.java. Referenced by JetWebHist.buildHist(). 00161 {return nDataSources;}
|
|
Get plot number. The plot number identifies the plot within the paper, and corresponds to the ID within the generation package (HZTool or Rivet). Definition at line 110 of file DataPlot.java. Referenced by ServletUtils.addPlot(), LogFile.addPlots(), JetWebHist.buildHist(), Paper.fit(), ServletUtils.modifyPlots(), DataPlot.setFrom(), and JetWebHist.writeGraphics(). 00110 { return number; }
|
|
Definition at line 393 of file DataPlot.java. Referenced by DataPlot.setFrom(). 00393 { return paperId; }
|
|
Return the Id of the MCProcessType which should be used to generate this plot for the model which was used. Definition at line 473 of file DataPlot.java. References DataPlot.collisionId, PlotSwitch.getId(), DataPlot.getId(), PlotSwitch.getMCProcessTypeId(), and DataPlot.procIdWanted. 00473 { 00474 00475 if (procIdWanted==0){ 00476 00477 Vector<PlotSwitch> bestMatches = 00478 DBPlotManager.getMatchedSwitches(this.getId(),gen); 00479 00480 int procIdDefault = (PlotSwitch.defaultProc(new Collision(collisionId))).getId(); 00481 00482 if (bestMatches.size()!=0) { 00483 00484 // Apply the switches. 00485 for (PlotSwitch pSwitch : bestMatches) { 00486 00487 if ( (pSwitch.getParameterName()==null)){ 00488 // This is the default for this plot. 00489 procIdDefault = pSwitch.getMCProcessTypeId(); 00490 } else { 00491 if (pSwitch.getParameterName().equals("pthat")){ 00492 try { 00493 00494 Double genPthat = gen.getPthat(); 00495 00496 if ((pSwitch.getParameterValueLow()==null|| 00497 genPthat>pSwitch.getParameterValueLow()) && 00498 (pSwitch.getParameterValueHigh()==null || 00499 genPthat<pSwitch.getParameterValueHigh()) 00500 ){ 00501 procIdWanted = pSwitch.getMCProcessTypeId(); 00502 } 00503 //System.out.println("DataPlot: pthat="+genPthat+" "+pSwitch.getParameterValueLow()+" "+pSwitch.getParameterValueHigh()); 00504 00505 } catch (NumberFormatException nfe) { 00506 nfe.printStackTrace(); 00507 } 00508 } 00509 } 00510 } 00511 } 00512 00513 if (procIdWanted==0) {procIdWanted=procIdDefault;} 00514 00515 } 00516 return procIdWanted; 00517 }
|
|
Return the Id of the MCProcessType which should be used to generate this plot for the model which was used. Implements DataPlot. Definition at line 257 of file PredictedPlot.java. References RunSeries.getGenerator(), RunSeries.getId(), RunSeries.Maker(), PredictedPlot.runSeries, and PredictedPlot.runSeriesId. Referenced by LogFile.makePlots(), and PredictedPlot.validMCProcessType(). 00257 { 00258 00259 if (procIdWanted!=0) return procIdWanted; 00260 00261 // Get the runSeries if necessary. 00262 if ( (runSeries != null) && runSeries.getId()==runSeriesId ){ 00263 // Do nothing. The run series exists & is up-to-date. 00264 } else { 00265 //runSeries = new RunSeries(runSeriesId); 00266 runSeries = RunSeries.Maker(runSeriesId); 00267 } 00268 00269 return getProcIdWanted(runSeries.getGenerator()); 00270 }
|
|
Definition at line 81 of file PredictedPlot.java. 00081 {return runSeries; }
|
|
The runSeriesId associated with this MC plot. This is the pointer to the parameters used in this prediction.
Definition at line 79 of file PredictedPlot.java. 00079 { return runSeriesId; }
|
|
return all the plotSwitches relevant to this plot. Definition at line 340 of file DataPlot.java. References DataPlot.addSwitch(), DataPlot.csnId, and DataPlot.switches. Referenced by RealPlot.getMCProcessType(), ServletUtils.modifyPlots(), and DataPlot.storeSwitches(). 00340 { 00341 00342 HashSet<PlotSwitch> tmp = DBPlotManager.getSwitches(csnId); 00343 00344 if (switches==null) { 00345 switches = tmp; 00346 } else { 00347 Iterator<PlotSwitch> en = tmp.iterator(); 00348 while (en.hasNext()){ 00349 addSwitch(en.next()); 00350 } 00351 } 00352 return switches.iterator(); 00353 00354 }
|
|
Get systematic scaling applied to data in this plot Definition at line 129 of file DataPlot.java. Referenced by JetWebHist.buildHist(), HTMLPlotWriter.display(), Paper.fit(), CombinedPaper.getFitChi2(), DataPlot.getYMax(), DataPlot.getYMin(), DataPlot.getYMinNonZero(), and DataPlot.setFrom(). 00129 { return sysScale; }
|
|
Return the histogram title Definition at line 157 of file DataPlot.java. Referenced by DataPlot.setFrom(), JetWebHist.writeGraphics(), and HTMLPlotWriter.writePlotComparison(). 00157 { return title; }
|
|
X Axis Label Definition at line 173 of file DataPlot.java. Referenced by DataPlot.setFrom(), and JetWebHist.writeGraphics(). 00173 {
00174 return xlabel;
00175 }
|
|
Y Axis Label Definition at line 165 of file DataPlot.java. Referenced by LogFile.makePlots(), DataPlot.setFrom(), and JetWebHist.writeGraphics(). 00165 {
00166 return ylabel;
00167 }
|
|
Return the maximum Y value for this plot. Definition at line 254 of file DataPlot.java. References DataPlot.getSysScale(). Referenced by JetWebHist.writeGraphics(). 00254 { 00255 00256 double max = -1000000; 00257 for (DataPoint point : dataPoints){ 00258 if (point.getY()>max) {max=point.getY();} 00259 } 00260 return max*getSysScale(); 00261 }
|
|
Return the minimum Y value for this plot. Definition at line 229 of file DataPlot.java. References DataPlot.getSysScale(). 00229 { 00230 00231 double min = 1000000; 00232 for (DataPoint point : dataPoints) { 00233 if (point.getY()<min){min=point.getY();} 00234 } 00235 return min*getSysScale(); 00236 }
|
|
Return the minimum >0 Y value for this plot. (needed for log plot with empty bins) Definition at line 242 of file DataPlot.java. References DataPlot.getSysScale(). Referenced by JetWebHist.writeGraphics(). 00242 { 00243 00244 double min = 1000000; 00245 for (DataPoint point : dataPoints) { 00246 if (point.getY()<min && point.getY()>0){min=point.getY();} 00247 } 00248 return min*getSysScale(); 00249 }
|
|
Populate the dataPoints array of points with points for this crossection from predicted points table
Reimplemented from DataPlot. Definition at line 107 of file PredictedPlot.java. References PredictedPlot.dirtyData, DataPlot.getDataPoints(), and PredictedPlot.runSeriesId. Referenced by LogFile.addPlots(), CombinedPaper.CombinedPaper(), Paper.fit(), and Paper.Paper(). 00107 { 00108 00109 if (!hasdata){// && dirtyData) { 00110 00111 dataPoints = DBPlotManager.getDataPoints(this); 00112 if (dataPoints.isEmpty()){ 00113 hasdata = false; 00114 System.out.println("No data for MC plot " 00115 + number + ":" 00116 + title+" RSId="+runSeriesId); 00117 00118 } else { 00119 hasdata = true; 00120 } 00121 dirtyData = false; 00122 } 00123 00124 return hasdata; 00125 }
|
|
Is the plot used to determine normalisation of the fit by default? Definition at line 134 of file DataPlot.java. Referenced by DataPlot.setFrom(). 00134 { return defFit; }
|
|
Is the plot included in the chi2 sum by default? Definition at line 139 of file DataPlot.java. Referenced by DataPlot.setFrom(). 00139 { return defSum; }
|
|
logarithmic plot indicator Definition at line 144 of file DataPlot.java. Referenced by DataPlot.setFrom(), and JetWebHist.writeGraphics(). 00144 { return logarithmic; }
|
|
Return true if this plot is predicted by the input RunSeries. Reimplemented from DataPlot. Definition at line 221 of file PredictedPlot.java. References RunSeries.getId(), and PredictedPlot.runSeriesId. 00221 { 00222 return (runSeriesId==rs.getId()); 00223 }
|
|
Indicates whether the plot is a shape. (i.e. does not take the fitted scale factor) Definition at line 150 of file DataPlot.java. Referenced by Paper.fit(), FittedPlot.FittedPlot(), and DataPlot.setFrom(). 00150 { return shape; }
|
|
Populate the dataPoints array of points with points for this crossection from the data_point table of the database
Definition at line 300 of file DataPlot.java. References DataPlot.dataPoints, DataPlot.getDataPoints(), DataPlot.hasdata, DataPlot.number, and DataPlot.title. 00300 { 00301 dataPoints = DBPlotManager.getDataPoints(this); 00302 if (dataPoints.isEmpty()){ 00303 hasdata = false; 00304 System.out.println("No data for plot " + number + ":" + title); 00305 } else { 00306 hasdata = true; 00307 } 00308 return hasdata; 00309 }
|
|
A double array [chi2,dof]
Definition at line 423 of file DataPlot.java. References DataPlot.chi2. Referenced by Paper.fit(), and DataPlot.setFrom(). 00423 { 00424 if (newchi2.length==2){ 00425 chi2[0]=newchi2[0]; 00426 chi2[1]=newchi2[1]; 00427 } else { 00428 System.out.println("invalid Chi2 array - DataPlot.setChi2()"); 00429 } 00430 }
|
|
Definition at line 384 of file DataPlot.java. References DataPlot.ecms. 00384 { ecms = e; }
|
|
Definition at line 435 of file DataPlot.java. References DataPlot.collisionId. Referenced by ServletUtils.addPlot(), MergedPlot.addPlot(), ServletUtils.modifyPlots(), and DataPlot.setFrom(). 00435 { collisionId = id; }
|
|
Comparison DataPlot - a Real data set to be compared to this one - which should not itself be real.
Definition at line 96 of file PredictedPlot.java. References PredictedPlot.comparisonPlot. Referenced by Paper.Paper(). 00096 { comparisonPlot=newplot; }
|
|
Definition at line 123 of file DataPlot.java. References DataPlot.cuts_. Referenced by MergedPlot.addPlot(). 00123 { 00124 cuts_ = cuts; 00125 return this; 00126 }
|
|
Sets data points vector.
Definition at line 204 of file DataPlot.java. References DataPlot.dataPoints, DataPlot.hasdata, DataPlot.number, and DataPlot.title. Referenced by Paper.setFrom(). 00204 { 00205 00206 dataPoints = new Vector<DataPoint>(); 00207 00208 for (DataPoint point : newDataPoints) { 00209 00210 try{ 00211 dataPoints.add((DataPoint)point.clone() ); 00212 } catch (ClassCastException e){ 00213 System.out.println("Invalid Point Data sent to DataPlot.setDataPoints"); 00214 } 00215 } 00216 00217 if (dataPoints.isEmpty()){ 00218 System.out.println("No data for plot " + number + ":" + title); 00219 hasdata=false; 00220 } else { 00221 hasdata=true; 00222 } 00223 00224 }
|
|
Definition at line 55 of file PredictedPlot.java. 00055 { 00056 super.setDataPoints(newDataPoints); 00057 }
|
|
Is the plot used to determine normalisation of the fit by default? Definition at line 136 of file DataPlot.java. References DataPlot.defFit. Referenced by DataPlot.setFrom(). 00136 { defFit = isit; }
|
|
Is the plot included in the chi2 sum by default? Definition at line 141 of file DataPlot.java. References DataPlot.defSum. Referenced by ServletUtils.addPlot(), ServletUtils.modifyPlots(), and DataPlot.setFrom(). 00141 { defSum = isit; }
|
|
|
Definition at line 185 of file DataPlot.java. References DataPlot.hasdata. Referenced by MergedPlot.mergePoints(). 00185 { hasdata = b; }
|
|
Set csnId (the unique identifier of this cross section) Definition at line 103 of file DataPlot.java. References DataPlot.csnId. Referenced by MergedPlot.addPlot(), and DataPlot.setFrom(). 00103 { csnId = newId; }
|
|
logarithmic plot indicator Definition at line 146 of file DataPlot.java. References DataPlot.logarithmic. Referenced by ServletUtils.addPlot(), MergedPlot.addPlot(), ServletUtils.modifyPlots(), and DataPlot.setFrom(). 00146 { logarithmic = b; }
|
|
Set plot number. The plot number identifies the plot within the paper, and corresponds to the ID within the generation package (HZTool or Rivet). Definition at line 117 of file DataPlot.java. References DataPlot.number. Referenced by ServletUtils.addPlot(), MergedPlot.addPlot(), and DataPlot.setFrom(). 00117 { number = newnum; }
|
|
Set the Id of the paper with which this plot is associated. Definition at line 389 of file DataPlot.java. References DataPlot.paperId. Referenced by MergedPlot.addPlot(), and DataPlot.setFrom(). 00389 { 00390 paperId = newPaperId; 00391 }
|
|
Definition at line 59 of file PredictedPlot.java. References RunSeries.getId(), PredictedPlot.runSeries, and PredictedPlot.runSeriesId. 00059 { 00060 runSeries = rs; 00061 runSeriesId = rs.getId(); 00062 return this; 00063 }
|
|
The runSeriesId associated with this MC plot. This is the pointer to the parameters used in this prediction.
Definition at line 72 of file PredictedPlot.java. References PredictedPlot.runSeriesId. 00072 { runSeriesId = id; }
|
|
Sets whether the plot is a shape. (i.e. does not take the fitted scale factor) Definition at line 153 of file DataPlot.java. References DataPlot.shape. Referenced by ServletUtils.addPlot(), MergedPlot.addPlot(), MergedPlot.mergePoints(), ServletUtils.modifyPlots(), and DataPlot.setFrom(). 00153 { shape = isit; }
|
|
Set systematic scaling applied to data in this plot Definition at line 131 of file DataPlot.java. References DataPlot.sysScale. Referenced by Paper.fit(), FittedPlot.FittedPlot(), and DataPlot.setFrom(). 00131 { sysScale=scale; }
|
|
The histogram title Definition at line 159 of file DataPlot.java. References DataPlot.title. Referenced by ServletUtils.addPlot(), MergedPlot.addPlot(), ServletUtils.modifyPlots(), DataPlot.setFrom(), and JetWebHist.writeGraphics(). 00159 { title=newtitle; }
|
|
X Axis Label Definition at line 177 of file DataPlot.java. References DataPlot.xlabel. Referenced by ServletUtils.addPlot(), MergedPlot.addPlot(), ServletUtils.modifyPlots(), and DataPlot.setFrom(). 00177 { 00178 xlabel = newlabel; 00179 }
|
|
Y Axis Label Definition at line 169 of file DataPlot.java. References DataPlot.ylabel. Referenced by ServletUtils.addPlot(), MergedPlot.addPlot(), ServletUtils.modifyPlots(), and DataPlot.setFrom(). 00169 { 00170 ylabel = newlabel; 00171 }
|
|
Update/add plot switches. Definition at line 398 of file DataPlot.java. References DataPlot.getSwitches(), and PlotSwitch.store(). 00398 { 00399 00400 // Get all the switches for the plot in memory. 00401 Iterator<PlotSwitch> psws = getSwitches(); 00402 while (psws.hasNext()){ 00403 PlotSwitch ps = (PlotSwitch)psws.next(); 00404 ps.store(); 00405 } 00406 }
|
|
Write the data plot to the DB.
Definition at line 132 of file PredictedPlot.java. 00132 { 00133 00134 //check whether crossection with this plot id exists 00135 //if it does, update crossection record,otherwise create 00136 //delete existing data plot (if exists) 00137 //insert new data plot records 00138 00139 if (update==0){ 00140 DBPlotManager.updateCrossSectionPoints(this); 00141 } else { 00142 DBPlotManager.insertData(this); 00143 } 00144 00145 }
|
|
Return true if the RunSeries used to generate this plot is consistent with the requirements of the PlotSwitches. Definition at line 242 of file PredictedPlot.java. References MCProcessType.getId(), PredictedPlot.getMCProcessType(), PredictedPlot.getProcIdWanted(), and PredictedPlot.isValid. Referenced by Paper.fit(). 00242 { 00243 00244 isValid = (getProcIdWanted()==getMCProcessType().getId()); 00245 00246 //System.out.println("Summary of validity test:"+procIdWanted+"," 00247 // +getMCProcessType().getId()); 00248 //System.out.println("Plot ID:"+getId()+" "+runSeriesId); 00249 00250 return isValid; 00251 }
|
|
zero the y values and errors of data points in local memory Definition at line 312 of file DataPlot.java. References DataPlot.getId(). Referenced by LogFile.makePlots(). 00312 { 00313 00314 System.out.println("Called zero on plot "+getId()); 00315 00316 // loop over the dataPoints. 00317 for (DataPoint point : dataPoints){ 00318 point.setYUp(0); 00319 point.setYDown(0); 00320 point.setY(0); 00321 } 00322 }
|
|
Definition at line 73 of file DataPlot.java. Referenced by Fit.getChi2(), Fit.setChi2(), and DataPlot.setChi2(). |
|
Definition at line 52 of file DataPlot.java. Referenced by DataPlot.getProcIdWanted(), and DataPlot.setCollisionId(). |
|
Definition at line 23 of file PredictedPlot.java. Referenced by PredictedPlot.PredictedPlot(), and PredictedPlot.setCompPlot(). |
|
the DB identifier in the crossection DB table Definition at line 82 of file DataPlot.java. Referenced by DataPlot.getSwitches(), and DataPlot.setId(). |
|
Definition at line 55 of file DataPlot.java. Referenced by DataPlot.setCutCollection(). |
|
Vector of data point objects.
Definition at line 62 of file DataPlot.java. Referenced by DataPlot.getDataPoints(), DataPlot.populateDBData(), and DataPlot.setDataPoints(). |
|
Definition at line 27 of file PredictedPlot.java. Referenced by PredictedPlot.hasData(), and PredictedPlot.PredictedPlot(). |
|
Centre of mass energy at which the measurement was made. Definition at line 79 of file DataPlot.java. Referenced by DataPlot.setCMEnergy(). |
|
Fitted Data Tablename Definition at line 42 of file DataPlot.java. |
|
Indicates whether the plot has points Definition at line 84 of file DataPlot.java. Referenced by DataPlot.populateDBData(), DataPlot.setDataPoints(), and DataPlot.setHasData(). |
|
Definition at line 26 of file PredictedPlot.java. Referenced by PredictedPlot.validMCProcessType(). |
|
The plot number within a Paper. Definition at line 48 of file DataPlot.java. Referenced by DataPlot.populateDBData(), DataPlot.setDataPoints(), and DataPlot.setNumber(). |
|
Definition at line 71 of file DataPlot.java. Referenced by DataPlot.setPaperId(). |
|
Predicted Data Tablename Definition at line 40 of file DataPlot.java. |
|
Definition at line 88 of file DataPlot.java. |
|
Definition at line 53 of file DataPlot.java. Referenced by DataPlot.getProcIdWanted(). |
|
Real Data Tablename Definition at line 38 of file DataPlot.java. |
|
Definition at line 24 of file PredictedPlot.java. Referenced by PredictedPlot.getProcIdWanted(), PredictedPlot.PredictedPlot(), and PredictedPlot.setRunSeries(). |
|
Definition at line 22 of file PredictedPlot.java. Referenced by PredictedPlot.getMCProcessType(), PredictedPlot.getProcIdWanted(), PredictedPlot.hasData(), PredictedPlot.isPredictedBy(), PredictedPlot.PredictedPlot(), PredictedPlot.setRunSeries(), and PredictedPlot.setRunSeriesId(). |
|
Indicates whether the plot is a shape. (i.e. does not take the fitted scale factor) Definition at line 87 of file DataPlot.java. Referenced by DataPlot.setShape(). |
|
Initial value: new HashSet<PlotSwitch>(Collections.synchronizedSet(new HashSet<PlotSwitch>())) Definition at line 68 of file DataPlot.java. Referenced by DataPlot.addSwitch(), DataPlot.deleteSwitch(), and DataPlot.getSwitches(). |
|
systematic scaling applied to data in this plot Definition at line 46 of file DataPlot.java. Referenced by DataPlot.setSysScale(). |
|
Definition at line 25 of file PredictedPlot.java. |
|
Plot title. Definition at line 50 of file DataPlot.java. Referenced by DataPlot.populateDBData(), DataPlot.setDataPoints(), and DataPlot.setTitle(). |
Generated Wed Jan 17 09:14:27 GMT 2007