CMS 3D CMS Logo

Public Member Functions | Protected Member Functions | Private Member Functions | Static Private Attributes | Friends

L1GctNullJetFinder Class Reference

no-op jet finder for test purposes. More...

#include <L1GctNullJetFinder.h>

Inheritance diagram for L1GctNullJetFinder:
L1GctJetFinderBase L1GctProcessor

List of all members.

Public Member Functions

virtual void fetchInput ()
 get input data from sources
 L1GctNullJetFinder (int id)
 id is 0-8 for -ve Eta jetfinders, 9-17 for +ve Eta, for increasing Phi.
virtual void process ()
 process the data, fill output buffers
 ~L1GctNullJetFinder ()

Protected Member Functions

virtual unsigned centralCol0 () const
virtual unsigned maxRegionsIn () const
virtual unsigned nCols () const

Private Member Functions

void findJets ()

Static Private Attributes

static const unsigned int CENTRAL_COL0 = 1
static const unsigned int MAX_REGIONS_IN = (((L1CaloRegionDetId::N_ETA)/2)+1)*L1GctNullJetFinder::N_COLS
 The real jetFinders must define these constants.
static const unsigned int N_COLS = 4

Friends

std::ostream & operator<< (std::ostream &os, const L1GctNullJetFinder &algo)
 Overload << operator.

Detailed Description

no-op jet finder for test purposes.

For use with hardware testing where not all leaf cards are present

Definition at line 22 of file L1GctNullJetFinder.h.


Constructor & Destructor Documentation

L1GctNullJetFinder::L1GctNullJetFinder ( int  id)

id is 0-8 for -ve Eta jetfinders, 9-17 for +ve Eta, for increasing Phi.

Definition at line 8 of file L1GctNullJetFinder.cc.

References L1GctProcessor::reset().

                                            :
  L1GctJetFinderBase(id)
{
  this->reset();
}
L1GctNullJetFinder::~L1GctNullJetFinder ( )

Definition at line 14 of file L1GctNullJetFinder.cc.

{
}

Member Function Documentation

virtual unsigned L1GctNullJetFinder::centralCol0 ( ) const [inline, protected, virtual]

Reimplemented from L1GctJetFinderBase.

Definition at line 45 of file L1GctNullJetFinder.h.

References CENTRAL_COL0.

{ return CENTRAL_COL0; }
void L1GctNullJetFinder::fetchInput ( ) [virtual]

get input data from sources

Implements L1GctJetFinderBase.

Definition at line 26 of file L1GctNullJetFinder.cc.

References L1GctJetFinderBase::resetProcessor(), and L1GctJetFinderBase::setupObjects().

{
  // Get rid of any input objects that may have been stored (!)
  resetProcessor();
  setupObjects();
}
void L1GctNullJetFinder::findJets ( ) [private]
virtual unsigned L1GctNullJetFinder::maxRegionsIn ( ) const [inline, protected, virtual]

Reimplemented from L1GctJetFinderBase.

Definition at line 44 of file L1GctNullJetFinder.h.

References MAX_REGIONS_IN.

{ return MAX_REGIONS_IN; }
virtual unsigned L1GctNullJetFinder::nCols ( ) const [inline, protected, virtual]

Reimplemented from L1GctJetFinderBase.

Definition at line 46 of file L1GctNullJetFinder.h.

References N_COLS.

{ return N_COLS; }
void L1GctNullJetFinder::process ( ) [virtual]

process the data, fill output buffers

Implements L1GctJetFinderBase.

Definition at line 33 of file L1GctNullJetFinder.cc.

References L1GctJetFinderBase::doEnergySums(), and L1GctJetFinderBase::setupOk().

{
  if (setupOk()) {
    // NO jet finder so all jets (and intermediate clusters etc) will be null
    // as created by the call to setupObjects() above
    doEnergySums();
  }
}

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  os,
const L1GctNullJetFinder algo 
) [friend]

Overload << operator.

Definition at line 18 of file L1GctNullJetFinder.cc.

{
  os << "===L1GctNullJetFinder===" << std::endl;
  const L1GctJetFinderBase* temp = &algo;
  os << *temp;
  return os;
}

Member Data Documentation

const unsigned int L1GctNullJetFinder::CENTRAL_COL0 = 1 [static, private]

Reimplemented from L1GctJetFinderBase.

Definition at line 53 of file L1GctNullJetFinder.h.

Referenced by centralCol0().

The real jetFinders must define these constants.

Dependent on number of rows and columns.

Reimplemented from L1GctJetFinderBase.

Definition at line 51 of file L1GctNullJetFinder.h.

Referenced by maxRegionsIn().

const unsigned int L1GctNullJetFinder::N_COLS = 4 [static, private]

Reimplemented from L1GctJetFinderBase.

Definition at line 52 of file L1GctNullJetFinder.h.

Referenced by nCols().