CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_3/src/L1Trigger/GlobalCaloTrigger/src/L1GctNullJetFinder.cc

Go to the documentation of this file.
00001 #include "L1Trigger/GlobalCaloTrigger/interface/L1GctNullJetFinder.h"
00002 
00003 //DEFINE STATICS
00004 const unsigned int L1GctNullJetFinder::MAX_REGIONS_IN = (((L1CaloRegionDetId::N_ETA)/2)+1)*L1GctNullJetFinder::N_COLS;
00005 const unsigned int L1GctNullJetFinder::N_COLS = 4;
00006 const unsigned int L1GctNullJetFinder::CENTRAL_COL0 = 1;
00007 
00008 L1GctNullJetFinder::L1GctNullJetFinder(int id):
00009   L1GctJetFinderBase(id)
00010 {
00011   this->reset();
00012 }
00013 
00014 L1GctNullJetFinder::~L1GctNullJetFinder()
00015 {
00016 }
00017 
00018 std::ostream& operator << (std::ostream& os, const L1GctNullJetFinder& algo)
00019 {
00020   os << "===L1GctNullJetFinder===" << std::endl;
00021   const L1GctJetFinderBase* temp = &algo;
00022   os << *temp;
00023   return os;
00024 }
00025 
00026 void L1GctNullJetFinder::fetchInput()
00027 {
00028   // Get rid of any input objects that may have been stored (!)
00029   resetProcessor();
00030   setupObjects();
00031 }
00032 
00033 void L1GctNullJetFinder::process() 
00034 {
00035   if (setupOk()) {
00036     // NO jet finder so all jets (and intermediate clusters etc) will be null
00037     // as created by the call to setupObjects() above
00038     doEnergySums();
00039   }
00040 }