#include <PFHCALDenseIdNavigator.h>
template<typename DET, typename TOPO, bool ownsTopo = true>
class PFHCALDenseIdNavigator< DET, TOPO, ownsTopo >
Definition at line 25 of file PFHCALDenseIdNavigator.h.
◆ ~PFHCALDenseIdNavigator()
template<typename DET, typename TOPO, bool ownsTopo = true>
◆ PFHCALDenseIdNavigator()
template<typename DET, typename TOPO, bool ownsTopo = true>
◆ associateNeighbours()
template<typename DET, typename TOPO, bool ownsTopo = true>
Implements PFRecHitNavigatorBase.
Definition at line 142 of file PFHCALDenseIdNavigator.h.
146 unsigned denseid =
topology_.get()->detId2denseId(detid);
148 std::vector<DetId> neighbours(9,
DetId(0));
151 edm::LogWarning(
"PFRecHitHCALCachedNavigator") <<
" DenseId for this cell is out of the range." << std::endl;
154 <<
" DenseId for this cell does not have the neighbour information." << std::endl;
◆ getIdx()
template<typename DET, typename TOPO, bool ownsTopo = true>
◆ init()
template<typename DET, typename TOPO, bool ownsTopo = true>
Implements PFRecHitNavigatorBase.
Definition at line 37 of file PFHCALDenseIdNavigator.h.
52 std::vector<DetId> vecHcal;
53 std::vector<unsigned int> vDenseIdHcal;
57 vecHcal.insert(vecHcal.end(), vecDetIds.begin(), vecDetIds.end());
59 for (
auto hDetId : vecHcal) {
60 vDenseIdHcal.push_back(
topology_.get()->detId2denseId(hDetId));
62 std::sort(vDenseIdHcal.begin(), vDenseIdHcal.end());
65 denseIdHcalMax_ = *max_element(vDenseIdHcal.begin(), vDenseIdHcal.end());
66 denseIdHcalMin_ = *min_element(vDenseIdHcal.begin(), vDenseIdHcal.end());
69 for (
auto denseid : vDenseIdHcal) {
78 std::vector<DetId> neighbours(9,
DetId(0));
81 unsigned denseid_c = denseid;
87 neighbours.at(
NONE) = detid_c;
115 neighbours.at(
EAST) = E;
127 neighbours.at(
WEST) = W;
◆ validNeighbours()
template<typename DET, typename TOPO, bool ownsTopo = true>
◆ denseIdHcalMax_
template<typename DET, typename TOPO, bool ownsTopo = true>
◆ denseIdHcalMin_
template<typename DET, typename TOPO, bool ownsTopo = true>
◆ neighboursHcal_
template<typename DET, typename TOPO, bool ownsTopo = true>
◆ theRecNumberWatcher_
template<typename DET, typename TOPO, bool ownsTopo = true>
◆ topology_
template<typename DET, typename TOPO, bool ownsTopo = true>
◆ vhcalEnum_
template<typename DET, typename TOPO, bool ownsTopo = true>
void associateNeighbour(const DetId &id, reco::PFRecHit &hit, std::unique_ptr< reco::PFRecHitCollection > &hits, edm::RefProd< reco::PFRecHitCollection > &refProd, short eta, short phi, short depth)
double S(const TLorentzVector &, const TLorentzVector &)