Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2022-06-16 22:18:32

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 # Use compressiong settings of TFile
0004 # see https://root.cern.ch/root/html534/TFile.html#TFile:SetCompressionSettings
0005 # settings = 100 * algorithm + level
0006 # level is from 1 (small) to 9 (large compression)
0007 # algo: 1 (ZLIB), 2 (LMZA)
0008 # see more about compression & performance: https://root.cern.ch/root/html534/guides/users-guide/InputOutput.html#compression-and-performance
0009 compressionSettings = 201
0010 
0011 anEff = cms.EDAnalyzer("HitEff",
0012                        #CompressionSettings = cms.untracked.int32(compressionSettings),
0013                        Debug = cms.bool(False),
0014                        Layer = cms.int32(0), # =0 means do all layers
0015                        #combinatorialTracks = cms.InputTag("ctfWithMaterialTracksP5"),
0016                        #combinatorialTracks = cms.InputTag("TrackRefitterP5"),
0017                        #combinatorialTracks = cms.InputTag("ALCARECOTkAlCosmicsCTF0T"),
0018                        combinatorialTracks = cms.InputTag("generalTracks"),
0019                        #trajectories = cms.InputTag("ctfWithMaterialTracksP5"),
0020                        #trajectories   =   cms.InputTag("TrackRefitterP5"),
0021                        #trajectories = cms.InputTag("CalibrationTracksRefit")
0022                        trajectories        = cms.InputTag("generalTracks"),
0023                        siStripClusters     = cms.InputTag("siStripClusters"),
0024                        siStripDigis        = cms.InputTag("siStripDigis"),
0025                        trackerEvent        = cms.InputTag("MeasurementTrackerEvent"),
0026                        lumiScalers = cms.InputTag("scalersRawToDigi"),
0027                        metadata = cms.InputTag('onlineMetaDataDigis'),
0028                        addLumi = cms.untracked.bool(False),
0029                        commonMode = cms.InputTag("siStripDigis", "CommonMode"),
0030                        addCommonMode = cms.untracked.bool(False),
0031                        # do not cut on the total number of tracks
0032                        cutOnTracks = cms.untracked.bool(True),
0033                        # compatibility
0034                        trackMultiplicity = cms.untracked.uint32(100),
0035                        # use or not first and last measurement of a trajectory (biases), default is false
0036                        useFirstMeas = cms.untracked.bool(False),
0037                        useLastMeas = cms.untracked.bool(False),
0038                        # use or not all hits when some missing hits in the trajectory (bias), default is false
0039                        useAllHitsFromTracksWithMissingHits = cms.untracked.bool(False)
0040                        )
0041 
0042 hiteff = cms.Sequence( anEff )