#include <WTAConeMaker.h>
Definition at line 54 of file WTAConeMaker.h.
◆ WTAConeMaker()
WTAConeMaker::WTAConeMaker |
( |
bool |
debug = false , |
|
|
bool |
verbose = false |
|
) |
| |
|
inline |
◆ ~WTAConeMaker()
virtual WTAConeMaker::~WTAConeMaker |
( |
| ) |
|
|
virtualdefault |
◆ ClearLists()
void WTAConeMaker::ClearLists |
( |
| ) |
|
|
inline |
◆ FillLists()
void WTAConeMaker::FillLists |
( |
const std::vector< WTATrigObj > & |
InputTowers | ) |
|
|
inlinevirtual |
Reimplemented in WTACone2PassMaker.
Definition at line 114 of file WTAConeMaker.h.
120 if(
m_DEBUG) std::cout <<
"MaxTowersToReadPerEvent = " << MaxTowersToReadPerEvent <<
", Size of event = " << InputTowers.size() << std::endl;
122 for(
auto tower: InputTowers)
130 if(nTowers>MaxTowersToReadPerEvent)
break;
◆ GetAssociateBits()
std::vector< int > WTAConeMaker::GetAssociateBits |
( |
WTATrigObj |
incoming_seed, |
|
|
int & |
max_pt_index |
|
) |
| |
|
inline |
Definition at line 210 of file WTAConeMaker.h.
213 std::vector<int> associate_bit(jet_N, 0);
214 IntOrFloat
MaxPt = tower.pt(); MaxPtIndex = -1;
215 for(
int j = 0; j < jet_N; j++)
220 associate_bit.at(j) = 1;
228 return associate_bit;
◆ GetConstituentList()
◆ GetDEBUG()
bool WTAConeMaker::GetDEBUG |
( |
| ) |
|
|
inline |
◆ GetSeedList()
const std::vector<WTAJet>& WTAConeMaker::GetSeedList |
( |
| ) |
const |
|
inline |
◆ GetSeedSortingList()
◆ GetVERBOSE()
bool WTAConeMaker::GetVERBOSE |
( |
| ) |
|
|
inline |
◆ InitiateInputs() [1/2]
void WTAConeMaker::InitiateInputs |
( |
const std::vector< IntOrFloat > & |
ptVec, |
|
|
const std::vector< IntOrFloat > & |
etaVec, |
|
|
const std::vector< IntOrFloat > & |
phiVec, |
|
|
const std::vector< IntOrFloat > & |
mVec |
|
) |
| |
|
inline |
◆ InitiateInputs() [2/2]
void WTAConeMaker::InitiateInputs |
( |
const std::vector< WTATrigObj > & |
InputTowers | ) |
|
|
inline |
◆ InsertToConstList()
void WTAConeMaker::InsertToConstList |
( |
WTATrigObj |
obj | ) |
|
|
inline |
◆ LoadInputs()
std::vector< WTATrigObj > WTAConeMaker::LoadInputs |
( |
const std::vector< IntOrFloat > & |
ptVec, |
|
|
const std::vector< IntOrFloat > & |
etaVec, |
|
|
const std::vector< IntOrFloat > & |
phiVec, |
|
|
const std::vector< IntOrFloat > & |
mVec |
|
) |
| |
|
inline |
Definition at line 101 of file WTAConeMaker.h.
103 std::vector<WTATrigObj> input_towers;
104 unsigned int tower_n = ptVec.size();
105 for(
unsigned int t = 0;
t < tower_n;
t++)
107 WTATrigObj this_tower(ptVec.at(
t), etaVec.at(
t), phiVec.at(
t), mVec.at(
t));
108 input_towers.push_back(this_tower);
◆ MergeConstsToSeeds()
void WTAConeMaker::MergeConstsToSeeds |
( |
| ) |
|
|
inlinevirtual |
◆ PrintSeedList()
void WTAConeMaker::PrintSeedList |
( |
| ) |
|
|
inline |
Definition at line 149 of file WTAConeMaker.h.
151 int AllJetConstN = 0;
154 AllJetConstN +=
jet.GetConstituentCount();
155 std::cout <<
"Jet pT, eta, phi, constN = " <<
jet.pt() <<
" , " <<
jet.eta() <<
" , " <<
jet.phi() <<
" , " <<
jet.GetConstituentCount() << std::endl;
157 std::cout <<
"PrintSeedList..." <<
" , SeedN, AllJetConstN, ConstN = " <<
m_SeedList.size() <<
" , " << AllJetConstN <<
" , " <<
m_ConstituentList.size() << std::endl;
158 std::cout <<
"+++++++++++++++++++++++++" << std::endl;
◆ ResizeConstituentList()
void WTAConeMaker::ResizeConstituentList |
( |
| ) |
|
|
inline |
◆ ResizeSeedList()
void WTAConeMaker::ResizeSeedList |
( |
| ) |
|
|
inline |
◆ ResizeSeedNConstLists()
void WTAConeMaker::ResizeSeedNConstLists |
( |
| ) |
|
|
inline |
◆ ResizeSeedSortingList()
void WTAConeMaker::ResizeSeedSortingList |
( |
| ) |
|
|
inline |
◆ ResizeThisJetConstituents()
void WTAConeMaker::ResizeThisJetConstituents |
( |
WTAJet & |
jet | ) |
|
|
inline |
Definition at line 179 of file WTAConeMaker.h.
182 while(
jet.GetConstituentCount() > MaxConstPerJetN)
184 jet.PopOutLastConstituent();
◆ SeedCleaning()
void WTAConeMaker::SeedCleaning |
( |
| ) |
|
|
inlinevirtual |
Reimplemented in WTACone2PassMaker.
Definition at line 231 of file WTAConeMaker.h.
234 if(
m_DEBUG)std::cout <<
"Baseline Seed Cleaning......" << std::endl;
246 if(
std::find(associate_bit.begin(), associate_bit.end(), 1) != associate_bit.end())
251 for(
int j = jet_N - 1; j >= 0; j--)
253 if(associate_bit.at(j) == 1)
278 std::cout <<
"Baseline Seed Cleaning Done......" << std::endl;
◆ SetDEBUG()
void WTAConeMaker::SetDEBUG |
( |
| ) |
|
|
inline |
◆ SetVERBOSE()
void WTAConeMaker::SetVERBOSE |
( |
| ) |
|
|
inline |
◆ WTAJetToWTATrigObj()
◆ WTATrigObjToWTAJet()
◆ m_ConstituentList
std::vector<WTATrigObj> WTAConeMaker::m_ConstituentList |
|
protected |
◆ m_DEBUG
bool WTAConeMaker::m_DEBUG |
|
protected |
◆ m_SeedList
std::vector<WTAJet> WTAConeMaker::m_SeedList |
|
protected |
◆ m_SeedSortingList
std::vector<WTATrigObj> WTAConeMaker::m_SeedSortingList |
|
protected |
◆ m_VERBOSE
bool WTAConeMaker::m_VERBOSE |
|
protected |
◆ m_WTAConeMakerParameter
The documentation for this class was generated from the following file: