Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:18:21

0001 #ifndef HLTEgammaTriggerFilterObjectWrapper_h
0002 #define HLTEgammaTriggerFilterObjectWrapper_h
0003 
0004 /** \class HLTEgammaTriggerFilterObjectWrapper
0005  *
0006  *  \author Alessio Ghezzi
0007  *
0008  */
0009 
0010 #include "HLTrigger/HLTcore/interface/HLTFilter.h"
0011 
0012 #include "DataFormats/RecoCandidate/interface/RecoEcalCandidate.h"
0013 #include "DataFormats/RecoCandidate/interface/RecoEcalCandidateFwd.h"
0014 
0015 namespace edm {
0016   class ConfigurationDescriptions;
0017 }
0018 
0019 //
0020 // class decleration
0021 //
0022 
0023 class HLTEgammaTriggerFilterObjectWrapper : public HLTFilter {
0024 public:
0025   explicit HLTEgammaTriggerFilterObjectWrapper(const edm::ParameterSet&);
0026   ~HLTEgammaTriggerFilterObjectWrapper() override;
0027   bool hltFilter(edm::Event&,
0028                  const edm::EventSetup&,
0029                  trigger::TriggerFilterObjectWithRefs& filterproduct) const override;
0030   static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
0031 
0032 private:
0033   edm::EDGetTokenT<reco::RecoEcalCandidateCollection> candIsolatedToken_;
0034   edm::EDGetTokenT<reco::RecoEcalCandidateCollection> candNonIsolatedToken_;
0035   edm::InputTag candIsolatedTag_;     // input tag identifying product contains egammas
0036   edm::InputTag candNonIsolatedTag_;  // input tag identifying product contains egammas
0037   bool doIsolated_;
0038 };
0039 
0040 #endif  //HLTEgammaTriggerFilterObjectWrapper_h