Back to home page

Project CMSSW displayed by LXR

 
 

    


Warning, /Alignment/TrackerAlignment/scripts/TkAlCaRecoPrescaling.ALCARECOTkAlMinBias.tpl is written in an unsupported language. File is not indexed.

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("ALCAPRESCTkAl")
0004 
0005 ##__________________________Messages & Convenience____________________________________-
0006 process.load("FWCore.MessageService.MessageLogger_cfi")
0007 MessageLogger = cms.Service("MessageLogger",
0008        destinations = cms.untracked.vstring('LOGFILE_CosmicsPrescaled_<JOB>'),
0009        statistics   = cms.untracked.vstring('LOGFILE_CosmicsPrescaled_<JOB>'),
0010        categories   = cms.untracked.vstring('Alignment','AlcaRecoAnalyzer',''),
0011        debugModules = cms.untracked.vstring( '*' ),
0012 
0013     LOGFILE_Cosmics0T  = cms.untracked.PSet(
0014            threshold = cms.untracked.string('DEBUG'), 
0015            INFO      = cms.untracked.PSet( limit = cms.untracked.int32(100) ),
0016            WARNING   = cms.untracked.PSet( limit = cms.untracked.int32(1000) ),
0017            ERROR     = cms.untracked.PSet( limit = cms.untracked.int32(1000) ),
0018            DEBUG     = cms.untracked.PSet( limit = cms.untracked.int32(100) ),
0019            Alignment = cms.untracked.PSet( limit = cms.untracked.int32(1000) )
0020        )
0021    )
0022 process.MessageLogger.cerr.FwkReport.reportEvery = 1000
0023 
0024 ##__________________________________Source_____________________________________________
0025 process.source = cms.Source("PoolSource",
0026         skipEvents = cms.untracked.uint32(<INIEVT>),                 
0027         fileNames = cms.untracked.vstring(
0028           'rfio:/castor/cern.ch/cms/<INPATH>'
0029      )
0030     )
0031 
0032 ##_________________________________Includes____________________________________________
0033 from CondCore.DBCommon.CondDBSetup_cfi import *
0034 
0035 process.load('Configuration.EventContent.EventContent_cff')
0036 process.load("Configuration.StandardSequences.GeometryDB_cff")
0037 process.load("Geometry.CMSCommonData.cmsIdealGeometryXML_cfi")
0038 
0039 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
0040 process.load("Configuration.StandardSequences.MagneticField_38T_cff")
0041 
0042 # setting global tag
0043 #process.GlobalTag.globaltag = "GR_R_38X_V13A::All"
0044 process.GlobalTag.globaltag = "GR10_P_V11::All"
0045 
0046 
0047 ##__________________________________Filter____________________________________________
0048 process.maxEvents = cms.untracked.PSet(
0049     input = cms.untracked.int32(<FINEVT>)
0050 )
0051 
0052 
0053 process.load("Alignment.CommonAlignmentProducer.<ALCATAG>_Skimmed_cff")
0054 
0055 process.load("Alignment.TrackerAlignment.AlignmentPrescaler_cff")
0056 process.TkAlHitAssoMapCTF =  process.AlignmentPrescaler.clone()
0057 process.TkAlHitAssoMapCTF.src="ALCARECOTkAlMinBiasSkimmed"
0058 process.TkAlHitAssoMapCTF.assomap="OverlapAssoMapCTF"
0059 process.TkAlHitAssoMapCTF.PrescFileName="<MERGEDHITMAP>"#same as process.AlignmentTreeMerger.OutputFile
0060 
0061 
0062 process.pathALCARECOTkAlMinBiasPrescaled = cms.Path(process.seqALCARECOTkAlMinBiasSkimmed+process.TkAlHitAssoMapCTF)
0063 
0064 
0065 ##__________________________________Output____________________________________________
0066 
0067 
0068 process.OutALCARECOTkAlMinBiasPrescaled = cms.OutputModule("PoolOutputModule",
0069     SelectEvents = cms.untracked.PSet(
0070          # Select as an OR of filters for the three tracking algorithms: 
0071     SelectEvents = cms.vstring( "pathALCARECOTkAlMinBiasPrescaled")
0072     ),
0073 
0074     # replace "keep *_ALCARECOTkAlCosmics*Skimmed_*_*" with "keep *_ALCARECOTkAlCosmics*_*_*"
0075     # if you want to keep also former track collections
0076     outputCommands = cms.untracked.vstring( 
0077          "drop *" ,
0078         "keep *_ALCARECOTkAlMinBias*_*_*",
0079 #         "keep *_cosmictrackfinderP5_*_*",
0080 #         "keep *_ctfWithMaterialTracksP5_*_*",
0081          "keep *_*Skimmed*_*_*",
0082          "keep *_TkAlHitAssoMap*_*_*",
0083        'keep L1AcceptBunchCrossings_*_*_*',
0084         'keep L1GlobalTriggerReadoutRecord_gtDigis_*_*',
0085         'keep *_TriggerResults_*_*',
0086         'keep DcsStatuss_scalersRawToDigi_*_*',
0087          "keep *_MEtoEDMConverter_*_*"
0088      ),
0089 ###    "keep Si*Cluster*_*_*_*", # for cosmics keep also clusters
0090     fileName = cms.untracked.string('file:./<JOB>_Prescaled.root'), 
0091     dataset = cms.untracked.PSet(
0092     dataTier = cms.untracked.string('ALCARECO'),
0093     filterName = cms.untracked.string('ALCARECOTkAlMinBiasPrescaled')
0094     )
0095    
0096  )
0097 
0098 
0099 process.OutputALCARECOTkAlMinBiasPrescaled = cms.EndPath(process.OutALCARECOTkAlMinBiasPrescaled)
0100 process.schedule = cms.Schedule(process.pathALCARECOTkAlMinBiasPrescaled,process.OutputALCARECOTkAlMinBiasPrescaled)