ATLAS Offline Software
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 }
data
char data[hepevt_bytes_allocation_ATLAS]
Definition: HepEvt.cxx:11
PFClusterFiller::fillClustersToRecover
static void fillClustersToRecover(PFData &data)
Definition: PFClusterFiller.cxx:5
eflowRecClusterContainer
Definition: eflowRecCluster.h:275
XMLtoHeader.count
count
Definition: XMLtoHeader.py:85
lumiFormat.i
int i
Definition: lumiFormat.py:92
PFData
Definition: PFData.h:11
eflowCaloObject.h
PFClusterFiller::fillClustersToConsider
static void fillClustersToConsider(PFData &data, eflowRecClusterContainer &recClusterContainer)
Definition: PFClusterFiller.cxx:25
PFClusterFiller.h
DataVector::size
size_type size() const noexcept
Returns the number of elements in the collection.