CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_2_9/src/DQM/SiStripMonitorDigi/python/SiStripMonitorDigi_cfi.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 # SiStripMonitorDigi
00004 SiStripMonitorDigi = cms.EDAnalyzer("SiStripMonitorDigi",
00005                                   
00006     # add digi producers same way as Domenico in SiStripClusterizer
00007    
00008     DigiProducersList = cms.VInputTag(
00009       cms.InputTag('siStripDigis','ZeroSuppressed'),
00010       cms.InputTag('siStripZeroSuppression','VirginRaw'),
00011       cms.InputTag('siStripZeroSuppression','ProcessedRaw'),
00012       cms.InputTag('siStripZeroSuppression','ScopeMode')
00013     ),
00014 
00015    TH1NApvShots = cms.PSet(
00016        Nbins = cms.int32(201),
00017        xmin = cms.double(-0.5),
00018        xmax = cms.double(200.5),
00019        subdetswitchon = cms.bool(False),
00020        globalswitchon = cms.bool(False)
00021     ),
00022 
00023    TH1ChargeMedianApvShots = cms.PSet(
00024        Nbins = cms.int32(255),
00025        xmin = cms.double(0.5),
00026        xmax = cms.double(255.5),
00027        subdetswitchon = cms.bool(False),
00028        globalswitchon = cms.bool(False)
00029     ),
00030 
00031    TH1NStripsApvShots = cms.PSet(
00032        Nbins = cms.int32(64),
00033        xmin = cms.double(64.5),
00034        xmax = cms.double(128.5),
00035        subdetswitchon = cms.bool(False),
00036        globalswitchon = cms.bool(False)
00037     ),
00038 
00039    TProfNShotsVsTime = cms.PSet(
00040         Nbins = cms.int32(600),
00041         xmin = cms.double(0.0),
00042         xmax = cms.double(1.0*60*60),
00043         ymin = cms.double(0.0),
00044         ymax = cms.double(0.0),
00045         subdetswitchon = cms.bool(False),
00046         globalswitchon = cms.bool(False)
00047     ),
00048 
00049     TH1ApvNumApvShots = cms.PSet(
00050        Nbins = cms.int32(6),
00051        xmin = cms.double(0.5),
00052        xmax = cms.double(6.5),
00053        subdetswitchon = cms.bool(False),
00054        globalswitchon = cms.bool(False)
00055     ),
00056                                     
00057    TProfGlobalNShots = cms.PSet(
00058         globalswitchon = cms.bool(False)
00059     ),
00060 
00061     TH1ADCsCoolestStrip = cms.PSet(
00062        Nbinx = cms.int32(60),
00063        xmin = cms.double(-0.5),
00064        xmax = cms.double(299.5),
00065        layerswitchon = cms.bool(False),
00066        moduleswitchon = cms.bool(True)
00067     ),
00068                                     
00069     TH1ADCsHottestStrip = cms.PSet(
00070         Nbinx = cms.int32(60),
00071         xmin = cms.double(-0.5),
00072         xmax = cms.double(299.5),
00073         layerswitchon = cms.bool(False),
00074         moduleswitchon = cms.bool(True)
00075     ),
00076     TH1DigiADCs = cms.PSet(
00077         Nbinx = cms.int32(64),
00078         xmin = cms.double(-0.5),
00079         xmax = cms.double(255.5),        
00080         layerswitchon = cms.bool(True),
00081         moduleswitchon = cms.bool(True)
00082     ),
00083     TH1NumberOfDigis = cms.PSet(
00084         Nbinx = cms.int32(50),
00085         xmin = cms.double(-0.5),
00086         xmax = cms.double(999.5),
00087         layerswitchon = cms.bool(True),
00088         moduleswitchon = cms.bool(True)
00089     ),
00090                                     
00091     TH1NumberOfDigisPerStrip = cms.PSet(
00092         Nbinx = cms.int32(768),
00093         xmin = cms.double(-0.5),
00094         xmax = cms.double(767.5),
00095         moduleswitchon = cms.bool(False)
00096     ),
00097                                     
00098     TH1StripOccupancy = cms.PSet(
00099         Nbinx = cms.int32(51),
00100         xmin = cms.double(-0.01),
00101         xmax = cms.double(1.01),
00102         layerswitchon = cms.bool(True),        
00103         moduleswitchon = cms.bool(True)
00104     ),
00105                                     
00106     TProfNumberOfDigi = cms.PSet(
00107         Nbinx = cms.int32(100),
00108         xmin = cms.double(-0.5),
00109         xmax = cms.double(499.5),
00110         layerswitchon = cms.bool(False),        
00111         moduleswitchon = cms.bool(False)        
00112     ),
00113                                     
00114     TProfDigiADC = cms.PSet(
00115         Nbinx = cms.int32(100),
00116         xmin = cms.double(0.0),
00117         xmax = cms.double(499.5),
00118         layerswitchon = cms.bool(False),
00119         moduleswitchon = cms.bool(False)        
00120     ),
00121 
00122     TProfTotalNumberOfDigis = cms.PSet(
00123         Nbins = cms.int32(360),
00124         xmin = cms.double(0.0),
00125         xmax = cms.double(1.0*60*60),
00126         ymin = cms.double(0.0),
00127         ymax = cms.double(0.0),
00128         subdetswitchon = cms.bool(False)
00129     ),
00130 
00131     TkHistoMap_On = cms.bool(True),
00132     TkHistoMapNApvShots_On = cms.bool(False),
00133     TkHistoMapNStripApvShots_On = cms.bool(False),
00134     TkHistoMapMedianChargeApvShots_On = cms.bool(False),
00135 
00136     CreateTrendMEs = cms.bool(False),
00137                                     
00138     Trending = cms.PSet(
00139         Nbins = cms.int32(600),
00140         xmin = cms.double(0.0),
00141         xmax = cms.double(1.0*60*60),        
00142         ymin = cms.double(0.0),
00143         ymax = cms.double(10000.0)        
00144     ),
00145 
00146 
00147     TProfDigiApvCycle = cms.PSet(
00148         Nbins = cms.int32(70),
00149         xmin = cms.double(-0.5),
00150         xmax = cms.double(69.5),
00151         Nbinsy = cms.int32(200),
00152         ymin = cms.double(0.0),
00153         ymax = cms.double(0.0),
00154         subdetswitchon = cms.bool(False)
00155         ),
00156 
00157     TH2DigiApvCycle = cms.PSet(
00158         Nbins = cms.int32(70),
00159         xmin = cms.double(-0.5),
00160         xmax = cms.double(69.5),
00161         Nbinsy = cms.int32(200),
00162         ymin = cms.double(0.0),
00163         yfactor = cms.double(0.2),
00164         subdetswitchon = cms.bool(False)
00165     ),
00166 
00167     TProfTotalNumberOfDigisVsLS = cms.PSet(
00168         subdetswitchon           = cms.bool(False)                
00169     ),
00170                                     
00171     TotalNumberOfDigisFailure = cms.PSet(
00172         subdetswitchon        = cms.bool(False),
00173         Nbins = cms.int32(6),
00174         xmin = cms.double(0.5),
00175         xmax = cms.double(6.5),
00176         Nbinsy = cms.int32(1),
00177         ymin = cms.double(0.5),
00178         ymax = cms.double(1.5)
00179     ),
00180 
00181     xLumiProf = cms.int32(5),
00182 
00183     Mod_On = cms.bool(True),
00184 
00185     HistoryProducer = cms.InputTag("consecutiveHEs"),
00186     ApvPhaseProducer = cms.InputTag("APVPhases"),
00187 
00188     UseDCSFiltering = cms.bool(True),
00189     topDir = cms.string('SiStrip'),                                    
00190                                     
00191     # rest of parameters
00192     SelectAllDetectors = cms.bool(False),
00193     ShowMechanicalStructureView = cms.bool(True),
00194     ShowReadoutView = cms.bool(False),
00195     ShowControlView = cms.bool(False),                                  
00196     CalculateStripOccupancy = cms.bool(False),                                  
00197     ResetMEsEachRun = cms.bool(False),
00198     # by default do not write out any file with histograms
00199     # can overwrite this in .cfg file with: replace SiStripMonitorDigi.OutputMEsInRootFile = true
00200     OutputMEsInRootFile = cms.bool(False),
00201     OutputFileName = cms.string('test_digi.root')
00202 )