e) L2jetAlgo (barrel and endcap combined jet algorithm)

This algorithm searches for jet-like energy distributions in the barrel and endcap calorimeters, and will run even if one or the other is not in the run.

This algorithm reads in 1 int from run control:

[i0] setup version, which controls which of ~developer/emc_setup/algoJet2009.setup* is used to set the parameters for the algorithm

This algorithm reads in 5 ints and 9 floats from the selected file:

[i0] What parts of the BEMC to use (1=East, 2=West, 3=both)

[i1] Whether to use the EEMC (>0 = yes)

[i2] par_adcThr (unused?)

[i3] debug

[i4] Random Accept Prescale

[f0] Et threshold for single jet

[f1] par_diJetThrHigh

[f2] par_diJetThrLow

[f3] par_diJetThr_2

[f4] par_diJetThr_3

[f5] par_diJetThr_4

[f6] par_diJetThr_5

[f7] par_diJetEtaHigh

[f8] par_diJetEtaLow

 

The logic is fairly complex.  Brian Page is the maintainer of the jet code, so questions should be directed to him.

The Random Accept Prescale value sets the prescale for random accept, described elsewhere.

If debug>0 debug messages are printed.