CMS 3D CMS Logo

L1GctSimpleJetFinder.h
Go to the documentation of this file.
1 #ifndef L1GCTSIMPLEJETFINDER_H_
2 #define L1GCTSIMPLEJETFINDER_H_
3 
5 
6 #include <vector>
7 
15 /*
16  * \author Greg Heath
17  * \date June 2006
18  */
19 
21 public:
23  L1GctSimpleJetFinder(int id);
24 
26 
28  friend std::ostream& operator<<(std::ostream& os, const L1GctSimpleJetFinder& algo);
29 
31  virtual void fetchInput();
32 
34  virtual void process();
35 
36 protected:
37  // Each jetFinder must define the constants as private and copy the
38  // function definitions below.
39  virtual unsigned maxRegionsIn() const { return MAX_REGIONS_IN; }
40  virtual unsigned centralCol0() const { return CENTRAL_COL0; }
41  virtual unsigned nCols() const { return N_COLS; }
42 
43 private:
45  static const unsigned int MAX_REGIONS_IN;
46  static const unsigned int N_COLS;
47  static const unsigned int CENTRAL_COL0;
48 
49  void findJets();
50 };
51 
52 std::ostream& operator<<(std::ostream& os, const L1GctSimpleJetFinder& algo);
53 
54 #endif /*L1GCTSIMPLEJETFINDER_H_*/
L1GctSimpleJetFinder::L1GctSimpleJetFinder
L1GctSimpleJetFinder(int id)
id is 0-8 for -ve Eta jetfinders, 9-17 for +ve Eta, for increasing Phi.
L1GctSimpleJetFinder::nCols
virtual unsigned nCols() const
Definition: L1GctSimpleJetFinder.h:41
L1GctSimpleJetFinder::operator<<
friend std::ostream & operator<<(std::ostream &os, const L1GctSimpleJetFinder &algo)
Overload << operator.
L1GctSimpleJetFinder::maxRegionsIn
virtual unsigned maxRegionsIn() const
Definition: L1GctSimpleJetFinder.h:39
L1GctJetFinderBase
Base class to allow implementation of jetFinder algorithms.
Definition: L1GctJetFinderBase.h:48
L1GctSimpleJetFinder::centralCol0
virtual unsigned centralCol0() const
Definition: L1GctSimpleJetFinder.h:40
L1GctSimpleJetFinder::~L1GctSimpleJetFinder
~L1GctSimpleJetFinder()
L1GctSimpleJetFinder::CENTRAL_COL0
static const unsigned int CENTRAL_COL0
Definition: L1GctSimpleJetFinder.h:47
operator<<
std::ostream & operator<<(std::ostream &os, const L1GctSimpleJetFinder &algo)
cmsdt::algo
algo
Definition: constants.h:164
L1GctJetFinderBase.h
L1GctSimpleJetFinder::MAX_REGIONS_IN
static const unsigned int MAX_REGIONS_IN
The real jetFinders must define these constants.
Definition: L1GctSimpleJetFinder.h:45
L1GctSimpleJetFinder::fetchInput
virtual void fetchInput()
get input data from sources
L1GctSimpleJetFinder::N_COLS
static const unsigned int N_COLS
Definition: L1GctSimpleJetFinder.h:46
L1GctSimpleJetFinder::process
virtual void process()
process the data, fill output buffers
L1GctSimpleJetFinder::findJets
void findJets()
L1GctSimpleJetFinder
simple jet finder for test purposes.
Definition: L1GctSimpleJetFinder.h:20