CMS 3D CMS Logo

HSCParticleProducer_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 
6 
10 
11 
14 
15 dedxHitInfo = cms.EDProducer("HSCPDeDxInfoProducer",
16  tracks = cms.InputTag("TrackRefitter"),
17  trajectoryTrackAssociation = cms.InputTag("TrackRefitter"),
18 
19  Reccord = cms.untracked.string("SiStripDeDxMip_3D_Rcd"),
20  Formula = cms.untracked.uint32(0),
21  ProbabilityMode = cms.untracked.string("Accumulation"),
22 
23  UseStrip = cms.bool(True),
24  UsePixel = cms.bool(True),
25  MeVperADCStrip = cms.double(3.61e-06*265),
26  MeVperADCPixel = cms.double(3.61e-06),
27 
28  UseCalibration = cms.bool(False),
29  calibrationPath = cms.string("file:Gains.root"),
30  ShapeTest = cms.bool(True),
31 )
32 
33 
34 
37 
39 muontiming.MuonCollection = cms.InputTag("muons")
40 muontiming.TimingFillerParameters.UseECAL=False
41 
42 
45 
46 #ALL THIS IS NEEDED BY ECAL BETA CALCULATOR (TrackAssociator)
52 
54 HSCParticleProducer = cms.EDFilter("HSCParticleProducer",
55  TrackAssociatorParameterBlock, #Needed for ECAL/Track Matching
56 
57  #DOES THE PRODUCER ACT AS AN EDFILTER?
58  filter = cms.bool(True),
59 
60  #WHAT (BETA) INFORMATION TO COMPUTE
61  useBetaFromTk = cms.bool(True),
62  useBetaFromMuon = cms.bool(True),
63  useBetaFromRpc = cms.bool(True),
64  useBetaFromEcal = cms.bool(True),
65 
66  #TAG OF THE REQUIRED INPUT COLLECTION (ONLY ACTIVATED CALCULATOR)
67  tracks = cms.InputTag("TrackRefitter"),
68  tracksIsolation = cms.InputTag("generalTracks"),
69  muons = cms.InputTag("muons"),
70  MTmuons = cms.InputTag("muons"),
71  EBRecHitCollection = cms.InputTag("ecalRecHit:EcalRecHitsEB"),
72  EERecHitCollection = cms.InputTag("ecalRecHit:EcalRecHitsEE"),
73  rpcRecHits = cms.InputTag("rpcRecHits"),
74 
75  #TRACK SELECTION FOR THE HSCP SEED
76  minMuP = cms.double(25),
77  minTkP = cms.double(25),
78  maxTkChi2 = cms.double(25),
79  minTkHits = cms.uint32(3),
80  minSAMuPt = cms.double(70),
81  minMTMuPt = cms.double(70),
82 
83  #MUON/TRACK MATCHING THRESHOLDS (ONLY IF NO MUON INNER TRACK)
84  minDR = cms.double(0.1),
85  maxInvPtDiff = cms.double(0.005),
86  minMTDR = cms.double(0.3),
87 
88  #SELECTION ON THE PRODUCED HSCP CANDIDATES (WILL STORE ONLY INTERESTING CANDIDATES)
89  SelectionParameters = cms.VPSet(
90  HSCPSelectionDefault,
91  HSCPSelectionMTMuonOnly,
92  HSCPSelectionSAMuonOnly,
93  ),
94 )
95 
96 
99 
100 HSCParticleSelector = cms.EDFilter("HSCParticleSelector",
101  source = cms.InputTag("HSCParticleProducer"),
102  filter = cms.bool(True),
103 
104  SelectionParameters = cms.VPSet(
105  HSCPSelectionHighdEdx, #THE OR OF THE TWO SELECTION WILL BE APPLIED
106  HSCPSelectionHighTOF,
107  ),
108 )
109 
110 
113 
114 HSCParticleProducerSeq = cms.Sequence(offlineBeamSpot + MeasurementTrackerEvent + TrackRefitter + dedxHitInfo + muontiming + HSCParticleProducer)
115 
116 
DetIdAssociatorESProducer_cff
TrackRefitters_cff
SteppingHelixPropagatorAlong_cfi
SteppingHelixPropagatorAny_cfi
default_cfi
BeamSpot_cff
HSCPSelections_cff
muonTiming_cfi
MeasurementTrackerEventProducer_cfi
SteppingHelixPropagatorOpposite_cfi