Skip to content
Snippets Groups Projects
Commit e245c9b3 authored by Christopher Young's avatar Christopher Young
Browse files

Adding Clusters to JETM4, Adding PFO info to JETM3,4,5, Adding vz to the ChargedPFO aux info.

Former-commit-id: af918aa761d2f7a1f975a23845f4c47ff89118b3
parent 4ea61799
No related branches found
No related tags found
No related merge requests found
...@@ -204,6 +204,12 @@ if DerivationFrameworkIsMonteCarlo: ...@@ -204,6 +204,12 @@ if DerivationFrameworkIsMonteCarlo:
addJetPtAssociation(jetalg="AntiKt4EMTopoLowPt", truthjetalg="AntiKt4TruthJets", sequence=jetm3Seq, algname="JetPtAssociationAlgLowPt") addJetPtAssociation(jetalg="AntiKt4EMTopoLowPt", truthjetalg="AntiKt4TruthJets", sequence=jetm3Seq, algname="JetPtAssociationAlgLowPt")
addJetPtAssociation(jetalg="AntiKt4LCTopoLowPt", truthjetalg="AntiKt4TruthJets", sequence=jetm3Seq, algname="JetPtAssociationAlgLowPt") addJetPtAssociation(jetalg="AntiKt4LCTopoLowPt", truthjetalg="AntiKt4TruthJets", sequence=jetm3Seq, algname="JetPtAssociationAlgLowPt")
#====================================================================
# ADD PFLOW AUG INFORMATION
#====================================================================
from DerivationFrameworkJetEtMiss.PFlowCommon import applyPFOAugmentation
applyPFOAugmentation(DerivationFrameworkJob)
#==================================================================== #====================================================================
# Add the containers to the output stream - slimming done here # Add the containers to the output stream - slimming done here
#==================================================================== #====================================================================
......
...@@ -165,6 +165,12 @@ if DerivationFrameworkIsMonteCarlo: ...@@ -165,6 +165,12 @@ if DerivationFrameworkIsMonteCarlo:
addCSSKSoftDropJets(jetm4Seq, "JETM4") addCSSKSoftDropJets(jetm4Seq, "JETM4")
#====================================================================
# ADD PFLOW AUG INFORMATION
#====================================================================
from DerivationFrameworkJetEtMiss.PFlowCommon import applyPFOAugmentation
applyPFOAugmentation(DerivationFrameworkJob)
#======================================= #=======================================
# SCHEDULE CUSTOM MET RECONSTRUCTION # SCHEDULE CUSTOM MET RECONSTRUCTION
#======================================= #=======================================
...@@ -197,7 +203,9 @@ JETM4SlimmingHelper.AllVariables = [# "CaloCalTopoClusters", ...@@ -197,7 +203,9 @@ JETM4SlimmingHelper.AllVariables = [# "CaloCalTopoClusters",
"MuonSegments", "MuonSegments",
"Kt4EMTopoOriginEventShape","Kt4LCTopoOriginEventShape","Kt4EMPFlowEventShape", "Kt4EMTopoOriginEventShape","Kt4LCTopoOriginEventShape","Kt4EMPFlowEventShape",
] ]
JETM4SlimmingHelper.ExtraVariables = ["Photons."+NewTrigVars["Photons"]] JETM4SlimmingHelper.ExtraVariables = ["CaloCalTopoClusters.calE.calEta.calPhi.calM.rawE.rawEta.rawPhi.rawM","Photons."+NewTrigVars["Photons"],"JetETMissNeutralParticleFlowObjects.m.mEM.eflowRec_TIMING.eflowRec_AVG_LAR_Q.eflowRec_CENTER_LAMBDA.pt.ptEM.phi.eta",
"JetETMissChargedParticleFlowObjects.pt.eta.phi.m.eflowRec_tracksExpectedEnergyDeposit.charge.eflowRec_isInDenseEnvironment.pfo_TrackLinks.DFCommonPFlow_z0.DFCommonPFlow_vz.DFCommonPFlow_d0.DFCommonPFlow_theta.DFCommonPFlow_envWeight"]
for truthc in [ for truthc in [
"TruthMuons", "TruthMuons",
"TruthElectrons", "TruthElectrons",
......
...@@ -133,7 +133,7 @@ JETM5SlimmingHelper.AllVariables = ["CaloCalTopoClusters", ...@@ -133,7 +133,7 @@ JETM5SlimmingHelper.AllVariables = ["CaloCalTopoClusters",
"Kt4EMTopoOriginEventShape","Kt4LCTopoOriginEventShape","Kt4EMPFlowEventShape", "Kt4EMTopoOriginEventShape","Kt4LCTopoOriginEventShape","Kt4EMPFlowEventShape",
] ]
JETM5SlimmingHelper.ExtraVariables = ["JetETMissNeutralParticleFlowObjects.m.mEM.pfo_TrackLinks.eflowRec_ISOLATION.pfo_ClusterLinks.eflowRec_TIMING.eflowRec_AVG_LAR_Q.eflowRec_EM_PROBABILITY.eflowRec_CENTER_LAMBDA.centerMag.pt.ptEM.phi.eta", JETM5SlimmingHelper.ExtraVariables = ["JetETMissNeutralParticleFlowObjects.m.mEM.pfo_TrackLinks.eflowRec_ISOLATION.pfo_ClusterLinks.eflowRec_TIMING.eflowRec_AVG_LAR_Q.eflowRec_EM_PROBABILITY.eflowRec_CENTER_LAMBDA.centerMag.pt.ptEM.phi.eta",
"JetETMissChargedParticleFlowObjects.pt.eta.phi.m.eflowRec_tracksExpectedEnergyDeposit.pfo_vertex.charge.eflowRec_isInDenseEnvironment.pfo_TrackLinks.DFCommonPFlow_z0.DFCommonPFlow_d0.DFCommonPFlow_theta.DFCommonPFlow_envWeight",] "JetETMissChargedParticleFlowObjects.pt.eta.phi.m.eflowRec_tracksExpectedEnergyDeposit.pfo_vertex.charge.eflowRec_isInDenseEnvironment.pfo_TrackLinks.DFCommonPFlow_z0.DFCommonPFlow_vz.DFCommonPFlow_d0.DFCommonPFlow_theta.DFCommonPFlow_envWeight",]
for truthc in [ for truthc in [
"TruthMuons", "TruthMuons",
......
...@@ -16,6 +16,7 @@ namespace DerivationFramework { ...@@ -16,6 +16,7 @@ namespace DerivationFramework {
const static SG::AuxElement::Decorator<char> dec_PVmatched("DFCommonPFlow_PVMatched"); const static SG::AuxElement::Decorator<char> dec_PVmatched("DFCommonPFlow_PVMatched");
const static SG::AuxElement::Decorator<float> dec_corrP4_pt("DFCommonPFlow_CaloCorrectedPt"); const static SG::AuxElement::Decorator<float> dec_corrP4_pt("DFCommonPFlow_CaloCorrectedPt");
const static SG::AuxElement::Decorator<float> dec_z0("DFCommonPFlow_z0"); const static SG::AuxElement::Decorator<float> dec_z0("DFCommonPFlow_z0");
const static SG::AuxElement::Decorator<float> dec_vz("DFCommonPFlow_vz");
const static SG::AuxElement::Decorator<float> dec_d0("DFCommonPFlow_d0"); const static SG::AuxElement::Decorator<float> dec_d0("DFCommonPFlow_d0");
const static SG::AuxElement::Decorator<float> dec_theta("DFCommonPFlow_theta"); const static SG::AuxElement::Decorator<float> dec_theta("DFCommonPFlow_theta");
const static SG::AuxElement::Decorator<float> dec_envWeight("DFCommonPFlow_envWeight"); const static SG::AuxElement::Decorator<float> dec_envWeight("DFCommonPFlow_envWeight");
...@@ -90,6 +91,7 @@ const static SG::AuxElement::Decorator<float> dec_envWeight("DFCommonPFlow_envWe ...@@ -90,6 +91,7 @@ const static SG::AuxElement::Decorator<float> dec_envWeight("DFCommonPFlow_envWe
// decorate the track properties // decorate the track properties
dec_z0(*cpfo) = ptrk->z0(); dec_z0(*cpfo) = ptrk->z0();
dec_vz(*cpfo) = ptrk->vz();
dec_d0(*cpfo) = ptrk->d0(); dec_d0(*cpfo) = ptrk->d0();
dec_theta(*cpfo) = ptrk->theta(); dec_theta(*cpfo) = ptrk->theta();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment