CMS 3D CMS Logo

DiMuonMassBiasHarvesting_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 from DQMOffline.Alignment.DiMuonMassBiasClient_cfi import DiMuonMassBiasClient as diMuonMassBiasClient
4 
5 # Z-> mm
6 __selectionName = 'TkAlDiMuonAndVertex'
7 ALCARECOTkAlZMuMuMassBiasClient = diMuonMassBiasClient.clone(
8  FolderName = "AlCaReco/"+__selectionName,
9  fitBackground = True,
10  useRooCMSShape = True,
11  fit_par = dict(mean_par = [90., 89., 100.], # parameters of the mass pole
12  width_par = [2.49, 2.48, 2.50], # natural width of the Z
13  sigma_par = [1.5, 0.0, 10.0]) # detector smearing
14 )
15 
16 alcaTkAlZMuMuBiasClients = cms.Sequence(ALCARECOTkAlZMuMuMassBiasClient)
17 
18 # J/psi -> mm
19 __selectionName = 'TkAlJpsiMuMu'
20 ALCARECOTkAlJpsiMuMuMassBiasClient = diMuonMassBiasClient.clone(
21  FolderName = "AlCaReco/"+__selectionName,
22  fitBackground = True,
23  useRooCBShape = True, # crystal-ball fit
24  useRooCMSShape = True,
25  fit_par = dict(mean_par = [3.09, 2.7, 3.4], # parameters of the mass pole
26  width_par = [1.0, 0.0, 5.0], # not actually used
27  sigma_par = [0.01, 0.0, 5.0]) # width of the CB
28 )
29 
30 alcaTkAlJpsiMuMuBiasClients = cms.Sequence(ALCARECOTkAlJpsiMuMuMassBiasClient)
31 
32 # Upsilon -> mm
33 __selectionName = 'TkAlUpsilonMuMu'
34 ALCARECOTkAlUpsilonMuMuMassBiasClient = diMuonMassBiasClient.clone(
35  FolderName = "AlCaReco/"+__selectionName,
36  fitBackground = True,
37  useRooCBShape = True, # crystal-ball fit
38  useRooCMSShape = False, # using the exponential is useful to model the onset of Y(2S) peak
39  fit_par = dict(mean_par = [9.46, 8.9, 9.9], # parameters of the mass pole
40  width_par = [1.0, 0.0, 5.0], # not actually used
41  sigma_par = [1.0, 0.0, 5.0]) # width of the CB
42 )
43 
44 alcaTkAlUpsilonMuMuBiasClients = cms.Sequence(ALCARECOTkAlUpsilonMuMuMassBiasClient)