CMS 3D CMS Logo

TriggerHelper.h

Go to the documentation of this file.
00001 #ifndef PhysicsTools_PatUtils_TriggerHelper_h
00002 #define PhysicsTools_PatUtils_TriggerHelper_h
00003 
00004 
00005 // -*- C++ -*-
00006 //
00007 // Package:    PatUtils
00008 // Class:      pat::helper::TriggerHelper
00009 //
00010 // $Id: TriggerHelper.h,v 1.1.2.1 2009/04/28 18:36:12 vadler Exp $
00011 //
00025 #include "FWCore/Framework/interface/Event.h"
00026 #include "DataFormats/PatCandidates/interface/TriggerEvent.h"
00027 
00028 #include <string>
00029 
00030 #include "DataFormats/PatCandidates/interface/TriggerObject.h"
00031 #include "DataFormats/Candidate/interface/Candidate.h"
00032 
00033 
00034 namespace pat {
00035 
00036   namespace helper {
00037 
00038     class TriggerMatchHelper {
00039 
00040       public:
00041 
00043         TriggerMatchHelper() {};
00044         ~TriggerMatchHelper() {};
00045 
00047         pat::TriggerObjectRef        triggerMatchObject( const reco::CandidateBaseRef & candRef, const TriggerObjectMatch * matchResult, const edm::Event & event, const TriggerEvent & triggerEvent ) const;
00048         pat::TriggerObjectRef        triggerMatchObject( const reco::CandidateBaseRef & candRef, const std::string & labelMatcher, const edm::Event & event, const TriggerEvent & triggerEvent ) const;
00049         pat::TriggerObjectMatchMap   triggerMatchObjects( const reco::CandidateBaseRef & candRef, const edm::Event & event, const TriggerEvent & triggerEvent ) const;
00050         reco::CandidateBaseRefVector triggerMatchCandidates( const pat::TriggerObjectRef & objectRef, const TriggerObjectMatch * matchResult, const edm::Event & event, const TriggerEvent & triggerEvent ) const;
00051         reco::CandidateBaseRefVector triggerMatchCandidates( const pat::TriggerObjectRef & objectRef, const std::string & labelMatcher, const edm::Event & event, const TriggerEvent & triggerEvent ) const;
00052 
00053     };
00054 
00055   }
00056 
00057 }
00058 
00059 
00060 #endif

Generated on Tue Jun 9 17:41:48 2009 for CMSSW by  doxygen 1.5.4