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  # which TrackCollection to use for vertexing
6  trackRecoAlgorithm = cms.InputTag('generalTracks'),
7 
8  # which V0s to reconstruct
9  doKShorts = cms.bool(True),
10  doLambdas = cms.bool(True),
11 
12  # which vertex fitting algorithm to use
13  # True -> KalmanVertexFitter (recommended)
14  # False -> AdaptiveVertexFitter (not recommended)
15  vertexFitter = cms.bool(True),
16 
17  # use the refitted tracks returned from the KVF for V0Candidate kinematics
18  # this is automatically set to False if using the AdaptiveVertexFitter
19  useRefTracks = cms.bool(True),
20 
21  # -- cuts on initial track collection --
22  # Track normalized Chi2 <
23  tkChi2Cut = cms.double(10.0),
24  # Number of valid hits on track >=
25  tkNHitsCut = cms.int32(7),
26  # Pt of track >
27  tkPtCut = cms.double(0.35),
28  # Track impact parameter significance >
29  tkIPSigCut = cms.double(2.0),
30 
31  # -- cuts on the vertex --
32  # Vertex chi2 <
33  vtxChi2Cut = cms.double(15.0),
34  # Radial vertex significance >
35  vtxDecayRSigCut = cms.double(10.0),
36 
37  # -- miscellaneous cuts --
38  # POCA distance between tracks <
39  tkDCACut = cms.double(2.0),
40  # invariant mass of track pair - assuming both tracks are charged pions <
41  mPiPiCut = cms.double(0.6),
42  # check if either track has a hit radially inside the vertex position minus this number times the sigma of the vertex fit
43  # note: Set this to -1 to disable this cut, which MUST be done if you want to run V0Producer on the AOD track collection!
44  innerHitPosCut = cms.double(4.0),
45  # cos(angle) between x and p of V0 candidate >
46  v0CosThetaCut = cms.double(0.9998),
47 
48  # -- cuts on the V0 candidate mass --
49  # V0 mass window +- pdg value
50  kShortMassCut = cms.double(0.07),
51  lambdaMassCut = cms.double(0.05)
52 
53 )
54