Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:22:41

0001 # -*- coding: utf-8 -*-
0002 
0003 import FWCore.ParameterSet.Config as cms
0004 
0005 # This line is only necessary when running on fastSim
0006 SimTracksCollection = cms.untracked.InputTag("fastSimProducer"),
0007 # This must be set to true when using events generated with Sherpa
0008 Sherpa = cms.untracked.bool(True),
0009 
0010 # This line allows to use the EDLooper or to loop by hand.
0011 # All the necessary information is saved during the first loop so there is not need
0012 # at this time to read again the events in successive iterations. Therefore by default
0013 # for iterations > 1 the loops are done by hand, which means that the framework does
0014 # not need to read all the events again. This is much faster.
0015 # If you need to read the events in every iteration put this to false.
0016 FastLoop = cms.untracked.bool(False),
0017 
0018 # Set the probability file location. First looks in the ProbabilitiesFile path (absolute path)
0019 ProbabilitiesFile = cms.untracked.string("/home/demattia/FSR/CMSSW_3_6_1_patch4/src/MuonAnalysis/MomentumScaleCalibration/test/Probs_merge.root"),
0020 ProbabilitiesFileInPath = cms.untracked.string("MuonAnalysis/MomentumScaleCalibration/test/Probs_merge.root"),
0021 
0022 # Name of the output files
0023 OutputFileName = cms.untracked.string("MuScleFit.root"),
0024 OutputGenInfoFileName = cms.untracked.string("genSimRecoPlots.root"),
0025 
0026 debug = cms.untracked.int32(0),
0027 
0028 # The following parameters can be used to filter events
0029 TriggerResultsLabel = cms.untracked.string("TriggerResults"),
0030 TriggerResultsProcess = cms.untracked.string("HLT"),
0031 # TriggerPath: "" = No trigger requirements, "All" = No specific path
0032 TriggerPath = cms.untracked.string("All"),
0033 # Negate the result of the trigger
0034 NegateTrigger = cms.untracked.bool(False),
0035 
0036 # Decide whether to discard empty events or not
0037 SaveAllToTree = cms.untracked.bool(False),
0038 
0039 # Pile-Up related info
0040 PileUpSummaryInfo = cms.untracked.InputTag("addPileupInfo"),
0041 PrimaryVertexCollection = cms.untracked.InputTag("offlinePrimaryVertices"),
0042 
0043 PATmuons = cms.untracked.bool(False),
0044 GenParticlesName = cms.untracked.string("genParticles"),
0045 
0046 # Use the probability file or not. If not it will perform a simpler selection taking the muon pair with
0047 # invariant mass closer to the pdf value and will crash if some fit is attempted.
0048 UseProbsFile = cms.untracked.bool(True),
0049 
0050 # This must be set to true if using events generated with Sherpa
0051 Sherpa = cms.untracked.bool(False),
0052 
0053 # Use the rapidity bins or the single histogram for the Z
0054 RapidityBinsForZ = cms.untracked.bool(True),
0055 
0056 # Set the cuts on muons to be used in the fit
0057 SeparateRanges = cms.untracked.bool(True),
0058 MaxMuonPt = cms.untracked.double(100000000.),
0059 MinMuonPt = cms.untracked.double(0.),
0060 MinMuonEtaFirstRange = cms.untracked.double(-6.),
0061 MaxMuonEtaFirstRange = cms.untracked.double(6.),
0062 MinMuonEtaSecondRange = cms.untracked.double(-100.),
0063 MaxMuonEtaSecondRange = cms.untracked.double(100.),
0064 DeltaPhiMinCut = cms.untracked.double(0.),
0065 DeltaPhiMaxCut = cms.untracked.double(100.),
0066 
0067 # Produce additional plots on the mass resolution
0068 DebugMassResol = cms.untracked.bool(False),
0069 
0070 # Normalize the likelihood value with the number of events. If true (default), the error is also scaled
0071 # with the appropriate factor to keep into account the different normalization of the likelihood.
0072 NormalizeLikelihoodByEventNumber = cms.untracked.bool(True),
0073 
0074 # Additional settings for Minuit
0075 StartWithSimplex = cms.untracked.bool(True),
0076 # This can be very time consuming depending on the number of events
0077 ComputeMinosErrors = cms.untracked.bool(False),
0078 MinimumShapePlots = cms.untracked.bool(True),