Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:26:40

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 particleFlowDisplacedVertex = cms.EDProducer("PFDisplacedVertexProducer",
0004 
0005     vertexCandidatesLabel = cms.InputTag("particleFlowDisplacedVertexCandidate"),
0006 
0007     # verbosity 
0008     verbose = cms.untracked.bool(False),
0009                                   
0010     # Debug flag
0011     debug = cms.untracked.bool(False),
0012 
0013     # maximum transverse distance between two points to be used in Seed                                   
0014     transvSize = cms.double(1.0),
0015 
0016     # maximum longitudinal distance between two points to be used in Seed                                   
0017     longSize = cms.double(5),
0018 
0019     # minimal radius below which we do not reconstruct interactions
0020     # typically the position of the first Pixel layer or beam pipe
0021     primaryVertexCut = cms.double(1.8),
0022 
0023     # radius below which we don't wamt to reconstruct displaced
0024     # vertices
0025     tobCut = cms.double(100),
0026 
0027     # z below which we don't want to reconstruct displaced
0028     # vertices
0029     tecCut = cms.double(220),
0030 
0031     # the minimal accepted weight for the tracks calculated in the 
0032     # adaptive vertex fitter to be associated to the displaced vertex
0033     # this correspond to the sigmacut of 6
0034     minAdaptWeight = cms.double(0.5),
0035 
0036     # this flag is designed to reduce the timing of the algorithm in the high pile-up conditions. 2 tracks
0037     # vertices are the most sensitives to the pile-ups.
0038     switchOff2TrackVertex = cms.untracked.bool(True),
0039 
0040     # ------------ Paramemeters for the track selection ------------
0041 
0042     # Primary vertex information used for dxy calculation
0043     mainVertexLabel = cms.InputTag("offlinePrimaryVertices", ""),
0044     offlineBeamSpotLabel = cms.InputTag("offlineBeamSpot", ""),
0045 
0046     # Parameters used to apply cuts
0047     tracksSelectorParameters = cms.PSet(
0048         bSelectTracks = cms.bool(True),
0049         # If a track is high purity it is always kept
0050         quality = cms.string("HighPurity"),
0051         # Following cuts are applyed to non high purity tracks
0052         # nChi2_max and pt_min cuts are applyed to the primary and secondary tracks
0053         nChi2_max = cms.double(5.),
0054         pt_min = cms.double(.2),
0055         # nChi2_min applyed only to primary tracks which may be short
0056         # remove fake pixel triplets
0057         nChi2_min = cms.double(.5),
0058         # Cuts applyed to the secondary tracks long and displaced
0059         dxy_min = cms.double(.2),
0060         nHits_min = cms.int32(6),
0061         nOuterHits_max = cms.int32(9)
0062     ),
0063 
0064     # ------------ Paramemeters for the vertex identification ------------
0065 
0066     vertexIdentifierParameters = cms.PSet(
0067         bIdentifyVertices = cms.bool(True),
0068         # Minimal sum pt of secondary tracks for displaced vertices.
0069         # Below this value we find either loopers splitted in two parts eiter
0070         # fake vertices in forward direction
0071         pt_min = cms.double(0.5),
0072         # Minimal pT and log10(P_primary/P_secondary) for primary track in kinks (Primary+Secondary)
0073         # which are not identifier as K-+ decays
0074         pt_kink_min = cms.double(3.0),
0075         logPrimSec_min = cms.double(0.0),
0076         # maximum absoluta value of eta for loopers
0077         looper_eta_max = cms.double(0.1),
0078         # Masses cuts for selections
0079         #                    CVmin  K0min  K0max  K-min  K-max  Ldmin  Ldmax  Nuclmin_ee
0080         masses = cms.vdouble(0.050, 0.485, 0.515, 0.480, 0.520, 1.107, 1.125, 0.200),
0081         # Angle between the primaryVertex-secondaryVertex direction and secondary tracks direction
0082         # this angle means that the final system shall propagate in the same direction than initial system
0083         #                    all_max, CV and V0 max
0084         angles = cms.vdouble(15,      15)
0085     ),
0086 
0087     # Adaptive Vertex Fitter parameters identical to the default ones except sigmacut.
0088     # The default value is sigmacut = 3 too tight for displaced vertices
0089     # see CMS NOTE-2008/033 for more details
0090     avfParameters = cms.PSet(
0091         sigmacut = cms.double(6.),
0092         Tini = cms.double(256.),
0093         ratio = cms.double(0.25)
0094     )
0095 
0096 
0097 )
0098 
0099