Functions | |
def | deltaR |
def | selection |
def elec_selection::deltaR | ( | ) |
Definition at line 19 of file elec_selection.py.
def elec_selection::selection | ( | ) |
Definition at line 5 of file elec_selection.py.
Referenced by TtSemiLepSignalSelMVATrainer::analyze(), TtFullHadSignalSelMVATrainer::analyze(), ShallowTree::beginJob(), muonisolation::PixelTrackExtractor::deposit(), muonisolation::TrackExtractor::deposit(), ExpressionVariable< Object, label >::ExpressionVariable(), HLTMuonIsoFilter::filter(), ConfigurableAnalysis::filter(), FlavorHistoryFilter::filter(), FWFileEntry::filterEventsWithCustomParser(), edm::EventSelector::getEventSelectionVString(), main(), TtSemiLepSignalSelMVAComputer::produce(), TtFullHadSignalSelMVAComputer::produce(), HiGenCleaner< T2 >::produce(), RecoTauCleanerImpl< Prod >::RecoTauCleanerImpl(), RecoTauProducer::RecoTauProducer(), MuonMillepedeAlgorithm::run(), CmsShowEDI::runSelection(), Selections::Selections(), and StringCutsEventSelector< Object, existenceMatter >::StringCutsEventSelector().
00006 : 00007 00008 if os.environ['E_SELECTION'] == 'efromW': 00009 result = ["drop *", "keep+ pdgId = 24", "keep+ pdgId = -24", "drop pdgId !=11 && pdgId !=-11"] 00010 elif os.environ['E_SELECTION'] == 'efromZ': 00011 result = ["drop *", "keep+ pdgId = 23", "drop pdgId !=11 && pdgId !=-11"] 00012 elif os.environ['E_SELECTION'] == 'efromb': 00013 result = ["drop *", "keep+ abs(pdgId)>=500 & abs(pdgId)<600", "drop pdgId !=11 && pdgId !=-11"] 00014 elif os.environ['E_SELECTION'] == 'pions': 00015 result = ["drop *", "keep pdgId = 211", "keep pdgId = -211"] 00016 else: 00017 result = ["drop *"," keep pdgId = {e-}", "keep pdgId = {e+}"] 00018 return result