Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2023-10-25 09:39:26

0001 //
0002 // EtSumHelper:  Helper Class for Interpreting L1T EtSum output
0003 //
0004 
0005 #ifndef DataFormats_L1Trigger_EtSumHelper_h
0006 #define DataFormats_L1Trigger_EtSumHelper_h
0007 
0008 #include "DataFormats/L1Trigger/interface/EtSum.h"
0009 
0010 namespace l1t {
0011 
0012   class EtSumHelper {
0013   public:
0014     EtSumHelper(const edm::Handle<l1t::EtSumBxCollection>& sum)
0015         : sum_(sum) {}  // class assumes sum has been checked to be valid.
0016     double MissingEt() const;
0017     double MissingEtPhi() const;
0018     double MissingHt() const;
0019     double MissingHtPhi() const;
0020     double TotalEt() const;
0021     double TotalHt() const;
0022 
0023   private:
0024     const edm::Handle<l1t::EtSumBxCollection>& sum_;
0025   };
0026 }  // namespace l1t
0027 
0028 #endif