Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2022-03-05 02:39:11

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 ## SiStripCluster converter
0004 #import EventFilter.SiStripRawToDigi.SiStripRawToClustersHLTdsvbuilder_cff
0005 #HLTsiStripClusters = EventFilter.SiStripRawToDigi.SiStripRawToClustersHLTdsvbuilder_cff.siStripClusters.clone()
0006 #HLTsiStripClusters.SiStripLazyGetter = cms.InputTag("hltSiStripRawToClustersFacility")
0007 #HLTsiStripClusters.SiStripRefGetter  = cms.InputTag("hltSiStripClusters")
0008 
0009 # SiStripCluster monitoring
0010 import DQM.SiStripMonitorCluster.SiStripMonitorCluster_cfi
0011 HLTSiStripMonitorCluster = DQM.SiStripMonitorCluster.SiStripMonitorCluster_cfi.SiStripMonitorCluster.clone(
0012     ClusterProducerStrip = "hltSiStripRawToClustersFacility",
0013     ClusterProducerPix   = "hltSiPixelClusters",
0014     TopFolderName        = "HLT/SiStrip",
0015     ClusterHisto         = True,
0016     Mod_On               = False
0017 )
0018 HLTSiStripMonitorCluster.TH1TotalNumberOfClusters.subdetswitchon   = cms.bool(True)
0019 HLTSiStripMonitorCluster.TProfClustersApvCycle.subdetswitchon      = cms.bool(False)
0020 HLTSiStripMonitorCluster.TProfTotalNumberOfClusters.subdetswitchon = cms.bool(True)
0021 HLTSiStripMonitorCluster.TH2CStripVsCpixel.globalswitchon       = cms.bool(True)
0022 HLTSiStripMonitorCluster.TH1MultiplicityRegions.globalswitchon  = cms.bool(True)
0023 HLTSiStripMonitorCluster.TH1MainDiagonalPosition.globalswitchon = cms.bool(True)
0024 HLTSiStripMonitorCluster.TH1StripNoise2ApvCycle.globalswitchon  = cms.bool(False)
0025 HLTSiStripMonitorCluster.TH1StripNoise3ApvCycle.globalswitchon  = cms.bool(False)
0026 
0027 HLTSiStripMonitorCluster.BPTXfilter = cms.PSet(
0028         andOr         = cms.bool( False ),
0029             dbLabel       = cms.string("SiStripDQMTrigger"),
0030             l1Algorithms = cms.vstring( 'L1Tech_BPTX_plus_AND_minus.v0', 'L1_ZeroBias' ),
0031             andOrL1       = cms.bool( True ),
0032             errorReplyL1  = cms.bool( True ),
0033             l1BeforeMask  = cms.bool( True ) # specifies, if the L1 algorithm decision should be read as before (true) or after (false) masking is applied.
0034         )
0035 HLTSiStripMonitorCluster.PixelDCSfilter = cms.PSet(
0036         andOr         = cms.bool( False ),
0037             dcsInputTag   = cms.InputTag( "scalersRawToDigi" ),
0038             dcsRecordInputTag = cms.InputTag("onlineMetaDataDigis"),
0039             dcsPartitions = cms.vint32 ( 28, 29),
0040             andOrDcs      = cms.bool( False ),
0041             errorReplyDcs = cms.bool( True ),
0042         )
0043 HLTSiStripMonitorCluster.StripDCSfilter = cms.PSet(
0044         andOr         = cms.bool( False ),
0045             dcsInputTag   = cms.InputTag( "scalersRawToDigi" ),
0046             dcsRecordInputTag = cms.InputTag("onlineMetaDataDigis"),
0047             dcsPartitions = cms.vint32 ( 24, 25, 26, 27 ),
0048             andOrDcs      = cms.bool( False ),
0049             errorReplyDcs = cms.bool( True ),
0050         )
0051 HLTSiStripMonitorCluster.TH2CStripVsCpixel = cms.PSet(
0052         Nbinsx = cms.int32(200),
0053         xmin   = cms.double(-0.5),
0054         xmax   = cms.double(99999.5),
0055         Nbinsy = cms.int32(170),
0056         ymin   = cms.double(-0.5),
0057         ymax   = cms.double(50999.5),
0058         globalswitchon = cms.bool(True)
0059         )
0060 HLTSiStripMonitorCluster.TH1NClusPx = cms.PSet(
0061         Nbinsx = cms.int32(170),
0062         xmax = cms.double(50999.5),
0063         xmin = cms.double(-0.5)
0064         )
0065 HLTSiStripMonitorCluster.TH1NClusStrip = cms.PSet(
0066         Nbinsx = cms.int32(200),
0067         xmax = cms.double(99999.5),
0068         xmin = cms.double(-0.5)
0069     )
0070 hltESPPixelCPETemplateReco = cms.ESProducer( "PixelCPETemplateRecoESProducer",
0071   LoadTemplatesFromDB = cms.bool( True ),
0072   ComponentName = cms.string( "hltESPPixelCPETemplateReco" ),
0073   Alpha2Order = cms.bool( True ),
0074   ClusterProbComputationFlag = cms.int32( 0 ),
0075   speed = cms.int32( -2 ),
0076   UseClusterSplitter = cms.bool( False )
0077 )
0078 
0079 hltESPPixelCPEGeneric = cms.ESProducer( "PixelCPEGenericESProducer",
0080   EdgeClusterErrorX = cms.double( 50.0 ),
0081   DoCosmics = cms.bool( False ),
0082   LoadTemplatesFromDB = cms.bool( True ),
0083   UseErrorsFromTemplates = cms.bool( True ),
0084   eff_charge_cut_highX = cms.double( 1.0 ),
0085   TruncatePixelCharge = cms.bool( True ),
0086   size_cutY = cms.double( 3.0 ),
0087   size_cutX = cms.double( 3.0 ),
0088   inflate_all_errors_no_trk_angle = cms.bool( False ),
0089   IrradiationBiasCorrection = cms.bool( False ),
0090   inflate_errors = cms.bool( False ),
0091   eff_charge_cut_lowX = cms.double( 0.0 ),
0092   eff_charge_cut_highY = cms.double( 1.0 ),
0093   ClusterProbComputationFlag = cms.int32( 0 ),
0094   EdgeClusterErrorY = cms.double( 85.0 ),
0095   ComponentName = cms.string( "hltESPPixelCPEGeneric" ),
0096   eff_charge_cut_lowY = cms.double( 0.0 ),
0097   Alpha2Order = cms.bool( True )
0098 )
0099 
0100 hltESPTTRHBuilderAngleAndTemplate = cms.ESProducer( "TkTransientTrackingRecHitBuilderESProducer",
0101   StripCPE = cms.string( "hltESPStripCPEfromTrackAngle" ),
0102   Matcher = cms.string( "StandardMatcher" ),
0103   ComputeCoarseLocalPositionFromDisk = cms.bool( False ),
0104   PixelCPE = cms.string( "hltESPPixelCPETemplateReco" ),
0105   ComponentName = cms.string( "hltESPTTRHBuilderAngleAndTemplate" )
0106 )
0107 
0108 hltESPTTRHBWithTrackAngle = cms.ESProducer( "TkTransientTrackingRecHitBuilderESProducer",
0109   StripCPE = cms.string( "hltESPStripCPEfromTrackAngle" ),
0110   Matcher = cms.string( "StandardMatcher" ),
0111   ComputeCoarseLocalPositionFromDisk = cms.bool( False ),
0112   PixelCPE = cms.string( "hltESPPixelCPEGeneric" ),
0113   ComponentName = cms.string( "hltESPTTRHBWithTrackAngle" )
0114 )
0115 
0116 hltESPStripCPEfromTrackAngle = cms.ESProducer( "StripCPEESProducer",
0117   ComponentType = cms.string( "StripCPEfromTrackAngle" ),
0118   ComponentName = cms.string( "hltESPStripCPEfromTrackAngle" ),
0119   parameters = cms.PSet( 
0120     mLC_P2 = cms.double( 0.3 ),
0121     mLC_P1 = cms.double( 0.618 ),
0122     mLC_P0 = cms.double( -0.326 ),
0123     useLegacyError = cms.bool( True ),
0124     mTEC_P1 = cms.double( 0.471 ),
0125     mTEC_P0 = cms.double( -1.885 ),
0126     mTOB_P0 = cms.double( -1.026 ),
0127     mTOB_P1 = cms.double( 0.253 ),
0128     mTIB_P0 = cms.double( -0.742 ),
0129     mTIB_P1 = cms.double( 0.202 ),
0130     mTID_P0 = cms.double( -1.427 ),
0131     mTID_P1 = cms.double( 0.433 )
0132   )
0133 )
0134 
0135 from RecoTracker.TrackProducer.TrackRefitter_cfi import *
0136 hltTrackRefitterForSiStripMonitorTrack = TrackRefitter.clone(
0137     beamSpot                = "hltOnlineBeamSpot",
0138     MeasurementTrackerEvent = 'MeasurementTrackerEvent',
0139     TrajectoryInEvent       = True,
0140     useHitsSplitting        = False,
0141     #src                     = "hltIter4Merged", # scenario 0
0142     src                     = "hltMergedTracks", # hltIter2Merged # scenario 1
0143     #TTRHBuilder             = 'hltESPTTRHBuilderAngleAndTemplate',
0144     TTRHBuilder             = 'hltESPTTRHBWithTrackAngle'
0145 )
0146 import DQM.SiStripMonitorTrack.SiStripMonitorTrack_cfi
0147 HLTSiStripMonitorTrack = DQM.SiStripMonitorTrack.SiStripMonitorTrack_cfi.SiStripMonitorTrack.clone(
0148     TrackProducer     = 'hltTrackRefitterForSiStripMonitorTrack',
0149     TrackLabel        = '',
0150     AlgoName          = "HLT",
0151     Cluster_src       = 'hltSiStripRawToClustersFacility',
0152     Trend_On          = True,
0153     TopFolderName     = 'HLT/SiStrip',
0154     Mod_On            = False
0155 )
0156 sistripMonitorHLTsequence = cms.Sequence(
0157     HLTSiStripMonitorCluster
0158     * hltTrackRefitterForSiStripMonitorTrack
0159     * HLTSiStripMonitorTrack
0160 )    
0161