test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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.
std::ostream & operator<<(std::ostream &out, const ALILine &li)
Definition: ALILine.cc:188
virtual void setupObjects()
Initialise inputs with null objects for the correct bunch crossing if required.
static const unsigned int CENTRAL_COL0
static const unsigned N_ETA
Base class to allow implementation of jetFinder algorithms.
virtual void fetchInput()
get input data from sources
virtual void process()
process the data, fill output buffers
virtual void resetProcessor()
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.
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().