CMS 3D CMS Logo

L1THistDefinitions_cff.py
Go to the documentation of this file.
1 from builtins import range
2 import FWCore.ParameterSet.Config as cms
3 
4 et_vs_et_bins = []
5 et_vs_et_bins.extend(list(range(0, 50, 1)))
6 et_vs_et_bins.extend(list(range(50, 150, 5)))
7 et_vs_et_bins.extend(list(range(150, 500, 50)))
8 
9 histDefinitions = cms.PSet(
10  nVertex=cms.PSet(
11  name=cms.untracked.string('nVertex'),
12  title=cms.untracked.string('Number of event vertices in collection'),
13  nbinsX=cms.untracked.uint32(100),
14  xmin=cms.untracked.double(-0.5),
15  xmax=cms.untracked.double(99.5),
16  ),
17  ETvsET=cms.PSet(
18  name=cms.untracked.string('ETvsET'),
19  title=cms.untracked.string('Template for ET vs ET histograms'),
20  binsX=cms.untracked.vdouble(et_vs_et_bins),
21  binsY=cms.untracked.vdouble(et_vs_et_bins),
22  nbinsX=cms.untracked.uint32(len(et_vs_et_bins) - 1),
23  nbinsY=cms.untracked.uint32(len(et_vs_et_bins) - 1),
24  ),
25  PHIvsPHI=cms.PSet(
26  name=cms.untracked.string('PHIvsPHI'),
27  title=cms.untracked.string('Template for \\phi vs \\phi histograms'),
28  nbinsX=cms.untracked.uint32(80),
29  xmin=cms.untracked.double(-3.2),
30  xmax=cms.untracked.double(3.2),
31  nbinsY=cms.untracked.uint32(80),
32  ymin=cms.untracked.double(-3.2),
33  ymax=cms.untracked.double(3.2),
34  ),
35 )