# Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration

#TRT_Phase  PUT IN SEPARATE PYTHON FILE
#
# We operate on a single object from StoreGate.
#
import D3PDMakerCoreComps

from D3PDMakerCoreComps.D3PDObject     import D3PDObject
from InDetD3PDMaker import TRTPhaseFillerTool
def makeTRTPhaseD3PDObject (name, prefix, object_name, getter = None, sgkey = 'TRT_Phase'):
     if not getter:
         getter = D3PDMakerCoreComps.SGObjGetterTool (name + '_Getter',
                                                      SGKey = sgkey,
                                                      TypeName = 'ComTime')

     from D3PDMakerConfig.D3PDMakerFlags import D3PDMakerFlags 
     return D3PDMakerCoreComps.ObjFillerTool (name,
                                              Prefix = prefix,
                                              Getter = getter,
                                              ObjectName = object_name,
                                              SaveMetadata = \
                                              D3PDMakerFlags.SaveObjectMetadata())
 
# Create the object type.
TRTPhaseD3PDObject = D3PDObject (makeTRTPhaseD3PDObject, 'TRT_', 'TRTPhaseD3PDObject') 
# Define blocks.
TRTPhaseD3PDObject.defineBlock (0, 'TRTPhase',TRTPhaseFillerTool)


9a2f3bc9d0fedae6bc1d56375fee0a5ab65d539b
<mask token>


def makeTRTPhaseD3PDObject(name, prefix, object_name, getter=None, sgkey=
    'TRT_Phase'):
    if not getter:
        getter = D3PDMakerCoreComps.SGObjGetterTool(name + '_Getter', SGKey
            =sgkey, TypeName='ComTime')
    from D3PDMakerConfig.D3PDMakerFlags import D3PDMakerFlags
    return D3PDMakerCoreComps.ObjFillerTool(name, Prefix=prefix, Getter=
        getter, ObjectName=object_name, SaveMetadata=D3PDMakerFlags.
        SaveObjectMetadata())


<mask token>

<mask token>


def makeTRTPhaseD3PDObject(name, prefix, object_name, getter=None, sgkey=
    'TRT_Phase'):
    if not getter:
        getter = D3PDMakerCoreComps.SGObjGetterTool(name + '_Getter', SGKey
            =sgkey, TypeName='ComTime')
    from D3PDMakerConfig.D3PDMakerFlags import D3PDMakerFlags
    return D3PDMakerCoreComps.ObjFillerTool(name, Prefix=prefix, Getter=
        getter, ObjectName=object_name, SaveMetadata=D3PDMakerFlags.
        SaveObjectMetadata())


<mask token>
TRTPhaseD3PDObject.defineBlock(0, 'TRTPhase', TRTPhaseFillerTool)

<mask token>


def makeTRTPhaseD3PDObject(name, prefix, object_name, getter=None, sgkey=
    'TRT_Phase'):
    if not getter:
        getter = D3PDMakerCoreComps.SGObjGetterTool(name + '_Getter', SGKey
            =sgkey, TypeName='ComTime')
    from D3PDMakerConfig.D3PDMakerFlags import D3PDMakerFlags
    return D3PDMakerCoreComps.ObjFillerTool(name, Prefix=prefix, Getter=
        getter, ObjectName=object_name, SaveMetadata=D3PDMakerFlags.
        SaveObjectMetadata())


TRTPhaseD3PDObject = D3PDObject(makeTRTPhaseD3PDObject, 'TRT_',
    'TRTPhaseD3PDObject')
TRTPhaseD3PDObject.defineBlock(0, 'TRTPhase', TRTPhaseFillerTool)

import D3PDMakerCoreComps
from D3PDMakerCoreComps.D3PDObject import D3PDObject
from InDetD3PDMaker import TRTPhaseFillerTool


def makeTRTPhaseD3PDObject(name, prefix, object_name, getter=None, sgkey=
    'TRT_Phase'):
    if not getter:
        getter = D3PDMakerCoreComps.SGObjGetterTool(name + '_Getter', SGKey
            =sgkey, TypeName='ComTime')
    from D3PDMakerConfig.D3PDMakerFlags import D3PDMakerFlags
    return D3PDMakerCoreComps.ObjFillerTool(name, Prefix=prefix, Getter=
        getter, ObjectName=object_name, SaveMetadata=D3PDMakerFlags.
        SaveObjectMetadata())


TRTPhaseD3PDObject = D3PDObject(makeTRTPhaseD3PDObject, 'TRT_',
    'TRTPhaseD3PDObject')
TRTPhaseD3PDObject.defineBlock(0, 'TRTPhase', TRTPhaseFillerTool)

# Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration

#TRT_Phase  PUT IN SEPARATE PYTHON FILE
#
# We operate on a single object from StoreGate.
#
import D3PDMakerCoreComps

from D3PDMakerCoreComps.D3PDObject     import D3PDObject
from InDetD3PDMaker import TRTPhaseFillerTool
def makeTRTPhaseD3PDObject (name, prefix, object_name, getter = None, sgkey = 'TRT_Phase'):
     if not getter:
         getter = D3PDMakerCoreComps.SGObjGetterTool (name + '_Getter',
                                                      SGKey = sgkey,
                                                      TypeName = 'ComTime')

     from D3PDMakerConfig.D3PDMakerFlags import D3PDMakerFlags 
     return D3PDMakerCoreComps.ObjFillerTool (name,
                                              Prefix = prefix,
                                              Getter = getter,
                                              ObjectName = object_name,
                                              SaveMetadata = \
                                              D3PDMakerFlags.SaveObjectMetadata())
 
# Create the object type.
TRTPhaseD3PDObject = D3PDObject (makeTRTPhaseD3PDObject, 'TRT_', 'TRTPhaseD3PDObject') 
# Define blocks.
TRTPhaseD3PDObject.defineBlock (0, 'TRTPhase',TRTPhaseFillerTool)

