#include <string>
#include <vector>
#include "FWCore/Framework/interface/Event.h"
#include "FWCore/Common/interface/TriggerNames.h"
#include "DataFormats/Common/interface/TriggerResults.h"
#include "DataFormats/VertexReco/interface/Vertex.h"
#include "DataFormats/JetReco/interface/Jet.h"
#include "FWCore/Framework/interface/EventSetup.h"
#include "DataFormats/JetReco/interface/JetID.h"
#include "DataFormats/JetReco/interface/PFJet.h"
#include "DataFormats/JetReco/interface/CaloJet.h"
#include "DataFormats/BTauReco/interface/JetTag.h"
#include "DataFormats/Common/interface/ValueMap.h"
#include "FWCore/ParameterSet/interface/ParameterSet.h"
#include "JetMETCorrections/Objects/interface/JetCorrector.h"
#include "DataFormats/EgammaCandidates/interface/GsfElectron.h"
#include "CommonTools/Utils/interface/StringCutObjectSelector.h"
#include "JetMETCorrections/Objects/interface/JetCorrectionsRecord.h"
Go to the source code of this file.
Classes | |
class | Calculate |
Helper class for the calculation of a top and a W boson mass estime. More... | |
class | SelectionStep< Object > |
Templated helper class to allow a selection on a certain object collection. More... | |
Functions | |
bool | accept (const edm::Event &event, const edm::TriggerResults &triggerTable, const std::string &triggerPath) |
bool | accept (const edm::Event &event, const edm::TriggerResults &triggerTable, const std::vector< std::string > &triggerPaths) |
bool accept | ( | const edm::Event & | event, |
const edm::TriggerResults & | triggerTable, | ||
const std::string & | triggerPath | ||
) | [inline] |
Definition at line 22 of file TopDQMHelpers.h.
References edm::HLTGlobalStatus::accept(), i, and edm::TriggerNames::triggerNames().
Referenced by accept(), DTCtcp::Accept(), SiStripHitEffFromCalibTree::algoAnalyze(), IsolatedGenParticles::analyze(), TopDiLeptonOfflineDQM::analyze(), TopElectronHLTOfflineSource::analyze(), HLTrigReport::analyze(), HLTMonBTagIPSource::analyze(), TopSingleLeptonDQM::analyze(), HLTInfo::analyze(), HLTScalers::analyze(), L1TDTTF::analyze(), HLTMonBTagMuSource::analyze(), CutBasedElectronID::compute_cut(), TopSingleLepton::MonitorEnsemble::fill(), TopDiLeptonOffline::MonitorEnsemble::fill(), TrigResRateMon::fillCountsPerPath(), PythiaFilterTTBar::filter(), ConfigurableAnalysis::filter(), LeptonRecoSkim::filter(), HLTL1NumberFilter::filter(), Zto2lFilter::filter(), UEDMultiLeptonFilter::filter(), HLTPhysicsDeclared::filter(), HLTLogMonitorFilter::filter(), HLTHighLevel::filter(), Tau3MuSkim::filter(), GCC11_FINAL< T, TOPO >::filteredRecHits(), HLTJetMETValidation::getHLTResults(), HLTMuonPointingFilter::hltFilter(), HLTDeDxFilter::hltFilter(), HLTMuonIsoFilter::hltFilter(), HLTEcalIsolationFilter::hltFilter(), HLTEcalTowerFilter::hltFilter(), HLTPixelActivityFilter::hltFilter(), HLTPixlMBFilt::hltFilter(), HLTSmartSinglet< T >::hltFilter(), HLTJetSortedVBFFilter< T >::hltFilter(), HLTEgammaDoubleLegCombFilter::hltFilter(), HLTEgammaL1MatchFilterPairs::hltFilter(), HLTElectronEoverpFilterRegional::hltFilter(), HLTMonoJetFilter< T >::hltFilter(), HLTMuonL1RegionalFilter::hltFilter(), HLTTrackSeedMultiplicityFilter::hltFilter(), HLTEgammaAllCombMassFilter::hltFilter(), HLTEgammaDoubleEtFilter::hltFilter(), HLTEgammaEtFilterPairs::hltFilter(), HLTFiltCand::hltFilter(), HLTExclDiJetFilter< T >::hltFilter(), HLTPFEnergyFractionsFilter::hltFilter(), HLTHcalSimpleRecHitFilter::hltFilter(), HLTHcalTowerFilter::hltFilter(), HLTEgammaCaloIsolFilterPairs::hltFilter(), HLTJetCollectionsFilter< jetType >::hltFilter(), HLTNVFilter::hltFilter(), HLTMuonL1Filter::hltFilter(), HLTmmkFilter::hltFilter(), HLTDiJetAveFilter< T >::hltFilter(), HLTJetVBFFilter< T >::hltFilter(), HLTMhtHtFilter< T >::hltFilter(), HLTPixelIsolTrackFilter::hltFilter(), HLTElectronEtFilter::hltFilter(), HLTElectronPixelMatchFilter::hltFilter(), HLTPMMassFilter::hltFilter(), HLTDoubletDZ< T1, T2 >::hltFilter(), HLTPixlMBForAlignmentFilter::hltFilter(), HLTEgammaDoubleEtPhiFilter::hltFilter(), HLTEgammaGenericQuadraticFilter::hltFilter(), HLTEgammaL1MatchFilterRegional::hltFilter(), HLTElectronPFMTFilter::hltFilter(), HLTHtMhtFilter::hltFilter(), HLTMhtFilter::hltFilter(), HLTMuonL2PreFilter::hltFilter(), HLTJetTag< T >::hltFilter(), HLTEgammaDoubleEtDeltaPhiFilter::hltFilter(), HLTElectronGenericFilter::hltFilter(), HLTJetCollectionsVBFFilter< T >::hltFilter(), HLTEventNumberFilter::hltFilter(), HLTEgammaGenericQuadraticEtaFilter::hltFilter(), HLT2jetGapFilter::hltFilter(), HLTMuonTrimuonL3Filter::hltFilter(), HLTDoublet< T1, T2 >::hltFilter(), HLTRapGapFilter::hltFilter(), HLTEgammaEtFilter::hltFilter(), HLTPMDocaFilter::hltFilter(), HLTForwardBackwardJetsFilter< T >::hltFilter(), HLTMuonL1toL3TkPreFilter::hltFilter(), HLTSingleVertexPixelTrackFilter::hltFilter(), HLTDisplacedEgammaFilter::hltFilter(), HLTSinglet< T >::hltFilter(), HLTAcoFilter::hltFilter(), HLTPixelAsymmetryFilter::hltFilter(), HLTEgammaCombMassFilter::hltFilter(), HLTElectronMuonInvMassFilter::hltFilter(), HLTSummaryFilter::hltFilter(), HLTAlphaTFilter< T >::hltFilter(), HLTPixelClusterShapeFilter::hltFilter(), HLTEgammaGenericFilter::hltFilter(), HLTElectronOneOEMinusOneOPFilterRegional::hltFilter(), HLTGlobalSums< T >::hltFilter(), HLTMuonDimuonL2Filter::hltFilter(), HLTMuonL3PreFilter::hltFilter(), HLTmmkkFilter::hltFilter(), HLTPhi2METFilter::hltFilter(), HLTMuonDimuonL3Filter::hltFilter(), SiStripFedZeroSuppression::IsAValidDigi(), TtDecayChannelSelector::operator()(), EETriggerTowerTask::processDigis(), EBTriggerTowerTask::processDigis(), SelectionStep< Object >::select(), SelectionStepHLT< Object >::select(), SelectionStep< Object >::selectVertex(), SelectionStepHLT< Object >::selectVertex(), pat::TriggerCondition::setAccept(), pat::TriggerPath::setAccept(), pat::TriggerEvent::setAccept(), TrackEfficiencyMonitor::trackerAcceptance(), DQMAnalyzer::trigger(), GsfElectronDataAnalyzer::trigger(), ZeroSuppressFP420::trkFEDclusterizer(), and CastorShowerLibraryMaker::update().
{ bool passed=false; const edm::TriggerNames& triggerNames = event.triggerNames(triggerTable); for(unsigned int i=0; i<triggerNames.triggerNames().size(); ++i){ if(triggerNames.triggerNames()[i] == triggerPath) { if(triggerTable.accept(i)){ passed=true; break; } } } return passed; }
bool accept | ( | const edm::Event & | event, |
const edm::TriggerResults & | triggerTable, | ||
const std::vector< std::string > & | triggerPaths | ||
) | [inline] |