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_*/
L1GctNullJetFinder::fetchInput
void fetchInput() override
get input data from sources
Definition: L1GctNullJetFinder.cc:20
L1GctJetFinderBase
Base class to allow implementation of jetFinder algorithms.
Definition: L1GctJetFinderBase.h:48
L1GctNullJetFinder
no-op jet finder for test purposes.
Definition: L1GctNullJetFinder.h:19
cmsdt::algo
algo
Definition: constants.h:165
operator<<
std::ostream & operator<<(std::ostream &os, const L1GctNullJetFinder &algo)
Definition: L1GctNullJetFinder.cc:13
L1GctJetFinderBase.h
L1GctNullJetFinder::MAX_REGIONS_IN
static const unsigned int MAX_REGIONS_IN
The real jetFinders must define these constants.
Definition: L1GctNullJetFinder.h:44
L1GctNullJetFinder::CENTRAL_COL0
static const unsigned int CENTRAL_COL0
Definition: L1GctNullJetFinder.h:46
L1GctNullJetFinder::nCols
unsigned nCols() const override
Definition: L1GctNullJetFinder.h:40
L1GctNullJetFinder::findJets
void findJets()
L1GctNullJetFinder::centralCol0
unsigned centralCol0() const override
Definition: L1GctNullJetFinder.h:39
L1GctNullJetFinder::L1GctNullJetFinder
L1GctNullJetFinder(int id)
id is 0-8 for -ve Eta jetfinders, 9-17 for +ve Eta, for increasing Phi.
Definition: L1GctNullJetFinder.cc:9
L1GctNullJetFinder::~L1GctNullJetFinder
~L1GctNullJetFinder() override
Definition: L1GctNullJetFinder.cc:11
L1GctNullJetFinder::operator<<
friend std::ostream & operator<<(std::ostream &os, const L1GctNullJetFinder &algo)
Overload << operator.
Definition: L1GctNullJetFinder.cc:13
L1GctNullJetFinder::process
void process() override
process the data, fill output buffers
Definition: L1GctNullJetFinder.cc:26
L1GctNullJetFinder::N_COLS
static const unsigned int N_COLS
Definition: L1GctNullJetFinder.h:45
L1GctNullJetFinder::maxRegionsIn
unsigned maxRegionsIn() const override
Definition: L1GctNullJetFinder.h:38