CMS 3D CMS Logo

List of all members | Public Member Functions | Static Public Member Functions
l1ct::PFAlgo2HGCEmulator Class Reference

#include <pfalgo2hgc_ref.h>

Inheritance diagram for l1ct::PFAlgo2HGCEmulator:
l1ct::PFAlgoEmulatorBase

Public Member Functions

void mergeNeutrals (OutputRegion &out) const override
 moves all objects from out.pfphoton to the beginning of out.pfneutral: nothing to do for this algo More...
 
 PFAlgo2HGCEmulator (unsigned int nTrack, unsigned int nCalo, unsigned int nMu, unsigned int nSelCalo, unsigned int dR2Max_Tk_Mu, unsigned int dR2Max_Tk_Calo, pt_t tk_MaxInvPt_Loose, pt_t tk_MaxInvPt_Tight)
 
 PFAlgo2HGCEmulator (const edm::ParameterSet &iConfig)
 
void run (const PFInputRegion &in, OutputRegion &out) const override
 
void toFirmware (const PFInputRegion &in, PFRegion &region, HadCaloObj calo[], TkObj track[], MuObj mu[]) const
 
void toFirmware (const OutputRegion &out, PFChargedObj outch[], PFNeutralObj outne[], PFChargedObj outmu[]) const
 
 ~PFAlgo2HGCEmulator () override
 
- Public Member Functions inherited from l1ct::PFAlgoEmulatorBase
void loadPtErrBins (unsigned int nbins, const float absetas[], const float scales[], const float offs[], bool verbose=false)
 
void loadPtErrBins (const edm::ParameterSet &iConfig)
 
 PFAlgoEmulatorBase (unsigned int nTrack, unsigned int nCalo, unsigned int nMu, unsigned int nSelCalo, unsigned int dR2Max_Tk_Mu, unsigned int dR2Max_Tk_Calo, pt_t tk_MaxInvPt_Loose, pt_t tk_MaxInvPt_Tight)
 
void setDebug (bool debug=true)
 
virtual ~PFAlgoEmulatorBase ()
 

Static Public Member Functions

static edm::ParameterSetDescription getParameterSetDescription ()
 
- Static Public Member Functions inherited from l1ct::PFAlgoEmulatorBase
static void addCaloResolutionParameterSetDescription (edm::ParameterSetDescription &to)
 

Additional Inherited Members

- Protected Member Functions inherited from l1ct::PFAlgoEmulatorBase
template<typename COV >
int best_match_with_pt_ref (int dR2MAX, const COV &calo, const TkObjEmu &track, const pt_t &trackCaloPtErr) const
 
void fillPFCand (const TkObjEmu &track, PFChargedObjEmu &pf, bool isMu, bool isEle) const
 
void fillPFCand (const HadCaloObjEmu &calo, PFNeutralObjEmu &pf, bool isPhoton=false) const
 
void fillPFCand (const EmCaloObjEmu &calo, PFNeutralObjEmu &pf, bool isPhoton=true) const
 
void pfalgo_mu_ref (const PFInputRegion &in, OutputRegion &out, std::vector< int > &iMu) const
 
pt_t ptErr_ref (const PFRegionEmu &region, const TkObjEmu &track) const
 
template<typename TV >
void ptsort_ref (int nIn, int nOut, const TV &in, TV &out) const
 
- Protected Attributes inherited from l1ct::PFAlgoEmulatorBase
bool debug_
 
unsigned int dR2MAX_TK_CALO_
 
unsigned int dR2MAX_TK_MU_
 
unsigned int nCALO_
 
unsigned int nMU_
 
unsigned int nSELCALO_
 
unsigned int nTRACK_
 
std::vector< ptErrBinptErrBins_
 
pt_t tk_MAXINVPT_LOOSE_
 
pt_t tk_MAXINVPT_TIGHT_
 

Detailed Description

Definition at line 13 of file pfalgo2hgc_ref.h.

Constructor & Destructor Documentation

◆ PFAlgo2HGCEmulator() [1/2]

l1ct::PFAlgo2HGCEmulator::PFAlgo2HGCEmulator ( unsigned int  nTrack,
unsigned int  nCalo,
unsigned int  nMu,
unsigned int  nSelCalo,
unsigned int  dR2Max_Tk_Mu,
unsigned int  dR2Max_Tk_Calo,
pt_t  tk_MaxInvPt_Loose,
pt_t  tk_MaxInvPt_Tight 
)
inline

Definition at line 15 of file pfalgo2hgc_ref.h.

24  nTrack, nCalo, nMu, nSelCalo, dR2Max_Tk_Mu, dR2Max_Tk_Calo, tk_MaxInvPt_Loose, tk_MaxInvPt_Tight) {}
PFAlgoEmulatorBase(unsigned int nTrack, unsigned int nCalo, unsigned int nMu, unsigned int nSelCalo, unsigned int dR2Max_Tk_Mu, unsigned int dR2Max_Tk_Calo, pt_t tk_MaxInvPt_Loose, pt_t tk_MaxInvPt_Tight)

◆ PFAlgo2HGCEmulator() [2/2]

l1ct::PFAlgo2HGCEmulator::PFAlgo2HGCEmulator ( const edm::ParameterSet iConfig)

◆ ~PFAlgo2HGCEmulator()

l1ct::PFAlgo2HGCEmulator::~PFAlgo2HGCEmulator ( )
inlineoverride

Definition at line 29 of file pfalgo2hgc_ref.h.

29 {}

Member Function Documentation

◆ getParameterSetDescription()

static edm::ParameterSetDescription l1ct::PFAlgo2HGCEmulator::getParameterSetDescription ( )
static

◆ mergeNeutrals()

void l1ct::PFAlgo2HGCEmulator::mergeNeutrals ( OutputRegion out) const
inlineoverridevirtual

moves all objects from out.pfphoton to the beginning of out.pfneutral: nothing to do for this algo

Implements l1ct::PFAlgoEmulatorBase.

Definition at line 36 of file pfalgo2hgc_ref.h.

36 {}

◆ run()

void l1ct::PFAlgo2HGCEmulator::run ( const PFInputRegion in,
OutputRegion out 
) const
overridevirtual

◆ toFirmware() [1/2]

void l1ct::PFAlgo2HGCEmulator::toFirmware ( const PFInputRegion in,
PFRegion region,
HadCaloObj  calo[],
TkObj  track[],
MuObj  mu[] 
) const

◆ toFirmware() [2/2]

void l1ct::PFAlgo2HGCEmulator::toFirmware ( const OutputRegion out,
PFChargedObj  outch[],
PFNeutralObj  outne[],
PFChargedObj  outmu[] 
) const