94 vector<PhysicsTower> towers;
95 towers.reserve(clust_seq.
jets().size());
96 for (
unsigned i = 0; i < clust_seq.
jets().size(); i++) {
97 LorentzVector fourvect(clust_seq.
jets()[i].px(),
98 clust_seq.
jets()[i].py(),
99 clust_seq.
jets()[i].pz(),
100 clust_seq.
jets()[i].E());
101 PhysicsTower tower(fourvect);
104 tower.calTower.iEta = i;
105 towers.push_back(tower);
109 MidPointAlgorithm m(_seed_threshold,_cone_radius,_cone_area_fraction,
110 _max_pair_size,_max_iterations,_overlap_threshold,
111 MidPointAlgorithm::SplitMergeScale(_sm_scale));
114 std::vector<Cluster> jets;
121 for(vector<Cluster>::const_iterator jetIter = jets.begin();
122 jetIter != jets.end(); jetIter++) {
123 const vector<PhysicsTower> & tower_list = jetIter->towerList;
124 int jet_k = tower_list[0].calTower.iEta;
126 int ntow = int(jetIter->towerList.size());
127 for (
int itow = 1; itow < ntow; itow++) {
130 int jet_j = tower_list[itow].calTower.iEta;
137 double d_iB = clust_seq.
jets()[jet_k].perp2();
void plugin_record_ij_recombination(int jet_i, int jet_j, double dij, int &newjet_k)
record the fact that there has been a recombination between jets()[jet_i] and jets()[jet_k],...