CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
generalV0Candidates_cfi.py
Go to the documentation of this file.
2 
3 generalV0Candidates = cms.EDProducer("V0Producer",
4 
5  # InputTag that tells which TrackCollection to use for vertexing
6  trackRecoAlgorithm = cms.InputTag('generalTracks'),
7 
8  # These bools decide whether or not to reconstruct
9  # specific V0 particles
10  selectKshorts = cms.bool(True),
11  selectLambdas = cms.bool(True),
12 
13  # Recommend leaving this one as is.
14  vertexFitter = cms.InputTag('KalmanVertexFitter'),
15 
16  # set to true, uses tracks refit by the KVF for V0Candidate kinematics
17  # NOTE: useSmoothing is automatically set to FALSE
18  # if using the AdaptiveVertexFitter (which is NOT recommended)
19  useSmoothing = cms.bool(True),
20 
21  # Select tracks using TrackBase::TrackQuality.
22  # Select ALL tracks by leaving this vstring empty, which
23  # is equivalent to using 'loose'
24  #trackQualities = cms.vstring('highPurity', 'goodIterative'),
25  trackQualities = cms.vstring('loose'),
26 
27  # The next parameters are cut values.
28  # All distances are in cm, all energies in GeV, as usual.
29 
30  # --Track quality/compatibility cuts--
31  # Normalized track Chi2 <
32  tkChi2Cut = cms.double(5.0),
33  # Number of valid hits on track >=
34  tkNhitsCut = cms.int32(6),
35  # Track impact parameter significance >
36  impactParameterSigCut = cms.double(2.),
37  # We calculate the PCA of the tracks quickly in RPhi, extrapolating
38  # the z position as well, before vertexing. Used in the following 2 cuts:
39  # m_pipi calculated at PCA of tracks <
40  mPiPiCut = cms.double(0.6),
41  # PCA distance between tracks <
42  tkDCACut = cms.double(1.),
43 
44  # --V0 Vertex cuts--
45  # Vertex chi2 <
46  vtxChi2Cut = cms.double(7.0),
47  # Lambda collinearity cut
48  # (UNUSED)
49  collinearityCut = cms.double(0.02),
50  # Vertex radius cut >
51  # (UNUSED)
52  rVtxCut = cms.double(0.0),
53  # V0 decay length from primary cut >
54  # (UNUSED)
55  lVtxCut = cms.double(0.0),
56  # Radial vertex significance >
57  vtxSignificance2DCut = cms.double(15.0),
58  # 3D vertex significance using primary vertex
59  # (UNUSED)
60  vtxSignificance3DCut = cms.double(0.0),
61  # V0 mass window, Candidate mass must be within these values of
62  # the PDG mass to be stored in the collection
63  kShortMassCut = cms.double(0.07),
64  lambdaMassCut = cms.double(0.05),
65  # Mass window cut using normalized mass (mass / massError)
66  # (UNUSED)
67  kShortNormalizedMassCut = cms.double(0.0),
68  lambdaNormalizedMassCut = cms.double(0.0),
69  # We check if either track has a hit inside (radially) the vertex position
70  # minus this number times the sigma of the vertex fit
71  # NOTE: Set this to -1 to disable this cut, which MUST be done
72  # if you want to run V0Producer on the AOD track collection!
73  innerHitPosCut = cms.double(4.)
74 )
75 
76