Skip to content
Snippets Groups Projects
Commit 83e33db2 authored by Nora Emilia Pettersson's avatar Nora Emilia Pettersson Committed by Graeme Stewart
Browse files

Rm DVMeff and Trklessjet (LongLivedParticleDPDMaker-01-00-03)

	* Add xe130 trigger to METFilter
	* Disable MEff filter (not used)
	* Tag as LongLivedParticleDPDMaker-01-00-03


Former-commit-id: 38c6aef7
parent d77f4818
No related branches found
No related tags found
Loading
......@@ -92,7 +92,7 @@ class DV_METFilterFlags(JobProperty):
statusOn=True
allowedTypes=["bool"]
StoredValue=True
cutMetMin=130.0*Units.GeV
cutMetMin=180.0*Units.GeV
deltaPhiCut=0.1
triggers=["HLT_xe90_L1XE50","HLT_xe100_L1XE50","HLT_xe120_L1XE50",
"HLT_xe90_L1XE55","HLT_xe100_L1XE55","HLT_xe120_L1XE55",
......@@ -108,7 +108,8 @@ class DV_METFilterFlags(JobProperty):
"HLT_xe90_topoclPS_L1XE60","HLT_xe100_topoclPS_L1XE60","HLT_xe120_topoclPS_L1XE60",
"HLT_xe90_topoclPUC_L1XE50","HLT_xe100_topoclPUC_L1XE50","HLT_xe120_topoclPUC_L1XE50",
"HLT_xe90_topoclPUC_L1XE55","HLT_xe100_topoclPUC_L1XE55","HLT_xe120_topoclPUC_L1XE55",
"HLT_xe90_topoclPUC_L1XE60","HLT_xe100_topoclPUC_L1XE60","HLT_xe120_topoclPUC_L1XE60"
"HLT_xe90_topoclPUC_L1XE60","HLT_xe100_topoclPUC_L1XE60","HLT_xe120_topoclPUC_L1XE60",
"HLT_xe130_mht_L1XE50"
]
pass
primRPVLLDESDM.add_JobProperty(DV_METFilterFlags)
......@@ -134,7 +135,7 @@ class DV_DoubleTracklessJetFilterFlags(JobProperty):
primRPVLLDESDM.add_JobProperty(DV_DoubleTracklessJetFilterFlags)
class DV_MeffFilterFlags(JobProperty):
statusOn=True
statusOn=False
allowedTypes=['bool']
StoredValue=True
cutMeffMin=1.0*Units.TeV ##
......
......@@ -320,7 +320,7 @@ DVMETFilterTool = DerivationFramework__DVMissingETFilterTool(name = "DVMETFilter
ToolSvc+=DVMETFilterTool
DV_METFinalFilter = DerivationFramework__FilterCombinationAND( name = "DV_METFinalFilter",
FilterList=[DVMETFilterTool,DVCombinedTracklessJetFilterToolForMET,DVMETTriggerFilter],
FilterList=[DVMETFilterTool,DVMETTriggerFilter],
## OutputLevel=DEBUG
)
ToolSvc += DV_METFinalFilter
......
......@@ -162,17 +162,19 @@ bool DerivationFramework::HnlSkimmingTool::eventPassesFilter() const
bool passD0cut = true;
int type = (*mu_itr2)->muonType();
const xAOD::Muon *mu = (*mu_itr2);
if(IsGood(*mu)){
if(type==0){ //d0 cut is for combined muons only
passD0cut = false;
if(fabs((*mu_itr2)->primaryTrackParticle()->d0())>m_mu2d0Min) passD0cut = true;
}
if((*mu_itr2)->pt()>m_mu2PtMin && fabs((*mu_itr2)->eta())<m_mu2AbsEtaMax && passTypeCut && isIso && passD0cut){
muon2passed = true;
break;
if(type==0){ //d0 cut is for combined muons only
passD0cut = false;
if(IsGood(*mu)){//if muon has a good chi2/dof
if(fabs((*mu_itr2)->primaryTrackParticle()->d0())>m_mu2d0Min) passD0cut = true;
}
}
if((*mu_itr2)->pt()>m_mu2PtMin && fabs((*mu_itr2)->eta())<m_mu2AbsEtaMax && passTypeCut && isIso && passD0cut){
muon2passed = true;
break;
}
}
if(muon2passed) acceptEvent = true;
......
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