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 <vector>
7 
14 /*
15  * \author Greg Heath
16  * \date March 2010
17  */
18 
20 public:
22  L1GctNullJetFinder(int id);
23 
24  ~L1GctNullJetFinder() override;
25 
27  friend std::ostream& operator<<(std::ostream& os, const L1GctNullJetFinder& algo);
28 
30  void fetchInput() override;
31 
33  void process() override;
34 
35 protected:
36  // Each jetFinder must define the constants as private and copy the
37  // function definitions below.
38  unsigned maxRegionsIn() const override { return MAX_REGIONS_IN; }
39  unsigned centralCol0() const override { return CENTRAL_COL0; }
40  unsigned nCols() const override { return N_COLS; }
41 
42 private:
44  static const unsigned int MAX_REGIONS_IN;
45  static const unsigned int N_COLS;
46  static const unsigned int CENTRAL_COL0;
47 
48  void findJets();
49 };
50 
51 std::ostream& operator<<(std::ostream& os, const L1GctNullJetFinder& algo);
52 
53 #endif /*L1GCTNULLJETFINDER_H_*/
no-op jet finder for test purposes.
void fetchInput() override
get input data from sources
static const unsigned int CENTRAL_COL0
unsigned maxRegionsIn() const override
Base class to allow implementation of jetFinder algorithms.
unsigned nCols() const override
unsigned centralCol0() const override
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
std::ostream & operator<<(std::ostream &os, const L1GctNullJetFinder &algo)
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.