Line Code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46
#!/usr/bin/env python3
"""
_trackingOnly_

Scenario supporting proton collisions and tracking only reconstruction for HP beamspot

"""

import os
import sys

from Configuration.DataProcessing.Impl.pp import pp

class trackingOnly(pp):
    def __init__(self):
        pp.__init__(self)
        # tracking only RECO is sufficient, to run high performance BS at PCL;
        # some dedicated customization are required, though: see specific era implementations
        self.recoSeq=':reconstruction_trackingOnly'
        self.cbSc='pp'
    """
    _trackingOnly_

    Implement configuration building for data processing for proton
    collision data taking for high performance beamspot

    """

    def expressProcessing(self, globalTag, **args):

        # TkAlMinBias run but hidden to Tier0, in order not to persist it
        if 'skims' not in args :
            args['skims']=['TkAlMinBias']
        else :
            if not 'TkAlMinBias' in args['skims'] :
                args['skims'].append('TkAlMinBias')

        # reco sequence is limited to tracking => DQM accordingly
        if 'dqmSeq' not in args or len(args['dqmSeq'])==0:
            args['dqmSeq'] = ['DQMOfflineTracking']

        process = pp.expressProcessing(self, globalTag, **args)

        return process