#include <Stage2Layer2ClusterAlgorithmFirmware.h>
Public Types | |
enum | ClusterInput { E = 0, H = 1, EH = 2 } |
Public Member Functions | |
void | processEvent (const std::vector< l1t::CaloTower > &towers, std::vector< l1t::CaloCluster > &clusters) override |
Stage2Layer2ClusterAlgorithmFirmwareImp1 (CaloParamsHelper const *params, ClusterInput clusterInput) | |
~Stage2Layer2ClusterAlgorithmFirmwareImp1 () override | |
Public Member Functions inherited from l1t::Stage2Layer2ClusterAlgorithm | |
virtual | ~Stage2Layer2ClusterAlgorithm () |
Private Member Functions | |
void | clustering (const std::vector< l1t::CaloTower > &towers, std::vector< l1t::CaloCluster > &clusters) |
void | filtering (const std::vector< l1t::CaloTower > &towers, std::vector< l1t::CaloCluster > &clusters) |
bool | idHoverE (const l1t::CaloTower tow) |
void | refining (const std::vector< l1t::CaloTower > &towers, std::vector< l1t::CaloCluster > &clusters) |
Private Attributes | |
ClusterInput | clusterInput_ |
int | clusterThreshold_ |
int | hcalThreshold_ |
CaloParamsHelper const * | params_ |
int | seedThreshold_ |
Description: first iteration of stage 2 jet algo
Definition at line 23 of file Stage2Layer2ClusterAlgorithmFirmware.h.
Enumerator | |
---|---|
E | |
H | |
EH |
Definition at line 26 of file Stage2Layer2ClusterAlgorithmFirmware.h.
l1t::Stage2Layer2ClusterAlgorithmFirmwareImp1::Stage2Layer2ClusterAlgorithmFirmwareImp1 | ( | CaloParamsHelper const * | params, |
ClusterInput | clusterInput | ||
) |
Definition at line 18 of file Stage2Layer2ClusterAlgorithmFirmwareImp1.cc.
|
override |
Definition at line 31 of file Stage2Layer2ClusterAlgorithmFirmwareImp1.cc.
|
private |
Definition at line 67 of file Stage2Layer2ClusterAlgorithmFirmwareImp1.cc.
References clusterInput_, clusterThreshold_, E, EH, l1t::CaloTools::getTower(), H, electronIdCutBased_cfi::hOverE, l1t::CaloTower::hwEtEm(), l1t::CaloTower::hwEtHad(), l1t::L1Candidate::hwPt(), idHoverE(), l1t::CaloCluster::INCLUDE_E, l1t::CaloCluster::INCLUDE_N, l1t::CaloCluster::INCLUDE_NE, l1t::CaloCluster::INCLUDE_NN, l1t::CaloCluster::INCLUDE_NW, l1t::CaloCluster::INCLUDE_S, l1t::CaloCluster::INCLUDE_SE, l1t::CaloCluster::INCLUDE_SS, l1t::CaloCluster::INCLUDE_SW, l1t::CaloCluster::INCLUDE_W, l1t::CaloStage2Nav::offsetIEta(), l1t::CaloStage2Nav::offsetIPhi(), seedThreshold_, l1t::CaloCluster::setFgECAL(), l1t::CaloCluster::setHOverE(), l1t::CaloCluster::setHwPtEm(), l1t::CaloCluster::setHwPtHad(), and l1t::CaloCluster::setHwSeedPt().
Referenced by processEvent().
|
private |
Definition at line 205 of file Stage2Layer2ClusterAlgorithmFirmwareImp1.cc.
References constexpr, ALCARECOTkAlBeamHalo_cff::filter, l1t::CaloTools::getCluster(), l1t::L1Candidate::hwPt(), l1t::CaloCluster::INCLUDE_SEED, RecoTauDiscriminantConfiguration::mask, l1t::CaloStage2Nav::offsetIEta(), and l1t::CaloStage2Nav::offsetIPhi().
Referenced by processEvent().
|
private |
Definition at line 461 of file Stage2Layer2ClusterAlgorithmFirmwareImp1.cc.
References funct::abs(), l1t::CaloParamsHelper::egHOverEcutBarrel(), l1t::CaloParamsHelper::egHOverEcutEndcap(), l1t::L1Candidate::hwEta(), l1t::CaloTower::hwEtRatio(), l1t::L1Candidate::hwQual(), params_, and particleFlowDisplacedVertex_cfi::ratio.
Referenced by clustering().
|
overridevirtual |
Implements l1t::Stage2Layer2ClusterAlgorithm.
Definition at line 38 of file Stage2Layer2ClusterAlgorithmFirmwareImp1.cc.
References clustering(), clusterInput_, clusterThreshold_, E, l1t::CaloParamsHelper::egHcalThreshold(), l1t::CaloParamsHelper::egNeighbourThreshold(), l1t::CaloParamsHelper::egSeedThreshold(), EH, filtering(), H, hcalThreshold_, params_, refining(), seedThreshold_, l1t::CaloParamsHelper::towerLsbE(), l1t::CaloParamsHelper::towerLsbH(), and l1t::CaloParamsHelper::towerLsbSum().
|
private |
Definition at line 261 of file Stage2Layer2ClusterAlgorithmFirmwareImp1.cc.
References clusterInput_, E, EH, l1t::CaloTools::getTower(), H, l1t::CaloTower::hwEtEm(), l1t::CaloTower::hwEtHad(), l1t::L1Candidate::hwPt(), l1t::CaloCluster::INCLUDE_E, l1t::CaloCluster::INCLUDE_N, l1t::CaloCluster::INCLUDE_NE, l1t::CaloCluster::INCLUDE_NN, l1t::CaloCluster::INCLUDE_NW, l1t::CaloCluster::INCLUDE_S, l1t::CaloCluster::INCLUDE_SE, l1t::CaloCluster::INCLUDE_SS, l1t::CaloCluster::INCLUDE_SW, l1t::CaloCluster::INCLUDE_W, l1t::CaloStage2Nav::offsetIEta(), l1t::CaloStage2Nav::offsetIPhi(), and l1t::CaloCluster::TRIM_LEFT.
Referenced by processEvent().
|
private |
Definition at line 45 of file Stage2Layer2ClusterAlgorithmFirmware.h.
Referenced by clustering(), processEvent(), and refining().
|
private |
Definition at line 47 of file Stage2Layer2ClusterAlgorithmFirmware.h.
Referenced by clustering(), and processEvent().
|
private |
Definition at line 48 of file Stage2Layer2ClusterAlgorithmFirmware.h.
Referenced by processEvent().
|
private |
Definition at line 49 of file Stage2Layer2ClusterAlgorithmFirmware.h.
Referenced by idHoverE(), and processEvent().
|
private |
Definition at line 46 of file Stage2Layer2ClusterAlgorithmFirmware.h.
Referenced by clustering(), and processEvent().