|
|
|
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 15 of file PFMultiDepthClusterizer.cc.
◆ B2DGPF
◆ PFMultiDepthClusterizer() [1/2]
◆ ~PFMultiDepthClusterizer()
PFMultiDepthClusterizer::~PFMultiDepthClusterizer |
( |
| ) |
|
|
overridedefault |
◆ PFMultiDepthClusterizer() [2/2]
PFMultiDepthClusterizer::PFMultiDepthClusterizer |
( |
const B2DGPF & |
| ) |
|
|
delete |
◆ absorbCluster()
◆ buildClusters()
Implements PFClusterBuilderBase.
Definition at line 91 of file PFMultiDepthClusterizer.cc.
94 std::vector<double> etaRMS2(
input.size(), 0.0);
95 std::vector<double> phiRMS2(
input.size(), 0.0);
109 std::vector<bool> mask(
input.size(),
false);
110 std::vector<bool> linked(
input.size(),
false);
120 for (
unsigned int i = 0;
i <
input.size(); ++
i) {
137 output.push_back(cluster);
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 166 of file PFMultiDepthClusterizer.cc.
168 std::vector<ClusterLink>
links;
171 for (
unsigned int j = 0;
j <
clusters.size(); ++
j) {
187 auto deta = crep1.eta() - crep2.eta();
188 deta = deta * deta / (etaRMS2[
i] + etaRMS2[
j]);
189 auto dphi =
deltaPhi(crep1.phi(), crep2.phi());
190 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
PFClusterBuilderBase(const edm::ParameterSet &conf, edm::ConsumesCollector &cc)
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
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