#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 22 of file PreshowerClusterAlgo.h.
typedef std::set<DetId> PreshowerClusterAlgo::HitsID |
Definition at line 27 of file PreshowerClusterAlgo.h.
Definition at line 24 of file PreshowerClusterAlgo.h.
typedef std::map<DetId, EcalRecHit> PreshowerClusterAlgo::RecHitsMap |
Definition at line 26 of file PreshowerClusterAlgo.h.
|
inline |
Definition at line 29 of file PreshowerClusterAlgo.h.
|
inline |
Definition at line 31 of file PreshowerClusterAlgo.h.
|
inline |
Definition at line 34 of file PreshowerClusterAlgo.h.
void PreshowerClusterAlgo::findRoad | ( | ESDetId | strip, |
EcalPreshowerNavigator | theESNav, | ||
int | plane | ||
) |
Definition at line 269 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().
bool PreshowerClusterAlgo::goodStrip | ( | RecHitsMap::iterator | candidate_it | ) |
Definition at line 250 of file PreshowerClusterAlgo.cc.
References LogTrace, preshStripEnergyCut_, rechits_map, and used_s.
Referenced by makeOneCluster().
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(), CommonMethods::cp(), edm::SortedCollection< T, SORT >::end(), reco::CaloCluster::energy(), reco::CaloCluster::eta(), findRoad(), newFWLiteAna::found, CaloSubdetectorGeometry::getGeometry(), goodStrip(), LogTrace, HLT_FULL_cff::navigator, GetRecoTauVFromDQM_MC_cff::next, reco::PreshowerCluster::nhits(), reco::CaloCluster::phi(), reco::CaloCluster::position(), position, preshClusterEnergyCut_, edm::SortedCollection< T, SORT >::push_back(), rechits_map, road_2d, edm::SortedCollection< T, SORT >::size(), digitizers_cfi::strip, used_s, reco::CaloCluster::x(), reco::CaloCluster::y(), and reco::CaloCluster::z().
Referenced by HLTEcalResonanceFilter::makeClusterES(), and HLTRegionalEcalResonanceFilter::makeClusterES().
|
private |
Definition at line 48 of file PreshowerClusterAlgo.h.
Referenced by makeOneCluster().
|
private |
Definition at line 49 of file PreshowerClusterAlgo.h.
Referenced by findRoad().
|
private |
Definition at line 47 of file PreshowerClusterAlgo.h.
Referenced by goodStrip().
|
private |
Definition at line 54 of file PreshowerClusterAlgo.h.
Referenced by goodStrip(), and makeOneCluster().
|
private |
Definition at line 51 of file PreshowerClusterAlgo.h.
Referenced by findRoad(), and makeOneCluster().
|
private |
Definition at line 57 of file PreshowerClusterAlgo.h.
Referenced by goodStrip(), and makeOneCluster().