Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:34:37

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 from DQMServices.Core.DQMEDAnalyzer import DQMEDAnalyzer
0004 stripRecHitsValid = DQMEDAnalyzer('SiStripRecHitsValid',
0005     TopFolderName = cms.string('SiStrip/RecHitsValidation/StiffTrackingRecHits'),
0006 
0007     TH1NumTotrphi = cms.PSet(
0008         Nbinx          = cms.int32(100),
0009         xmin           = cms.double(0.),
0010         xmax           = cms.double(10000.),
0011         switchon  = cms.bool(True)
0012    ),
0013 
0014     TH1NumTotStereo = cms.PSet(
0015         Nbinx          = cms.int32(100),
0016         xmin           = cms.double(0.),
0017         xmax           = cms.double(10000.),
0018         switchon  = cms.bool(True)
0019     ),
0020 
0021     TH1NumTotMatched = cms.PSet(
0022         Nbinx          = cms.int32(100),
0023         xmin           = cms.double(0.),
0024         xmax           = cms.double(10000.),
0025         switchon  = cms.bool(True)
0026 
0027     ),
0028 
0029   TH1Numrphi = cms.PSet(
0030         Nbinx          = cms.int32(100),
0031         xmin           = cms.double(0.),
0032         xmax           = cms.double(5000.),
0033         switchon  = cms.bool(True)
0034 
0035     ),
0036 
0037   TH1Bunchrphi = cms.PSet( 
0038         Nbinx          = cms.int32(20),
0039         xmin           = cms.double(-10.),
0040         xmax           = cms.double(10.),
0041         switchon  = cms.bool(True)
0042     ),
0043 
0044   TH1Eventrphi = cms.PSet( 
0045         Nbinx          = cms.int32(100),
0046         xmin           = cms.double(0.),
0047         xmax           = cms.double(100.),
0048         switchon  = cms.bool(True)
0049     ),
0050 
0051   TH1NumStereo = cms.PSet(
0052         Nbinx          = cms.int32(100),
0053         xmin           = cms.double(0.),
0054         xmax           = cms.double(5000.),
0055         switchon  = cms.bool(True)
0056 
0057     ),
0058 
0059     TH1BunchStereo = cms.PSet( 
0060         Nbinx          = cms.int32(20),
0061         xmin           = cms.double(-10.),
0062         xmax           = cms.double(10.),
0063         switchon  = cms.bool(True)
0064     ),
0065 
0066     TH1EventStereo = cms.PSet( 
0067         Nbinx          = cms.int32(100),
0068         xmin           = cms.double(0.),
0069         xmax           = cms.double(100.),
0070         switchon  = cms.bool(True)
0071     ),
0072 
0073   TH1NumMatched = cms.PSet(
0074         Nbinx          = cms.int32(100),
0075         xmin           = cms.double(0.),
0076         xmax           = cms.double(5000.),
0077         switchon  = cms.bool(True)
0078 
0079     ),
0080 
0081     TH1BunchMatched = cms.PSet( 
0082         Nbinx          = cms.int32(20),
0083         xmin           = cms.double(-10.),
0084         xmax           = cms.double(10.),
0085         switchon  = cms.bool(True)
0086     ),
0087 
0088     TH1EventMatched = cms.PSet( 
0089         Nbinx          = cms.int32(100),
0090         xmin           = cms.double(0.),
0091         xmax           = cms.double(100.),
0092         switchon  = cms.bool(True)
0093     ),
0094 
0095     TH1Wclusrphi = cms.PSet(
0096         Nbinx          = cms.int32(20),
0097         xmin           = cms.double(-0.5),
0098         xmax           = cms.double(19.5),
0099         switchon  = cms.bool(True)
0100     ),
0101 
0102     TH1Adcrphi = cms.PSet(
0103         Nbinx          = cms.int32(100),
0104         xmin           = cms.double(0.),
0105         xmax           = cms.double(500.),#300.
0106         switchon  = cms.bool(True)
0107     ),
0108 
0109     TH1Posxrphi = cms.PSet(
0110         Nbinx          = cms.int32(100),
0111         xmin           = cms.double(-6.0),#-6.0
0112         xmax           = cms.double(+6.0),#+6.0
0113         switchon  = cms.bool(True)
0114     ),
0115 
0116     TH1Resolxrphi = cms.PSet( #<error>~20micron 
0117         Nbinx          = cms.int32(100),
0118         xmin           = cms.double(0.),
0119         xmax           = cms.double(0.10),#0.01
0120         switchon  = cms.bool(True)
0121     ),
0122 
0123     TH1Resrphi = cms.PSet( 
0124         Nbinx          = cms.int32(100),
0125         xmin           = cms.double(-0.10),#-0.02
0126         xmax           = cms.double(+0.10),#+0.02
0127         switchon  = cms.bool(True)
0128     ),
0129 
0130     TH1PullLFrphi = cms.PSet( 
0131         Nbinx          = cms.int32(100),
0132         xmin           = cms.double(-10.),#-5.0
0133         xmax           = cms.double(+10.),#+5.0
0134         switchon  = cms.bool(True)
0135     ),
0136 
0137     TH1PullMFrphi = cms.PSet( 
0138         Nbinx          = cms.int32(100),
0139         xmin           = cms.double(-10.),#-5.0
0140         xmax           = cms.double(+10.),#+5.0
0141         switchon  = cms.bool(True)
0142     ),
0143 
0144     TH1Chi2rphi = cms.PSet( 
0145         Nbinx          = cms.int32(100),
0146         xmin           = cms.double(0.),
0147         xmax           = cms.double(50.),
0148         switchon  = cms.bool(True)
0149     ),
0150 
0151     TH1NsimHitrphi = cms.PSet( 
0152         Nbinx          = cms.int32(30),
0153         xmin           = cms.double(0.),
0154         xmax           = cms.double(30.),
0155         switchon  = cms.bool(True)
0156     ),
0157 
0158     TH1WclusStereo = cms.PSet( 
0159         Nbinx          = cms.int32(20),
0160         xmin           = cms.double(-0.5),
0161         xmax           = cms.double(19.5),
0162         switchon  = cms.bool(True)
0163     ),
0164 
0165     TH1AdcStereo = cms.PSet( 
0166         Nbinx          = cms.int32(100),
0167         xmin           = cms.double(0.),
0168         xmax           = cms.double(500.),#300
0169         switchon  = cms.bool(True)
0170     ),
0171 
0172    TH1PosxStereo = cms.PSet( 
0173         Nbinx          = cms.int32(100),
0174         xmin           = cms.double(-6.0),
0175         xmax           = cms.double(+6.0),
0176         switchon  = cms.bool(True)
0177     ),
0178 
0179    TH1ResolxStereo = cms.PSet( 
0180         Nbinx          = cms.int32(100),
0181         xmin           = cms.double(0.),
0182         xmax           = cms.double(0.1),#0.01
0183         switchon  = cms.bool(True)
0184     ),
0185 
0186    TH1ResStereo = cms.PSet( 
0187         Nbinx          = cms.int32(100),
0188         xmin           = cms.double(-0.10),#-0.02
0189         xmax           = cms.double(+0.10),#+0.02
0190         switchon  = cms.bool(True)
0191     ),
0192 
0193    TH1PullLFStereo = cms.PSet( 
0194         Nbinx          = cms.int32(100),
0195         xmin           = cms.double(-4.),
0196         xmax           = cms.double(+4.),
0197         switchon  = cms.bool(True)
0198     ),
0199 
0200    TH1PullMFStereo = cms.PSet( 
0201         Nbinx          = cms.int32(100),
0202         xmin           = cms.double(-10.),#-4.0
0203         xmax           = cms.double(+10.),#+4.0
0204         switchon  = cms.bool(True)
0205     ),
0206 
0207    TH1Chi2Stereo = cms.PSet( 
0208         Nbinx          = cms.int32(100),
0209         xmin           = cms.double(0.),
0210         xmax           = cms.double(100.),#50
0211         switchon  = cms.bool(True)
0212     ),
0213 
0214     TH1NsimHitStereo = cms.PSet( 
0215         Nbinx          = cms.int32(30),
0216         xmin           = cms.double(0.),
0217         xmax           = cms.double(30.),
0218         switchon  = cms.bool(True)
0219     ),
0220 
0221    TH1PosxMatched = cms.PSet( 
0222         Nbinx          = cms.int32(100),
0223         xmin           = cms.double(-10.0),#-6.0
0224         xmax           = cms.double(+10.0),#+6.0
0225         switchon  = cms.bool(True)
0226     ),
0227 
0228    TH1PosyMatched = cms.PSet( 
0229         Nbinx          = cms.int32(100),
0230         xmin           = cms.double(-10.0),#-6.0
0231         xmax           = cms.double(+10.0),#+6.0
0232         switchon  = cms.bool(True)
0233     ),
0234 
0235    TH1ResolxMatched = cms.PSet( 
0236         Nbinx          = cms.int32(100),
0237         xmin           = cms.double(0.),
0238         xmax           = cms.double(0.1),#0.01
0239         switchon  = cms.bool(True)
0240     ),
0241 
0242    TH1ResolyMatched = cms.PSet( 
0243         Nbinx          = cms.int32(100),
0244         xmin           = cms.double(0.),
0245         xmax           = cms.double(0.25),#0.05
0246         switchon  = cms.bool(True)
0247     ),
0248 
0249    TH1ResxMatched = cms.PSet( 
0250         Nbinx          = cms.int32(100),
0251         xmin           = cms.double(-0.1),#-0.02
0252         xmax           = cms.double(+0.1),#+0.02
0253         switchon  = cms.bool(True)
0254     ),
0255 
0256    TH1ResyMatched = cms.PSet( 
0257         Nbinx          = cms.int32(100),
0258         xmin           = cms.double(-10.), #-1
0259         xmax           = cms.double(+10. ), #+1
0260         switchon  = cms.bool(True) 
0261     ),
0262 
0263    TH1Chi2Matched = cms.PSet( 
0264         Nbinx          = cms.int32(100),
0265         xmin           = cms.double(0.),
0266         xmax           = cms.double(50.),
0267         switchon  = cms.bool(True)
0268     ),
0269 
0270     TH1NsimHitMatched = cms.PSet( 
0271         Nbinx          = cms.int32(30),
0272         xmin           = cms.double(0.),
0273         xmax           = cms.double(30.),
0274         switchon  = cms.bool(True)
0275     ),
0276 
0277     SubDetList = cms.vstring('TIB','TOB','TID','TEC'),
0278     associatePixel = cms.bool(False),
0279     stereoRecHits = cms.InputTag("siStripMatchedRecHits","stereoRecHit"),
0280     matchedRecHits = cms.InputTag("siStripMatchedRecHits","matchedRecHit"),
0281     ROUList = cms.vstring('g4SimHitsTrackerHitsTIBLowTof', 
0282         'g4SimHitsTrackerHitsTIBHighTof', 
0283         'g4SimHitsTrackerHitsTIDLowTof', 
0284         'g4SimHitsTrackerHitsTIDHighTof', 
0285         'g4SimHitsTrackerHitsTOBLowTof', 
0286         'g4SimHitsTrackerHitsTOBHighTof', 
0287         'g4SimHitsTrackerHitsTECLowTof', 
0288         'g4SimHitsTrackerHitsTECHighTof'),
0289     associateRecoTracks = cms.bool(False),
0290     associateStrip = cms.bool(True),
0291     rphiRecHits = cms.InputTag("siStripMatchedRecHits","rphiRecHit"),
0292     RecHitProducer = cms.string('siStripMatchedRecHits'),
0293     pixelSimLinkSrc = cms.InputTag("simSiPixelDigis"),
0294     stripSimLinkSrc = cms.InputTag("simSiStripDigis"),
0295     verbose = cms.untracked.bool(False)
0296 )
0297 
0298 from Configuration.ProcessModifiers.premix_stage2_cff import premix_stage2
0299 premix_stage2.toModify(stripRecHitsValid,
0300     pixelSimLinkSrc = "mixData:PixelDigiSimLink",
0301     stripSimLinkSrc = "mixData:StripDigiSimLink",
0302 )