7 #ifndef StJetSpliterMerger_HH
8 #define StJetSpliterMerger_HH
18 #include "StConeJetFinder.h"
19 #include "StEtaPhiCell.h"
25 typedef vector<StEtaPhiCell*> CellVec;
27 EtNeighbor() : nCommonCells(0), sharedEt(0) { }
33 StEtaPhiCell::CellList::iterator _otherCell;
41 return lhs.sharedEt < rhs.sharedEt;
57 typedef StEtaPhiCell::CellList CellList;
64 double splitFraction()
const {
return mSplitFraction;}
71 typedef vector<StEtaPhiCell*> CellVec;
75 double mSplitFraction;
78 std::list<EtNeighbor> _OverlapList;
88 if (!lhs->isSamePosition(*rhs))
return;
90 sharedEt += lhs->eT();
95 inline ostream& operator<<(ostream& os,
const EtNeighbor& n)
97 return os <<
"sumEt:\t"<<n.sharedEt<<
"\tnCells:\t"<<n.nCommonCells;
void setSplitFraction(double v)
split jets if E_shared/E_neighbor>splitFraction
void splitMerge(CellList &jets)
action