Пример #1
0
                                            and rec.doMuonCombined())):
    try:
        include("eflowRec/eflowRec_jobOptions.py")
    except Exception:
        treatException("Could not set up EFlow. Switched off !")
        recAlgs.doEFlow = False
else:
    recAlgs.doEFlow = False

#AODFix_postMuonCombinedRec()
#
# functionality : CaloTower protojets + preclustering + KT algorithm + CombinedJetAlg
#
pdr.flag_domain('jet')
jetOK = False
if rec.doJetMissingETTag() and DetFlags.Calo_on():
    try:
        from JetRec.JetRecFlags import jetFlags
        if jetFlags.Enabled():
            include("JetRec/JetRec_jobOptions.py")
            jetOK = jetFlags.Enabled()
    except Exception:
        treatException("Could not set up jet reconstruction")
        jetOK = False
    AODFix_postJetRec()

#
# functionality : isolation for egamma and combined muon
#
pdr.flag_domain('egmiso')
if (rec.doESD() and (rec.doMuonCombined() or rec.doEgamma()) and
Пример #2
0
    DQMonFlags.doMuonTrackMon = False
    DQMonFlags.doMuonAlignMon = False
    DQMonFlags.doMuonPhysicsMon = False
    DQMonFlags.doMuonTrkPhysMon = False
    DQMonFlags.doMuonCombinedMon = False

if (not rec.doMuonCombined()) or (rec.readRDO() and
                                  not jobproperties.MuonCombinedRec.Enabled()):
    DQMonFlags.doMuonCombinedMon = False

if (not rec.doEgamma()) or (rec.readRDO()
                            and not jobproperties.egammaRecFlags.Enabled()):
    DQMonFlags.doEgammaMon = False

#if (not rec.doJetRec()) or (rec.readRDO() and not jobproperties.JetRecFlags.Enabled()):
if (not rec.doJetMissingETTag()
        or (rec.readRDO() and not jobproperties.JetRecFlags.Enabled())):
    DQMonFlags.doJetMon = False
    DQMonFlags.doMissingEtMon = False
    DQMonFlags.doJetTagMon = False

#if (not rec.doTau()) or (rec.readRDO() and not jobproperties.TauRecFlags.Enabled()):
if (not rec.doTau()):
    DQMonFlags.doTauMon = False

# covered now by doJetMissingETTag
# if (not recAlgs.doMissingET()):
#    DQMonFlags.doMissingEtMon=False

#
# Stream Aware Monitoring
Пример #3
0
#@brief Main RecExCommon entry point for the DiTau reconstruction chain including run of DiTau identification algorithms.
#
# This file calls the dedicated main jobOptions of DiTauRec and TauDiscriminant.
# Checks make sure that detector conditions are valid to run tau reconstruction.
# Tau identification will only be run if tau reconstruction was setup correctly.
#
################################################################################
from RecExConfig.RecFlags import rec
import DiTauRec.DiTauRecFlags
import JetRec.JetRecFlags
from AthenaCommon.BeamFlags import jobproperties
from AthenaCommon.DetFlags import DetFlags

#disable tau in case we run on RDO/RAW and jets are disabled as well:
if jobproperties.DiTauRecFlags.doDiTauRec() and rec.readRDO(
) and not rec.doJetMissingETTag():
    from AthenaCommon.Logging import logging
    logDiTauRecConfig = logging.getLogger('DiTauRec_config')
    logDiTauRecConfig.warning(
        "Running on RDO/RAW files but doJetMissingETTag=False. DiTau reco need jets --> DiTau reconstruction disabled!!"
    )
    jobproperties.DiTauRecFlags.doDiTauRec = False

    pass

if jobproperties.DiTauRecFlags.doDiTauRec() and (
        rec.readESD() or
    (DetFlags.haveRIO.ID_on() and DetFlags.haveRIO.Calo_on())):
    _DiTauFail = True
    # the main tau reconstruction part
    try:
Пример #4
0
                                   doTruth=rec.doTruth(),
                                   doFinalizeClusters =jobproperties.egammaRecFlags.doEgammaCaloSeeded(),
                                   doEgammaForwardSeeded=jobproperties.egammaRecFlags.doEgammaForwardSeeded(),
                                   doEgammaCaloSeeded=jobproperties.egammaRecFlags.doEgammaCaloSeeded(),
                                   outputClusterKey=egammaKeys.outputClusterKey(),
                                   egammakeys=egammaKeysDict.outputs.items())
    except:
        treatException("Could not set up egammaLocker. Switched off !")

#AODFix_postMuonCombinedRec()
#
# functionality : CaloTower protojets + preclustering + KT algorithm + CombinedJetAlg
#
pdr.flag_domain('jet')
jetOK=False
if rec.doJetMissingETTag():
    try:
        from JetRec.JetRecFlags import jetFlags
        if jetFlags.Enabled():
            include( "JetRec/JetRec_jobOptions.py" )
            jetOK=jetFlags.Enabled()
    except Exception:
        treatException("Could not set up jet reconstruction")
        jetOK=False
    AODFix_postJetRec()


if jetOK and recAlgs.doMuonSpShower() and DetFlags.detdescr.Muon_on() and DetFlags.haveRIO.Calo_on() :
    try:
        include("MuonSpShowerBuilderAlgs/MuonSpShowerBuilder_jobOptions.py")
    except Exception:    
   DQMonFlags.doMuonRawMon=False
   DQMonFlags.doMuonSegmentMon=False
   DQMonFlags.doMuonTrackMon=False
   DQMonFlags.doMuonAlignMon=False
   DQMonFlags.doMuonPhysicsMon=False
   DQMonFlags.doMuonTrkPhysMon=False
   DQMonFlags.doMuonCombinedMon=False

if (not rec.doMuonCombined()) or (rec.readRDO() and not jobproperties.MuonCombinedRec.Enabled()):
   DQMonFlags.doMuonCombinedMon=False

if (not rec.doEgamma()) or (rec.readRDO() and not jobproperties.egammaRecFlags.Enabled()):
   DQMonFlags.doEgammaMon=False

#if (not rec.doJetRec()) or (rec.readRDO() and not jobproperties.JetRecFlags.Enabled()):
if (not rec.doJetMissingETTag() or (rec.readRDO() and not jobproperties.JetRecFlags.Enabled())):
   DQMonFlags.doJetMon=False
   DQMonFlags.doMissingEtMon=False
   DQMonFlags.doJetTagMon=False

#if (not rec.doTau()) or (rec.readRDO() and not jobproperties.TauRecFlags.Enabled()):
if (not rec.doTau()):
   DQMonFlags.doTauMon=False

# covered now by doJetMissingETTag
# if (not recAlgs.doMissingET()):
#    DQMonFlags.doMissingEtMon=False

#
# Stream Aware Monitoring
# Turn off tools on a stream basis to save cpu