Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-11-25 03:29:20

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("ICALIB")
0004 process.MessageLogger = cms.Service("MessageLogger",
0005     cerr = cms.untracked.PSet(
0006         enable = cms.untracked.bool(False)
0007     ),
0008     cout = cms.untracked.PSet(
0009         threshold = cms.untracked.string('INFO')
0010     ),
0011     files = cms.untracked.PSet(
0012         SiStripSummaryBuilder = cms.untracked.PSet(
0013 
0014         )
0015     )
0016 )
0017 
0018 # different !!
0019 process.source = cms.Source("EmptySource",
0020     numberEventsInRun = cms.untracked.uint32(1),
0021     firstRun = cms.untracked.uint32(1)
0022 )
0023 
0024 process.maxEvents = cms.untracked.PSet(
0025     input = cms.untracked.int32(1)
0026 )
0027 
0028 process.PoolDBOutputService = cms.Service("PoolDBOutputService",
0029     BlobStreamerName = cms.untracked.string('TBufferBlobStreamingService'),
0030     DBParameters = cms.PSet(
0031         authenticationPath = cms.untracked.string('/afs/cern.ch/cms/DB/conddb')
0032     ),
0033     timetype = cms.untracked.string('runnumber'),
0034     connect = cms.string('sqlite_file:SiStripConditionsDBFile.db'),
0035     toPut = cms.VPSet(cms.PSet(
0036         record = cms.string('SiStripSummaryRcd'),#different
0037         tag = cms.string('SiStripSummary_test1')
0038     ))
0039 )
0040 
0041 #process.siStripPopConHistoricDQM = cms.OutputModule("SiStripPopConHistoricDQM",
0042 #   record = cms.string("SiStripSummaryRcd"),
0043 #   loggingOn = cms.untracked.bool(True),
0044 #   SinceAppendMode = cms.bool(True),
0045 #   Source = cms.PSet(
0046 #      since = cms.untracked.uint32(1),
0047 #      debug = cms.untracked.bool(False))
0048 #) 
0049 
0050 process.prod = cms.EDAnalyzer("SiStripSummaryBuilder",
0051  
0052    histoList = cms.VPSet(
0053      
0054    # quantities are 'stat', 'landau', 'gauss'
0055    # where 
0056    #'stat' includes entries, mean, rms
0057    #'landau' includes
0058    #'gauss' includes gaussMean, gaussSigma
0059    
0060         
0061    # CKFTk
0062    #,
0063    cms.PSet( keyName = cms.untracked.string("Chi2_CKFTk"), quantitiesToExtract = cms.untracked.vstring("stat"))
0064    ,
0065    cms.PSet( keyName = cms.untracked.string("NumberOfTracks_CKFTk"), quantitiesToExtract = cms.untracked.vstring("stat"))
0066    ,
0067    cms.PSet( keyName = cms.untracked.string("NumberOfRecHitsPerTrack_CKFTk"), quantitiesToExtract = cms.untracked.vstring("stat"))
0068    
0069    
0070 
0071    # Summary Cluster Properties
0072    # ,
0073    # cms.PSet( keyName = cms.untracked.string("Summary_TotalNumberOfClusters_OffTrack"), quantitiesToExtract = cms.untracked.vstring("stat"))
0074    # ,
0075    # cms.PSet( keyName = cms.untracked.string("Summary_TotalNumberOfClusters_OnTrack"),  quantitiesToExtract = cms.untracked.vstring("stat"))
0076    # ,
0077    # cms.PSet( keyName = cms.untracked.string("Summary_ClusterChargeCorr_OnTrack"), quantitiesToExtract = cms.untracked.vstring("stat"))
0078    # ,
0079    # cms.PSet( keyName = cms.untracked.string("Summary_ClusterCharge_OffTrack"),    quantitiesToExtract = cms.untracked.vstring("stat"))
0080    # ,
0081    # cms.PSet( keyName = cms.untracked.string("Summary_ClusterNoise_OnTrack"),      quantitiesToExtract = cms.untracked.vstring("stat"))
0082    # ,
0083    # cms.PSet( keyName = cms.untracked.string("Summary_ClusterNoise_OffTrack"),     quantitiesToExtract = cms.untracked.vstring("stat"))
0084    # ,
0085    # cms.PSet( keyName = cms.untracked.string("Summary_ClusterStoNCorr_OnTrack"),   quantitiesToExtract = cms.untracked.vstring("stat"))
0086    # ,
0087    # cms.PSet( keyName = cms.untracked.string("Summary_ClusterStoN_OffTrack"),      quantitiesToExtract = cms.untracked.vstring("stat"))
0088    # ,
0089    # cms.PSet( keyName = cms.untracked.string("Summary_ClusterWidth_OnTrack"),      quantitiesToExtract = cms.untracked.vstring("stat"))
0090    # ,
0091    # cms.PSet( keyName = cms.untracked.string("Summary_ClusterWidth_OffTrack"),     quantitiesToExtract = cms.untracked.vstring("stat"))
0092       
0093    ))
0094 
0095 process.asciiprint = cms.OutputModule("AsciiOutputModule")
0096 
0097 process.p = cms.Path(process.prod)
0098 process.ep = cms.EndPath(process.asciiprint)
0099 
0100