#include <linpuppi_ref.h>
Public Types | |
enum | SortAlgo { SortAlgo::Insertion, SortAlgo::BitonicRUFL, SortAlgo::BitonicHLS, SortAlgo::Hybrid, SortAlgo::FoldedHybrid } |
Public Member Functions | |
void | fwdlinpuppi_flt (const PFRegionEmu ®ion, const std::vector< HadCaloObjEmu > &caloin, std::vector< PuppiObjEmu > &outallne_nocut, std::vector< PuppiObjEmu > &outallne, std::vector< PuppiObjEmu > &outselne) const |
void | fwdlinpuppi_ref (const PFRegionEmu ®ion, const std::vector< HadCaloObjEmu > &caloin, std::vector< PuppiObjEmu > &outallne_nocut, std::vector< PuppiObjEmu > &outallne, std::vector< PuppiObjEmu > &outselne) const |
void | linpuppi_chs_ref (const PFRegionEmu ®ion, const PVObjEmu &pv, const std::vector< PFChargedObjEmu > &pfch, std::vector< PuppiObjEmu > &outallch) const |
void | linpuppi_chs_ref (const PFRegionEmu ®ion, const std::vector< PVObjEmu > &pv, const std::vector< PFChargedObjEmu > &pfch, std::vector< PuppiObjEmu > &outallch) const |
void | linpuppi_flt (const PFRegionEmu ®ion, const std::vector< TkObjEmu > &track, const std::vector< PVObjEmu > &pv, const std::vector< PFNeutralObjEmu > &pfallne, std::vector< PuppiObjEmu > &outallne_nocut, std::vector< PuppiObjEmu > &outallne, std::vector< PuppiObjEmu > &outselne) const |
void | linpuppi_ref (const PFRegionEmu ®ion, const std::vector< TkObjEmu > &track, const std::vector< PVObjEmu > &pv, const std::vector< PFNeutralObjEmu > &pfallne, std::vector< PuppiObjEmu > &outallne_nocut, std::vector< PuppiObjEmu > &outallne, std::vector< PuppiObjEmu > &outselne) const |
void | linpuppi_ref (const PFRegionEmu ®ion, const std::vector< TkObjEmu > &track, const std::vector< PVObjEmu > &pv, const std::vector< PFNeutralObjEmu > &pfallne, std::vector< PuppiObjEmu > &outselne) const |
LinPuppiEmulator (unsigned int nTrack, unsigned int nIn, unsigned int nOut, unsigned int nVtx, unsigned int dR2Min, unsigned int dR2Max, unsigned int iptMax, unsigned int dzCut, double ptSlopeNe, double ptSlopePh, double ptZeroNe, double ptZeroPh, double alphaSlope, double alphaZero, double alphaCrop, double priorNe, double priorPh, pt_t ptCut, unsigned int nFinalSort=0, SortAlgo finalSortAlgo=SortAlgo::Insertion) | |
LinPuppiEmulator (unsigned int nTrack, unsigned int nIn, unsigned int nOut, unsigned int nVtx, unsigned int dR2Min, unsigned int dR2Max, unsigned int iptMax, unsigned int dzCut, glbeta_t etaCut, double ptSlopeNe_0, double ptSlopeNe_1, double ptSlopePh_0, double ptSlopePh_1, double ptZeroNe_0, double ptZeroNe_1, double ptZeroPh_0, double ptZeroPh_1, double alphaSlope_0, double alphaSlope_1, double alphaZero_0, double alphaZero_1, double alphaCrop_0, double alphaCrop_1, double priorNe_0, double priorNe_1, double priorPh_0, double priorPh_1, pt_t ptCut_0, pt_t ptCut_1, unsigned int nFinalSort=0, SortAlgo finalSortAlgo=SortAlgo::Insertion) | |
LinPuppiEmulator (unsigned int nTrack, unsigned int nIn, unsigned int nOut, unsigned int nVtx, unsigned int dR2Min, unsigned int dR2Max, unsigned int iptMax, unsigned int dzCut, const std::vector< glbeta_t > &absEtaBins, const std::vector< double > &ptSlopeNe, const std::vector< double > &ptSlopePh, const std::vector< double > &ptZeroNe, const std::vector< double > &ptZeroPh, const std::vector< double > &alphaSlope, const std::vector< double > &alphaZero, const std::vector< double > &alphaCrop, const std::vector< double > &priorNe, const std::vector< double > &priorPh, const std::vector< pt_t > &ptCut, unsigned int nFinalSort, SortAlgo finalSortAlgo) | |
LinPuppiEmulator (const edm::ParameterSet &iConfig) | |
void | run (const PFInputRegion &in, const std::vector< l1ct::PVObjEmu > &pvs, OutputRegion &out) const |
void | setDebug (bool debug=true) |
void | setFakePuppi (bool fakePuppi=true) |
Static Public Member Functions | |
static edm::ParameterSetDescription | getParameterSetDescription () |
static void | puppisort_and_crop_ref (unsigned int nOutMax, const std::vector< PuppiObjEmu > &in, std::vector< PuppiObjEmu > &out, SortAlgo algo=SortAlgo::Insertion) |
Protected Member Functions | |
unsigned int | find_ieta (const PFRegionEmu ®ion, eta_t eta) const |
std::pair< float, float > | sum2puppiPt_flt (float sum, float pt, unsigned int ieta, bool isEM, int icand) const |
std::pair< pt_t, puppiWgt_t > | sum2puppiPt_ref (uint64_t sum, pt_t pt, unsigned int ieta, bool isEM, int icand) const |
Protected Attributes | |
std::vector< glbeta_t > | absEtaBins_ |
std::vector< double > | alphaCrop_ |
std::vector< double > | alphaSlope_ |
std::vector< double > | alphaZero_ |
bool | debug_ |
unsigned int | dR2Max_ |
unsigned int | dR2Min_ |
unsigned int | dzCut_ |
bool | fakePuppi_ |
SortAlgo | finalSortAlgo_ |
unsigned int | iptMax_ |
unsigned int | nFinalSort_ |
unsigned int | nIn_ |
unsigned int | nOut_ |
unsigned int | nTrack_ |
unsigned int | nVtx_ |
std::vector< double > | priorNe_ |
std::vector< double > | priorPh_ |
std::vector< pt_t > | ptCut_ |
std::vector< double > | ptSlopeNe_ |
std::vector< double > | ptSlopePh_ |
std::vector< double > | ptZeroNe_ |
std::vector< double > | ptZeroPh_ |
Definition at line 15 of file linpuppi_ref.h.
|
strong |
Enumerator | |
---|---|
Insertion | |
BitonicRUFL | |
BitonicHLS | |
Hybrid | |
FoldedHybrid |
Definition at line 17 of file linpuppi_ref.h.
|
inline |
Definition at line 19 of file linpuppi_ref.h.
l1ct::LinPuppiEmulator::LinPuppiEmulator | ( | unsigned int | nTrack, |
unsigned int | nIn, | ||
unsigned int | nOut, | ||
unsigned int | nVtx, | ||
unsigned int | dR2Min, | ||
unsigned int | dR2Max, | ||
unsigned int | iptMax, | ||
unsigned int | dzCut, | ||
glbeta_t | etaCut, | ||
double | ptSlopeNe_0, | ||
double | ptSlopeNe_1, | ||
double | ptSlopePh_0, | ||
double | ptSlopePh_1, | ||
double | ptZeroNe_0, | ||
double | ptZeroNe_1, | ||
double | ptZeroPh_0, | ||
double | ptZeroPh_1, | ||
double | alphaSlope_0, | ||
double | alphaSlope_1, | ||
double | alphaZero_0, | ||
double | alphaZero_1, | ||
double | alphaCrop_0, | ||
double | alphaCrop_1, | ||
double | priorNe_0, | ||
double | priorNe_1, | ||
double | priorPh_0, | ||
double | priorPh_1, | ||
pt_t | ptCut_0, | ||
pt_t | ptCut_1, | ||
unsigned int | nFinalSort = 0 , |
||
SortAlgo | finalSortAlgo = SortAlgo::Insertion |
||
) |
|
inline |
Definition at line 95 of file linpuppi_ref.h.
l1ct::LinPuppiEmulator::LinPuppiEmulator | ( | const edm::ParameterSet & | iConfig | ) |
|
protected |
void l1ct::LinPuppiEmulator::fwdlinpuppi_flt | ( | const PFRegionEmu & | region, |
const std::vector< HadCaloObjEmu > & | caloin, | ||
std::vector< PuppiObjEmu > & | outallne_nocut, | ||
std::vector< PuppiObjEmu > & | outallne, | ||
std::vector< PuppiObjEmu > & | outselne | ||
) | const |
void l1ct::LinPuppiEmulator::fwdlinpuppi_ref | ( | const PFRegionEmu & | region, |
const std::vector< HadCaloObjEmu > & | caloin, | ||
std::vector< PuppiObjEmu > & | outallne_nocut, | ||
std::vector< PuppiObjEmu > & | outallne, | ||
std::vector< PuppiObjEmu > & | outselne | ||
) | const |
|
static |
void l1ct::LinPuppiEmulator::linpuppi_chs_ref | ( | const PFRegionEmu & | region, |
const PVObjEmu & | pv, | ||
const std::vector< PFChargedObjEmu > & | pfch, | ||
std::vector< PuppiObjEmu > & | outallch | ||
) | const |
void l1ct::LinPuppiEmulator::linpuppi_chs_ref | ( | const PFRegionEmu & | region, |
const std::vector< PVObjEmu > & | pv, | ||
const std::vector< PFChargedObjEmu > & | pfch, | ||
std::vector< PuppiObjEmu > & | outallch | ||
) | const |
void l1ct::LinPuppiEmulator::linpuppi_flt | ( | const PFRegionEmu & | region, |
const std::vector< TkObjEmu > & | track, | ||
const std::vector< PVObjEmu > & | pv, | ||
const std::vector< PFNeutralObjEmu > & | pfallne, | ||
std::vector< PuppiObjEmu > & | outallne_nocut, | ||
std::vector< PuppiObjEmu > & | outallne, | ||
std::vector< PuppiObjEmu > & | outselne | ||
) | const |
void l1ct::LinPuppiEmulator::linpuppi_ref | ( | const PFRegionEmu & | region, |
const std::vector< TkObjEmu > & | track, | ||
const std::vector< PVObjEmu > & | pv, | ||
const std::vector< PFNeutralObjEmu > & | pfallne, | ||
std::vector< PuppiObjEmu > & | outallne_nocut, | ||
std::vector< PuppiObjEmu > & | outallne, | ||
std::vector< PuppiObjEmu > & | outselne | ||
) | const |
Referenced by linpuppi_ref().
|
inline |
Definition at line 170 of file linpuppi_ref.h.
References linpuppi_ref(), nano_mu_digi_cff::region, and HLT_2024v13_cff::track.
|
static |
void l1ct::LinPuppiEmulator::run | ( | const PFInputRegion & | in, |
const std::vector< l1ct::PVObjEmu > & | pvs, | ||
OutputRegion & | out | ||
) | const |
|
inline |
Definition at line 199 of file linpuppi_ref.h.
|
inline |
|
protected |
|
protected |
|
protected |
Definition at line 208 of file linpuppi_ref.h.
|
protected |
Definition at line 210 of file linpuppi_ref.h.
|
protected |
Definition at line 210 of file linpuppi_ref.h.
|
protected |
Definition at line 210 of file linpuppi_ref.h.
|
protected |
Definition at line 216 of file linpuppi_ref.h.
Referenced by setDebug().
|
protected |
Definition at line 207 of file linpuppi_ref.h.
|
protected |
Definition at line 207 of file linpuppi_ref.h.
|
protected |
Definition at line 207 of file linpuppi_ref.h.
|
protected |
Definition at line 217 of file linpuppi_ref.h.
Referenced by setFakePuppi().
|
protected |
Definition at line 214 of file linpuppi_ref.h.
|
protected |
Definition at line 207 of file linpuppi_ref.h.
|
protected |
Definition at line 213 of file linpuppi_ref.h.
|
protected |
Definition at line 205 of file linpuppi_ref.h.
|
protected |
Definition at line 205 of file linpuppi_ref.h.
|
protected |
Definition at line 205 of file linpuppi_ref.h.
|
protected |
Definition at line 205 of file linpuppi_ref.h.
|
protected |
Definition at line 211 of file linpuppi_ref.h.
|
protected |
Definition at line 211 of file linpuppi_ref.h.
|
protected |
Definition at line 212 of file linpuppi_ref.h.
Referenced by badGlobalMuonTaggerFWLite.BadGlobalMuonTagger::badMuons().
|
protected |
Definition at line 209 of file linpuppi_ref.h.
|
protected |
Definition at line 209 of file linpuppi_ref.h.
|
protected |
Definition at line 209 of file linpuppi_ref.h.
|
protected |
Definition at line 209 of file linpuppi_ref.h.