Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:08:32

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 db_client = cms.EDAnalyzer("SiStripCommissioningOfflineDbClient",
0004   # general parameters
0005   FilePath         = cms.untracked.string('/tmp'),
0006   RunNumber        = cms.untracked.uint32(0),
0007   UseClientFile    = cms.untracked.bool(False),
0008   UploadHwConfig   = cms.untracked.bool(False),
0009   UploadAnalyses   = cms.untracked.bool(False),
0010   DisableDevices   = cms.untracked.bool(False),
0011   SaveClientFile   = cms.untracked.bool(True),
0012   SummaryXmlFile   = cms.untracked.FileInPath('DQM/SiStripCommissioningClients/data/summary.xml'),
0013   # individual parameters
0014   ApvTimingParameters      = cms.PSet(
0015     SkipFecUpdate = cms.bool(False),  # skip upload of APV PLL settings
0016     SkipFedUpdate = cms.bool(False),  # skip upload of FED frame finding threshold
0017     TargetDelay = cms.int32(-1)       # -1: latest tick (old default), otherwise target delay for all ticks' rising edge
0018   ),
0019   CalibrationParameters  = cms.PSet(
0020         targetRiseTime     = cms.double(50),
0021         targetDecayTime    = cms.double(125),
0022         tuneSimultaneously = cms.bool(False)
0023         ),
0024   DaqScopeModeParameters   = cms.PSet(
0025         HighThreshold       = cms.double(5),
0026         LowThreshold        = cms.double(2),
0027         DisableBadStrips    = cms.bool(False),
0028         DeadStripMax        = cms.double(10),
0029         NoisyStripMin       = cms.double(10),
0030         KeepsStripsDisabled = cms.bool(False),
0031         SkipPedestalUpdate  = cms.bool(False),
0032         SkipTickUpdate  = cms.bool(False)
0033         ),
0034   FastFedCablingParameters = cms.PSet(),
0035   FedCablingParameters     = cms.PSet(),
0036   FedTimingParameters      = cms.PSet(),
0037   FineDelayParameters      = cms.PSet(
0038     cosmic =  cms.bool(True)
0039   ),
0040   LatencyParamameters      = cms.PSet(
0041     OptimizePerPartition = cms.bool(False)
0042   ),
0043   NoiseParameters          = cms.PSet(),
0044   OptoScanParameters       = cms.PSet(
0045     TargetGain = cms.double(0.863),   # target gain (0.863 ~ 690ADC for tickmark)
0046     SkipGainUpdate = cms.bool(False)  # wether to keep the gain the same as already on the db
0047   ),
0048   PedestalsParameters      = cms.PSet(
0049     DeadStripMax        = cms.double(10),   # number times the noise spread below mean noise
0050     NoisyStripMin       = cms.double(10),   # number times the noise spread above mean noise
0051     HighThreshold       = cms.double(5),    # analysis-wide high threshold for the fed zero suppression
0052     LowThreshold        = cms.double(2),    # analysis-wide low threshold for the fed zero suppression
0053     DisableBadStrips    = cms.bool(False),  # for experts! disables bad strips on the fed level 
0054     AddBadStrips    = cms.bool(False),  #for experts! keep and add disabled bad strips. 
0055     KeepStripsDisabled = cms.bool(False)    # for experts! keep strips disabled as in the db's current state
0056   ),
0057   PedsOnlyParameters       = cms.PSet(),
0058   ### Bad channel analysis                           
0059   PedsFullNoiseParameters  = cms.PSet(
0060         #### selections used to define a bad strip
0061         MaxDriftResidualCut = cms.double(20),  ### the strip baseline can drift during run .. if more then N ADC count, mark the strip as bad
0062         MinStripNoiseCut  = cms.double(2),     ### if a strip has a noise value less the N ADC, mark as low noisy i.e. bad
0063         MaxStripNoiseCut  = cms.double(30),    ### if a strip has a noise value larger than N ADC, mark strip has high noisy i.e. bad
0064         MaxStripNoiseSignificanceCut = cms.double(10), ## if a strip has a noise significance larger than N, mark it as bad
0065         AdProbabCut   = cms.double(0.002699796063), ### this is 3 sigma quantile selection on the AndersonDarling p-value
0066         KsProbabCut   = cms.double(0.002699796063), ### this is 3 sigma quantile selection on the Kolmogorov Smirnov p-value
0067         GenerateRandomHisto = cms.bool(False), ### random sampling of the gaussian fit or not while computing p-values
0068         JbProbabCut   = cms.double(0.000000573303), ### this is 3 sigma quantile selection on the jacque-Bera p-value 
0069         Chi2ProbabCut = cms.double(0.000000573303), ### this is 3 sigma quantile selection on the chi2 p-value (from a Gaussian fit)
0070         KurtosisCut   = cms.double(2),  ### max value of kurtosis to identify strips with long tails
0071         IntegralNsigma  = cms.int32(5), ### this is expressed in terms of number of gaussian quantiles .. 5 means take the integral 5-sigma from the peak
0072         IntegralTailCut = cms.double(0.0005), ### selection on the N-sigma integral
0073         AshmanDistance  = cms.double(2),    ### to flag double peaked strips
0074         AmplitudeRatio  = cms.double(0.85), ### to flag double peaked strips
0075         #### Zero suppression information
0076         HighThreshold    = cms.double(5),  ### analysis-wide high threshold for the fed zero suppression
0077         LowThreshold     = cms.double(2),  ### analysis-wide low threshold for the fed zero suppression
0078         #### Flags on bad strips
0079         DisableBadStrips   = cms.bool(True),  ### When the upload is performed, strips are masked in case they are flagged by the analysis
0080         KeepStripsDisabled = cms.bool(False), ### True: if a strip is already flagged bad in the db, it will be kept bad; False: if a strip was bad, now the analysis will tell us if it's bad or not
0081         UploadOnlyStripBadChannelBit = cms.bool(False), ### True: means that pedestal and noise values are not changed in the FED version --> use old values
0082         SkipEmptyStrips    =  cms.bool(True), ### In the analysis, if true strips with no data are not marked as bad but as dead --> could be mis-configured at the time of the run, not masked
0083         UploadPedsFullNoiseDBTable = cms.bool(False) ### Tell whether the PedsFullNoise DB table needs to be uploaded --> for the time being this can be done ONLY on the oracle test account.
0084         ),
0085   SamplingParameters       = cms.PSet(),
0086   VpspScanParameters       = cms.PSet(),
0087 )
0088