draconyan
Public Member Functions | Public Attributes | List of all members
RunSet.Run Class Reference
Inheritance diagram for RunSet.Run:
Inheritance graph
[legend]
Collaboration diagram for RunSet.Run:
Collaboration graph
[legend]

Public Member Functions

def __init__ (self)
 
def calc_IoverN (self)
 
def calc_IoverN1 (self)
 
def calc_R (self)
 
def calc_R1 (self)
 
def convert_fc4 (self, chargeState)
 
def get_normalisation
 
def get_sb_data (self, line)
 
def make_input_from_run (self)
 
def make_run_from_file_step1 (self, line)
 
def make_run_from_input (self, line)
 
- Public Member Functions inherited from RunSet.RunSettings
def __init__ (self)
 
def calc_Ecm (self, massProj, massTarg)
 

Public Attributes

 runNumber
 
 fc4
 
 dFc4
 
 sb0Start
 
 sb0End
 
 sb1Start
 
 sb1End
 
 R
 
 R1
 
 IoverN
 
 IoverN1
 
 sb0Tot
 
 sb1Tot
 
 hiLt
 
 eBeam
 
 Ecm
 
 pTarget
 
 tarTrans
 
 sepTrans
 
 CSF
 
- Public Attributes inherited from RunSet.RunSettings
 eBeam
 
 pTarget
 
 Ecm
 
 tarTrans
 
 sepTrans
 
 sb0Tot
 
 sb1Tot
 
 R
 
 R1
 
 dPressure
 
 dEnergy
 
 dFc4
 
 hiLt
 
 CSF
 
 mcpTrans
 
 mcpEff
 

Detailed Description

Contains data for a single run.

Member Function Documentation

def RunSet.Run.calc_IoverN (   self)
Calculates the individual FC4 current per SB0 for the beginning and the end of the run.
def RunSet.Run.calc_IoverN1 (   self)
Calculates the individual FC4 current per SB1 for the beginning and the end of the run.
def RunSet.Run.calc_R (   self)
Calculates the individual normalisation factor for the beginning and the end of the run.

Does not contain FC4 uncertainty (systematic!)
def RunSet.Run.calc_R1 (   self)
Calculates the individual normalisation factor based on SB1 for the beginning and the end of the run.
def RunSet.Run.convert_fc4 (   self,
  chargeState 
)
Convert cup readings from eA to particles/s.

Requires charge state of incoming beam.
def RunSet.Run.get_normalisation (   self,
  format = 0 
)
Return string of run data

If format=1 the titles are returned, used as the first line in output files.
def RunSet.Run.get_sb_data (   self,
  line 
)
Get SB and lt data from line.

Format:
Run    SB0   +/-   SB1   +/-   lt_HI  +/-   lt_BGO   +/-    SB0start/s   +/-     SB0end/s    +/-    SB1start/s   +/-     SB1end/s    +/- 
def RunSet.Run.make_run_from_file_step1 (   self,
  line 
)
Get run data from line.

This function is used to read in a file with pre-calculated run data written by \'get_normalisation\'. This way, the normalisation can be done up to that point, the output file edited, and then read back  in to continue with the modified runs. 
Format:
Run   Ein   Eout   Ecm   +/-   pressure   FC4before   +/-   FC4after   +/-    tarTrans   +/-   sepTrans   +/-   HI_lt   +/-   CSF   +/-   SB0tot   +/-   SB0start   +/-   SB0end   +/-   Rstart   +/-   Rend   +/-   FC4/SB0start   +/-   FC4/SB0end   +/-   SB1tot   +/-   SB1start   +/-   SB1end   +/-   R1start   +/-   R1end   +/-   FC4/SB1start   +/-   FC4/SB1end   +/-
def RunSet.Run.make_run_from_input (   self,
  line 
)
Get run data from line. 

Format:
run    Ein[keV/u]     Eout[keV/u]    pressure      FC4before [eA]    FC4after [eA]    target  +/-  separator    +/-    CSF     +/-.
Returns new Run object

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