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 
29  ~L1GctNullJetFinder() override;
30 
32  friend std::ostream& operator << (std::ostream& os, const L1GctNullJetFinder& algo);
33 
35  void fetchInput() override;
36 
38  void process() override;
39 
40  protected:
41 
42  // Each jetFinder must define the constants as private and copy the
43  // function definitions below.
44  unsigned maxRegionsIn() const override { return MAX_REGIONS_IN; }
45  unsigned centralCol0() const override { return CENTRAL_COL0; }
46  unsigned nCols() const override { 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_*/
unsigned nCols() const override
unsigned centralCol0() const override
no-op jet finder for test purposes.
void fetchInput() override
get input data from sources
static const unsigned int CENTRAL_COL0
Base class to allow implementation of jetFinder algorithms.
void process() override
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.
~L1GctNullJetFinder() override
static const unsigned int MAX_REGIONS_IN
The real jetFinders must define these constants.
unsigned maxRegionsIn() const override
static const unsigned int N_COLS
friend std::ostream & operator<<(std::ostream &os, const L1GctNullJetFinder &algo)
Overload << operator.