Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:03:31

0001 #!/usr/bin/env python3
0002 """
0003 _trackingOnly_
0004 
0005 Scenario supporting proton collisions and tracking only reconstruction for HP beamspot
0006 
0007 """
0008 
0009 import os
0010 import sys
0011 
0012 from Configuration.DataProcessing.Impl.pp import pp
0013 
0014 class trackingOnly(pp):
0015     def __init__(self):
0016         pp.__init__(self)
0017         # tracking only RECO is sufficient, to run high performance BS at PCL;
0018         # some dedicated customization are required, though: see specific era implementations
0019         self.recoSeq=':reconstruction_trackingOnly'
0020         self.cbSc='pp'
0021     """
0022     _trackingOnly_
0023 
0024     Implement configuration building for data processing for proton
0025     collision data taking for high performance beamspot
0026 
0027     """
0028 
0029     def expressProcessing(self, globalTag, **args):
0030 
0031         # TkAlMinBias run but hidden to Tier0, in order not to persist it
0032         if 'skims' not in args :
0033             args['skims']=['TkAlMinBias']
0034         else :
0035             if not 'TkAlMinBias' in args['skims'] :
0036                 args['skims'].append('TkAlMinBias')
0037 
0038         # reco sequence is limited to tracking => DQM accordingly
0039         if 'dqmSeq' not in args or len(args['dqmSeq'])==0:
0040             args['dqmSeq'] = ['DQMOfflineTracking']
0041 
0042         process = pp.expressProcessing(self, globalTag, **args)
0043 
0044         return process
0045 
0046