CMS 3D CMS Logo

L1GctNullJetFinder.h
Go to the documentation of this file.
1 #ifndef L1GCTNULLJETFINDER_H_
2 #define L1GCTNULLJETFINDER_H_
3 
5 
6 #include <boost/cstdint.hpp> //for uint16_t
7 #include <vector>
8 
15 /*
16  * \author Greg Heath
17  * \date March 2010
18  */
19 
20 
21 
23 {
24  public:
25 
27  L1GctNullJetFinder(int id);
28 
30 
32  friend std::ostream& operator << (std::ostream& os, const L1GctNullJetFinder& algo);
33 
35  virtual void fetchInput();
36 
38  virtual void process();
39 
40  protected:
41 
42  // Each jetFinder must define the constants as private and copy the
43  // function definitions below.
44  virtual unsigned maxRegionsIn() const { return MAX_REGIONS_IN; }
45  virtual unsigned centralCol0() const { return CENTRAL_COL0; }
46  virtual unsigned nCols() const { return N_COLS; }
47 
48 private:
49 
51  static const unsigned int MAX_REGIONS_IN;
52  static const unsigned int N_COLS;
53  static const unsigned int CENTRAL_COL0;
54 
55  void findJets();
56 
57 };
58 
59 std::ostream& operator << (std::ostream& os, const L1GctNullJetFinder& algo);
60 
61 #endif /*L1GCTNULLJETFINDER_H_*/
no-op jet finder for test purposes.
static const unsigned int CENTRAL_COL0
Base class to allow implementation of jetFinder algorithms.
virtual void fetchInput()
get input data from sources
virtual unsigned centralCol0() const
virtual unsigned maxRegionsIn() const
virtual unsigned nCols() const
virtual void process()
process the data, fill output buffers
L1GctNullJetFinder(int id)
id is 0-8 for -ve Eta jetfinders, 9-17 for +ve Eta, for increasing Phi.
static const unsigned int MAX_REGIONS_IN
The real jetFinders must define these constants.
static const unsigned int N_COLS
friend std::ostream & operator<<(std::ostream &os, const L1GctNullJetFinder &algo)
Overload << operator.