Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #11741 from slava77/CMSSW_7_5_3_patch1/hiRun2TLR
heavyIonsRun2 scenario for data processing
- Loading branch information
Showing
6 changed files
with
291 additions
and
46 deletions.
There are no files selected for viewing
104 changes: 104 additions & 0 deletions
104
Configuration/DataProcessing/python/Impl/HeavyIonsRun2.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,104 @@ | ||
#!/usr/bin/env python | ||
""" | ||
_HeavyIonsRun2_ | ||
Scenario supporting heavy ions collisions | ||
""" | ||
|
||
import os | ||
import sys | ||
|
||
from Configuration.DataProcessing.Reco import Reco | ||
import FWCore.ParameterSet.Config as cms | ||
|
||
class HeavyIonsRun2(Reco): | ||
def __init__(self): | ||
self.recoSeq='' | ||
self.cbSc='HeavyIons' | ||
self.promptCustoms='Configuration/DataProcessing/RecoTLR.customiseRun2PromptHI' | ||
self.expressCustoms='Configuration/DataProcessing/RecoTLR.customiseRun2ExpressHI' | ||
self.visCustoms='Configuration/DataProcessing/RecoTLR.customiseRun2ExpressHI' | ||
""" | ||
_HeavyIonsRun2_ | ||
Implement configuration building for data processing for Heavy Ions | ||
collision data taking for Run2 | ||
""" | ||
|
||
|
||
def promptReco(self, globalTag, **args): | ||
""" | ||
_promptReco_ | ||
Heavy ions collision data taking prompt reco | ||
""" | ||
if not 'skims' in args: | ||
args['skims']=['@allForPrompt'] | ||
|
||
customsFunction = self.promptCustoms | ||
if not 'customs' in args: | ||
args['customs']=[ customsFunction ] | ||
else: | ||
args['customs'].append(customsFunction) | ||
|
||
process = Reco.promptReco(self,globalTag, **args) | ||
|
||
return process | ||
|
||
|
||
def expressProcessing(self, globalTag, **args): | ||
""" | ||
_expressProcessing_ | ||
Heavy ions collision data taking express processing | ||
""" | ||
if not 'skims' in args: | ||
args['skims']=['@allForExpress'] | ||
|
||
customsFunction = self.expressCustoms | ||
if not 'customs' in args: | ||
args['customs']=[ customsFunction ] | ||
else: | ||
args['customs'].append( customsFunction ) | ||
|
||
process = Reco.expressProcessing(self,globalTag, **args) | ||
|
||
return process | ||
|
||
def visualizationProcessing(self, globalTag, **args): | ||
""" | ||
_visualizationProcessing_ | ||
Heavy ions collision data taking visualization processing | ||
""" | ||
customsFunction = self.visCustoms | ||
if not 'customs' in args: | ||
args['customs']=[ customsFunction ] | ||
else: | ||
args['customs'].append( customsFunction ) | ||
|
||
process = Reco.visualizationProcessing(self,globalTag, **args) | ||
|
||
return process | ||
|
||
def alcaHarvesting(self, globalTag, datasetName, **args): | ||
""" | ||
_alcaHarvesting_ | ||
Heavy ions collisions data taking AlCa Harvesting | ||
""" | ||
|
||
|
||
if not 'skims' in args and not 'alcapromptdataset' in args: | ||
args['skims']=['BeamSpotByRun', | ||
'BeamSpotByLumi', | ||
'SiStripQuality'] | ||
|
||
return Reco.alcaHarvesting(self, globalTag, datasetName, **args) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.