- BEMC
- BTOF
- DAQ
- Detector Upgrades
- EEMC
- EPD
- ETOF
- FCS
- FGT
- FPD & FMS & FPS
- FTPC
- FTT
- HFT
- HLT
- L3
- MTD
- MTD NPS Maps
- PMD
- PP2PP
- RICH
- Roman Pot Phase II*
- Run-18 calibrations
- SSD
- SVT
- Slow Controls
- TPC
- TRG
- Trigger Detectors
- L2 documentation
- 2008 pp run
- 2009 pp run
- 0) lastDSM masks
- 01 changes to L2 algos from last year
- 1) L2Result Offsets
- a) L2emulL0_2009 (L0 hardware emulation)
- b) L2btowGammaAlgo (barrel gamma algorithm)
- c) L2etowGammaAlgo (endcap gamma algorithm)
- d) L2hienAlgo (passive barrel and endcap high tower filter)
- e) L2jetAlgo (barrel and endcap combined jet algorithm)
- f) L2pedAlgo (barrel and endcap pedestal monitor)
- g) L2upsilonAlgo (barrel upsilon algorithm)
- h) W-algo BTOW
- xxxxxxx old xxxxxx
- 2011 pp run
- L2 Documentation: 2014 Comments
- content of setup file for L2 algos
- convert L2 bin histo to root histo
- offline framework description
- production of binary events for L2 algos
- Simulator Documentation
- ZDC
- L2 documentation
- VPD
- test
f) L2pedAlgo (barrel and endcap pedestal monitor)
Updated on Fri, 2009-03-06 15:13. Originally created by rcorliss on 2009-03-06 12:20.
Under:
This algorithm records the ADC values from the ETOW and BTOW for pedestal studies.
This algorithm reads in 5 ints from run control:
[i0] ped subtraction flag
[i1] speed factor
[i2] 'save binary' flag
[i3] debug
[i4] prescale for accept
The logic used is as follows:
Each event, ADCs from 1/i1 (where i1 is rounded off to be 1,2,4,8,16,32,64, or 192) of the barrel and endcap are histogrammed by rdo. The selected regions roll, so that [0,1/i1] is histogrammed the first event, [1/i1,2/i1] the next, etc.
If i0>0, instead of histogramming the raw ADC, the pedestal is subtracted first, allowing the residual to be seen.
if i2>0 the entire histogram is saved at the end of the run rather than just keeping [-10,100] ADC.
If the prescale for accept is set greater than zero, then the algorithm no longer fills histograms, and simply does the following for every event:
if((rand()>>4) % par_prescAccept ) return false;
return true;
This is NOT the same as the procedure for the Random Accept Prescale.
If debug>0 debug messages are printed.
»
- Printer-friendly version
- Login or register to post comments