9 {
10
11 std::vector<WTATrigObj> input_towers;
12 const unsigned int inTopoTowersN = inTopoTowers.size();
13 for(
unsigned int i = 0;
i < inTopoTowersN;
i++)
14 {
16 #ifndef FLOATING_POINT_SIMULATION
18 #else
20 #endif
21 input_towers.push_back(this_tower);
22 }
23
25 if(
auto* MyWTACone2PassMaker =
dynamic_cast<WTACone2PassMaker*
>(MyWTAConeMaker.get()))MyWTACone2PassMaker->SetRollOffBufferSize(
m_RollOffBufferSize);
26 std::vector<WTAJet> WTAJetList;
29 {
30 WTAConeParallelHelper wta_parallel_helper;
36 }
37 else
38 {
39 MyWTAConeMaker->InitiateInputs(input_towers);
40 MyWTAConeMaker->SeedCleaning();
41 MyWTAConeMaker->MergeConstsToSeeds();
42 MyWTAConeMaker->CreateERingInfo();
43 WTAJetList = MyWTAConeMaker->GetSeedList();
44 }
45
46 std::vector<Gep::Jet> GepJetList;
47 for(const auto& WTAJet: WTAJetList)
48 {
49 Gep::Jet thisjet;
50 #ifndef FLOATING_POINT_SIMULATION
52 #else
53 thisjet.
vec.SetPtEtaPhiM(WTAJet.pt(), WTAJet.eta(), WTAJet.phi(), WTAJet.m());
54
55 WTA4JetERingInfo ering_info = WTAJet.GetERingInfo();
67 #endif
68
70 thisjet.
seedEt = WTAJet.GetSeed().pt();
71 thisjet.
seedEta = WTAJet.GetSeed().eta();
72 thisjet.
seedPhi = WTAJet.GetSeed().phi();
73 const std::vector<WTATrigObj> ConstituentList = WTAJet.GetConstituentList();
75 for(const auto& constituent: ConstituentList)
76 {
78 }
79
80 GepJetList.push_back(std::move(thisjet));
81 }
82
83 return GepJetList;
84 }
WTATrigObj fTower_to_iTower(const Gep::Cluster &topotower, int idx=-99) const
Gep::Jet iJet_to_fJet(const WTAJet &iJet) const
std::unique_ptr< WTAConeMaker > CreateWTAConeMaker(enum WTAConeMakerEnum seed_cleaning_algo) const
std::vector< WTAJet > GetAllJets()
void RunParallelWTA(std::unique_ptr< WTAClassType > &AnyWTAClass)
void CreateBlocks(const std::vector< WTATrigObj > &all_towers)
void SetBlockN(unsigned int block_n)
std::vector< int > constituentsIndices