CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_4_1_8_patch12/src/L1Trigger/GlobalCaloTrigger/interface/L1GctSimpleJetFinder.h

Go to the documentation of this file.
00001 #ifndef L1GCTSIMPLEJETFINDER_H_
00002 #define L1GCTSIMPLEJETFINDER_H_
00003 
00004 #include "L1Trigger/GlobalCaloTrigger/interface/L1GctJetFinderBase.h"
00005 
00006 #include <boost/cstdint.hpp> //for uint16_t
00007 #include <vector>
00008 
00016 /*
00017  * \author Greg Heath
00018  * \date June 2006
00019  */
00020 
00021 
00022 
00023 class L1GctSimpleJetFinder : public L1GctJetFinderBase
00024 {
00025  public:
00026 
00028   L1GctSimpleJetFinder(int id);
00029                  
00030   ~L1GctSimpleJetFinder();
00031    
00033   friend std::ostream& operator << (std::ostream& os, const L1GctSimpleJetFinder& algo);
00034 
00036   virtual void fetchInput();
00037 
00039   virtual void process();
00040 
00041  protected:
00042 
00043   // Each jetFinder must define the constants as private and copy the
00044   // function definitions below.
00045   virtual unsigned maxRegionsIn() const { return MAX_REGIONS_IN; }
00046   virtual unsigned centralCol0() const { return CENTRAL_COL0; }
00047   virtual unsigned nCols() const { return N_COLS; }
00048 
00049 private:
00050 
00052   static const unsigned int MAX_REGIONS_IN; 
00053   static const unsigned int N_COLS;
00054   static const unsigned int CENTRAL_COL0;
00055 
00056   void findJets();  
00057 
00058 };
00059 
00060 std::ostream& operator << (std::ostream& os, const L1GctSimpleJetFinder& algo);
00061 
00062 #endif /*L1GCTSIMPLEJETFINDER_H_*/