Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:26:55

0001 # The following comments couldn't be translated into the new config version:
0002 
0003 # histos limits and binning
0004 
0005 import FWCore.ParameterSet.Config as cms
0006 
0007 process = cms.Process("PROD")
0008 # Keep the logging output to a nice level #
0009 process.load("FWCore.MessageService.MessageLogger_cfi")
0010 
0011 process.maxEvents = cms.untracked.PSet(
0012     input = cms.untracked.int32(-1)
0013 )
0014 process.source = cms.Source("PoolSource",
0015     fileNames = cms.untracked.vstring('/store/relval/2008/6/6/RelVal-RelValSingleElectronPt35-1212531852-IDEAL_V1-2nd-02/0000/4202AC1C-EA33-DD11-9082-001617DC1F70.root', 
0016         '/store/relval/2008/6/6/RelVal-RelValSingleElectronPt35-1212531852-IDEAL_V1-2nd-02/0000/6206F77E-EB33-DD11-9B1B-001617DBD5B2.root', 
0017         '/store/relval/2008/6/6/RelVal-RelValSingleElectronPt35-1212531852-IDEAL_V1-2nd-02/0000/86842A33-E933-DD11-887F-001617C3B5F4.root')
0018 )
0019 
0020 process.gsfElectronAnalysis = cms.EDAnalyzer("GsfElectronMCAnalyzer",
0021     electronCollection = cms.InputTag("pixelMatchGsfElectrons"),
0022     Nbinxyz = cms.int32(50),
0023     Nbineop2D = cms.int32(30),
0024     Nbinp = cms.int32(50),
0025     Nbineta2D = cms.int32(50),
0026     Etamin = cms.double(-2.5),
0027     Nbinfhits = cms.int32(20),
0028     Dphimin = cms.double(-0.01),
0029     Pmax = cms.double(300.0),
0030     Phimax = cms.double(3.2),
0031     Phimin = cms.double(-3.2),
0032     Eopmax = cms.double(5.0),
0033     mcTruthCollection = cms.InputTag("source"),
0034     # efficiency cuts
0035     MaxPt = cms.double(100.0),
0036     Nbinlhits = cms.int32(5),
0037     Nbinpteff = cms.int32(19),
0038     Nbinphi2D = cms.int32(32),
0039     Nbindetamatch2D = cms.int32(50),
0040     Nbineta = cms.int32(50),
0041     DeltaR = cms.double(0.05),
0042     outputFile = cms.string('gsfElectronHistos-full.root'),
0043     Nbinp2D = cms.int32(50),
0044     Nbindeta = cms.int32(100),
0045     Nbinpt2D = cms.int32(50),
0046     Nbindetamatch = cms.int32(100),
0047     Fhitsmax = cms.double(20.0),
0048     Lhitsmax = cms.double(10.0),
0049     Nbinphi = cms.int32(64),
0050     Eopmaxsht = cms.double(3.0),
0051     MaxAbsEta = cms.double(2.5),
0052     Nbindphimatch = cms.int32(100),
0053     Detamax = cms.double(0.005),
0054     Nbinpt = cms.int32(50),
0055     Nbindphimatch2D = cms.int32(50),
0056     Etamax = cms.double(2.5),
0057     Dphimax = cms.double(0.01),
0058     Dphimatchmax = cms.double(0.2),
0059     Detamatchmax = cms.double(0.05),
0060     Nbindphi = cms.int32(100),
0061     Detamatchmin = cms.double(-0.05),
0062     Ptmax = cms.double(100.0),
0063     Nbineop = cms.int32(50),
0064     Dphimatchmin = cms.double(-0.2),
0065     Detamin = cms.double(-0.005)
0066 )
0067 
0068 process.Timing = cms.Service("Timing")
0069 
0070 process.p1 = cms.Path(process.gsfElectronAnalysis)
0071 process.MessageLogger.cerr.enable = False
0072 process.MessageLogger.files.detailedInfo = dict(extension='txt')
0073 
0074