CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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  DaqScopeModeParameters = cms.PSet(),
21  FastFedCablingParameters = cms.PSet(),
22  FedCablingParameters = cms.PSet(),
23  FedTimingParameters = cms.PSet(),
24  FineDelayParameters = cms.PSet(
25  cosmic = cms.bool(True)
26  ),
27  LatencyParamameters = cms.PSet(
28  OptimizePerPartition = cms.bool(False)
29  ),
30  NoiseParameters = cms.PSet(),
31  OptoScanParameters = cms.PSet(
32  TargetGain = cms.double(0.863), # target gain (0.863 ~ 690ADC for tickmark)
33  SkipGainUpdate = cms.bool(False) # wether to keep the gain the same as already on the db
34  ),
35  PedestalsParameters = cms.PSet(
36  DeadStripMax = cms.double(10), # number times the noise spread below mean noise
37  NoisyStripMin = cms.double(10), # number times the noise spread above mean noise
38  HighThreshold = cms.double(5), # analysis-wide high threshold for the fed zero suppression
39  LowThreshold = cms.double(2), # analysis-wide low threshold for the fed zero suppression
40  DisableBadStrips = cms.bool(False), # for experts! disables bad strips on the fed level
41  AddBadStrips = cms.bool(False), #for experts! keep and add disabled bad strips.
42  KeepsStripsDisabled = cms.bool(False) # for experts! keep strips disabled as in the db's current state
43  ),
44  PedsOnlyParameters = cms.PSet(),
45  PedsFullNoiseParameters = cms.PSet(
46  DeadStripMax = cms.double(10), # number times the noise spread below mean noise
47  NoisyStripMin = cms.double(10), # number times the noise spread above mean noise
48  HighThreshold = cms.double(5), # analysis-wide high threshold for the fed zero suppression
49  LowThreshold = cms.double(2), # analysis-wide low threshold for the fed zero suppression
50  KsProbCut = cms.double(10),
51  DisableBadStrips = cms.bool(False), # for experts! disables bad strips on the fed level
52  AddBadStrips = cms.bool(False), #for experts! keep and add disabled bad strips.
53  KeepsStripsDisabled = cms.bool(False) # for experts! keeps strip disabling as in the db's current state
54  ),
55  SamplingParameters = cms.PSet(),
56  VpspScanParameters = cms.PSet(),
57 )