test
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 # Pile-Up related info
40 PileUpSummaryInfo = cms.untracked.InputTag("addPileupInfo"),
41 PrimaryVertexCollection = cms.untracked.InputTag("offlinePrimaryVertices"),
42 
43 PATmuons = cms.untracked.bool(False),
44 GenParticlesName = cms.untracked.string("genParticles"),
45 
46 # Use the probability file or not. If not it will perform a simpler selection taking the muon pair with
47 # invariant mass closer to the pdf value and will crash if some fit is attempted.
48 UseProbsFile = cms.untracked.bool(True),
49 
50 # This must be set to true if using events generated with Sherpa
51 Sherpa = cms.untracked.bool(False),
52 
53 # Use the rapidity bins or the single histogram for the Z
54 RapidityBinsForZ = cms.untracked.bool(True),
55 
56 # Set the cuts on muons to be used in the fit
57 SeparateRanges = cms.untracked.bool(True),
58 MaxMuonPt = cms.untracked.double(100000000.),
59 MinMuonPt = cms.untracked.double(0.),
60 MinMuonEtaFirstRange = cms.untracked.double(-6.),
61 MaxMuonEtaFirstRange = cms.untracked.double(6.),
62 MinMuonEtaSecondRange = cms.untracked.double(-100.),
63 MaxMuonEtaSecondRange = cms.untracked.double(100.),
64 DeltaPhiMinCut = cms.untracked.double(0.),
65 DeltaPhiMaxCut = cms.untracked.double(100.),
66 
67 # Produce additional plots on the mass resolution
68 DebugMassResol = cms.untracked.bool(False),
69 
70 # Normalize the likelihood value with the number of events. If true (default), the error is also scaled
71 # with the appropriate factor to keep into account the different normalization of the likelihood.
72 NormalizeLikelihoodByEventNumber = cms.untracked.bool(True),
73 
74 # Additional settings for Minuit
75 StartWithSimplex = cms.untracked.bool(True),
76 # This can be very time consuming depending on the number of events
77 ComputeMinosErrors = cms.untracked.bool(False),
78 MinimumShapePlots = cms.untracked.bool(True),