Definition at line 20 of file Run.java.
Public Member Functions | |
Run | setProcParams (HashMap< String, Object > arg) |
Run | setMCProcessType (Collision collision) throws JetWebException |
Run | setMCProcessType (MCProcessType proc) |
MCProcessType | getMCProcessType () |
Run | setCrossSection (double cs) |
Double | getCrossSection () |
Run | setLumi (double lumi) |
double | getLumi () |
Run | setGenerator (Generator generator) |
Generator | getGenerator () |
Run | setPDF (PDF pdf) |
getProtonPDF () | |
getPhotonPDF () | |
getPionPDF () | |
boolean | isConsistentWith (Run run) |
boolean | equals (Run run) |
Private Attributes | |
MCProcessType | proc_ = new MCProcessType() |
double | lumi_ = 0.0 |
double | crossSection_ = -1.0 |
HashMap< String, Object > | procParameters_ = new HashMap<String Object>() |
Generator | generator_ |
photonPDF_ | |
protonPDF_ | |
pionPDF_ | |
Static Private Attributes | |
String | SCHEME_PDFLIB = "PDFLIB" |
String | SCHEME_LHAPDF = "LHAPDF" |
String | PROTON = "gamma" |
String | PHOTON = "p" |
String | ANTIPROTON = "pbar" |
|
Same as the isConsistentWith method, but with the stricter requirement that the process must be identical in the two runs and not merely compatible Definition at line 219 of file Run.java. References MCProcessType.equals(), and Run.getMCProcessType(). 00219 { 00220 00221 boolean eq = (proc_.equals(run.getMCProcessType())) && 00222 isConsistentWith(run); 00223 00224 return eq; 00225 }
|
|
Definition at line 103 of file Run.java. 00103 {
00104 return crossSection_;
00105 }
|
|
returns the generator used in this run Definition at line 139 of file Run.java. Referenced by RunSeries.getGenerator(), and Run.isConsistentWith(). 00139 {
00140 return(generator_);
00141 };
|
|
returns the luminosity generated in this run Definition at line 122 of file Run.java. 00122 {
00123 return(lumi_);
00124 };
|
|
returns the process type for this run Definition at line 90 of file Run.java. Referenced by Run.equals(), and Run.isConsistentWith(). 00090 {
00091 return(proc_);
00092 };
|
|
Definition at line 169 of file Run.java. Referenced by RunSeries.getPhotonPDFList(), and Run.isConsistentWith(). 00169 {
00170 return(photonPDF_);
00171 }
|
|
Definition at line 173 of file Run.java. 00173 {
00174 return pionPDF_;
00175 };
|
|
Definition at line 165 of file Run.java. Referenced by RunSeries.getProtonPDFList(), and Run.isConsistentWith(). 00165 {
00166 return(protonPDF_);
00167 }
|
|
Definition at line 186 of file Run.java. References PDF.equals(), MCProcessType.getCompatibleProcesses(), Run.getGenerator(), MCProcessType.getId(), Run.getMCProcessType(), Run.getPhotonPDF(), and Run.getProtonPDF(). Referenced by RunSeries.addRun(). 00186 { 00187 00188 boolean sameProtonPDF = false; 00189 sameProtonPDF = protonPDF_==null || 00190 run.getProtonPDF()==null; 00191 00192 if(!sameProtonPDF && 00193 protonPDF_.equals(run.getProtonPDF())) sameProtonPDF = true; 00194 00195 boolean samePhotonPDF = false; 00196 samePhotonPDF = photonPDF_==null || 00197 run.getPhotonPDF()==null; 00198 if(!samePhotonPDF && 00199 photonPDF_.equals(run.getPhotonPDF())) samePhotonPDF = true; 00200 00201 return( 00202 samePhotonPDF && 00203 sameProtonPDF && 00204 //generator_.isConsistentWith(run.getGenerator())&& 00205 generator_.hasConsistentModel(run.getGenerator()) && 00206 proc_.getCompatibleProcesses().contains 00207 (run.getMCProcessType().getId()) 00208 ); 00209 00210 00211 };
|
|
Sets the cross section of this run Definition at line 98 of file Run.java. Referenced by JetWebLogReader.fillRun(). 00098 { 00099 crossSection_ = cs; 00100 return this; 00101 }
|
|
sets the generator used in this run Definition at line 130 of file Run.java. Referenced by JetWebLogReader.fillRun(), RunSeries.setGenerator(), and RunSeries.setMCProcessType(). 00130 { 00131 generator_ = generator; 00132 return(this); 00133 };
|
|
sets the luminosity generated in this run Definition at line 112 of file Run.java. Referenced by JetWebLogReader.fillRun(), RunSeries.setLumi(), and RunSeries.setMCProcessType(). 00112 { 00113 lumi_ = lumi; 00114 return(this); 00115 };
|
|
Sets the process type for this run. Definition at line 81 of file Run.java. 00081 { 00082 proc_ = proc; 00083 return(this); 00084 };
|
|
Sets the Process for this run from a collision and from the known process parameters for the generator
Definition at line 64 of file Run.java. References MCProcessType.getId(), MCProcessType.setCollision(), and MCProcessType.setMCProcessName(). Referenced by JetWebLogReader.fillRun(), and RunSeries.setMCProcessType(). 00065 { 00066 00067 if(proc_==null) proc_ = new MCProcessType(); 00068 00069 proc_.setCollision(collision); 00070 proc_.setMCProcessName(generator_.getMCProcessName(procParameters_)); 00071 proc_.getId(); 00072 00073 return(this); 00074 }
|
|
Sets one of the pdfs used in this run
Definition at line 149 of file Run.java. References PDF.isPhoton(), PDF.isPion(), and PDF.isProton(). Referenced by JetWebLogReader.fillRun(), RunSeries.setGenerator(), RunSeries.setLumi(), and RunSeries.setMCProcessType(). 00149 { 00150 00151 //System.out.println("setting pdf in run"); 00152 00153 //System.out.println("pdf = "+pdf.getName()); 00154 00155 //System.out.println("pdf.isPhoton() = "+pdf.isPhoton()); 00156 //System.out.println("pdf.isProton() = "+pdf.isProton()); 00157 00158 if(pdf.isPhoton()) photonPDF_ = pdf; 00159 if(pdf.isProton()) protonPDF_ = pdf; 00160 if(pdf.isPion()) pionPDF_ = pdf; 00161 00162 return this; 00163 }
|
|
Sets the list of parameters that determine the process and not the model
Definition at line 51 of file Run.java. Referenced by JetWebLogReader.fillRun(). 00051 { 00052 //System.out.println("procParams = "+arg); 00053 procParameters_ = arg; 00054 return(this); 00055 }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Generated Wed Jan 17 09:14:27 GMT 2007