Beam Spot Monitoring

Introduction

This twiki describes the ongoing development of implementing beam spot monitoring to Online/Offline DQM and how to use it.

How to use it

1) Check out the codes:

cmsrel CMSSW_2_2_5
cd CMSSW_2_2_5/src
cmsenv
cmscvsroot CMSSW
cvs co -d UserCode/BeamSpotMonitoring UserCode/Jeng/BeamSpotMonitoring
scramv1 b
cd UserCode/BeamSpotMonitoring/test/

2) Start DQM Gui Server:

  • Follow the instruction under the section of "Starting the GUI server"
  • Remember to stop GUI server and collector when you are done with the test. See "Stopping the GUI server and the collector"

3) Edit dqmStandalone_cfg.py (or dqmReadFromRAW_cfg), change <DQM Gui Server Host> to the machine that runs gui service

process.ep = cms.EndPath(process.outP)
process.p = cms.Path(process.dqmSource+process.dqmClient+process.dqmEnv+process.dqmSaver)

process.DQMStore.verbose = 0
process.DQMStore.collateHistograms = False

process.DQM.collectorHost = "<DQM Gui Server Host>"
process.DQM.collectorPort = 9190

process.dqmSaver.convention = 'Online'
process.dqmSaver.dirName = '/tmp'
process.dqmSaver.producer = 'DQM'

process.dqmEnv.subSystemFolder = 'BeamSpotMonitor'

4) Run:

cmsRun dqmStandalone_cfg.py

5) Open web browser to check histograms:

http://<DQM Gui Server Host>:8888/dqm/devtest

Histograms

Lists of the proposed histograms:

Histogram Name Type Description
d0.tiff 1D d0 of tracks calculated with respect to (0,0,0). Double peak seen for displaced beam line. This already exists in tracker DQM.
d0bs.tiff 1D d0 calculated w.r.t. beam spot (from offlineBeamSpot, which takes beam spot object from DB. Constant at the moment). Should see only one peak centers at 0 for good beam fitting results.
d0_phi.tiff Profile d0-phi0 correlation. A sine shape is expected for displaced beam line
d0bs_phi.tiff Profile d0-phi0 correlation where beam spot info is used to calculate d0. Should be relatively straighter than d0_phi histogram
vx_dz.tiff Profile Beam slope: dx/dz. Should see horizontal if no crossing angle
vy_dz.tiff Profile Beam slope:dy/dz. Should be horizontal if no crossing angle
x0_evt.tiff Profile Trending of x coordinate of fitted beam position w.r.t. event number. Beam position is fitted at the end of every lumisection. Input track collection is reset if it has more than 15k tracks
y0_evt.tiff Profile Trending of y coordinate of fitted beam position w.r.t. event number. Beam position is fitted at the end of every lumisection. Input track collection is reset if it has more than 15k tracks

Plan

TBD.

-- GengyuanJeng - 30 Mar 2009

Edit | Attach | Watch | Print version | History: r7 < r6 < r5 < r4 < r3 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r4 - 2009-03-30 - GengyuanJeng
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    Sandbox All webs login

  • Edit
  • Attach
This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2021 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback