CMS 3D CMS Logo

/data/doxygen/doxygen-1.7.3/gen/CMSSW_4_2_8/src/HLTrigger/HLTfilters/interface/HLTGlobalSums.h

Go to the documentation of this file.
00001 #ifndef HLTGlobalSums_h
00002 #define HLTGlobalSums_h
00003 
00018 #include "HLTrigger/HLTcore/interface/HLTFilter.h"
00019 #include<string>
00020 
00021 //
00022 // class declaration
00023 //
00024 
00025 template<typename T, int Tid>
00026 class HLTGlobalSums : public HLTFilter {
00027 
00028    public:
00029 
00030       explicit HLTGlobalSums(const edm::ParameterSet&);
00031       ~HLTGlobalSums();
00032       virtual bool filter(edm::Event&, const edm::EventSetup&);
00033 
00034    private:
00035       // configuration
00036       edm::InputTag inputTag_; // input tag identifying MET product
00037       bool saveTag_;           // whether to save this tag
00038       std::string observable_; // which observable to cut on
00039       double min_,max_;        // cut: Min<=observable<=Max
00040       int min_N_;              // how many needed to pass
00041       int tid_;                // TriggerObjectType based on observable_
00042 };
00043 
00044 #endif //HLTGlobalSums_h