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