CMS 3D CMS Logo

L1GctNullJetFinder.cc
Go to the documentation of this file.
2 
3 //DEFINE STATICS
5 const unsigned int L1GctNullJetFinder::N_COLS = 4;
6 const unsigned int L1GctNullJetFinder::CENTRAL_COL0 = 1;
7 
10 {
11  this->reset();
12 }
13 
15 {
16 }
17 
18 std::ostream& operator << (std::ostream& os, const L1GctNullJetFinder& algo)
19 {
20  os << "===L1GctNullJetFinder===" << std::endl;
21  const L1GctJetFinderBase* temp = &algo;
22  os << *temp;
23  return os;
24 }
25 
27 {
28  // Get rid of any input objects that may have been stored (!)
30  setupObjects();
31 }
32 
34 {
35  if (setupOk()) {
36  // NO jet finder so all jets (and intermediate clusters etc) will be null
37  // as created by the call to setupObjects() above
38  doEnergySums();
39  }
40 }
void reset()
complete reset of processor
bool setupOk() const
Check setup is Ok.
no-op jet finder for test purposes.
void fetchInput() override
get input data from sources
static const unsigned int CENTRAL_COL0
static const unsigned N_ETA
Base class to allow implementation of jetFinder algorithms.
void setupObjects() override
Initialise inputs with null objects for the correct bunch crossing if required.
void process() override
process the data, fill output buffers
void resetProcessor() override
Separate reset methods for the processor itself and any data stored in pipelines. ...
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.
static const unsigned int N_COLS
void doEnergySums()
Fill the Et strip sums and Ht sum. All jetFinders should call this in process().
friend std::ostream & operator<<(std::ostream &os, const L1GctNullJetFinder &algo)
Overload << operator.