Main Page | Packages | Class Hierarchy | Class List | Directories | File List | Class Members | Related Pages

RunSeries Class Reference

Inheritance diagram for RunSeries:

Inheritance graph
[legend]
Collaboration diagram for RunSeries:

Collaboration graph
[legend]
List of all members.

Detailed Description

Unique set of parameters for a specific MCProcessType and generator. Need to update the timestamp (date) whenever a logfile is added. Renamed from Logparms class.
Author:
Jon Butterworth, James Monk
Version:
Date
2006-12-06 19:39:51 +0000 (Wed, 06 Dec 2006)
Revision
1331

Definition at line 32 of file RunSeries.java.


Public Member Functions

 RunSeries ()
 RunSeries (int newId) throws JetWebException
 RunSeries (ResultSearchPattern pattern)
boolean retrieve () throws JetWebException
int getId ()
void setId (int newrunseriesId)
Date getDate ()
void setDate (Date date)
RunSeries setLumi (double newLumi)
Double getCrossSection ()
RunSeries setCrossSection (Double cs)
double getLumi ()
int getNLogs ()
Vector< LogFilegetLogFiles ()
RunSeries setMCProcessType (MCProcessType proc) throws JetWebException
MCProcessType getMCProcessType () throws JetWebException
Vector< Integer > getSubSeries ()
boolean setCuts () throws JetWebException
CutCollection getCutCollection ()
RunSeries addRun (Run run)
RunSeries clearRuns ()
void setGenerator (Generator generator)
Generator getGenerator () throws JetWebException
Generator getGenerator (int i) throws JetWebException
Vector< Generator > getGeneratorList ()
Vector< PDFgetProtonPDFList ()
Vector< PDFgetPhotonPDFList ()
PDF getProtonPDF () throws JetWebException
PDF getPhotonPDF () throws JetWebException
Vector< ModelgetConsistentModels () throws JetWebException
boolean isValid () throws JetWebException
RunSeries removeIrrelevantParameters () throws JetWebException
Enumeration< MatchgetNonMatchingParameters ()
PDF getProtonPDF (int i) throws JetWebException
PDF getPhotonPDF (int i) throws JetWebException
String getDescription ()
ResultSearchPattern setDescription (String description)
Double getPthat () throws JetWebException
Object clone ()
boolean matches (RunSeries runSeries) throws JetWebException
boolean matches (Model model) throws JetWebException
boolean matches (ResultSearchPattern pattern) throws JetWebException
void dumpParms ()
String getParms ()
void setSoftDefaults () throws JetWebException
void setDefaults () throws JetWebException

Static Public Member Functions

RunSeries Maker (Integer newId) throws JetWebException

Protected Attributes

String description_
Vector< Generator > generatorList
Vector< PDFprotonpdfList
Vector< PDFphotonpdfList
Vector< MatchnotMatching = new Vector<Match>()

Package Functions

private< T1, T2 > boolean compare (String name, HashMap< T1, T2 > map1, HashMap< T1, T2 > map2, Generator gen)

Private Attributes

int runseriesId = -1
Date date
double lumi_
boolean dirtyLumi_ = true
Double crossSection_
boolean dirtyCrossSection_ = true
int nLogs = -1
Vector< LogFilelogFiles
boolean dirtyProcessType_ = true
MCProcessType proc_
Vector< Runruns_ = new Vector<Run>(0)
boolean isValid_ = false
boolean dirtyIsValid_ = true
Generator generator_
boolean dirtyGenerator_ = true
boolean dirtyPhotonpdfList_ = true
boolean dirtyProtonpdfList_ = true
CutCollection cuts_
boolean dirtyCuts_ = true
boolean cutSuccess_ = false

Static Private Attributes

HashMap< MCProcessType, Vector<
MCProcessType > > 
ProcessCompatibility_
Integer previousId_
RunSeries previousRunSeries_

Constructor & Destructor Documentation

RunSeries  ) 
 

Instantiate a new runseries object just setting defaults. No id is set.

Definition at line 88 of file RunSeries.java.

References RunSeries.runseriesId.

Referenced by RunSeries.Maker().

00088                       {
00089 
00090     super();
00091     System.out.println("Making empty runseries");
00092     runseriesId=-1;
00093 
00094     }

RunSeries int  newId  )  throws JetWebException
 

Instantiate a new runseries object based on a given unique Id. Probably should only retrieve things if they are actually accessed?

Parameters:
newId 
Exceptions:
JetWebException 

Definition at line 102 of file RunSeries.java.

References RunSeries.retrieve(), and RunSeries.runseriesId.

00102                                                        {
00103 
00104     super();
00105     System.out.println("Making new runseries from id");
00106     runseriesId=newId;
00107     retrieve();
00108     }

RunSeries ResultSearchPattern  pattern  ) 
 

Instantiate a RunSeries from a ResultSearchPattern Leave the process empty

Definition at line 115 of file RunSeries.java.

References ResultSearchPattern.generatorList, ResultSearchPattern.getGeneratorList(), ResultSearchPattern.getPhotonPDFList(), ResultSearchPattern.getProtonPDFList(), ResultSearchPattern.photonpdfList, ResultSearchPattern.protonpdfList, RunSeries.runs_, RunSeries.runseriesId, RunSeries.setGenerator(), and RunSeries.setLumi().

00115                                                  {
00116 
00117     super();
00118     System.out.println("Making new runseries from resultserachpattern");
00119     runseriesId = -1;
00120 
00121     this.generatorList = pattern.getGeneratorList();
00122     setGenerator(generatorList.get(0));
00123     setLumi(0.0);
00124     this.protonpdfList = pattern.getProtonPDFList();
00125     this.photonpdfList = pattern.getPhotonPDFList();
00126 
00127     if(pattern.getProtonPDFList().size()!=0){
00128         runs_.get(0).setPDF(pattern.getProtonPDFList().get(0));
00129     }
00130 
00131     if(pattern.getPhotonPDFList().size()!=0){
00132         runs_.get(0).setPDF(pattern.getPhotonPDFList().get(0));
00133     }
00134 
00135     }


Member Function Documentation

RunSeries addRun Run  run  ) 
 

Adds a run to the list of runs in this runseries

Definition at line 682 of file RunSeries.java.

References RunSeries.dirtyCrossSection_, RunSeries.dirtyCuts_, RunSeries.dirtyIsValid_, RunSeries.dirtyLumi_, RunSeries.dirtyPhotonpdfList_, RunSeries.dirtyProcessType_, RunSeries.dirtyProtonpdfList_, Run.isConsistentWith(), and RunSeries.runs_.

Referenced by JetWebLogReader.fillLog(), and RunSeries.setLumi().

00682                                     {
00683     
00684     if(runs_.size()==0 || run.isConsistentWith(runs_.get(0))){
00685         dirtyProcessType_ = true;
00686         dirtyLumi_ = true;
00687         dirtyCrossSection_ = true;
00688         dirtyIsValid_ = true;
00689         dirtyProtonpdfList_ = true;
00690         dirtyPhotonpdfList_ = true;
00691         dirtyCuts_ = true;
00692         runs_.add(run);
00693     }else{
00694         System.out.println
00695        ("Failed to add run to RunSeries - not consistent with existing runs!");
00696     }
00697     return(this);
00698     }

RunSeries clearRuns  ) 
 

Definition at line 701 of file RunSeries.java.

References RunSeries.dirtyCrossSection_, RunSeries.dirtyCuts_, RunSeries.dirtyIsValid_, RunSeries.dirtyLumi_, RunSeries.dirtyPhotonpdfList_, RunSeries.dirtyProcessType_, RunSeries.dirtyProtonpdfList_, and RunSeries.runs_.

00701                                 {
00702     
00703     dirtyProcessType_ = true;
00704     dirtyLumi_ = true;
00705     dirtyCrossSection_ = true;
00706     dirtyIsValid_ = true;
00707     dirtyProtonpdfList_ = true;
00708     dirtyPhotonpdfList_ = true;
00709     dirtyCuts_ = true;
00710     runs_.clear();
00711     
00712     return this;
00713     }

Object clone  )  [inherited]
 

Definition at line 216 of file ResultSearchPattern.java.

References ResultSearchPattern.generatorList, ResultSearchPattern.notMatching, ResultSearchPattern.photonpdfList, ResultSearchPattern.protonpdfList, and ResultSearchPattern.ResultSearchPattern().

00216                           {
00217     ResultSearchPattern newPattern = new ResultSearchPattern();
00218     newPattern.generatorList = 
00219         (this.generatorList==null) ? null : 
00220         new Vector<Generator>(this.generatorList);
00221     newPattern.protonpdfList = 
00222         (this.protonpdfList==null) ? null : 
00223         new Vector<PDF>(this.protonpdfList);
00224     newPattern.photonpdfList = 
00225         (this.photonpdfList==null) ? null : 
00226         new Vector<PDF>(this.photonpdfList);
00227     newPattern.notMatching = 
00228         (this.notMatching==null) ? null : 
00229         new Vector<Match>(this.notMatching);
00230 
00231     return newPattern;
00232     }

private<T1, T2> boolean compare String  name,
HashMap< T1, T2 >  map1,
HashMap< T1, T2 >  map2,
Generator  gen
[package, inherited]
 

Definition at line 307 of file ResultSearchPattern.java.

References ResultSearchPattern.notMatching.

00308                    {
00309 
00310     boolean match = true;
00311 
00312     for(Map.Entry<T1, T2> entry: map1.entrySet()){
00313         T1 key = entry.getKey();
00314         boolean inModel = true;
00315         if(key instanceof Integer){
00316         inModel = gen.inModel(name, (Integer)key);
00317         }
00318         if(inModel && map2.containsKey(key)){
00319         T2 val1 = map2.get(key);
00320         T2 val2 = entry.getValue();
00321 
00322         if(val1!=null && val2 !=null &&
00323            !Match.compare(val1, val2)){
00324             match = false;
00325             if(!match){
00326             //if(val1 instanceof Double){
00327             //  val1 = (T2)JetWebConfig.getFormat().format(val1);
00328             //  val2 = (T2)JetWebConfig.getFormat().format(val2);
00329             //}
00330             System.out.println("Failed comparison on " + 
00331                        name + ": " + key + "." + 
00332                        val1 + "!=" + val2);
00333 
00334             notMatching.add
00335                 (new Match(name+":"+key.toString(), val1, val2));
00336             }
00337         }
00338         }
00339     }
00340 
00341     return match;
00342     }

void dumpParms  )  [inherited]
 

Writes all the parameters to standard output.

Definition at line 550 of file ResultSearchPattern.java.

References ResultSearchPattern.getParms().

Referenced by JobRequest.main().

00550                            {
00551 
00552     System.out.println(getParms()); 
00553     
00554     }

Vector<Model> getConsistentModels  )  throws JetWebException
 

Return all models consistent with this runSeries.

Reimplemented from ResultSearchPattern.

Definition at line 911 of file RunSeries.java.

Referenced by JobUtils.getNewData(), and JobUtils.updateJobs().

00911                                                                       {
00912     return DBManager.getConsistentModels(this);
00913     }

Double getCrossSection  ) 
 

Get the cross section for these parameters and process(es) Combines cross sections for Runs

Definition at line 250 of file RunSeries.java.

References RunSeries.crossSection_, and RunSeries.dirtyCrossSection_.

Referenced by JetWebLogReader.fillLog().

00250                                    {
00251 
00252     if(!dirtyCrossSection_) return crossSection_;
00253     dirtyCrossSection_ = false;
00254 
00255     crossSection_ = 0.0;
00256 
00257     for(Run run: runs_){
00258         crossSection_ += run.getCrossSection();
00259     }
00260 
00261     return crossSection_;
00262     }

CutCollection getCutCollection  ) 
 

Definition at line 665 of file RunSeries.java.

References RunSeries.setCuts().

Referenced by RunSeriesCollection.add(), JobUtils.doJobRequest(), and DBFitManager.fill().

00665                                            {
00666     try{
00667         setCuts();
00668     }catch(JetWebException err){
00669         System.out.println
00670         ("RunSeries.getCutCollection():"+ 
00671          " unable to determine correct set of cuts.");
00672         System.out.println(err.getMessage());
00673         err.printStackTrace();
00674     }
00675     return cuts_;
00676     }

Date getDate  ) 
 

Return the last date any data was added for this set of parameters.

Returns:
date

Definition at line 174 of file RunSeries.java.

Referenced by RunSeriesCollection.getDate().

00174 { return date; }

String getDescription  )  [inherited]
 

Return a description of this model.

Definition at line 175 of file ResultSearchPattern.java.

00175                                   {
00176     return description_;
00177     }

Generator getGenerator int  i  )  throws JetWebException
 

Override the method on ResultSearchPattern. Only works for i=0!

Reimplemented from ResultSearchPattern.

Definition at line 783 of file RunSeries.java.

References RunSeries.getGenerator().

00783                                                                 {
00784     if (i!=0) {
00785         throw new JetWebException("RunSeries: getGenerator("+i+")",
00786                       "method not allowed");
00787     }
00788     return getGenerator();
00789     }

Generator getGenerator  )  throws JetWebException
 

Returns the generator consistent with all runs in this runSeries; Returns null if runs are not consistent

Reimplemented from ResultSearchPattern.

Definition at line 753 of file RunSeries.java.

References RunSeries.dirtyGenerator_, RunSeries.generator_, Run.getGenerator(), and RunSeries.runs_.

Referenced by LogFile.doChecks(), RunSeries.getGenerator(), LogFile.getGenerator(), JetWebGeneratorReader.getGenerator(), RunSeries.getGeneratorList(), JetWebGeneratorReader.getGeneratorWrapper(), PredictedPlot.getProcIdWanted(), DBManager.matchRunSeriesId(), RunSeries.setCuts(), RunSeries.setMCProcessType(), and JobUtils.updateJobs().

00754                           {
00755 
00756     if(!dirtyGenerator_) return generator_;
00757 
00758     if(runs_.size()==0){
00759         return null;
00760         //throw new JetWebException
00761         //("Error: Unable to get Generator - has not been set.",
00762         // "cedar.jetweb.model.RunSeries.getGenerator()");
00763     }
00764     
00765     generator_ = runs_.get(0).getGenerator();
00766     
00767     for(Run run: runs_){
00768 
00769         generator_ = generator_.union(run.getGenerator());
00770         
00771         if(generator_== null) return generator_;
00772 
00773     }
00774 
00775     dirtyGenerator_=false;
00776 
00777     return(generator_);
00778     }

Vector<Generator> getGeneratorList  ) 
 

Override the method on ResultSearchPattern. Returns a vector of size 1 containing the sole generator consistent with all the runs in this runseries

Reimplemented from ResultSearchPattern.

Definition at line 797 of file RunSeries.java.

References RunSeries.getGenerator().

Referenced by LogFile.setGenerator().

00797                                                {
00798     if(generatorList!=null){
00799         generatorList.clear();   
00800     }else{
00801         generatorList = new Vector<Generator>(1);
00802     }
00803     try{
00804         generatorList.add(getGenerator());
00805     }catch(JetWebException err){
00806         System.out.println(err.getMessage());
00807     }
00808     return generatorList;
00809     }

int getId  ) 
 

Return the unique Id of this set of parameters.

Returns:
runseriesId

Definition at line 155 of file RunSeries.java.

Referenced by LogFile.addLogFile(), HTMLModelWriter.display(), RunSeries.getLogFiles(), RunSeries.getNLogs(), PredictedPlot.getProcIdWanted(), LogFile.getRunSeries(), PredictedPlot.isPredictedBy(), LogFile.LogFile(), PredictedPlot.PredictedPlot(), DBManager.selectFromDB(), PredictedPlot.setRunSeries(), LogFile.setRunSeries(), LogFile.toDB(), HTMLFitWriter.writeVerbose(), and DBManager.zero().

00155                       {
00156     return runseriesId;
00157     }

Vector<LogFile> getLogFiles  ) 
 

Return a Vector containing the LogFiles associated with this RunSeries

Definition at line 346 of file RunSeries.java.

References RunSeries.getId(), and RunSeries.logFiles.

Referenced by Model.zero().

00346                                         {
00347     if (logFiles==null){
00348         try {
00349         return DBJobManager.getLogFiles(this.getId());
00350         } catch (JetWebException j){
00351         System.out.println(j);
00352         }
00353     }
00354     return logFiles;
00355     }

double getLumi  ) 
 

Get the integrated luminosity available for these parameters. If several runs match each other exactly then the sum of their luminosities is returned. If the different runs in this Runseries have different luminosties then the minimum is returned.

Definition at line 282 of file RunSeries.java.

References RunSeries.dirtyLumi_, and RunSeries.lumi_.

Referenced by HTMLModelWriter.display(), JetWebLogReader.fillLog(), RunSeries.setLumi(), RunSeries.setMCProcessType(), and HTMLFitWriter.writeVerbose().

00282                            { 
00283 
00284     if(!dirtyLumi_) return lumi_;
00285 
00286     dirtyLumi_ = false;
00287 
00288     Vector<Run> triedRuns = new Vector<Run>();
00289     Vector<Double> foundLumis = new Vector<Double>();
00290 
00291     for(Run run: runs_){
00292 
00293         boolean found = false;
00294 
00295         for(int ii=0; ii!=triedRuns.size() && !found; ++ii){
00296         if(run.equals(triedRuns.get(ii))){
00297 
00298             System.out.println
00299             ("RunSeries: Found matching runs for process "+
00300              run.getMCProcessType() + 
00301              ": Combining luminosities");
00302 
00303             System.out.println("Adding lumi "+
00304                        run.getLumi()+
00305                        " to already found lumi of "+
00306                        foundLumis.get(ii));
00307 
00308             Double newLumi = foundLumis.get(ii) + run.getLumi();
00309             
00310             foundLumis.set(ii, newLumi);
00311 
00312             found = true;
00313         }
00314         }
00315 
00316         if(!found){
00317         triedRuns.add(run);
00318         foundLumis.add(run.getLumi());
00319         }
00320     }
00321 
00322     //now get the lowest of the lumis found
00323 
00324     TreeSet<Double> sortedLumis = new TreeSet(foundLumis);
00325     lumi_ = sortedLumis.first();
00326     return lumi_;
00327     }

MCProcessType getMCProcessType  )  throws JetWebException
 

Gets MCProcessType name Returns the unique process that is compatible with only the processes in this runseries and is also valid. Returns null if no such process exists

Returns:
proc

Definition at line 454 of file RunSeries.java.

References RunSeries.dirtyProcessType_, MCProcessType.getCompatibleProcesses(), MCProcessType.isValid(), RunSeries.proc_, and RunSeries.runs_.

Referenced by RunSeriesCollection.add(), LogFile.doChecks(), DBFitManager.fill(), RunSeriesCollection.getRunSeriesList(), RunSeries.isValid(), LogFile.makePlots(), RunSeries.setMCProcessType(), and JobUtils.updateJobs().

00455                           { 
00456 
00457     if(!dirtyProcessType_) return(proc_);
00458 
00459     dirtyProcessType_ = false;
00460 
00461     if(runs_.size()==0){
00462 
00463         proc_ = new MCProcessType();
00464         return(proc_);
00465     }
00466 
00467     boolean compatible = true;
00468 
00469     //Vector of process ids in this runseries
00470     Vector<Integer> PIds = new Vector<Integer>();
00471     
00472     //Vector of process ids with which all processes are compatible
00473     Vector<Integer> allowedIds = 
00474         runs_.get(0).getMCProcessType().getCompatibleProcesses();
00475 
00476 
00477     for(Run run: runs_){
00478 
00479 
00480         //System.out.println("Adding process type "+
00481         //         run.getMCProcessType().getId());
00482 
00483         PIds.add(run.getMCProcessType().getId());
00484         
00485         //Vector of process ids with which this process is compatible
00486         Vector<Integer> compatIds = 
00487         run.getMCProcessType().getCompatibleProcesses();
00488         
00489         Vector<Integer> tmp = new Vector<Integer>();
00490         if(compatIds!=null){
00491 
00492         for(Integer Id: compatIds){
00493             //System.out.println("compat. with "+Id);
00494             if(allowedIds.contains(Id)){
00495             tmp.add(Id);
00496             }
00497         }
00498     
00499         }else{
00500         System.out.println
00501             ("MCProcessType does not contain a " + 
00502              "list of processes it is compatible with");
00503 
00504         throw new JetWebException
00505             ("MCProcessType does not contain a " + 
00506              "list of processes it is compatible with",
00507              run.getMCProcessType().toString());
00508         }
00509         allowedIds = tmp;
00510     }
00511 
00512     //
00513     // if(compatIds!=null){//shouldn't ever be null since 
00514                         //it is compatible with itself at least.
00515 
00516         //Check that every process is compatible
00517     /*
00518         for(int jj=0; jj!=runs_.size(); ++jj){
00519             if(!compatIds.contains
00520                (run.getMCProcessType().getId())){
00521             compatible = false;
00522             }
00523             }*/
00524 
00525     for(Run run: runs_){
00526         if(!allowedIds.contains(run.getMCProcessType().getId())){
00527         compatible = false;
00528         }
00529     }
00530 
00531     if(!compatible){
00532         
00533         //System.out.println("!compatible");
00534 
00535         return null;
00536     }
00537 
00538 
00539     //Vector of valid Processes with which every process in this
00540     //runseries is compatible
00541     Vector<MCProcessType> validProcs = new Vector<MCProcessType>();
00542 
00543     for(Integer allowedId: allowedIds){
00544         MCProcessType tmp = new MCProcessType(allowedId);
00545 
00546         if(tmp.isValid()){
00547         validProcs.add(tmp);
00548         }
00549     }
00550 
00551 
00552     //System.out.println(validProcs.toString());
00553 
00554     //Processes which are valid and compatible _only_ with those
00555     //processes in this runseries (there should be ony one such process)
00556     Vector<MCProcessType> uniqueProcess = new Vector<MCProcessType>();
00557 
00558     for(int ii=0; ii!= validProcs.size(); ++ii){
00559 
00560         if(validProcs.get(ii).getCompatibleProcesses().containsAll(PIds)
00561            &&
00562            PIds.containsAll(validProcs.get(ii).getCompatibleProcesses())){
00563         uniqueProcess.add(validProcs.get(ii));
00564         }
00565     }
00566 
00567     if(uniqueProcess.size()==0){
00568 
00569         //System.out.println("uniqueProcess.size()==0");
00570 
00571         return null;
00572         /*
00573         throw new JetWebException
00574         ("Runs in this RunSeries do not " + 
00575          "form a complete and valid physics process", 
00576          PIds.toString());
00577         */
00578     }else if(uniqueProcess.size()>1){
00579         
00580         throw new JetWebException
00581         ("Database specifies two or more physics processes "+
00582          "that are compatible with this set of runs",
00583          PIds.toString());
00584     }
00585 
00586     proc_ = uniqueProcess.get(0);
00587     return(proc_);
00588     }

int getNLogs  ) 
 

Return the number of LogFiles associated with this RunSeries

Definition at line 332 of file RunSeries.java.

References RunSeries.getId(), and RunSeries.nLogs.

00332                          {
00333     if (nLogs<0) { 
00334         try {
00335         nLogs = DBJobManager.getNLogs(this.getId());
00336         } catch (JetWebException j){
00337         System.out.println(j);
00338         }
00339     }
00340     return nLogs; 
00341     }

Enumeration<Match> getNonMatchingParameters  )  [inherited]
 

Returns enumeration of Match objects - results of matching this pattern with another

Definition at line 60 of file ResultSearchPattern.java.

References ResultSearchPattern.notMatching.

00060                                                         {
00061     return notMatching.elements();
00062     }

String getParms  )  [inherited]
 

Writes all the parameters to a String.

Returns:
parameter String

Definition at line 561 of file ResultSearchPattern.java.

References ResultSearchPattern.getGeneratorList(), ResultSearchPattern.getPhotonPDFList(), ResultSearchPattern.getProtonPDFList(), and PDF.toString().

Referenced by ResultSearchPattern.dumpParms().

00561                             {
00562     
00563     StringBuffer b = new StringBuffer("----------------------------");  
00564 
00565     b.append("\nGenerator "+this.getGeneratorList());   
00566     b.append("\nPhoton "+this.getPhotonPDFList());  
00567     b.append("\nProton "+this.getProtonPDFList());  
00568     return b.toString();
00569 
00570     }

PDF getPhotonPDF int  i  )  throws JetWebException [inherited]
 

Gets photon particle density function

Returns:
photonPDF

Definition at line 112 of file ResultSearchPattern.java.

References ResultSearchPattern.photonpdfList.

Referenced by HTMLJobWriter.getDescription(), and HTMLWriter.listHiddenPars().

00112                                                           {
00113  
00114     if (photonpdfList!=null && i<photonpdfList.size()) {
00115         try {
00116         return photonpdfList.elementAt(i); 
00117         } catch (ArrayIndexOutOfBoundsException a){
00118         throw new JetWebException(a,"Index was "+i+":");
00119         }
00120     } else {
00121         return null;
00122     }
00123     }

PDF getPhotonPDF  )  throws JetWebException
 

Gets photon particle density function

Returns:
photonPDF

Reimplemented from ResultSearchPattern.

Definition at line 888 of file RunSeries.java.

References RunSeries.getPhotonPDFList().

00889                           {
00890 
00891     if(dirtyPhotonpdfList_){
00892         getPhotonPDFList();
00893     }
00894     if(photonpdfList==null || photonpdfList.size()==0){
00895         throw new JetWebException("No Photon PDF defined in RunSeries",
00896                       "RunSeries.getPhotonPDF");
00897     }else if(photonpdfList.size()>1){
00898         throw new JetWebException
00899         ("Multiple photon PDFs defined in RunSeries - don't know which one to use",
00900          "RunSeries.getPhotonPDF");
00901     }
00902 
00903 
00904     return photonpdfList.get(0);
00905 
00906     }

Vector<PDF> getPhotonPDFList  ) 
 

Gets a list of photon particle density functions

Returns:
vector of PDFs

Reimplemented from ResultSearchPattern.

Definition at line 839 of file RunSeries.java.

References RunSeries.dirtyPhotonpdfList_, Run.getPhotonPDF(), and RunSeries.runs_.

Referenced by RunSeries.getPhotonPDF().

00839                                          {
00840     if(photonpdfList==null) photonpdfList = new Vector<PDF>();
00841 
00842     if(!dirtyPhotonpdfList_){
00843         return photonpdfList;
00844     }
00845 
00846     dirtyPhotonpdfList_ = false;
00847 
00848     Run checkRun;
00849 
00850     if(runs_.size()==0){
00851 
00852         System.out.println("runs_.size()=0: cannot determine photon pdf");
00853 
00854         return(photonpdfList);
00855     }else{
00856         checkRun = runs_.get(0);
00857         photonpdfList.clear();
00858         photonpdfList.add(checkRun.getPhotonPDF());
00859     }
00860 
00861     for(Run run: runs_){
00862         if(!run.isConsistentWith(checkRun)){
00863         photonpdfList.add(run.getPhotonPDF());
00864         }
00865     }
00866     return photonpdfList;
00867     }

PDF getProtonPDF int  i  )  throws JetWebException [inherited]
 

Gets proton particle density function

Returns:
protonPDF

Definition at line 78 of file ResultSearchPattern.java.

References ResultSearchPattern.protonpdfList.

Referenced by HTMLJobWriter.getDescription(), and HTMLWriter.listHiddenPars().

00078                                                           { 
00079     if (protonpdfList!=null && i < protonpdfList.size()) {
00080         try {
00081         return protonpdfList.elementAt(i); 
00082         } catch (ArrayIndexOutOfBoundsException a){
00083         throw new JetWebException(a,"Index was "+i+":");
00084         }
00085     } else {
00086         return null;
00087     }
00088     }

PDF getProtonPDF  )  throws JetWebException
 

Gets proton particle density function

Returns:
protonPDF

Reimplemented from ResultSearchPattern.

Definition at line 869 of file RunSeries.java.

References RunSeries.getProtonPDFList().

00870                            {
00871 
00872     if(dirtyProtonpdfList_){
00873         getProtonPDFList();
00874     }
00875 
00876     if(protonpdfList==null || protonpdfList.size()==0){
00877         throw new JetWebException("No Proton PDF defined in RunSeries",
00878                       "RunSeries.getProtonPDF");
00879     }else if(protonpdfList.size()>1){
00880         throw new JetWebException
00881         ("Multiple proton PDFs defined in RunSeries - don't know which one to use",
00882          "RunSeries.getProtonPDF");
00883     }
00884     return protonpdfList.get(0);
00885     
00886     }

Vector<PDF> getProtonPDFList  ) 
 

Gets a list of proton particle density functions

Returns:
vector of PDF names (Strings)

Reimplemented from ResultSearchPattern.

Definition at line 811 of file RunSeries.java.

References RunSeries.dirtyProtonpdfList_, Run.getProtonPDF(), and RunSeries.runs_.

Referenced by RunSeries.getProtonPDF().

00811                                          {
00812     
00813     if(protonpdfList==null) protonpdfList = new Vector<PDF>();
00814 
00815     if(!dirtyProtonpdfList_){
00816         return protonpdfList;
00817     }
00818     
00819     dirtyProtonpdfList_ = false;
00820 
00821     Run checkRun;
00822 
00823     if(runs_.size()==0){
00824         return(protonpdfList);//assumes ptotonpdfList must have been null
00825     }else{
00826         checkRun = runs_.get(0);
00827         protonpdfList.clear();
00828         protonpdfList.add(checkRun.getProtonPDF());
00829     }
00830 
00831     for(Run run: runs_){
00832         if(!run.isConsistentWith(checkRun)){
00833         protonpdfList.add(run.getProtonPDF());
00834         }
00835     }
00836     return protonpdfList;
00837     }

Double getPthat  )  throws JetWebException [inherited]
 

Gets PTHAT, the cutoff which seperates hard from soft scatters. In general this corresponds to a different parameter in each different generator, and should be provided by the generator class eventually. If its worth it... yes it is needed for the plotswitches.

Returns:
pthat

Definition at line 200 of file ResultSearchPattern.java.

References ResultSearchPattern.getGenerator().

Referenced by Fit.getFits(), and Model.getModels().

00200                                                     {   
00201     return getGenerator().getPthat();
00202     }

Vector<Integer> getSubSeries  ) 
 

Returns a vector of the Ids of the RunSeries that are "within" this one i.e. those RunSeries that belong to the same runseries_collection (generate data for a model that this

Definition at line 596 of file RunSeries.java.

00596                                          {
00597 
00598 
00599     return new Vector<Integer>();
00600     }

boolean isValid  )  throws JetWebException
 

Returns whether this runSeries contains a valid combination of Runs

Definition at line 919 of file RunSeries.java.

References RunSeries.dirtyIsValid_, RunSeries.getMCProcessType(), RunSeries.isValid_, RunSeries.proc_, and RunSeries.runs_.

00920                           {
00921 
00922     if(!dirtyIsValid_) return(isValid_);
00923     
00924     dirtyIsValid_ = false;
00925 
00926     getMCProcessType();
00927 
00928     isValid_ = (proc_ == null)? false: true;
00929 
00930     for(int ii=0; ii!=runs_.size() && isValid_;++ii){
00931         for(int jj=0; jj!= runs_.size(); ++jj){
00932         isValid_ = runs_.get(ii).isConsistentWith(runs_.get(jj));
00933         }
00934     }
00935 
00936     return(isValid_);
00937     }

RunSeries Maker Integer  newId  )  throws JetWebException [static]
 

Definition at line 72 of file RunSeries.java.

References RunSeries.previousId_, RunSeries.previousRunSeries_, and RunSeries.RunSeries().

Referenced by DBPlotManager.getPredictedPapers(), PredictedPlot.getProcIdWanted(), LogFile.getRunSeries(), and Paper.setFrom().

00073                           {
00074 
00075     if(newId!=previousId_){
00076         previousRunSeries_ = new RunSeries(newId);
00077         previousId_ = newId;
00078     }
00079 
00080     return previousRunSeries_;
00081 
00082     }

boolean matches ResultSearchPattern  pattern  )  throws JetWebException [inherited]
 

Checks whether this pattern is consistent with a ResultSearchPattern. An unspecified attribute on EITHER pattern will match ANY value of the attribute on the other pattern.

Parameters:
pattern to be compared with this pattern
Returns:
true if it matches, otherwise false
Exceptions:
JetWebException 

Definition at line 382 of file ResultSearchPattern.java.

References ResultSearchPattern.matches().

00382                                                                                {
00383     return matches(pattern,null);
00384     }

boolean matches Model  model  )  throws JetWebException [inherited]
 

Checks whether this pattern is consistent with a Model. An unspecified attribute on EITHER pattern will match ANY value of the attribute on the other pattern.

Parameters:
model to be compared with this pattern
Returns:
true if it matches, otherwise false
See also:
cedar.jetweb.model.Model
Exceptions:
JetWebException 

Definition at line 369 of file ResultSearchPattern.java.

References ResultSearchPattern.matches().

00369                                                                {
00370     return matches(model,null);
00371     }

boolean matches RunSeries  runSeries  )  throws JetWebException [inherited]
 

Checks whether this pattern is consistent with a runseries. An unspecified attribute on EITHER pattern will match ANY value of the attribute on the other pattern.

Parameters:
runSeries to be compared with this pattern
Returns:
true if it matches, otherwise false
See also:
cedar.jetweb.model.RunSeries
Exceptions:
JetWebException 

Definition at line 355 of file ResultSearchPattern.java.

Referenced by DBManager.getConsistentModels(), DBManager.getConsistentRunSeries(), and ResultSearchPattern.matches().

00355                                                                        {
00356     return matches(runSeries,runSeries.getMCProcessType());
00357     }

RunSeries removeIrrelevantParameters  )  throws JetWebException
 

Definition at line 940 of file RunSeries.java.

References RunSeries.dirtyCuts_, RunSeries.generator_, RunSeries.proc_, and RunSeries.setGenerator().

Referenced by LogFile.doChecks().

00940                                                                          {
00941 
00942     dirtyCuts_ = true;
00943     Set<Map.Entry<String,Integer>> intParameters;
00944     Set<Map.Entry<String,Double>>  realParameters;
00945     Set<Map.Entry<String,HashMap<Integer,Integer>>> intArrays;
00946     Set<Map.Entry<String,HashMap<Integer,Double>>> realArrays;
00947 
00948     Vector<String> toGo = new Vector<String>();
00949 
00950     // First the integer parameters.
00951     intParameters = generator_.getIntParameters().entrySet(); 
00952     for (Map.Entry<String,Integer> entry : intParameters){      
00953         if (!generator_.isRelevant(proc_,entry.getKey())){
00954             toGo.add(entry.getKey());
00955         }
00956     }
00957     for (String key : toGo){
00958         generator_.getIntParameters().remove(key);
00959     }
00960     toGo.clear();
00961 
00962     // Now the real parameters.
00963     realParameters = generator_.getRealParameters().entrySet(); 
00964     for (Map.Entry<String,Double> entry : realParameters){      
00965         if (!generator_.isRelevant(proc_,entry.getKey())){
00966             toGo.add(entry.getKey());
00967         }
00968     }
00969 
00970     for (String key : toGo){
00971         generator_.getRealParameters().remove(key);
00972     }
00973     toGo.clear();
00974 
00975 
00976     // Now the int arrays.
00977     intArrays = generator_.getIntParameterArrays().entrySet(); 
00978     for (Map.Entry<String,HashMap<Integer,Integer>> entry : intArrays){
00979         
00980         String arrayName = entry.getKey(); 
00981 
00982         Set<Map.Entry<Integer,Integer>> array = entry.getValue().entrySet();
00983 
00984         for (Map.Entry<Integer,Integer> arrayEntry : array){
00985 
00986         Integer index = arrayEntry.getKey();            
00987         if (!generator_.isRelevant(proc_,arrayName,index)){
00988             toGo.add(entry.getKey());
00989         }
00990         }
00991         for (String key : toGo){
00992         entry.getValue().remove(key);
00993         }
00994         toGo.clear();
00995     }
00996 
00997 
00998 
00999     // Now the real arrays.
01000     realArrays = generator_.getRealParameterArrays().entrySet(); 
01001     for (Map.Entry<String,HashMap<Integer,Double>> entry : realArrays){
01002         
01003         String arrayName = entry.getKey(); 
01004 
01005         Set<Map.Entry<Integer,Double>> array = entry.getValue().entrySet();
01006 
01007         for (Map.Entry<Integer,Double> arrayEntry : array){
01008 
01009         Integer index = arrayEntry.getKey();            
01010         if (!generator_.isRelevant(proc_,arrayName,index)){
01011             toGo.add(entry.getKey());
01012         }
01013         }
01014         for (String key : toGo){
01015         entry.getValue().remove(key);
01016         }
01017         toGo.clear();
01018 
01019 
01020 
01021     }
01022 
01023     // now make the runs consistent.
01024     for (Run run : runs_){
01025         run.setGenerator(generator_);
01026     }
01027 
01028     return this;
01029     }

boolean retrieve  )  throws JetWebException
 

Definition at line 141 of file RunSeries.java.

References RunSeries.dirtyCrossSection_, and RunSeries.dirtyLumi_.

Referenced by RunSeries.RunSeries().

00141                                                      {
00142 
00143     DBManager.selectFromDB(this);
00144     dirtyLumi_=false;
00145     dirtyCrossSection_ = false;
00146     return true;
00147     }

RunSeries setCrossSection Double  cs  ) 
 

Set the cross section for this runseries

Definition at line 268 of file RunSeries.java.

References RunSeries.crossSection_, and RunSeries.dirtyCrossSection_.

Referenced by JetWebLogReader.fillLog().

00268                                                {
00269     dirtyCrossSection_ = false;
00270     crossSection_ = cs;
00271     return this;
00272     }

boolean setCuts  )  throws JetWebException
 

Sets the cutcollection for this runseries based directly upon the generator settings.

Definition at line 620 of file RunSeries.java.

References RunSeries.cuts_, RunSeries.cutSuccess_, RunSeries.dirtyCuts_, and RunSeries.getGenerator().

Referenced by JobUtils.doJobRequest(), RunSeries.getCutCollection(), and JobUtils.updateJobs().

00621                           {
00622 
00623     if(!dirtyCuts_) return cutSuccess_;
00624     
00625     cuts_ = getGenerator().getCutCollection();
00626     cutSuccess_ = (cuts_==null)? false: true;
00627     dirtyCuts_ = false;
00628     return cutSuccess_;
00629 
00630     // used to set cut collection to match the cut collection of the 
00631     // plot with the smallest cut collection for which this runseries
00632     // generates data.
00633     // no longer used.
00634 
00635     /*
00636     if(!dirtyCuts_) return cutSuccess_;
00637     dirtyCuts_ = false;
00638     CutCollection newCuts = new CutCollection();
00639     
00640     cutSuccess_ = false;
00641 
00642     for(Paper paper: PaperBank.getPapers()){
00643         for(DataPlot plot: paper.getPlots()){
00644         if(plot.getProcIdWanted(getGenerator()) ==
00645            getMCProcessType().getId()){
00646 
00647             CutCollection cuts = plot.getCutCollection();
00648 
00649             if(cuts!=null){
00650             if(cuts.isWithin(getGenerator().getCutCollection())){
00651                 newCuts = cuts.union(newCuts);
00652                 cutSuccess_ = true;
00653             }
00654             }
00655         }
00656         }
00657     }
00658 
00659     cuts_ = newCuts;
00660 
00661     return cutSuccess_;
00662     */
00663     }

void setDate Date  date  ) 
 

Set the last date any data was added for this set of parameters.

Parameters:
date 

Definition at line 181 of file RunSeries.java.

00181                                   {
00182     this.date = date;
00183     }

void setDefaults  )  throws JetWebException [inherited]
 

Set all parameters to their default values.

Definition at line 597 of file ResultSearchPattern.java.

References ResultSearchPattern.generatorList, ResultSearchPattern.getGeneratorList(), ResultSearchPattern.getPhotonPDFList(), and ResultSearchPattern.getProtonPDFList().

Referenced by Searcher.doGet(), HTMLModelWriter.listNonDefaults(), and JobRequest.main().

00597                                                      {
00598 
00599     getProtonPDFList().clear(); 
00600     getProtonPDFList().add(JetWebConfig.defaultProtonPDF);
00601 
00602     getPhotonPDFList().clear(); 
00603         getPhotonPDFList().add(JetWebConfig.defaultPhotonPDF);
00604 
00605     // Default generator
00606     getGeneratorList().clear();
00607         Generator gen = Generator.Maker();
00608     gen.setDefaults();
00609     generatorList.add(gen);
00610 
00611     }

ResultSearchPattern setDescription String  description  )  [inherited]
 

Definition at line 179 of file ResultSearchPattern.java.

References ResultSearchPattern.description_.

Referenced by ServletUtils.makePattern().

00179                                                                  {
00180     description_ = description;
00181     return this;
00182     }

void setGenerator Generator  generator  ) 
 

Sets the generator of each run and hence the overall generator. If no run exists then it creates one.

Reimplemented from ResultSearchPattern.

Definition at line 722 of file RunSeries.java.

References RunSeries.dirtyCuts_, RunSeries.dirtyGenerator_, RunSeries.dirtyPhotonpdfList_, RunSeries.dirtyProtonpdfList_, RunSeries.generator_, RunSeries.runs_, Run.setGenerator(), and Run.setPDF().

Referenced by RunSeries.removeIrrelevantParameters(), and RunSeries.RunSeries().

00722                                                  {
00723     
00724     dirtyProtonpdfList_ = true;
00725     dirtyPhotonpdfList_ = true;
00726     dirtyCuts_ = true;
00727     if(runs_.size()==0){
00728         Run run = new Run();
00729         //run.setGenerator(generator);
00730         if(protonpdfList!=null && protonpdfList.size()!=0){
00731         run.setPDF(protonpdfList.get(0));
00732         }
00733         if(photonpdfList!=null && photonpdfList.size()!=0){
00734         run.setPDF(photonpdfList.get(0));
00735         }
00736         runs_.add(run);
00737     }
00738 
00739     for(Run run: runs_){
00740         run.setGenerator(generator);
00741     }
00742 
00743     generator_ = generator;
00744     dirtyGenerator_ = false;
00745     return;
00746     }

void setId int  newrunseriesId  ) 
 

Set the unique Id of this set of parameters.

Parameters:
newrunseriesId 

Definition at line 164 of file RunSeries.java.

References RunSeries.dirtyCuts_, and RunSeries.runseriesId.

Referenced by LogFile.addLogFile(), and LogFile.setRunSeriesId().

00164                                          {
00165     runseriesId = newrunseriesId;
00166     dirtyCuts_ =true;
00167     }

RunSeries setLumi double  newLumi  ) 
 

Set the integrated luminosity available for these parameters. If this runSeries object already contains one or more runs then it will maintain the relative luminosities of the different runs. If there are no existing runs then it will create one.

Parameters:
newLumi is the new luminosity value to be set.

Definition at line 193 of file RunSeries.java.

References RunSeries.addRun(), RunSeries.dirtyPhotonpdfList_, RunSeries.dirtyProtonpdfList_, RunSeries.getLumi(), RunSeries.lumi_, RunSeries.runs_, Run.setLumi(), and Run.setPDF().

Referenced by LogFile.addLogFile(), JetWebLogReader.fillLog(), RunSeries.RunSeries(), and LogFile.toDB().

00193                                             {
00194     
00195     Run run = null;
00196 
00197     if(runs_.size()==0){
00198         run = new Run();
00199         run.setLumi(1.0);
00200         if(protonpdfList!=null && protonpdfList.size()!=0){
00201         run.setPDF(protonpdfList.get(0));
00202         }
00203         if(photonpdfList!=null && photonpdfList.size()!=0){
00204         run.setPDF(photonpdfList.get(0));
00205         }
00206 
00207         addRun(run);
00208         dirtyProtonpdfList_ = true;
00209         dirtyPhotonpdfList_ = true;
00210     }
00211 
00212     double oldLumi = getLumi();
00213 
00214     //protect from existing lumi = 0 !
00215     double norm = oldLumi/newLumi;
00216 
00217     if(Match.compareDouble(norm, 0.0)){
00218         // the old lumi is 0.
00219         // so set all runs to have the new Lumi and return
00220 
00221         for(Run r: runs_){
00222         r.setLumi(newLumi);
00223         }
00224         lumi_ = newLumi;
00225         return this;
00226     }
00227 
00228     norm = newLumi / oldLumi;
00229 
00230     if(norm != norm){
00231         // since we already tested for oldLumi/newLumi  = 0, 
00232         // the only way we can get here is if newLumi = oldLumi = 0.
00233         norm = 0.0;
00234     }
00235 
00236     for(Run r: runs_){
00237         r.setLumi(norm * r.getLumi());
00238     }
00239 
00240     lumi_ = newLumi;
00241     //  combinedRun_.setLumi(newLumi);
00242 
00243     return(this);
00244     }

RunSeries setMCProcessType MCProcessType  proc  )  throws JetWebException
 

Sets the overall ProcessType. If you try and set a process that is not valid on its own then nothing is done. If you set a valid process that is compatible with the existing runs then additional runs (of zero lumi) are added such that the overall process is the one you asked for. If you set a process that is not compatible with even any one of the runs that already exist then the existing runs are removed but the luminosity is preserved.

Definition at line 368 of file RunSeries.java.

References RunSeries.dirtyCuts_, RunSeries.dirtyIsValid_, RunSeries.dirtyPhotonpdfList_, RunSeries.dirtyProcessType_, RunSeries.dirtyProtonpdfList_, RunSeries.generator_, RunSeries.getGenerator(), RunSeries.getLumi(), RunSeries.getMCProcessType(), RunSeries.lumi_, RunSeries.proc_, RunSeries.runs_, Run.setGenerator(), Run.setLumi(), Run.setMCProcessType(), and Run.setPDF().

Referenced by JobUtils.doJobRequest().

00369                           {
00370     dirtyCuts_ = true;
00371     if(!proc.isValid()){
00372         System.out.println
00373         ("Warning: MCProcessType for RunSeries"+
00374          " is not valid - not assigning");
00375         return this;
00376     }
00377        
00378     if(proc.equals(getMCProcessType())) return this;
00379       
00380     dirtyProcessType_ = true;
00381     dirtyIsValid_ = true;
00382 
00383     Vector<Integer> compatibleProcs = proc.getCompatibleProcesses();
00384 
00385     boolean compatible = (runs_.size()==0)? false: true;
00386 
00387     Vector<Integer> existingProcs = new Vector<Integer>();
00388 
00389     for(Run run: runs_){
00390 
00391         existingProcs.add(run.getMCProcessType().getId());
00392 
00393         if(!compatibleProcs.contains
00394            (run.getMCProcessType().getId())){
00395         compatible = false;
00396         }
00397     }
00398 
00399     if(!compatible){
00400         lumi_ = getLumi();
00401         generator_ = getGenerator();
00402         runs_.clear();
00403         dirtyProtonpdfList_ = true;
00404         dirtyPhotonpdfList_ = true;
00405         Vector<Integer> compatiblePIds = proc.getCompatibleProcesses();
00406 
00407         for(Integer PId: compatiblePIds){
00408         Run run = new Run();
00409         if(protonpdfList!=null && protonpdfList.size()!=0){
00410             run.setPDF(protonpdfList.get(0));
00411         }
00412         if(photonpdfList!=null && photonpdfList.size()!=0){
00413             run.setPDF(photonpdfList.get(0));
00414         }
00415         run.setLumi(lumi_);
00416         run.setGenerator(generator_);
00417         run.setMCProcessType(new MCProcessType(PId));
00418         runs_.add(run);
00419 
00420         }
00421 
00422         proc_ = proc;
00423         dirtyProcessType_ = false;
00424     }else{
00425 
00426         //for(int ii=0; ii!= compatibleProcs.size();++ii){
00427         for(Integer compatibleProc: compatibleProcs){
00428 
00429         //if(!existingProcs.contains(compatibleProcs.get(ii))){
00430         if(!existingProcs.contains(compatibleProc)){
00431             Run run = new Run();
00432             run.setLumi(lumi_);
00433             run.setMCProcessType
00434             //(new MCProcessType(compatibleProcs.get(ii)));
00435             (new MCProcessType(compatibleProc));
00436             runs_.add(run);
00437 
00438         }
00439         }
00440     }
00441 
00442     return(this);
00443     }

void setSoftDefaults  )  throws JetWebException [inherited]
 

Set any parameters which are not set to their default values.

Definition at line 576 of file ResultSearchPattern.java.

References ResultSearchPattern.getGeneratorList(), ResultSearchPattern.getPhotonPDFList(), and ResultSearchPattern.getProtonPDFList().

Referenced by Searcher.doGet(), JetWebLogReader.fillLog(), and Model.Model().

00576                                                          {
00577 
00578     if (getProtonPDFList().size()==0) 
00579         getProtonPDFList().add(JetWebConfig.defaultProtonPDF);
00580     if (getPhotonPDFList().size()==0) 
00581         getPhotonPDFList().add(JetWebConfig.defaultPhotonPDF);
00582 
00583     // Default generator
00584     if (getGeneratorList().size()==0) {
00585         // add a default generator
00586         Generator gen = Generator.Maker();
00587         gen.setDefaults();
00588         getGeneratorList().add(gen);
00589     } else {
00590         for (Generator gen : generatorList)
00591         gen.setSoftDefaults();
00592     }
00593     }


Member Data Documentation

Double crossSection_ [private]
 

Definition at line 38 of file RunSeries.java.

Referenced by RunSeries.getCrossSection(), and RunSeries.setCrossSection().

CutCollection cuts_ [private]
 

Definition at line 54 of file RunSeries.java.

Referenced by RunSeries.setCuts().

boolean cutSuccess_ = false [private]
 

Definition at line 56 of file RunSeries.java.

Referenced by RunSeries.setCuts().

Date date [private]
 

Definition at line 35 of file RunSeries.java.

String description_ [protected, inherited]
 

Definition at line 35 of file ResultSearchPattern.java.

Referenced by ResultSearchPattern.setDescription().

boolean dirtyCrossSection_ = true [private]
 

Definition at line 39 of file RunSeries.java.

Referenced by RunSeries.addRun(), RunSeries.clearRuns(), RunSeries.getCrossSection(), RunSeries.retrieve(), and RunSeries.setCrossSection().

boolean dirtyCuts_ = true [private]
 

Definition at line 55 of file RunSeries.java.

Referenced by RunSeries.addRun(), RunSeries.clearRuns(), RunSeries.removeIrrelevantParameters(), RunSeries.setCuts(), RunSeries.setGenerator(), RunSeries.setId(), and RunSeries.setMCProcessType().

boolean dirtyGenerator_ = true [private]
 

Definition at line 50 of file RunSeries.java.

Referenced by RunSeries.getGenerator(), and RunSeries.setGenerator().

boolean dirtyIsValid_ = true [private]
 

Definition at line 47 of file RunSeries.java.

Referenced by RunSeries.addRun(), RunSeries.clearRuns(), RunSeries.isValid(), and RunSeries.setMCProcessType().

boolean dirtyLumi_ = true [private]
 

Definition at line 37 of file RunSeries.java.

Referenced by RunSeries.addRun(), RunSeries.clearRuns(), RunSeries.getLumi(), and RunSeries.retrieve().

boolean dirtyPhotonpdfList_ = true [private]
 

Definition at line 51 of file RunSeries.java.

Referenced by RunSeries.addRun(), RunSeries.clearRuns(), RunSeries.getPhotonPDFList(), RunSeries.setGenerator(), RunSeries.setLumi(), and RunSeries.setMCProcessType().

boolean dirtyProcessType_ = true [private]
 

Definition at line 42 of file RunSeries.java.

Referenced by RunSeries.addRun(), RunSeries.clearRuns(), RunSeries.getMCProcessType(), and RunSeries.setMCProcessType().

boolean dirtyProtonpdfList_ = true [private]
 

Definition at line 52 of file RunSeries.java.

Referenced by RunSeries.addRun(), RunSeries.clearRuns(), RunSeries.getProtonPDFList(), RunSeries.setGenerator(), RunSeries.setLumi(), and RunSeries.setMCProcessType().

Generator generator_ [private]
 

Definition at line 49 of file RunSeries.java.

Referenced by RunSeries.getGenerator(), RunSeries.removeIrrelevantParameters(), RunSeries.setGenerator(), and RunSeries.setMCProcessType().

Vector<Generator> generatorList [protected, inherited]
 

List of generators.

Definition at line 40 of file ResultSearchPattern.java.

Referenced by ResultSearchPattern.clone(), ResultSearchPattern.getGenerator(), ResultSearchPattern.getGeneratorList(), RunSeries.RunSeries(), ResultSearchPattern.setDefaults(), and ResultSearchPattern.setGenerator().

boolean isValid_ = false [private]
 

Definition at line 46 of file RunSeries.java.

Referenced by RunSeries.isValid().

Vector<LogFile> logFiles [private]
 

Definition at line 41 of file RunSeries.java.

Referenced by RunSeries.getLogFiles().

double lumi_ [private]
 

Definition at line 36 of file RunSeries.java.

Referenced by RunSeries.getLumi(), RunSeries.setLumi(), and RunSeries.setMCProcessType().

int nLogs = -1 [private]
 

Definition at line 40 of file RunSeries.java.

Referenced by RunSeries.getNLogs().

Vector<Match> notMatching = new Vector<Match>() [protected, inherited]
 

Vector of Match objects - contains differences between this pattern and another.

Definition at line 54 of file ResultSearchPattern.java.

Referenced by ResultSearchPattern.clone(), ResultSearchPattern.compare(), ResultSearchPattern.getNonMatchingParameters(), and ResultSearchPattern.matches().

Vector<PDF> photonpdfList [protected, inherited]
 

List of Photon Particle Density Functions

Definition at line 48 of file ResultSearchPattern.java.

Referenced by ResultSearchPattern.clone(), ResultSearchPattern.getPhotonPDF(), ResultSearchPattern.getPhotonPDFList(), and RunSeries.RunSeries().

Integer previousId_ [static, private]
 

Definition at line 64 of file RunSeries.java.

Referenced by RunSeries.Maker().

RunSeries previousRunSeries_ [static, private]
 

Definition at line 65 of file RunSeries.java.

Referenced by RunSeries.Maker().

MCProcessType proc_ [private]
 

Definition at line 43 of file RunSeries.java.

Referenced by RunSeries.getMCProcessType(), RunSeries.isValid(), RunSeries.removeIrrelevantParameters(), and RunSeries.setMCProcessType().

HashMap<MCProcessType, Vector<MCProcessType> > ProcessCompatibility_ [static, private]
 

Initial value:

 
    new HashMap<MCProcessType Vector<MCProcessType> > ()

Definition at line 58 of file RunSeries.java.

Vector<PDF> protonpdfList [protected, inherited]
 

List of Proton Particle Density Functions

Definition at line 44 of file ResultSearchPattern.java.

Referenced by ResultSearchPattern.clone(), ResultSearchPattern.getProtonPDF(), ResultSearchPattern.getProtonPDFList(), and RunSeries.RunSeries().

Vector<Run> runs_ = new Vector<Run>(0) [private]
 

Definition at line 44 of file RunSeries.java.

Referenced by RunSeries.addRun(), RunSeries.clearRuns(), RunSeries.getGenerator(), RunSeries.getMCProcessType(), RunSeries.getPhotonPDFList(), RunSeries.getProtonPDFList(), RunSeries.isValid(), RunSeries.RunSeries(), RunSeries.setGenerator(), RunSeries.setLumi(), and RunSeries.setMCProcessType().

int runseriesId = -1 [private]
 

Definition at line 34 of file RunSeries.java.

Referenced by RunSeries.RunSeries(), and RunSeries.setId().


The documentation for this class was generated from the following file:

Generated Wed Jan 17 09:14:27 GMT 2007