CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
totemRPUVPatternFinder_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 totemRPUVPatternFinder = cms.EDProducer("TotemRPUVPatternFinder",
4  # input selection
5  tagRecHit = cms.InputTag("totemRPRecHitProducer"),
6 
7  verbosity = cms.untracked.uint32(0),
8 
9  # if a plane has more hits than this parameter, it is considered as dirty
10  maxHitsPerPlaneToSearch = cms.uint32(5),
11 
12  # minimal number of reasonable (= not empty and not dirty) planes per projeciton and per RP,
13  # to start the pattern search
14  minPlanesPerProjectionToSearch = cms.uint32(3),
15 
16  # (full) cluster size in slope-intercept space
17  clusterSize_a = cms.double(0.02), # rad
18  clusterSize_b = cms.double(0.3), # mm
19 
20  # minimal weight of (Hough) cluster to accept it as candidate
21  # weight of cluster = sum of weights of contributing points
22  # weight of point = sigma0 / sigma_of_point
23  # most often: weight of point ~ 1, thus cluster weight is roughly number of contributing points
24  threshold = cms.double(2.99),
25 
26  # minimal number of planes (in the recognised patterns) per projeciton and per RP,
27  # to tag the candidate as fittable
28  minPlanesPerProjectionToFit = cms.uint32(3),
29 
30  # whether to allow combination of most significant U and V pattern, in case there several of them
31  # don't set it to True, unless you have reason
32  allowAmbiguousCombination = cms.bool(False),
33 
34  # maximal angle (in any projection) to mark the candidate as fittable -> controls track parallelity with beam
35  # huge value -> no constraint
36  max_a_toFit = cms.double(10.0),
37 
38  # if a RP or projection needs adjustment of the above settings, you can use the following format
39  # exceptionalSettings = cms.VPSet(
40  # cms.PSet(
41  # rpId = cms.uint32(1998061568), # RP id according to CTPPSDetId
42  # minPlanesPerProjectionToFit_U = cms.uint32(2),
43  # minPlanesPerProjectionToFit_V = cms.uint32(3),
44  # threshold_U = cms.double(1.99),
45  # threshold_V = cms.double(2.99)
46  # )
47  # )
48  exceptionalSettings = cms.VPSet()
49 )