CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_14/src/Validation/RecoMuon/python/MuonTrackValidator_cfi.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 from SimTracker.TrackAssociation.LhcParametersDefinerForTP_cfi import *
00004 from SimTracker.TrackAssociation.CosmicParametersDefinerForTP_cfi import *
00005 
00006 MuonTrackValidator = cms.EDAnalyzer("MuonTrackValidator",
00007     # input TrackingParticle collections
00008     label_tp_effic = cms.InputTag("mergedtruth","MergedTrackTruth"),
00009     label_tp_fake = cms.InputTag("mergedtruth","MergedTrackTruth"),
00010     # input reco::Track collection
00011     label = cms.VInputTag(cms.InputTag("globalMuons")),
00012     # switches to be set according to the input Track collection to properly count SimHits
00013     usetracker = cms.bool(True),
00014     usemuon = cms.bool(True),
00015     #
00016     useGsf=cms.bool(False),
00017     beamSpot = cms.InputTag("offlineBeamSpot"),
00018     # set true if you do not want that MTV launch an exception
00019     # if the track collection is missing (e.g. HLT):
00020     ignoremissingtrackcollection=cms.untracked.bool(False),
00021     #
00022     # selection of TP for evaluation of efficiency, from "TrackingParticleSelectionForEfficiency"
00023     signalOnlyTP = cms.bool(True),
00024     stableOnlyTP = cms.bool(False),
00025     chargedOnlyTP = cms.bool(True),
00026     pdgIdTP = cms.vint32(13,-13),
00027     minHitTP = cms.int32(0),
00028     ptMinTP = cms.double(0.9),
00029     minRapidityTP = cms.double(-2.4),
00030     maxRapidityTP = cms.double(2.4),
00031     tipTP = cms.double(3.5),
00032     lipTP = cms.double(30.0),
00033     # collision like tracks
00034     parametersDefiner = cms.string('LhcParametersDefinerForTP'),
00035     # cosmics tracks
00036     # parametersDefiner = cms.string('CosmicParametersDefinerForTP'), 
00037     #
00038     # if *not* uses associators, the TP-RecoTrack maps has to be specified 
00039     UseAssociators = cms.bool(False),
00040     associators = cms.vstring('a_MuonAssociator'),
00041     associatormap = cms.InputTag("tpToMuonTrackAssociation"),
00042     #
00043     # BiDirectional Logic for RecoToSim association corrects the Fake rates (counting ghosts and split tracks as fakes)
00044     #  setting it to False the ghost and split tracks are counted as good ones (old setting of Muon Validation up to CMSSW_3_6_0_pre4)
00045     #  the default setting is True: should NOT be changed !
00046     BiDirectional_RecoToSim_association = cms.bool(True),
00047     #
00048     # Output File / Directory
00049     outputFile = cms.string(''),           
00050     dirName = cms.string('Muons/RecoMuonV/MultiTrack/'),
00051     #
00052     # Parameters for plots                                    
00053     useFabsEta = cms.bool(False),
00054     min = cms.double(-2.5),
00055     max = cms.double(2.5),
00056     nint = cms.int32(50),
00057     #
00058     ptRes_nbin = cms.int32(100),                                   
00059     ptRes_rangeMin = cms.double(-0.3),
00060     ptRes_rangeMax = cms.double(0.3),
00061     #
00062     phiRes_nbin = cms.int32(100),                                   
00063     phiRes_rangeMin = cms.double(-0.05),
00064     phiRes_rangeMax = cms.double(0.05),
00065     #
00066     etaRes_rangeMin = cms.double(-0.05),
00067     etaRes_rangeMax = cms.double(0.05),
00068     #
00069     cotThetaRes_nbin = cms.int32(120),                                   
00070     cotThetaRes_rangeMin = cms.double(-0.01),
00071     cotThetaRes_rangeMax = cms.double(0.01),
00072     #
00073     dxyRes_nbin = cms.int32(100),                                   
00074     dxyRes_rangeMin = cms.double(-0.02),
00075     dxyRes_rangeMax = cms.double(0.02),
00076     #
00077     dzRes_nbin = cms.int32(150),                                   
00078     dzRes_rangeMin = cms.double(-0.05),
00079     dzRes_rangeMax = cms.double(0.05),
00080     # 
00081     minpT = cms.double(0.1),
00082     maxpT = cms.double(1500),
00083     nintpT = cms.int32(40),
00084     useLogPt=cms.untracked.bool(False),
00085     useInvPt = cms.bool(False),
00086     #                               
00087     minHit = cms.double(-0.5),                            
00088     maxHit = cms.double(74.5),
00089     nintHit = cms.int32(75),
00090     #
00091     minPhi = cms.double(-3.1416),
00092     maxPhi = cms.double(3.1416),
00093     nintPhi = cms.int32(36),
00094     #
00095     minDxy = cms.double(-3),
00096     maxDxy = cms.double(3),
00097     nintDxy = cms.int32(100),
00098     #
00099     minDz = cms.double(-10),
00100     maxDz = cms.double(10),
00101     nintDz = cms.int32(100),
00102     # TP originating vertical position
00103     minVertpos = cms.double(0),
00104     maxVertpos = cms.double(5),
00105     nintVertpos = cms.int32(100),
00106     # TP originating z position
00107     minZpos = cms.double(-10),
00108     maxZpos = cms.double(10),
00109     nintZpos = cms.int32(100)
00110 )