Example #1
0
TileDQstatusAlgDefault()

#----------------
# TileMonitoring
#----------------
if doMonitoring:

    if TileBiGainRun:
        CellContainerMonitored = 'AllCaloHG'
    else:
        CellContainerMonitored = 'AllCalo'

    topSequence += CfgMgr.AthenaMonManager( "TileTBMonManager"
                                            , ManualRunLBSetup    = True
                                            , ManualDataTypeSetup = True
                                            , Environment         = "online"
                                            , FileKey             = MonitorOutput
                                            , Run                 = RunNumber
                                            , LumiBlock           = 1)


    #-------------------------------
    #   Tile raw channel time monitoring
    #-------------------------------
    TileTBMonTool = CfgMgr.TileTBMonTool ( name                  = 'TileTBMonTool'
                                           , histoPathBase       = '/Tile/TestBeam'
                                           # , doOnline            = athenaCommonFlags.isOnline()
                                           , CellsContainerID  = '' # used to check if the current event is collision
                                           , MBTSCellContainerID = '' # used to check if the current event is collision
                                           # Masked format: 'module gain channel,channel' (channels are separated by comma)
                                           , Masked = ['LBC02 0 46', 'LBC02 1 46', 
Example #2
0
from AthenaCommon.AlgSequence import AthSequencer
condSequence = AthSequencer("AthCondSeq")
tileCheckDCS = hasattr(condSequence, 'TileDCSCondAlg')

from AthenaCommon.AppMgr import ServiceMgr as svcMgr

from AthenaCommon import CfgMgr

from TileRecUtils.TileDQstatusAlgDefault import TileDQstatusAlgDefault
TileDQstatusAlgDefault()

topSequence += CfgMgr.AthenaMonManager(name='ManagedAthenaTileMon',
                                       FileKey='SHIFT',
                                       ManualDataTypeSetup=True,
                                       DataType='cosmics',
                                       Environment='online',
                                       ManualRunLBSetup=True,
                                       Run=RunNumber,
                                       LumiBlock=1)

ManagedAthenaTileMon = topSequence.ManagedAthenaTileMon

TileDQFragMon = CfgMgr.TileDQFragMonTool(
    name='TileDQFragMon',
    OutputLevel=INFO,
    TileRawChannelContainerDSP="TileRawChannelCnt",
    TileRawChannelContainerOffl=jobproperties.TileRecFlags.
    TileRawChannelContainer(),
    TileDigitsContainer="TileDigitsCnt",
    NegAmpHG=-200.,
    NegAmpLG=-15.,
Example #3
0
                                   JetJvtMomentName="NewJvt",
                                   DoPFlow=False)
tool1.METMakerTopo = mettoolTopo

mettoolPFlow = CfgMgr.met__METMaker('METMaker_AntiKt4PFlow',
                                    JetSelection="PFlow",
                                    JetJvtMomentName="NewJvt",
                                    DoPFlow=True)
tool1.METMakerPFlow = mettoolPFlow

museltool = CfgMgr.CP__MuonSelectionTool(
    "MuonSelectionTool",
    MuQuality=1,  # Medium
    MaxEta=2.4,
    TurnOffMomCorr=True)
tool1.MuonSelectionTool = museltool

eseltool = CfgMgr.AsgElectronLikelihoodTool("ElectronLHSelectionTool",
                                            WorkingPoint="MediumLHElectron")
tool1.ElectronLHSelectionTool = eseltool

phoseltool = CfgMgr.AsgPhotonIsEMSelector("PhotonIsEMSelectionTool",
                                          WorkingPoint="TightPhoton")
tool1.PhotonIsEMSelectionTool = phoseltool

tauseltool = CfgMgr.TauAnalysisTools__TauSelectionTool("TauSelectionTool")
tool1.TauSelectionTool = tauseltool

monMan = CfgMgr.AthenaMonManager("PhysValMonManager")
monMan.AthenaMonTools += [tool1]