10 {
11
12 std::vector<WTATrigObj> input_towers;
13 const unsigned int inTopoTowersN = inTopoTowers.size();
14 for(
unsigned int i = 0;
i < inTopoTowersN;
i++)
15 {
17 #ifndef FLOATING_POINT_SIMULATION
19 #else
21 #endif
22 input_towers.push_back(this_tower);
23 }
24
26 if(
auto* MyWTACone2PassMaker =
dynamic_cast<WTACone2PassMaker*
>(MyWTAConeMaker.get()))MyWTACone2PassMaker->SetRollOffBufferSize(
m_RollOffBufferSize);
27 std::vector<WTAJet> WTAJetList;
30 {
31 WTAConeParallelHelper wta_parallel_helper;
37 }
38 else
39 {
40 MyWTAConeMaker->InitiateInputs(input_towers);
41 MyWTAConeMaker->SeedCleaning();
42 MyWTAConeMaker->MergeConstsToSeeds();
43 MyWTAConeMaker->CreateERingInfo();
44 WTAJetList = MyWTAConeMaker->GetSeedList();
45 }
46
47 std::vector<Gep::Jet> GepJetList;
48 for(const auto& WTAJet: WTAJetList)
49 {
50 Gep::Jet thisjet;
51 #ifndef FLOATING_POINT_SIMULATION
53 #else
54 thisjet.
vec.SetPtEtaPhiM(WTAJet.pt(), WTAJet.eta(), WTAJet.phi(), WTAJet.m());
55
56 WTA4JetERingInfo ering_info = WTAJet.GetERingInfo();
68 #endif
69
71 thisjet.
seedEt = WTAJet.GetSeed().pt();
72 thisjet.
seedEta = WTAJet.GetSeed().eta();
73 thisjet.
seedPhi = WTAJet.GetSeed().phi();
74 const std::vector<WTATrigObj> ConstituentList = WTAJet.GetConstituentList();
76 for(const auto& constituent: ConstituentList)
77 {
79 }
80
81 GepJetList.push_back(std::move(thisjet));
82 }
83
84 return GepJetList;
85 }
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