Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:01:11

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 AssociationMaps = cms.EDProducer('PF_PU_AssoMap',           
0004      
0005       #Choose which map should be created
0006       #"VertexToTracks", "TracksToVertex" or "Both"
0007       AssociationType = cms.InputTag('Both'),       
0008      
0009       #Set the number of associations per track/vertex              
0010           MaxNumberOfAssociations = cms.int32(1),   
0011      
0012       #Set the Input Collections
0013           TrackCollection = cms.InputTag('generalTracks'),
0014           VertexCollection = cms.InputTag('offlinePrimaryVertices'),
0015         
0016       #Set the BeamSpot
0017       BeamSpot = cms.InputTag('offlineBeamSpot'),
0018           
0019       #Check for tracks from secondary vertices
0020           doReassociation = cms.bool(True),
0021           GetCleanedCollections = cms.bool(False),
0022                 
0023       #Configuration for the reassociation of gamma conversion particles
0024           ConversionsCollection = cms.InputTag('allConversions'),
0025        
0026       #Configuration for the reassociation of particles from V0 decays
0027           V0KshortCollection = cms.InputTag('generalV0Candidates','Kshort'),
0028           V0LambdaCollection = cms.InputTag('generalV0Candidates','Lambda'),
0029        
0030       #Configuration for the reassociation of particles from nuclear interactions
0031           NIVertexCollection = cms.InputTag('particleFlowDisplacedVertex'),
0032           
0033       #Configuration for the final association
0034       # 0 == always first vertex (default)
0035       # 1 == closest vertex in z/longitudinal distance
0036       # 2 == closest vertex in 3D
0037           FinalAssociation = cms.untracked.int32(1),                
0038            
0039       #What to do if the dipl vertex coll can't be found
0040           ignoreMissingCollection = cms.bool(True),             
0041            
0042       #Input for the search of the closest vertex
0043           nTrackWeight = cms.double(0.001),
0044           
0045 )
0046 
0047 AssociationMapsJetMet = cms.EDProducer('PF_PU_AssoMap',     
0048      
0049       #Choose which map should be created
0050       # "VertexToTracks", "TracksToVertex" or "Both"
0051       AssociationType = cms.InputTag('Both'),       
0052      
0053       #Set the number of associations per track/vertex              
0054           MaxNumberOfAssociations = cms.int32(1),           
0055      
0056       #Set the Input Collections
0057           TrackCollection = cms.InputTag('generalTracks'),
0058           VertexCollection = cms.InputTag('offlinePrimaryVertices'),
0059         
0060       #Set the BeamSpot
0061       BeamSpot = cms.InputTag('offlineBeamSpot'),
0062           
0063       #Check for tracks from secondary vertices
0064           doReassociation = cms.bool(False),
0065           GetCleanedCollections = cms.bool(False),
0066                 
0067       #Configuration for the reassociation of gamma conversion particles
0068           ConversionsCollection = cms.InputTag('allConversions'),
0069        
0070       #Configuration for the reassociation of particles from V0 decays
0071           V0KshortCollection = cms.InputTag('generalV0Candidates','Kshort'),
0072           V0LambdaCollection = cms.InputTag('generalV0Candidates','Lambda'),
0073        
0074       #Configuration for the reassociation of particles from nuclear interactions
0075           NIVertexCollection = cms.InputTag('particleFlowDisplacedVertex'),
0076           
0077       #Configuration for the final association
0078       # 0 == always first vertex (default)
0079       # 1 == closest vertex in z/longitudinal distance
0080       # 2 == closest vertex in 3D
0081           FinalAssociation = cms.untracked.int32(0),                
0082            
0083       #What to do if the dipl vertex coll can't be found
0084           ignoreMissingCollection = cms.bool(True),             
0085            
0086       #Input for the search of the closest vertex
0087           nTrackWeight = cms.double(0.),
0088           
0089 )
0090 
0091 AssociationMapsMuoEgm = cms.EDProducer('PF_PU_AssoMap',         
0092      
0093       #Choose which map should be created
0094       # "VertexToTracks", "TracksToVertex" or "Both"
0095       AssociationType = cms.InputTag('Both'),       
0096      
0097       #Set the number of associations per track/vertex              
0098           MaxNumberOfAssociations = cms.int32(1),       
0099      
0100       #Set the Input Collections
0101           TrackCollection = cms.InputTag('generalTracks'),
0102           VertexCollection = cms.InputTag('offlinePrimaryVertices'),
0103         
0104       #Set the BeamSpot
0105       BeamSpot = cms.InputTag('offlineBeamSpot'),
0106           
0107       #Check for tracks from secondary vertices
0108           doReassociation = cms.bool(False),
0109           GetCleanedCollections = cms.bool(False),
0110                 
0111       #Configuration for the reassociation of gamma conversion particles
0112           ConversionsCollection = cms.InputTag('allConversions'),
0113        
0114       #Configuration for the reassociation of particles from V0 decays
0115           V0KshortCollection = cms.InputTag('generalV0Candidates','Kshort'),
0116           V0LambdaCollection = cms.InputTag('generalV0Candidates','Lambda'),
0117        
0118       #Configuration for the reassociation of particles from nuclear interactions
0119           NIVertexCollection = cms.InputTag('particleFlowDisplacedVertex'),
0120           
0121       #Configuration for the final association
0122       # 0 == always first vertex (default)
0123       # 1 == closest vertex in z/longitudinal distance
0124       # 2 == closest vertex in 3D
0125           FinalAssociation = cms.untracked.int32(1),                
0126            
0127       #What to do if the dipl vertex coll can't be found
0128           ignoreMissingCollection = cms.bool(True),             
0129            
0130       #Input for the search of the closest vertex
0131           nTrackWeight = cms.double(0.),
0132           
0133 )
0134 
0135 #Old configuration for imports from other packages
0136 #to avoid undefined references
0137 Tracks2Vertex = AssociationMaps.clone(      
0138      
0139     #Choose which map should be created
0140     #"VertexToTracks", "TracksToVertex" or "Both"
0141     AssociationType = 'TracksToVertex',
0142          
0143 )