#include <PreshowerClusterAlgo.h>
Public Types | |
typedef std::set< DetId > | HitsID |
typedef math::XYZPoint | Point |
typedef std::map< DetId, EcalRecHit > | RecHitsMap |
Public Member Functions | |
void | findRoad (ESDetId strip, EcalPreshowerNavigator theESNav, int plane) |
bool | goodStrip (RecHitsMap::iterator candidate_it) |
reco::PreshowerCluster | makeOneCluster (ESDetId strip, HitsID *used_strips, RecHitsMap *rechits_map, const CaloSubdetectorGeometry *geometry_p, const CaloSubdetectorTopology *topology_p) |
PreshowerClusterAlgo () | |
PreshowerClusterAlgo (double stripEnergyCut, double clusterEnergyCut, int nStripCut) | |
~PreshowerClusterAlgo () | |
Private Attributes | |
double | preshClusterEnergyCut_ |
int | preshSeededNstr_ |
double | preshStripEnergyCut_ |
RecHitsMap * | rechits_map |
std::vector< ESDetId > | road_2d |
HitsID * | used_s |
Definition at line 23 of file PreshowerClusterAlgo.h.
typedef std::set<DetId> PreshowerClusterAlgo::HitsID |
Definition at line 32 of file PreshowerClusterAlgo.h.
Definition at line 29 of file PreshowerClusterAlgo.h.
typedef std::map<DetId, EcalRecHit> PreshowerClusterAlgo::RecHitsMap |
Definition at line 31 of file PreshowerClusterAlgo.h.
|
inline |
Definition at line 34 of file PreshowerClusterAlgo.h.
|
inline |
Definition at line 38 of file PreshowerClusterAlgo.h.
|
inline |
Definition at line 42 of file PreshowerClusterAlgo.h.
References findRoad(), goodStrip(), makeOneCluster(), rechits_map, and digitizers_cfi::strip.
void PreshowerClusterAlgo::findRoad | ( | ESDetId | strip, |
EcalPreshowerNavigator | theESNav, | ||
int | plane | ||
) |
Definition at line 267 of file PreshowerClusterAlgo.cc.
References CaloNavigator< T, TOPO >::east(), CaloNavigator< T, TOPO >::home(), LogTrace, GetRecoTauVFromDQM_MC_cff::next, CaloNavigator< T, TOPO >::north(), preshSeededNstr_, road_2d, CaloNavigator< T, TOPO >::setHome(), CaloNavigator< T, TOPO >::south(), digitizers_cfi::strip, and CaloNavigator< T, TOPO >::west().
Referenced by makeOneCluster(), and ~PreshowerClusterAlgo().
bool PreshowerClusterAlgo::goodStrip | ( | RecHitsMap::iterator | candidate_it | ) |
Definition at line 245 of file PreshowerClusterAlgo.cc.
References LogTrace, preshStripEnergyCut_, rechits_map, and used_s.
Referenced by makeOneCluster(), and ~PreshowerClusterAlgo().
reco::PreshowerCluster PreshowerClusterAlgo::makeOneCluster | ( | ESDetId | strip, |
HitsID * | used_strips, | ||
RecHitsMap * | rechits_map, | ||
const CaloSubdetectorGeometry * | geometry_p, | ||
const CaloSubdetectorTopology * | topology_p | ||
) |
Definition at line 13 of file PreshowerClusterAlgo.cc.
References edm::SortedCollection< T, SORT >::begin(), SimDataFormats::CaloAnalysis::cp, CaloNavigator< T, TOPO >::east(), edm::SortedCollection< T, SORT >::end(), CaloParticle::energy(), reco::CaloCluster::energy(), reco::CaloCluster::eta(), findRoad(), runEdmFileComparison::found, CaloSubdetectorGeometry::getGeometry(), goodStrip(), CaloNavigator< T, TOPO >::home(), LogTrace, particleFlowRecHitECAL_cfi::navigator, GetRecoTauVFromDQM_MC_cff::next, reco::PreshowerCluster::nhits(), CaloNavigator< T, TOPO >::north(), reco::CaloCluster::phi(), ESDetId::plane(), reco::CaloCluster::position(), position, preshClusterEnergyCut_, edm::SortedCollection< T, SORT >::push_back(), rechits_map, road_2d, CaloNavigator< T, TOPO >::setHome(), edm::SortedCollection< T, SORT >::size(), CaloNavigator< T, TOPO >::south(), ESDetId::strip(), used_s, CaloNavigator< T, TOPO >::west(), PV3DBase< T, PVType, FrameType >::x(), reco::CaloCluster::x(), PV3DBase< T, PVType, FrameType >::y(), reco::CaloCluster::y(), PV3DBase< T, PVType, FrameType >::z(), and reco::CaloCluster::z().
Referenced by ~PreshowerClusterAlgo().
|
private |
Definition at line 57 of file PreshowerClusterAlgo.h.
Referenced by makeOneCluster().
|
private |
Definition at line 58 of file PreshowerClusterAlgo.h.
Referenced by findRoad().
|
private |
Definition at line 56 of file PreshowerClusterAlgo.h.
Referenced by goodStrip().
|
private |
Definition at line 64 of file PreshowerClusterAlgo.h.
Referenced by goodStrip(), makeOneCluster(), and ~PreshowerClusterAlgo().
|
private |
Definition at line 61 of file PreshowerClusterAlgo.h.
Referenced by findRoad(), and makeOneCluster().
|
private |
Definition at line 67 of file PreshowerClusterAlgo.h.
Referenced by goodStrip(), and makeOneCluster().