#include <WTACone2PassMaker.h>
Definition at line 13 of file WTACone2PassMaker.h.
◆ WTACone2PassMaker()
| WTACone2PassMaker::WTACone2PassMaker |
( |
unsigned int | RollOffBufferSize = 155 | ) |
|
|
inline |
Definition at line 18 of file WTACone2PassMaker.h.
21 {};
unsigned int m_RollOffBufferSize
WTAConeMaker(bool debug=false, bool verbose=false)
◆ ~WTACone2PassMaker()
| WTACone2PassMaker::~WTACone2PassMaker |
( |
| ) |
|
|
inline |
◆ ClearLists()
| void WTAConeMaker::ClearLists |
( |
| ) |
|
|
inlineinherited |
Definition at line 71 of file WTAConeMaker.h.
std::vector< WTAJet > m_SeedList
std::vector< WTATrigObj > m_SeedSortingList
std::vector< WTATrigObj > m_ConstituentList
◆ CreateERingInfo()
| void WTAConeMaker::CreateERingInfo |
( |
| ) |
|
|
inlineinherited |
Definition at line 309 of file WTAConeMaker.h.
310{
312 {
313 jet.CreateERingInfo();
314 }
315}
◆ FillLists()
| void WTACone2PassMaker::FillLists |
( |
const std::vector< WTATrigObj > & | InputTowers | ) |
|
|
inlineoverridevirtual |
Reimplemented from WTAConeMaker.
Definition at line 37 of file WTACone2PassMaker.h.
38{
42 for(const auto& tower: InputTowers)
43 {
46 {
50 {
53 }
54 }
56 }
59}
static void SortByPt(std::vector< T > &list)
std::vector< WTATrigObj > m_RollOffList
WTAParameters m_WTAConeMakerParameter
◆ GetAssociateBits()
| std::vector< int > WTAConeMaker::GetAssociateBits |
( |
WTATrigObj | incoming_seed, |
|
|
int & | max_pt_index ) |
|
inlineinherited |
Definition at line 216 of file WTAConeMaker.h.
217{
219 std::vector<int> associate_bit(jet_N, 0);
220 pt_t
MaxPt = tower.pt(); MaxPtIndex = -1;
221 for(
int j = 0;
j < jet_N;
j++)
222 {
224#ifdef FLOATING_POINT_SIMULATION
225 std::cout <<
"deta, dphi = " << tower.d_eta(
m_SeedList.at(j)) <<
" , " << tower.d_phi_MPI_PI(
m_SeedList.at(j)) << std::endl;
226#else
227 std::cout <<
"deta, dphi = " << tower.d_eta(
m_SeedList.at(j)) <<
" , " << tower.d_phi_MPI_PI(
m_SeedList.at(j)) << std::endl;
228#endif
230 {
231 associate_bit.at(j) = 1;
233 {
236 }
237 }
238 }
239 return associate_bit;
240}
float j(const xAOD::IParticle &, const xAOD::TrackMeasurementValidation &hit, const Eigen::Matrix3d &jab_inv)
◆ GetConstituentList()
| const std::vector< WTATrigObj > & WTAConeMaker::GetConstituentList |
( |
| ) |
const |
|
inlineinherited |
◆ GetDEBUG()
| bool WTAConeMaker::GetDEBUG |
( |
| ) |
|
|
inlineinherited |
◆ GetRollOffBufferSize()
| int WTACone2PassMaker::GetRollOffBufferSize |
( |
| ) |
|
|
inline |
◆ GetRollOffList()
| const std::vector< WTATrigObj > & WTACone2PassMaker::GetRollOffList |
( |
| ) |
const |
|
inline |
◆ GetSeedList()
| const std::vector< WTAJet > & WTAConeMaker::GetSeedList |
( |
| ) |
const |
|
inlineinherited |
◆ GetSeedSortingList()
| const std::vector< WTATrigObj > & WTAConeMaker::GetSeedSortingList |
( |
| ) |
const |
|
inlineinherited |
◆ GetVERBOSE()
| bool WTAConeMaker::GetVERBOSE |
( |
| ) |
|
|
inlineinherited |
◆ InitiateInputs() [1/2]
| void WTAConeMaker::InitiateInputs |
( |
const std::vector< pt_t > & | ptVec, |
|
|
const std::vector< eta_t > & | etaVec, |
|
|
const std::vector< phi_t > & | phiVec, |
|
|
const std::vector< m_t > & | mVec ) |
|
inlineinherited |
Definition at line 142 of file WTAConeMaker.h.
143{
144 std::vector<WTATrigObj> InputTowers =
LoadInputs(ptVec, etaVec, phiVec, mVec);
147}
std::vector< WTATrigObj > LoadInputs(const std::vector< pt_t > &ptVec, const std::vector< eta_t > &etaVec, const std::vector< phi_t > &phiVec, const std::vector< m_t > &mVec)
virtual void FillLists(const std::vector< WTATrigObj > &InputTowers)
◆ InitiateInputs() [2/2]
| void WTAConeMaker::InitiateInputs |
( |
const std::vector< WTATrigObj > & | InputTowers | ) |
|
|
inlineinherited |
◆ InsertToConstList()
| void WTAConeMaker::InsertToConstList |
( |
const WTATrigObj & | obj | ) |
|
|
inlineinherited |
◆ LoadInputs()
| std::vector< WTATrigObj > WTAConeMaker::LoadInputs |
( |
const std::vector< pt_t > & | ptVec, |
|
|
const std::vector< eta_t > & | etaVec, |
|
|
const std::vector< phi_t > & | phiVec, |
|
|
const std::vector< m_t > & | mVec ) |
|
inlineinherited |
Definition at line 107 of file WTAConeMaker.h.
108{
109 std::vector<WTATrigObj> input_towers;
110 unsigned int tower_n = ptVec.size();
111 for(
unsigned int t = 0;
t < tower_n;
t++)
112 {
113 WTATrigObj this_tower(ptVec.at(t), etaVec.at(t), phiVec.at(t), mVec.at(t));
114 input_towers.push_back(this_tower);
115 }
116 return input_towers;
117
118}
◆ MergeConstsToSeeds()
| void WTACone2PassMaker::MergeConstsToSeeds |
( |
| ) |
|
|
inlineoverridevirtual |
Reimplemented from WTAConeMaker.
Definition at line 103 of file WTACone2PassMaker.h.
104{
106 {
108 }
110 {
112 {
114 {
115 m_SeedList.at(j).MergeConstituent(constituent);
117 break;
118 }
119 }
120 }
121}
void ResizeThisJetConstituents(WTAJet &jet)
void InsertToConstList(const WTATrigObj &obj)
◆ PrintSeedList()
| void WTAConeMaker::PrintSeedList |
( |
| ) |
|
|
inlineinherited |
Definition at line 155 of file WTAConeMaker.h.
156{
157 int AllJetConstN = 0;
159 {
160 AllJetConstN += jet.GetConstituentCount();
161 std::cout << "Jet pT, eta, phi, constN = " << jet.pt() << " , " << jet.eta() << " , " << jet.phi() << " , " << jet.GetConstituentCount() << std::endl;
162 }
163 std::cout <<
"PrintSeedList..." <<
" , SeedN, AllJetConstN, ConstN = " <<
m_SeedList.size() <<
" , " << AllJetConstN <<
" , " <<
m_ConstituentList.size() << std::endl;
164 std::cout << "+++++++++++++++++++++++++" << std::endl;
165}
◆ ResizeConstituentList()
| void WTAConeMaker::ResizeConstituentList |
( |
| ) |
|
|
inlineinherited |
◆ ResizeSeedList()
| void WTAConeMaker::ResizeSeedList |
( |
| ) |
|
|
inlineinherited |
Definition at line 194 of file WTAConeMaker.h.
195{
198 {
201 }
202}
WTATrigObj WTAJetToWTATrigObj(const WTAJet &jet)
◆ ResizeSeedNConstLists()
| void WTAConeMaker::ResizeSeedNConstLists |
( |
| ) |
|
|
inlineinherited |
◆ ResizeSeedSortingList()
| void WTAConeMaker::ResizeSeedSortingList |
( |
| ) |
|
|
inlineinherited |
◆ ResizeThisJetConstituents()
| void WTAConeMaker::ResizeThisJetConstituents |
( |
WTAJet & | jet | ) |
|
|
inlineinherited |
Definition at line 185 of file WTAConeMaker.h.
186{
189 {
191 }
192}
void PopOutLastConstituent()
tobn_t GetConstituentCount() const
◆ SeedCleaning()
| void WTACone2PassMaker::SeedCleaning |
( |
| ) |
|
|
inlineoverridevirtual |
Reimplemented from WTAConeMaker.
Definition at line 61 of file WTACone2PassMaker.h.
62{
64 if(
m_DEBUG)std::cout <<
"HighEtMerge2Pass Seed Cleaning......" << std::endl;
66 for(
int i = 0;
i < seed_N;
i++){
70 else
71 {
72 int MaxPtIndex = -1;
74 if(std::find(associate_bit.begin(), associate_bit.end(), 1) != associate_bit.end())
75 {
76 for(
unsigned int j = 0;
j < jet_N;
j++)
77 {
78 if(associate_bit.at(j) == 1)
79 {
81 break;
82 }
83 }
84 }
85 else
86 {
88 {
90 }
91 }
92 }
93
94
96 }
99 std::cout << "HighEtMerge2Pass Seed Cleaning Done......" << std::endl;
100 }
101}
std::vector< int > GetAssociateBits(WTATrigObj incoming_seed, int &max_pt_index)
WTAJet WTATrigObjToWTAJet(const WTATrigObj &obj)
◆ SetDEBUG()
| void WTAConeMaker::SetDEBUG |
( |
| ) |
|
|
inlineinherited |
◆ SetRollOffBufferSize()
| void WTACone2PassMaker::SetRollOffBufferSize |
( |
int | rolloff_buffersize | ) |
|
|
inline |
◆ SetVERBOSE()
| void WTAConeMaker::SetVERBOSE |
( |
| ) |
|
|
inlineinherited |
◆ WTAJetToWTATrigObj()
Definition at line 210 of file WTAConeMaker.h.
211{
212 WTATrigObj thisobj(jet.
pt(), jet.
eta(), jet.
phi(), jet.
m(), jet.
idx());
213 return thisobj;
214}
◆ WTATrigObjToWTAJet()
◆ m_ConstituentList
| std::vector<WTATrigObj> WTAConeMaker::m_ConstituentList |
|
protectedinherited |
◆ m_DEBUG
| bool WTAConeMaker::m_DEBUG |
|
protectedinherited |
◆ m_RollOffBufferSize
| unsigned int WTACone2PassMaker::m_RollOffBufferSize |
|
private |
◆ m_RollOffList
| std::vector<WTATrigObj> WTACone2PassMaker::m_RollOffList |
|
private |
◆ m_SeedList
| std::vector<WTAJet> WTAConeMaker::m_SeedList |
|
protectedinherited |
◆ m_SeedSortingList
| std::vector<WTATrigObj> WTAConeMaker::m_SeedSortingList |
|
protectedinherited |
◆ m_VERBOSE
| bool WTAConeMaker::m_VERBOSE |
|
protectedinherited |
◆ m_WTAConeMakerParameter
The documentation for this class was generated from the following file: