CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
MuScleFit_cfi.py
Go to the documentation of this file.
1 # -*- coding: utf-8 -*-
2 
3 import FWCore.ParameterSet.Config as cms
4 
5 # This line is only necessary when running on fastSim
6 SimTracksCollection = cms.untracked.InputTag("famosSimHits"),
7 # This must be set to true when using events generated with Sherpa
8 Sherpa = cms.untracked.bool(True),
9 
10 # This line allows to use the EDLooper or to loop by hand.
11 # All the necessary information is saved during the first loop so there is not need
12 # at this time to read again the events in successive iterations. Therefore by default
13 # for iterations > 1 the loops are done by hand, which means that the framework does
14 # not need to read all the events again. This is much faster.
15 # If you need to read the events in every iteration put this to false.
16 FastLoop = cms.untracked.bool(False),
17 
18 # Set the probability file location. First looks in the ProbabilitiesFile path (absolute path)
19 ProbabilitiesFile = cms.untracked.string("/home/demattia/FSR/CMSSW_3_6_1_patch4/src/MuonAnalysis/MomentumScaleCalibration/test/Probs_merge.root"),
20 ProbabilitiesFileInPath = cms.untracked.string("MuonAnalysis/MomentumScaleCalibration/test/Probs_merge.root"),
21 
22 # Name of the output files
23 OutputFileName = cms.untracked.string("MuScleFit.root"),
24 OutputGenInfoFileName = cms.untracked.string("genSimRecoPlots.root"),
25 
26 debug = cms.untracked.int32(0),
27 
28 # The following parameters can be used to filter events
29 TriggerResultsLabel = cms.untracked.string("TriggerResults"),
30 TriggerResultsProcess = cms.untracked.string("HLT"),
31 # TriggerPath: "" = No trigger requirements, "All" = No specific path
32 TriggerPath = cms.untracked.string("All"),
33 # Negate the result of the trigger
34 NegateTrigger = cms.untracked.bool(False),
35 
36 # Decide whether to discard empty events or not
37 SaveAllToTree = cms.untracked.bool(False),
38 
39 PATmuons = cms.untracked.bool(False),
40 GenParticlesName = cms.untracked.string("genParticles"),
41 
42 # Use the probability file or not. If not it will perform a simpler selection taking the muon pair with
43 # invariant mass closer to the pdf value and will crash if some fit is attempted.
44 UseProbsFile = cms.untracked.bool(True),
45 
46 # This must be set to true if using events generated with Sherpa
47 Sherpa = cms.untracked.bool(False),
48 
49 # Use the rapidity bins or the single histogram for the Z
50 RapidityBinsForZ = cms.untracked.bool(True),
51 
52 # Set the cuts on muons to be used in the fit
53 SeparateRanges = cms.untracked.bool(True),
54 MaxMuonPt = cms.untracked.double(100000000.),
55 MinMuonPt = cms.untracked.double(0.),
56 MinMuonEtaFirstRange = cms.untracked.double(-6.),
57 MaxMuonEtaFirstRange = cms.untracked.double(6.),
58 MinMuonEtaSecondRange = cms.untracked.double(-100.),
59 MaxMuonEtaSecondRange = cms.untracked.double(100.),
60 DeltaPhiMinCut = cms.untracked.double(0.),
61 DeltaPhiMaxCut = cms.untracked.double(100.),
62 
63 # Produce additional plots on the mass resolution
64 DebugMassResol = cms.untracked.bool(False),
65 
66 # Normalize the likelihood value with the number of events. If true (default), the error is also scaled
67 # with the appropriate factor to keep into account the different normalization of the likelihood.
68 NormalizeLikelihoodByEventNumber = cms.untracked.bool(True),
69 
70 # Additional settings for Minuit
71 StartWithSimplex = cms.untracked.bool(True),
72 # This can be very time consuming depending on the number of events
73 ComputeMinosErrors = cms.untracked.bool(False),
74 MinimumShapePlots = cms.untracked.bool(True),