Line Code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46
To install, execute these commands:

   source /uscmst1/prod/sw/cms/cshrc prod
   mkdir RelVal
   cd RelVal
   scramv1 project CMSSW CMSSW_2_2_3
   cd CMSSW_2_2_3/src/
   cmsenv
   cvs co HLTriggerOffline/JetMET
   scramv1 b
   cd HLTriggerOffline/JetMET/run



Run the histogram maker:

   cmsRun HLTJetMETValidation_cfg.py


Output file will be in one of the  relval* subdirectories.

Use plot_validation.C to plot turn-on curves of two releases or
comparing fastsim / fullsim. The macro needs to be adjusted for the
input file path names.


Steps to do validation for a new release:

1. create a new subdirectory in HLTriggerOffline/JetMET/run, for
   example, relval300pre7_startup

2. in HLTriggerOffline/JetMET/python create a file that contains the
   input file list, for example, RelVal_300pre7_80_120_cff.py

3. in HLTriggerOffline/JetMET/python/Validation/
   edit SingleJetValidation_cfi.py and set the name of the output
   rootfile (rootfile="relval300pre7_startup/qcd80-120_output.root")

4. edit HLTriggerOffline/JetMET/run/HLTJetMETValidation_cfg.py
   and set the correct input file

5. cmsRun HLTJetMETValidation_cfg.py

6. use the above mentioned macro plot_validation.C with the output root file(s).