CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_4/src/Configuration/DataProcessing/python/Impl/pp.py

Go to the documentation of this file.
00001 #!/usr/bin/env python
00002 """
00003 _pp_
00004 
00005 Scenario supporting proton collisions
00006 
00007 """
00008 
00009 import os
00010 import sys
00011 
00012 from Configuration.DataProcessing.Reco import Reco
00013 import FWCore.ParameterSet.Config as cms
00014 from Configuration.PyReleaseValidation.ConfigBuilder import ConfigBuilder
00015 from Configuration.PyReleaseValidation.ConfigBuilder import Options
00016 from Configuration.PyReleaseValidation.ConfigBuilder import defaultOptions
00017 from Configuration.DataProcessing.RecoTLR import customisePrompt,customiseExpress
00018 
00019 class pp(Reco):
00020     """
00021     _pp_
00022 
00023     Implement configuration building for data processing for proton
00024     collision data taking
00025 
00026     """
00027 
00028 
00029     def promptReco(self, globalTag, **args):
00030         """
00031         _promptReco_
00032 
00033         Proton collision data taking prompt reco
00034 
00035         """
00036         if not 'skims' in args:
00037             args['skims']=['@allForPrompt']
00038         process = Reco.promptReco(self,globalTag, **args)
00039 
00040         #add the former top level patches here
00041         customisePrompt(process)
00042         
00043         return process
00044 
00045 
00046     def expressProcessing(self, globalTag, **args):
00047         """
00048         _expressProcessing_
00049 
00050         Proton collision data taking express processing
00051 
00052         """
00053         if not 'skims' in args:
00054             args['skims']=['@allForExpress']
00055         process = Reco.expressProcessing(self,globalTag, **args)
00056         
00057         customiseExpress(process)
00058                 
00059         return process
00060 
00061 
00062     def alcaHarvesting(self, globalTag, datasetName, **args):
00063         """
00064         _alcaHarvesting_
00065 
00066         Proton collisions data taking AlCa Harvesting
00067 
00068         """
00069         if not 'skims' in args:
00070             args['skims']=['BeamSpotByRun',
00071                            'BeamSpotByLumi',
00072                            'SiStripQuality']
00073             
00074         return Reco.alcaHarvesting(self, globalTag, datasetName, **args)
00075