-- IsaPedraza - 2016-04-05



Here you can find an extended explanation of the subjects presented here.

How to run the simulation

The instructions to obtain a ROOT file containing the digis in the old format are the following (you could find them here too):

cmsrel CMSSW_7_5_0_pre5
cd CMSSW_7_5_0_pre5/src/
git cms-merge-topic bapavlov:technical_changes_v1
scram b -j 8
cmsDriver.py SingleMuPt100_cfi -s GEN,SIM --conditions auto:run2_design --datatier GEN-SIM --geometry Extended2023 --eventcontent FEVTDEBUGHLT --era Run2_25ns -n <number of events> --no_exec --fileout out_sim.root --python SingleMuPt100_cfi_GEM-SIM_Extended2023_cfg.py
cmsDriver.py SingleMuPt100_cfi -s DIGI --conditions auto:run2_design --datatier DIGI --geometry Extended2023 --eventcontent FEVTDEBUGHLT --era Run2_25ns --customise=SimMuon/GEMDigitizer/customizeGEMDigi.customize_digi_addGEM_muon_only,SLHCUpgradeSimulations/Configuration/fixMissingUpgradeGTPayloads.fixRPCConditions -n <number of events> --no_exec --filein file:out_sim.root --fileout out_digi.root --python SingleMuPt100_cfi_DIGI_Extended2023_cfg.py
cmsRun SingleMuPt100_cfi_GEM-SIM_Extended2023_cfg.py
cmsRun SingleMuPt100_cfi_DIGI_Extended2023_cfg.py
mv out_digi.root out_old_digi.root

In the field <number of events> it will be introduced the number of events that you want to simulate, for example 10, 10 000 or 20 000, etc. To produce the digis in the new format (last update: April 8, 2016), you should do in addition:

#instead of:
#git cms-merge-topic bapavlov:new_digi_v2
#type the following command :
git cms-merge-topic bapavlov:new_rpcdigi_v7
scram b -j 8
cmsRun SingleMuPt100_cfi_DIGI_Extended2023_cfg.py
mv out_digi.root out_new_digi.root

In the new digi format there are two new variables: time (for timing) and coordinateY (a second reference coordinate). So, the next step is to run the validation.

How to run the validation

The validation package is in CMSSW_7_5_0_pre5/src/Validation/MuonRPCDigis. It should be changed the files

  • Validation/MuonRPCDigis/interface/RPCDigiValid.h: This is the header file. You have to add the new histograms for the "time" and "coordinateY" variables (line 41).
  • Validation/MuonRPCDigis/src/RPCDigiValid.cc: You have to book the new histograms (line 303) and fill them (line 114).
Note: You can find more information about the variables (ring, station, sector, layer, roll, etc) used in these two files in the next page.

After that, you must re-compile everything with the command scram b -j 8.

The configuration file is val_cmx_cfg.py, and it is attached to this page. It should be in the src directory, where is the out_new_digi.root file. Finally, you run the validation by typing cmsRun val_cmx_cfg.py.

The output is a ROOT file named DQM_V0001_R000000001__RPC__Digi__CMXV.root, where you will find the validation histograms of the new variables (see the screenshot).

Topic attachments
I Attachment History Action Size Date Who Comment
PNGpng New_histograms_root.png r1 manage 163.6 K 2016-04-08 - 16:31 BrendaFabelaEnriquez  
PNGpng RPCDigiValid_cc_changes1.png r1 manage 28.5 K 2016-04-08 - 16:31 BrendaFabelaEnriquez  
PNGpng RPCDigiValid_cc_changes2.png r1 manage 24.0 K 2016-04-08 - 16:31 BrendaFabelaEnriquez  
PNGpng RPCDigiValid_h_changes.png r1 manage 18.5 K 2016-04-08 - 16:31 BrendaFabelaEnriquez  
Texttxt val_cmx_cfg.py.txt r1 manage 1.8 K 2016-04-08 - 16:13 BrendaFabelaEnriquez  
Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r3 - 2016-04-09 - BrendaFabelaEnriquez
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    Main All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2020 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback