#include <CaloClusterer.h>
Definition at line 180 of file CaloClusterer.h.
◆ EnergyShareAlgo
◆ SingleCaloClusterer()
l1tpf_calo::SingleCaloClusterer::SingleCaloClusterer |
( |
const edm::ParameterSet & |
pset | ) |
|
Definition at line 166 of file CaloClusterer.cc.
175 zsEt_(
pset.getParameter<
double>(
"zsEt")),
178 minEtToGrow_(
pset.existsAs<
double>(
"minEtToGrow") ?
pset.getParameter<
double>(
"minEtToGrow") : -1),
References Crude, pfClustersFromCombinedCalo_cfi::energyShareAlgo, energyShareAlgo_, Exception, Fractions, Greedy, None, muonDTDigis_cfi::pset, and AlCaHLTBitMon_QueryRunRegistry::string.
◆ ~SingleCaloClusterer()
l1tpf_calo::SingleCaloClusterer::~SingleCaloClusterer |
( |
| ) |
|
◆ add() [1/2]
◆ add() [2/2]
void l1tpf_calo::SingleCaloClusterer::add |
( |
float |
pt, |
|
|
float |
eta, |
|
|
float |
phi |
|
) |
| |
|
inline |
◆ clear()
void l1tpf_calo::SingleCaloClusterer::clear |
( |
void |
| ) |
|
◆ cluster()
const Cluster& l1tpf_calo::SingleCaloClusterer::cluster |
( |
int |
i | ) |
const |
|
inline |
◆ clusters()
const std::vector<Cluster>& l1tpf_calo::SingleCaloClusterer::clusters |
( |
| ) |
const |
|
inline |
◆ correct()
template<typename Corrector >
void l1tpf_calo::SingleCaloClusterer::correct |
( |
const Corrector & |
corrector | ) |
|
|
inline |
◆ fetch() [1/2]
◆ fetch() [2/2]
◆ fetchCells()
std::unique_ptr< l1t::PFClusterCollection > l1tpf_calo::SingleCaloClusterer::fetchCells |
( |
bool |
unclusteredOnly = false , |
|
|
float |
ptMin = 0. |
|
) |
| const |
◆ grow()
void l1tpf_calo::SingleCaloClusterer::grow |
( |
| ) |
|
possibly grow clusters by adding unclustered energy on the sides
Definition at line 341 of file CaloClusterer.cc.
342 int selneighs[4] = {1, 3, 4, 6};
343 std::vector<int> toreset;
347 for (
int side = 0; side < 4; ++side) {
351 for (
int in = 0;
in < 8; ++
in) {
358 toreset.push_back(n2);
364 for (
int i : toreset)
References mps_fire::i, and recoMuon::in.
◆ indexGrid()
const IndexGrid& l1tpf_calo::SingleCaloClusterer::indexGrid |
( |
| ) |
const |
|
inline |
◆ raw() [1/2]
EtGrid& l1tpf_calo::SingleCaloClusterer::raw |
( |
| ) |
|
|
inline |
◆ raw() [2/2]
const EtGrid& l1tpf_calo::SingleCaloClusterer::raw |
( |
| ) |
const |
|
inline |
◆ run()
void l1tpf_calo::SingleCaloClusterer::run |
( |
| ) |
|
Definition at line 201 of file CaloClusterer.cc.
207 for (
i = 0;
i < ncells; ++
i) {
218 for (
i = 0;
i < ncells; ++
i) {
223 for (
int ineigh = 0; ineigh <= 3; ++ineigh) {
231 for (
int ineigh = 4; ineigh < 8; ++ineigh) {
242 for (
i = 0;
i < ncells; ++
i) {
247 for (
int ineigh = 0; ineigh < 8; ++ineigh) {
257 for (
int ineigh = 0; ineigh < 8; ++ineigh) {
264 for (
int ineigh = 0; ineigh < 8; ++ineigh) {
278 for (
i = 0;
i < ncells; ++
i) {
286 for (
int ineigh = 0; ineigh < 8; ++ineigh) {
288 if (ineighcell == -1)
317 for (
int ineigh = 0; ineigh < 8; ++ineigh) {
319 if (ineighcell == -1)
References l1tpf_calo::Cluster::clear(), l1tpf_calo::Cluster::constituents, SiPixelRawToDigiRegional_cfi::deltaPhi, l1tpf_calo::Cluster::et, l1tpf_calo::Cluster::eta, mps_fire::i, crabWrapper::key, SiStripPI::max, HiEvtPlane_cfi::maxet, None, contentValuesFiles::number, l1tpf_calo::Cluster::phi, and reco::reduceRange().
Referenced by L1TPFCaloProducer::produce().
◆ cellKey_
IndexGrid l1tpf_calo::SingleCaloClusterer::cellKey_ |
|
private |
◆ clusterIndex_
IndexGrid l1tpf_calo::SingleCaloClusterer::clusterIndex_ |
|
private |
◆ clusters_
std::vector<Cluster> l1tpf_calo::SingleCaloClusterer::clusters_ |
|
private |
◆ energyShareAlgo_
◆ energyWeightedPosition_
bool l1tpf_calo::SingleCaloClusterer::energyWeightedPosition_ |
|
private |
◆ grid_
const Grid* l1tpf_calo::SingleCaloClusterer::grid_ |
|
private |
◆ minClusterEt_
float l1tpf_calo::SingleCaloClusterer::minClusterEt_ |
|
private |
◆ minEtToGrow_
float l1tpf_calo::SingleCaloClusterer::minEtToGrow_ |
|
private |
◆ nullCluster_
const Cluster l1tpf_calo::SingleCaloClusterer::nullCluster_ |
|
private |
◆ precluster_
◆ rawet_
EtGrid l1tpf_calo::SingleCaloClusterer::rawet_ |
|
private |
◆ seedEt_
float l1tpf_calo::SingleCaloClusterer::seedEt_ |
|
private |
◆ unclustered_
EtGrid l1tpf_calo::SingleCaloClusterer::unclustered_ |
|
private |
◆ zsEt_
float l1tpf_calo::SingleCaloClusterer::zsEt_ |
|
private |