#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 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.
void PreshowerClusterAlgo::findRoad | ( | ESDetId | strip, |
EcalPreshowerNavigator | theESNav, | ||
int | plane | ||
) |
Definition at line 268 of file PreshowerClusterAlgo.cc.
References LogTrace, GetRecoTauVFromDQM_MC_cff::next, 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, GetRecoTauVFromDQM_MC_cff::next, reco::PreshowerCluster::nhits(), reco::CaloCluster::phi(), ESDetId::plane(), 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 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(), and makeOneCluster().
|
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().