#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, 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 24 of file PreshowerClusterAlgo.h.
typedef std::set<DetId> PreshowerClusterAlgo::HitsID |
Definition at line 33 of file PreshowerClusterAlgo.h.
Definition at line 30 of file PreshowerClusterAlgo.h.
typedef std::map<DetId, EcalRecHit> PreshowerClusterAlgo::RecHitsMap |
Definition at line 32 of file PreshowerClusterAlgo.h.
|
inline |
Definition at line 35 of file PreshowerClusterAlgo.h.
|
inline |
Definition at line 39 of file PreshowerClusterAlgo.h.
|
inline |
Definition at line 43 of file PreshowerClusterAlgo.h.
void PreshowerClusterAlgo::findRoad | ( | ESDetId | strip, |
EcalPreshowerNavigator | theESNav, | ||
int | plane | ||
) |
Definition at line 268 of file PreshowerClusterAlgo.cc.
References LogTrace, preshSeededNstr_, and road_2d.
Referenced by makeOneCluster().
bool PreshowerClusterAlgo::goodStrip | ( | RecHitsMap::iterator | candidate_it | ) |
Definition at line 246 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, | ||
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(), CaloCellGeometry::getPosition(), goodStrip(), LogTrace, reco::PreshowerCluster::nhits(), reco::CaloCluster::phi(), ESDetId::plane(), pos, reco::CaloCluster::position(), position, preshClusterEnergyCut_, edm::SortedCollection< T, SORT >::push_back(), rechits_map, road_2d, edm::SortedCollection< T, SORT >::size(), ESDetId::strip(), used_s, 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().
|
private |
Definition at line 58 of file PreshowerClusterAlgo.h.
Referenced by makeOneCluster().
|
private |
Definition at line 59 of file PreshowerClusterAlgo.h.
Referenced by findRoad().
|
private |
Definition at line 57 of file PreshowerClusterAlgo.h.
Referenced by goodStrip().
|
private |
Definition at line 65 of file PreshowerClusterAlgo.h.
Referenced by goodStrip(), and makeOneCluster().
|
private |
Definition at line 62 of file PreshowerClusterAlgo.h.
Referenced by findRoad(), and makeOneCluster().
|
private |
Definition at line 68 of file PreshowerClusterAlgo.h.
Referenced by goodStrip(), and makeOneCluster().