#include <PFClusterFiller.h>
Definition at line 7 of file PFClusterFiller.h.
◆ PFClusterFiller()
| PFClusterFiller::PFClusterFiller |
( |
| ) |
|
|
inline |
◆ ~PFClusterFiller()
| PFClusterFiller::~PFClusterFiller |
( |
| ) |
|
|
inline |
◆ fillClustersToConsider()
Definition at line 25 of file PFClusterFiller.cxx.
25 {
26
28 data.clusters.push_back(recClusterContainer[
count]);
29
30}
char data[hepevt_bytes_allocation_ATLAS]
size_type size() const noexcept
Returns the number of elements in the collection.
int count(std::string s, const std::string ®x)
count how many occurances of a regx are in a string
◆ fillClustersToRecover()
| void PFClusterFiller::fillClustersToRecover |
( |
PFData & | data | ) |
|
|
static |
Definition at line 5 of file PFClusterFiller.cxx.
5 {
6
7 for (
auto thisEflowCaloObject : *
data.caloObjects )
8 {
9 if (thisEflowCaloObject->nClusters() == 0)continue;
10
11 for (
unsigned i = 0;
i < thisEflowCaloObject->nClusters(); ++
i)
12 {
13
14 const CaloClusterCellLink *theCellLink = thisEflowCaloObject->efRecCluster(i)->getCluster()->getCellLinks();
15 if (0 == (
int)theCellLink->
size())
continue;
16
17 thisEflowCaloObject->efRecCluster(i)->clearTrackMatches();
18 data.clusters.push_back(thisEflowCaloObject->efRecCluster(i));
19 thisEflowCaloObject->clearClusters();
20 }
21 }
22
23}
size_t size() const
size method
The documentation for this class was generated from the following files: