CMS 3D CMS Logo

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  metadata = cms.InputTag('onlineMetaDataDigis'),
28  addLumi = cms.untracked.bool(False),
29  commonMode = cms.InputTag("siStripDigis", "CommonMode"),
30  addCommonMode = cms.untracked.bool(False),
31  # do not cut on the total number of tracks
32  cutOnTracks = cms.untracked.bool(True),
33  # compatibility
34  trackMultiplicity = cms.untracked.uint32(100),
35  # use or not first and last measurement of a trajectory (biases), default is false
36  useFirstMeas = cms.untracked.bool(False),
37  useLastMeas = cms.untracked.bool(False),
38  # use or not all hits when some missing hits in the trajectory (bias), default is false
39  useAllHitsFromTracksWithMissingHits = cms.untracked.bool(False)
40  )
41 
42 hiteff = cms.Sequence( anEff )