ATLAS Offline Software
Loading...
Searching...
No Matches
PFClusterFiller.cxx
Go to the documentation of this file.
2
4
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 /* Skip empty clusters (subtraction remnants) */
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}
24
26
27 for (unsigned int count = 0; count < recClusterContainer.size(); count++)
28 data.clusters.push_back(recClusterContainer[count]);
29
30}
char data[hepevt_bytes_allocation_ATLAS]
Definition HepEvt.cxx:11
size_type size() const noexcept
Returns the number of elements in the collection.
static void fillClustersToRecover(PFData &data)
static void fillClustersToConsider(PFData &data, eflowRecClusterContainer &recClusterContainer)
int count(std::string s, const std::string &regx)
count how many occurances of a regx are in a string
Definition hcg.cxx:146