CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_14/src/Validation/RecoEgamma/python/photonValidator_cfi.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 import SimTracker.TrackAssociation.TrackAssociatorByHits_cfi
00004 trackAssociatorByHitsForPhotonValidation = SimTracker.TrackAssociation.TrackAssociatorByHits_cfi.TrackAssociatorByHits.clone()
00005 trackAssociatorByHitsForPhotonValidation.ComponentName = cms.string('trackAssociatorByHitsForPhotonValidation')
00006 trackAssociatorByHitsForPhotonValidation.Cut_RecoToSim = 0.5
00007 trackAssociatorByHitsForPhotonValidation.Quality_SimToReco = 0.5
00008 trackAssociatorByHitsForPhotonValidation.Purity_SimToReco = 0.5
00009 trackAssociatorByHitsForPhotonValidation.SimToRecoDenominator = 'reco'
00010 
00011 
00012 photonValidation = cms.EDAnalyzer("PhotonValidator",
00013     Name = cms.untracked.string('photonValidation'),
00014     OutputFileName = cms.string('PhotonValidationHistos.root'),
00015     scEndcapProducer = cms.string('correctedMulti5x5SuperClustersWithPreshower'),
00016     scBarrelProducer = cms.string('correctedHybridSuperClusters'),
00017     phoProducer = cms.string('photons'),
00018     conversionOITrackProducer =cms.string('ckfOutInTracksFromConversions'),
00019     conversionIOTrackProducer =cms.string('ckfInOutTracksFromConversions'),
00020     outInTrackCollection =cms.string(''),
00021     inOutTrackCollection =cms.string(''),
00022     photonCollection = cms.string(''),
00023     hbheInstance = cms.string(''),
00024     endcapEcalHits = cms.InputTag("ecalRecHit","EcalRecHitsEE"),
00025     barrelEcalHits = cms.InputTag("ecalRecHit","EcalRecHitsEB"),
00026     hbheModule = cms.string('hbhereco'),
00027     trackProducer = cms.InputTag("generalTracks"),
00028     label_tp = cms.InputTag("tpSelection"),                              
00029     Verbosity = cms.untracked.int32(0),
00030     fastSim = cms.bool(False),
00031     isRunCentrally = cms.bool(False),
00032 #
00033     minPhoEtCut = cms.double(10.),
00034     convTrackMinPtCut = cms.double(1.),
00035     likelihoodCut = cms.double(0.),
00036 #
00037     useTP =  cms.bool(True),
00038 #
00039     eBin = cms.int32(100),
00040     eMin = cms.double(0.0),
00041     eMax = cms.double(500.0),
00042 #
00043     etScale = cms.double(0.1),
00044 #                                  
00045     etBin = cms.int32(100),                                  
00046     etMax = cms.double(250.),                                  
00047     etMin = cms.double(0.0),
00048 #
00049     etaBin = cms.int32(100),
00050     etaBin2 = cms.int32(25),
00051     etaMin = cms.double(-2.5),
00052     etaMax = cms.double(2.5),
00053 #
00054     phiBin = cms.int32(100),
00055     phiMin = cms.double(-3.14),
00056     phiMax = cms.double(3.14),
00057 #
00058     r9Bin = cms.int32(100),
00059     r9Min = cms.double(0.0),
00060     r9Max = cms.double(1.1),                                  
00061 #
00062     dEtaTracksBin = cms.int32(100),
00063     dEtaTracksMin = cms.double(-0.2),
00064     dEtaTracksMax = cms.double(0.2),
00065 #
00066     dPhiTracksBin = cms.int32(100),
00067     dPhiTracksMin = cms.double(-0.5),
00068     dPhiTracksMax = cms.double(0.5),
00069 #
00070     dEtaBin = cms.int32(100),
00071     dEtaMin = cms.double(-0.2),
00072     dEtaMax = cms.double(0.2),
00073 #
00074     dPhiBin = cms.int32(100),
00075     dPhiMin = cms.double(-0.05),
00076     dPhiMax = cms.double(0.05),
00077 #
00078     rBin = cms.int32(48), 
00079     rMin = cms.double(0.),
00080     rMax = cms.double(120),
00081 #
00082     zBin = cms.int32(100),
00083     zMin = cms.double(-220.),
00084     zMax = cms.double(220),
00085 #
00086     resBin = cms.int32(100),
00087     resMin = cms.double(0.7),
00088     resMax = cms.double(1.2),
00089 #
00090     dCotCutOn =cms.bool(False),
00091     dCotCutValue=cms.double(0.05),
00092     dCotHardCutValue=cms.double(0.02),                              
00093 #
00094     dCotTracksBin = cms.int32(100),                              
00095     dCotTracksMin = cms.double(-2.),
00096     dCotTracksMax = cms.double(2.),
00097 #                                  
00098     povereBin = cms.int32(100),                              
00099     povereMin = cms.double(0.),
00100     povereMax = cms.double(5.),
00101 #
00102     eoverpBin =  cms.int32(100),
00103     eoverpMin =  cms.double(0.),
00104     eoverpMax =  cms.double(5.),
00105 #
00106     chi2Min =  cms.double(0.),
00107     chi2Max =  cms.double(20.),                              
00108 #
00109     ggMassBin  =cms.int32(200),
00110     ggMassMin  =cms.double(60.),
00111     ggMassMax  =cms.double(160.),                                 
00112 #
00113     rBinForXray = cms.int32(200),
00114     rMinForXray = cms.double(0.),
00115     rMaxForXray = cms.double(80.),                               
00116     zBinForXray = cms.int32(100),
00117     zBin2ForXray = cms.int32(560),
00118     zMinForXray = cms.double(0.),
00119     zMaxForXray = cms.double(280.),                               
00120                                   
00121 # Unused stuff                                  
00122     hcalIsolExtR = cms.double(0.3),
00123     hcalIsolInnR = cms.double(0.0),
00124     minTrackPtCut = cms.double(1.5),
00125     minBcEtCut = cms.double(0.0),
00126     lipCut = cms.double(2.0),
00127     trkIsolInnR = cms.double(0.03),
00128     ecalIsolR = cms.double(0.35),
00129     trkIsolExtR = cms.double(0.3),
00130     maxNumOfTracksInCone = cms.int32(3),
00131     hcalEtSumCut = cms.double(6.0),
00132     minHcalHitEtCut = cms.double(0.0),
00133 
00134     trkPtSumCut = cms.double(9999.0),
00135     ecalEtSumCut = cms.double(5.0),
00136  
00137 )
00138 
00139