CMS 3D CMS Logo

gemSegments_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 # defaults for GE0SegAlgoRU
4 RU_GE0 = cms.PSet(
5  allowWideSegments = cms.bool(True),
6  doCollisions = cms.bool(True),
7  maxChi2Additional = cms.double(100.0),
8  maxChi2Prune = cms.double(50),
9  maxChi2GoodSeg = cms.double(50),
10  maxPhiSeeds = cms.double(0.001096605744), #Assuming 384 strips
11  maxPhiAdditional = cms.double(0.001096605744), #Assuming 384 strips
12  maxETASeeds = cms.double(0.1), #Assuming 8 eta partitions
13  maxTOFDiff = cms.double(25),
14  requireCentralBX = cms.bool(True), #require that a majority of hits come from central BX
15  minNumberOfHits = cms.uint32(4),
16  maxNumberOfHits = cms.uint32(300),
17  maxNumberOfHitsPerLayer = cms.uint32(100),
18 )
19 
20 gemSegments = cms.EDProducer("GEMSegmentProducer",
21  gemRecHitLabel = cms.InputTag("gemRecHits"),
22  algo_name = cms.string("GEMSegmentAlgorithm"),
23  algo_pset = cms.PSet(
24  minHitsPerSegment = cms.uint32(2),
25  preClustering = cms.bool(True), # False => all hits in chamber are given to the fitter
26  dXclusBoxMax = cms.double(1.), # Clstr Hit dPhi
27  dYclusBoxMax = cms.double(5.), # Clstr Hit dEta
28  preClusteringUseChaining = cms.bool(True), # True ==> use Chaining() , False ==> use Clustering() Fnct
29  dPhiChainBoxMax = cms.double(.02), # Chain Hit dPhi
30  dEtaChainBoxMax = cms.double(.05), # Chain Hit dEta
31  maxRecHitsInCluster = cms.int32(4), # Does 4 make sense here?
32  clusterOnlySameBXRecHits = cms.bool(True), # only working for (preClustering && preClusteringUseChaining)
33  ),
34 )