◆ PFClusterProducerFromL1EGClusters()
l1tpf::PFClusterProducerFromL1EGClusters::PFClusterProducerFromL1EGClusters |
( |
const edm::ParameterSet & |
iConfig | ) |
|
|
explicit |
Definition at line 33 of file PFClusterProducerFromL1EGClusters.cc.
References etaBounds_, Exception, maxClustersEtaPhi_, and phiBounds_.
41 produces<l1t::PFClusterCollection>(
"all");
42 produces<l1t::PFClusterCollection>(
"selected");
45 <<
"Size mismatch between eta/phi bounds and max clusters: " << (
etaBounds_.size() - 1) <<
" x " 49 throw cms::Exception(
"Configuration") <<
"etaBounds is not sorted\n";
52 throw cms::Exception(
"Configuration") <<
"phiBounds is not sorted\n";
T getParameter(std::string const &) const
std::vector< unsigned int > const maxClustersEtaPhi_
l1tpf::ParametricResolution resol_
std::vector< double > const etaBounds_
std::vector< double > const phiBounds_
l1tpf::corrector corrector_
edm::EDGetTokenT< BXVector< l1t::EGamma > > src_
◆ ~PFClusterProducerFromL1EGClusters()
l1tpf::PFClusterProducerFromL1EGClusters::~PFClusterProducerFromL1EGClusters |
( |
| ) |
|
|
inlineoverride |
◆ produce()
Definition at line 56 of file PFClusterProducerFromL1EGClusters.cc.
References funct::abs(), bsc_activity_cfg::clusters, PVValHelper::eta, l1trig_cff::hwQual, iEvent, cuy::ii, dqmdumpme::indices, eostools::move(), MillePedeFileConverter_cfg::out, DiDispStaMuonMonitor_cfi::pt, collectionMerger::selector, and l1t::PFCluster::setPtError().
64 unsigned int index = 0;
70 it->pt(), it->eta(), it->phi(), 0.,
true);
74 cluster.setHwQual(it->hwQual());
75 out->push_back(cluster);
77 selector.fill(cluster.pt(), cluster.eta(), cluster.phi(),
index);
91 out_sel->push_back(cluster);
std::vector< unsigned int > const maxClustersEtaPhi_
l1tpf::ParametricResolution resol_
void correctPt(l1t::PFCluster &cluster, float preserveEmEt=true) const
Abs< T >::type abs(const T &t)
std::vector< double > const etaBounds_
std::vector< l1t::PFCluster > PFClusterCollection
std::vector< double > const phiBounds_
l1tpf::corrector corrector_
edm::EDGetTokenT< BXVector< l1t::EGamma > > src_
◆ corrector_
◆ etaBounds_
std::vector<double> const l1tpf::PFClusterProducerFromL1EGClusters::etaBounds_ |
|
private |
◆ etCut_
double l1tpf::PFClusterProducerFromL1EGClusters::etCut_ |
|
private |
◆ maxClustersEtaPhi_
std::vector<unsigned int> const l1tpf::PFClusterProducerFromL1EGClusters::maxClustersEtaPhi_ |
|
private |
◆ phiBounds_
std::vector<double> const l1tpf::PFClusterProducerFromL1EGClusters::phiBounds_ |
|
private |
◆ resol_
◆ src_