29 std::vector<std::pair<xAOD::CaloCluster*, bool>>& clusterSubtractionList,
const bool& addCPData)
const
45 ranking, *efRecTrack, clusterSubtractionList, orderedCells, annFlag, addCPData);
53 const std::vector<std::pair<xAOD::CaloCluster*, bool>>& clusters,
58 unsigned int countMatchedClusters = 0;
59 for (
auto thisPair : clusters) {
68 for (; firstCell != lastCell; ++firstCell) {
69 std::pair<const CaloCell*, int> myPair((*firstCell),
70 countMatchedClusters);
73 countMatchedClusters++;
79 std::vector<std::pair<xAOD::CaloCluster*, bool>>& clusters)
82 for (
auto& thisPair : clusters) {
85 thisPair.second =
true;
const_iterator to loop over cells belonging to a cluster
Bookkeeping of cells that make up a cluster Simplified replacement for CaloCellLink,...
const_iterator end() const
const end method
void clear()
Method to remove all cells;.
const_iterator begin() const
const begin method
static void calculateKine(xAOD::CaloCluster *clu, const bool useweight=true, const bool updateLayers=true, const bool useGPUCriteria=false)
Helper class to calculate cluster kinematics based on cells.
Concrete class derived class from pure virtual eflowAbstractCellList.
void addCell(std::pair< const CaloCell *, int > cell)
void setNewExtrapolatedTrack(const eflowTrackCaloPoints *trackCalo)
This class extends the information about a xAOD::Track.
const eflowTrackCaloPoints & getTrackCaloPoints() const
eflowRingSubtractionManager & getCellSubtractionManager()
This stores information, a rank and ring thickness, about cell rings in an ordered way.
static void makeOrderedCellList(const eflowTrackCaloPoints &trackCalo, const std::vector< std::pair< xAOD::CaloCluster *, bool > > &clusters, eflowCellList &orderedCells)
static void annihilateClusters(std::vector< std::pair< xAOD::CaloCluster *, bool > > &clusters)
static void annihilateCluster(xAOD::CaloCluster *cluster)
void subtractTracksFromClusters(eflowRecTrack *efRecTrack, std::vector< std::pair< xAOD::CaloCluster *, bool > > &clusterSubtractionList, const bool &addCPData) const
eflowCellSubtractionFacilitator m_facilitator
This class stores a map of calorimeter layers and track parameters (the result of the track extrapola...
const CaloClusterCellLink * getCellLinks() const
Get a pointer to the CaloClusterCellLink object (const version)
void setRawE(flt_t)
Set Energy for signal state UNCALIBRATED.
CaloClusterCellLink * getOwnCellLinks()
Get a pointer to the owned CaloClusterCellLink object (non-const version)
CaloCluster_v1 CaloCluster
Define the latest version of the calorimeter cluster class.