Пример #1
0
    "Photons.author.Loose.Tight",
    "AntiKt4EMTopoJets.NumTrkPt1000.TrackWidthPt1000.NumTrkPt500.DFCommonJets_Calib_pt.DFCommonJets_Calib_eta.DFCommonJets_Calib_phi",
    "GSFTrackParticles.z0.d0.vz.definingParametersCovMatrix",
    "CombinedMuonTrackParticles.d0.z0.vz.definingParametersCovMatrix.truthOrigin.truthType",
    "ExtrapolatedMuonTrackParticles.d0.z0.vz.definingParametersCovMatrix.truthOrigin.truthType",
    "TauJets.IsTruthMatched.TruthPtVis.truthOrigin.truthType.truthParticleLink.truthJetLink",
    "MuonTruthParticles.barcode.decayVtxLink.e.m.pdgId.prodVtxLink.px.py.pz.recoMuonLink.status.truthOrigin.truthType",
    "AntiKt4TruthJets.eta.m.phi.pt.TruthLabelDeltaR_B.TruthLabelDeltaR_C.TruthLabelDeltaR_T.TruthLabelID.ConeTruthLabelID.PartonTruthLabelID",
    "Electrons.bkgTruthType.bkgTruthOrigin", "MET_Track",
    "AntiKt3PV0TrackJets.eta.m.phi.pt.btagging.btaggingLink",
    "BTagging_AntiKt3Track.MV2c20_discriminant"
]

SUSY5SlimmingHelper.IncludeMuonTriggerContent = True
SUSY5SlimmingHelper.IncludeEGammaTriggerContent = True
SUSY5SlimmingHelper.IncludeBPhysTriggerContent = False
SUSY5SlimmingHelper.IncludeJetTriggerContent = True
SUSY5SlimmingHelper.IncludeTauTriggerContent = True
SUSY5SlimmingHelper.IncludeEtMissTriggerContent = True
SUSY5SlimmingHelper.IncludeBJetTriggerContent = True

#Trigger navigation is way too big for now.
if globalflags.DataSource() == 'geant4':
    SUSY5SlimmingHelper.IncludeMuonTriggerContent = True
    SUSY5SlimmingHelper.IncludeEGammaTriggerContent = True
    SUSY5SlimmingHelper.IncludeBPhysTriggerContent = False
    SUSY5SlimmingHelper.IncludeJetTriggerContent = False
    SUSY5SlimmingHelper.IncludeTauTriggerContent = True
    SUSY5SlimmingHelper.IncludeEtMissTriggerContent = True
    SUSY5SlimmingHelper.IncludeBJetTriggerContent = False
Пример #2
0
#====================================================================
# CONTENT LIST  
#====================================================================
from DerivationFrameworkCore.SlimmingHelper import SlimmingHelper
PHYSLITESlimmingHelper = SlimmingHelper("PHYSLITESlimmingHelper")

PHYSLITESlimmingHelper.IncludeTriggerNavigation = False
PHYSLITESlimmingHelper.IncludeJetTriggerContent = False
PHYSLITESlimmingHelper.IncludeMuonTriggerContent = False
PHYSLITESlimmingHelper.IncludeEGammaTriggerContent = False
PHYSLITESlimmingHelper.IncludeJetTauEtMissTriggerContent = False
PHYSLITESlimmingHelper.IncludeTauTriggerContent = False #True
PHYSLITESlimmingHelper.IncludeEtMissTriggerContent = False
PHYSLITESlimmingHelper.IncludeBJetTriggerContent = False
PHYSLITESlimmingHelper.IncludeBPhysTriggerContent = False
PHYSLITESlimmingHelper.IncludeMinBiasTriggerContent = False

# Most of the new containers are centrally added to SlimmingHelper via DerivationFrameworkCore ContainersOnTheFly.py
PHYSLITESlimmingHelper.AppendToDictionary = {
                                         'TruthEvents':'xAOD::TruthEventContainer','TruthEventsAux':'xAOD::TruthEventAuxContainer',
                                         'MET_Truth':'xAOD::MissingETContainer','MET_TruthAux':'xAOD::MissingETAuxContainer',
                                         'TruthElectrons':'xAOD::TruthParticleContainer','TruthElectronsAux':'xAOD::TruthParticleAuxContainer',
                                         'TruthMuons':'xAOD::TruthParticleContainer','TruthMuonsAux':'xAOD::TruthParticleAuxContainer',
                                         'TruthPhotons':'xAOD::TruthParticleContainer','TruthPhotonsAux':'xAOD::TruthParticleAuxContainer',
                                         'TruthTaus':'xAOD::TruthParticleContainer','TruthTausAux':'xAOD::TruthParticleAuxContainer',
                                         'TruthNeutrinos':'xAOD::TruthParticleContainer','TruthNeutrinosAux':'xAOD::TruthParticleAuxContainer',
                                         'TruthBSM':'xAOD::TruthParticleContainer','TruthBSMAux':'xAOD::TruthParticleAuxContainer',
                                         'TruthBoson':'xAOD::TruthParticleContainer','TruthBosonAux':'xAOD::TruthParticleAuxContainer',
                                         'TruthTop':'xAOD::TruthParticleContainer','TruthTopAux':'xAOD::TruthParticleAuxContainer',
                                         'TruthForwardProtons':'xAOD::TruthParticleContainer','TruthForwardProtonsAux':'xAOD::TruthParticleAuxContainer',
Пример #3
0
# RequireAlgs = logical AND of filters
TRIG1Stream.AcceptAlgs(["TRIG1Kernel"])
#====================================================================
# CONTENT LIST
#====================================================================
from DerivationFrameworkCore.SlimmingHelper import SlimmingHelper
TRIG1SlimmingHelper = SlimmingHelper("TRIG1SlimmingHelper")
##Smart Slimming
TRIG1SlimmingHelper.SmartCollections = []
TRIG1SlimmingHelper.AllVariables = [
    "LVL1EmTauRoIs",
    "LVL1EnergySumRoIs",
    "LVL1JetEtRoIs",
    "LVL1JetRoIs",
    "LVL1MuonRoIs",
    "HLT_xAOD__TrigMissingETContainer_TrigEFMissingET_topocl_PS",
    "HLT_xAOD__TrigMissingETContainer_TrigEFMissingET_topocl_PUC",
    "HLT_xAOD__TrigMissingETContainer_TrigEFMissingET_mht",
    "HLT_xAOD__TrigMissingETContainer_TrigEFMissingET_topocl",
    "HLT_xAOD__JetContainer_a4tclcwsubjesFS",
]
TRIG1SlimmingHelper.IncludeMuonTriggerContent = True
TRIG1SlimmingHelper.IncludeEGammaTriggerContent = True
TRIG1SlimmingHelper.IncludeJetTriggerContent = True
TRIG1SlimmingHelper.IncludeTauTriggerContent = True
TRIG1SlimmingHelper.IncludeEtMissTriggerContent = True
TRIG1SlimmingHelper.IncludeBJetTriggerContent = True
TRIG1SlimmingHelper.IncludeBPhysTriggerContent = True
TRIG1SlimmingHelper.IncludeMinBiasTriggerContent = True
TRIG1SlimmingHelper.AppendContentToStream(TRIG1Stream)
Пример #4
0
HIGG2D5SlimmingHelper.SmartCollections = ["Electrons",
                                          "Photons",
                                          "Muons",
                                          "TauJets",
                                          "MET_Reference_AntiKt4EMTopo",
                                          "MET_Reference_AntiKt4LCTopo",
                                          "AntiKt4EMTopoJets",
                                          "AntiKt4LCTopoJets",
                                          "BTagging_AntiKt4EMTopo",
                                          "BTagging_AntiKt4LCTopo",
                                          "InDetTrackParticles",
                                          "PrimaryVertices"]

HIGG2D5SlimmingHelper.ExtraVariables = HIGG2D5ExtraContent
HIGG2D5SlimmingHelper.AllVariables = HIGG2D5ExtraContainers
if globalflags.DataSource()=='geant4':
    HIGG2D5SlimmingHelper.ExtraVariables += HIGG2D5ExtraContentTruth
    HIGG2D5SlimmingHelper.AllVariables += HIGG2D5ExtraContainersTruth

# For J/psi vertex augmentation
HIGG2D5SlimmingHelper.StaticContent = HIGG2D5StaticContent

# Add MET_RefFinalFix
addMETOutputs(HIGG2D5SlimmingHelper,["AntiKt4LCTopo","Track"])

HIGG2D5SlimmingHelper.IncludeMuonTriggerContent = True
HIGG2D5SlimmingHelper.IncludeBPhysTriggerContent = True

HIGG2D5SlimmingHelper.AppendContentToStream(HIGG2D5Stream)
Пример #5
0
    SkimmingTools=[MUON2SkimmingOR] if not isSimulation else [],
    ThinningTools=thiningCollection)

#====================================================================
# Slimming
#====================================================================

# Added by ASC
from DerivationFrameworkCore.SlimmingHelper import SlimmingHelper
MUON2SlimmingHelper = SlimmingHelper("MUON2SlimmingHelper")
AllVariables = []
StaticContent = []

# Needed for trigger objects
MUON2SlimmingHelper.IncludeMuonTriggerContent = TRUE
MUON2SlimmingHelper.IncludeBPhysTriggerContent = TRUE

## primary vertices
AllVariables += ["PrimaryVertices"]
StaticContent += ["xAOD::VertexContainer#MUON2RefittedPrimaryVertices"]
StaticContent += ["xAOD::VertexAuxContainer#MUON2RefittedPrimaryVerticesAux."]
StaticContent += ["xAOD::VertexContainer#MUON2RefBplJpsiKplPrimaryVertices"]
StaticContent += [
    "xAOD::VertexAuxContainer#MUON2RefBplJpsiKplPrimaryVerticesAux."
]

## combined / extrapolated muon track particles
## (note: for tagged muons there is no extra TrackParticle collection since the ID tracks
##        are store in InDetTrackParticles collection)
AllVariables += ["CombinedMuonTrackParticles"]
AllVariables += ["ExtrapolatedMuonTrackParticles"]