#include <PFTrackFiller.h>
Definition at line 7 of file PFTrackFiller.h.
◆ PFTrackFiller()
PFTrackFiller::PFTrackFiller |
( |
| ) |
|
|
inline |
◆ ~PFTrackFiller()
PFTrackFiller::~PFTrackFiller |
( |
| ) |
|
|
inline |
◆ fillTracksToConsider()
◆ fillTracksToRecover()
void PFTrackFiller::fillTracksToRecover |
( |
PFData & |
data | ) |
|
|
static |
Definition at line 5 of file PFTrackFiller.cxx.
8 for (
auto thisEflowCaloObject : *
data.caloObjects){
10 unsigned int nTrk = thisEflowCaloObject->nTracks();
12 if (0 == thisEflowCaloObject->nClusters()){
15 for (
unsigned int iTrk = 0; iTrk < nTrk; ++iTrk) {
16 eflowRecTrack* thisEfRecTrack = thisEflowCaloObject->efRecTrack(iTrk);
23 if(nTrk == 0)
continue;
28 std::vector<eflowRecTrack*> updatedTracks;
30 for (
unsigned int iTrack = 0; iTrack < nTrk; ++iTrack){
31 eflowRecTrack* thisEfRecTrack = thisEflowCaloObject->efRecTrack(iTrack);
34 updatedTracks.push_back(thisEfRecTrack);
42 data.tracks.push_back(thisEfRecTrack);
46 thisEflowCaloObject->clearTracks();
48 if (!updatedTracks.empty()) thisEflowCaloObject->addTracks(updatedTracks);
50 else thisEflowCaloObject->clearLinks();
The documentation for this class was generated from the following files:
void sort(typename std::reverse_iterator< DataModel_detail::iterator< DVL > > beg, typename std::reverse_iterator< DataModel_detail::iterator< DVL > > end, const Compare &comp)
Specialization of sort for DataVector/List.