CMS 3D CMS Logo

OfflineDbClient_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 db_client = cms.EDAnalyzer("SiStripCommissioningOfflineDbClient",
4  # general parameters
5  FilePath = cms.untracked.string('/tmp'),
6  RunNumber = cms.untracked.uint32(0),
7  UseClientFile = cms.untracked.bool(False),
8  UploadHwConfig = cms.untracked.bool(False),
9  UploadAnalyses = cms.untracked.bool(False),
10  DisableDevices = cms.untracked.bool(False),
11  SaveClientFile = cms.untracked.bool(True),
12  SummaryXmlFile = cms.untracked.FileInPath('DQM/SiStripCommissioningClients/data/summary.xml'),
13  # individual parameters
14  ApvTimingParameters = cms.PSet(
15  SkipFecUpdate = cms.bool(False), # skip upload of APV PLL settings
16  SkipFedUpdate = cms.bool(False), # skip upload of FED frame finding threshold
17  TargetDelay = cms.int32(-1) # -1: latest tick (old default), otherwise target delay for all ticks' rising edge
18  ),
19  CalibrationParameters = cms.PSet(
20  targetRiseTime = cms.double(50),
21  targetDecayTime = cms.double(125),
22  tuneSimultaneously = cms.bool(False)
23  ),
24  DaqScopeModeParameters = cms.PSet(
25  HighThreshold = cms.double(5),
26  LowThreshold = cms.double(2),
27  DisableBadStrips = cms.bool(False),
28  DeadStripMax = cms.double(10),
29  NoisyStripMin = cms.double(10),
30  KeepsStripsDisabled = cms.bool(False),
31  SkipPedestalUpdate = cms.bool(False),
32  SkipTickUpdate = cms.bool(False)
33  ),
34  FastFedCablingParameters = cms.PSet(),
35  FedCablingParameters = cms.PSet(),
36  FedTimingParameters = cms.PSet(),
37  FineDelayParameters = cms.PSet(
38  cosmic = cms.bool(True)
39  ),
40  LatencyParamameters = cms.PSet(
41  OptimizePerPartition = cms.bool(False)
42  ),
43  NoiseParameters = cms.PSet(),
44  OptoScanParameters = cms.PSet(
45  TargetGain = cms.double(0.863), # target gain (0.863 ~ 690ADC for tickmark)
46  SkipGainUpdate = cms.bool(False) # wether to keep the gain the same as already on the db
47  ),
48  PedestalsParameters = cms.PSet(
49  DeadStripMax = cms.double(10), # number times the noise spread below mean noise
50  NoisyStripMin = cms.double(10), # number times the noise spread above mean noise
51  HighThreshold = cms.double(5), # analysis-wide high threshold for the fed zero suppression
52  LowThreshold = cms.double(2), # analysis-wide low threshold for the fed zero suppression
53  DisableBadStrips = cms.bool(False), # for experts! disables bad strips on the fed level
54  AddBadStrips = cms.bool(False), #for experts! keep and add disabled bad strips.
55  KeepStripsDisabled = cms.bool(False) # for experts! keep strips disabled as in the db's current state
56  ),
57  PedsOnlyParameters = cms.PSet(),
58 
59  PedsFullNoiseParameters = cms.PSet(
60 
61  MaxDriftResidualCut = cms.double(20),
62  MinStripNoiseCut = cms.double(2),
63  MaxStripNoiseCut = cms.double(30),
64  MaxStripNoiseSignificanceCut = cms.double(10),
65  AdProbabCut = cms.double(0.002699796063),
66  KsProbabCut = cms.double(0.002699796063),
67  GenerateRandomHisto = cms.bool(False),
68  JbProbabCut = cms.double(0.000000573303),
69  Chi2ProbabCut = cms.double(0.000000573303),
70  KurtosisCut = cms.double(2),
71  IntegralNsigma = cms.int32(5),
72  IntegralTailCut = cms.double(0.0005),
73  AshmanDistance = cms.double(2),
74  AmplitudeRatio = cms.double(0.85),
76  HighThreshold = cms.double(5),
77  LowThreshold = cms.double(2),
79  DisableBadStrips = cms.bool(True),
80  KeepStripsDisabled = cms.bool(False),
81  UploadOnlyStripBadChannelBit = cms.bool(False),
82  SkipEmptyStrips = cms.bool(True),
83  UploadPedsFullNoiseDBTable = cms.bool(False)
84  ),
85  SamplingParameters = cms.PSet(),
86  VpspScanParameters = cms.PSet(),
87 )
88