Skip to content

Instantly share code, notes, and snippets.

View skaplanhex's full-sized avatar

Steven Kaplan skaplanhex

View GitHub Profile
@skaplanhex
skaplanhex / LumiMonitorFilter.cc
Created October 6, 2014 16:41
IsGoodForLumiMonitor Implementation
#include "SimG4Core/Generators/interface/LumiMonitorFilter.h"
#include "FWCore/MessageLogger/interface/MessageLogger.h"
using namespace edm;
//using std::cout;
//using std::endl;
LumiMonitorFilter::LumiMonitorFilter()
{}
@skaplanhex
skaplanhex / PrunedGenParticlesForJetFlavorClustering_cfi.py
Last active August 29, 2015 13:57
Idea for implementation of pruned genparticle selection for jet flavor clustering.
#################
#
# this snippet would be called in a run script something like this
# (assuming file is PhysicsTools/JetMCAlgos/python/PrunedGenParticlesForJetFlavorClustering_cfi.py):
# from PhysicsTools.JetMCAlgos.PrunedGenParticlesForJetFlavorClustering_cfi import prunedGenParticlesForJetFlavor
# process.prunedGenparticlesForJetFlavor = prunedGenParticlesForJetFlavor.clone()
#
#################
#see https://twiki.cern.ch/twiki/bin/view/CMSPublic/SWGuideGenParticlePruner for more information
print "hello world"