jetweb is hosted by Hepforge, IPPP Durham

cedar.jetweb.model
Class Run

java.lang.Object
  extended by cedar.jetweb.model.Run

public class Run
extends java.lang.Object

Represents a single Monte Carlo run. Contains the generator settings used, the luminosity generated and the process generated. Should allow two runs to be compared to see if they can be used as part of the same data set

Author:
James Monk

Constructor Summary
Run()
           
 
Method Summary
 Generator getGenerator()
          returns the generator used in this run
 double getLumi()
          returns the luminosity generated in this run
 MCProcessType getMCProcessType()
          returns the process type for this run
 PDF getPhotonPDF()
           
 PDF getPionPDF()
           
 PDF getProtonPDF()
           
 boolean isConsistentWith(Run run)
           
 Run setGenerator(Generator generator)
          sets the generator used in this run
 Run setLumi(double lumi)
          sets the luminosity generated in this run
 Run setMCProcessType(Collision collision)
          Sets the Process for this run from a collision and from the known process parameters for the generator
 Run setMCProcessType(MCProcessType proc)
          Sets the process type for this run.
 Run setPDF(PDF pdf)
          Sets one of the pdfs used in this run
 Run setProcParams(java.util.HashMap<java.lang.String,java.util.HashMap<java.lang.Integer,java.lang.Integer>> arg)
          Sets the list of parameters that determine the process and not the model
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Run

public Run()
Method Detail

setProcParams

public Run setProcParams(java.util.HashMap<java.lang.String,java.util.HashMap<java.lang.Integer,java.lang.Integer>> arg)
Sets the list of parameters that determine the process and not the model

Parameters:
HashMap - of the parameter array names and the array


setMCProcessType

public Run setMCProcessType(Collision collision)
                     throws JetWebException
Sets the Process for this run from a collision and from the known process parameters for the generator

Parameters:
Collision - that determines the process type to use
Throws:
JetWebException


setMCProcessType

public Run setMCProcessType(MCProcessType proc)
Sets the process type for this run.


getMCProcessType

public MCProcessType getMCProcessType()
returns the process type for this run


setLumi

public Run setLumi(double lumi)
sets the luminosity generated in this run


getLumi

public double getLumi()
returns the luminosity generated in this run


setGenerator

public Run setGenerator(Generator generator)
sets the generator used in this run


getGenerator

public Generator getGenerator()
returns the generator used in this run


setPDF

public Run setPDF(PDF pdf)
Sets one of the pdfs used in this run

Parameters:
PDF - the pdf to be used in this run.


getProtonPDF

public PDF getProtonPDF()

getPhotonPDF

public PDF getPhotonPDF()

getPionPDF

public PDF getPionPDF()

isConsistentWith

public boolean isConsistentWith(Run run)