CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
SiStripHitEff_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 # Use compressiong settings of TFile
4 # see https://root.cern.ch/root/html534/TFile.html#TFile:SetCompressionSettings
5 # settings = 100 * algorithm + level
6 # level is from 1 (small) to 9 (large compression)
7 # algo: 1 (ZLIB), 2 (LMZA)
8 # see more about compression & performance: https://root.cern.ch/root/html534/guides/users-guide/InputOutput.html#compression-and-performance
9 compressionSettings = 201
10 
11 anEff = cms.EDAnalyzer("HitEff",
12  #CompressionSettings = cms.untracked.int32(compressionSettings),
13  Debug = cms.bool(False),
14  Layer = cms.int32(0), # =0 means do all layers
15  #combinatorialTracks = cms.InputTag("ctfWithMaterialTracksP5"),
16  #combinatorialTracks = cms.InputTag("TrackRefitterP5"),
17  #combinatorialTracks = cms.InputTag("ALCARECOTkAlCosmicsCTF0T"),
18  combinatorialTracks = cms.InputTag("generalTracks"),
19  #trajectories = cms.InputTag("ctfWithMaterialTracksP5"),
20  #trajectories = cms.InputTag("TrackRefitterP5"),
21  #trajectories = cms.InputTag("CalibrationTracksRefit")
22  trajectories = cms.InputTag("generalTracks"),
23  siStripClusters = cms.InputTag("siStripClusters"),
24  siStripDigis = cms.InputTag("siStripDigis"),
25  trackerEvent = cms.InputTag("MeasurementTrackerEvent"),
26  lumiScalers = cms.InputTag("scalersRawToDigi"),
27  addLumi = cms.untracked.bool(False),
28  commonMode = cms.InputTag("siStripDigis", "CommonMode"),
29  addCommonMode = cms.untracked.bool(False),
30  # do not cut on the total number of tracks
31  cutOnTracks = cms.untracked.bool(True),
32  # compatibility
33  trackMultiplicity = cms.untracked.uint32(100),
34  # use or not first and last measurement of a trajectory (biases), default is false
35  useFirstMeas = cms.untracked.bool(False),
36  useLastMeas = cms.untracked.bool(False),
37  # use or not all hits when some missing hits in the trajectory (bias), default is false
38  useAllHitsFromTracksWithMissingHits = cms.untracked.bool(False)
39  )
40 
41 hiteff = cms.Sequence( anEff )