00001
00002
00003
00004
00005 #ifndef Functors_HH
00006 #define Functors_HH
00007
00008 using namespace std;
00009 #include <iostream>
00010
00011 #include "StJetEtCell.h"
00012
00013 #include "StEtGridKey.h"
00014
00015 struct StJetEtCellEtLessThan
00016 {
00017 bool operator()(StJetEtCell* lhs, StJetEtCell* rhs)
00018 { return lhs->eT()<rhs->eT(); }
00019 };
00020
00021 class StProtoJet;
00022
00023 struct StProtoJetUpdater
00024 {
00025 void operator()(StJetEtCell *cell)
00026 { cell->protoJet().update(); }
00027 };
00028
00029 #endif