|
![CMS Logo](/cmsdoxygen/common/rightImage.jpg) |
#include <PFMultiDepthClusterizer.h>
|
void | absorbCluster (reco::PFCluster &, const reco::PFCluster &) |
|
void | calculateShowerShapes (const reco::PFClusterCollection &, std::vector< double > &, std::vector< double > &) |
|
void | expandCluster (reco::PFCluster &, unsigned int point, std::vector< bool > &mask, const reco::PFClusterCollection &, const std::vector< ClusterLink > &links) |
|
std::vector< ClusterLink > | link (const reco::PFClusterCollection &, const std::vector< double > &, const std::vector< double > &) |
|
std::vector< ClusterLink > | prune (std::vector< ClusterLink > &, std::vector< bool > &linkedClusters) |
|
Definition at line 9 of file PFMultiDepthClusterizer.h.
◆ B2DGPF
◆ PFMultiDepthClusterizer() [1/2]
◆ ~PFMultiDepthClusterizer()
PFMultiDepthClusterizer::~PFMultiDepthClusterizer |
( |
| ) |
|
|
overridedefault |
◆ PFMultiDepthClusterizer() [2/2]
PFMultiDepthClusterizer::PFMultiDepthClusterizer |
( |
const B2DGPF & |
| ) |
|
|
delete |
◆ absorbCluster()
◆ buildClusters()
Implements PFClusterBuilderBase.
Definition at line 23 of file PFMultiDepthClusterizer.cc.
26 std::vector<double> etaRMS2(
input.size(), 0.0);
27 std::vector<double> phiRMS2(
input.size(), 0.0);
41 std::vector<bool> mask(
input.size(),
false);
42 std::vector<bool> linked(
input.size(),
false);
52 for (
unsigned int i = 0;
i <
input.size(); ++
i) {
References _allCellsPosCalc, calculateShowerShapes(), expandCluster(), mps_fire::i, input, link(), electronStore::links, convertSQLitetoXML_cfg::output, and prune().
◆ calculateShowerShapes()
void PFMultiDepthClusterizer::calculateShowerShapes |
( |
const reco::PFClusterCollection & |
clusters, |
|
|
std::vector< double > & |
etaRMS2, |
|
|
std::vector< double > & |
phiRMS2 |
|
) |
| |
|
private |
◆ expandCluster()
◆ link()
Definition at line 98 of file PFMultiDepthClusterizer.cc.
100 std::vector<ClusterLink>
links;
103 for (
unsigned int j = 0;
j <
clusters.size(); ++
j) {
119 auto deta = crep1.eta() - crep2.eta();
120 deta = deta * deta / (etaRMS2[
i] + etaRMS2[
j]);
121 auto dphi =
deltaPhi(crep1.phi(), crep2.phi());
122 dphi = dphi * dphi / (phiRMS2[
i] + phiRMS2[
j]);
References funct::abs(), bsc_activity_cfg::clusters, SiPixelRawToDigiRegional_cfi::deltaPhi, reco::PFCluster::depth(), PVValHelper::dz, reco::PFCluster::energy(), f, mps_fire::i, dqmiolumiharvest::j, electronStore::links, nSigmaEta_, nSigmaPhi_, and reco::PFCluster::positionREP().
Referenced by buildClusters(), and expandCluster().
◆ operator=()
B2DGPF& PFMultiDepthClusterizer::operator= |
( |
const B2DGPF & |
| ) |
|
|
delete |
◆ prune()
◆ update()
◆ _allCellsPosCalc
◆ nSigmaEta_
double PFMultiDepthClusterizer::nSigmaEta_ |
|
private |
◆ nSigmaPhi_
double PFMultiDepthClusterizer::nSigmaPhi_ |
|
private |
static const std::string input
void calculateShowerShapes(const reco::PFClusterCollection &, std::vector< double > &, std::vector< double > &)
void expandCluster(reco::PFCluster &, unsigned int point, std::vector< bool > &mask, const reco::PFClusterCollection &, const std::vector< ClusterLink > &links)
const std::vector< reco::PFRecHitFraction > & recHitFractions() const
vector of rechit fractions
std::unique_ptr< PFCPositionCalculatorBase > _allCellsPosCalc
double energy() const
cluster energy
std::vector< ClusterLink > prune(std::vector< ClusterLink > &, std::vector< bool > &linkedClusters)
double depth() const
cluster depth
const REPPoint & positionREP() const
cluster position: rho, eta, phi
bool exists(std::string const ¶meterName) const
checks if a parameter exists
void absorbCluster(reco::PFCluster &, const reco::PFCluster &)
std::vector< ClusterLink > link(const reco::PFClusterCollection &, const std::vector< double > &, const std::vector< double > &)
DetId seed() const
return DetId of seed
PFClusterBuilderBase(const edm::ParameterSet &conf)
Particle flow cluster, see clustering algorithm in PFClusterAlgo.
T getParameter(std::string const &) const
Power< A, B >::type pow(const A &a, const B &b)
Abs< T >::type abs(const T &t)
*vegas h *****************************************************used in the default bin number in original ***version of VEGAS is ***a higher bin number might help to derive a more precise ***grade subtle point
ParameterSet const & getParameterSet(std::string const &) const