#include <HFClusterAlgo.h>
Classes | |
struct | HFCompleteHit |
Public Member Functions | |
void | clusterize (const HFRecHitCollection &hf, const CaloGeometry &geom, reco::HFEMClusterShapeCollection &clusters, reco::SuperClusterCollection &SuperClusters) |
HFClusterAlgo () | |
void | isMC (bool isMC) |
void | resetForRun () |
void | setup (double minTowerEnergy, double seedThreshold, double maximumSL, double m_maximumRenergy, bool usePMTflag, bool usePulseflag, bool forcePulseFlagMC, int correctionSet) |
Private Member Functions | |
bool | isPMTHit (const HFRecHit &hfr) |
bool | makeCluster (const HcalDetId &seedid, const HFRecHitCollection &hf, const CaloGeometry &geom, reco::HFEMClusterShape &clusShp, reco::SuperCluster &SClus) |
Private Attributes | |
std::vector< double > | m_correctionByEta |
int | m_correctionSet |
std::vector< double > | m_cutByEta |
bool | m_forcePulseFlagMC |
bool | m_isMC |
double | m_maximumRenergy |
double | m_maximumSL |
double | m_minTowerEnergy |
std::vector< double > | m_seedmnEta |
std::vector< double > | m_seedmnPhi |
std::vector< double > | m_seedMXeta |
std::vector< double > | m_seedMXphi |
double | m_seedThreshold |
bool | m_usePMTFlag |
bool | m_usePulseFlag |
Friends | |
class | CompareHFCompleteHitET |
class | CompareHFCore |
$Id:version 1.2
Definition at line 22 of file HFClusterAlgo.h.
HFClusterAlgo::HFClusterAlgo | ( | ) |
Definition at line 20 of file HFClusterAlgo.cc.
void HFClusterAlgo::clusterize | ( | const HFRecHitCollection & | hf, |
const CaloGeometry & | geom, | ||
reco::HFEMClusterShapeCollection & | clusters, | ||
reco::SuperClusterCollection & | SuperClusters | ||
) |
Analyze the hits
Definition at line 91 of file HFClusterAlgo.cc.
References edm::SortedCollection< T, SORT >::begin(), edm::SortedCollection< T, SORT >::end(), HFClusterAlgo::HFCompleteHit::energy, HFClusterAlgo::HFCompleteHit::et, eta(), edm::SortedCollection< T, SORT >::find(), relativeConstraints::geom, CaloCellGeometry::getCorners(), CaloGeometry::getGeometry(), CaloGeometry::getPosition(), HcalForward, i, HFClusterAlgo::HFCompleteHit::id, indexByEta(), j, gen::k, EZArrayFL< T >::size(), python.multivaluedict::sort(), and detailsBasic3DVector::z.
Referenced by HFEMClusterProducer::produce().
|
inline |
Definition at line 28 of file HFClusterAlgo.h.
References isMC(), and m_isMC.
Referenced by isMC(), and HFEMClusterProducer::produce().
|
private |
Definition at line 398 of file HFClusterAlgo.cc.
References CaloRecHit::flagField(), HcalCaloFlagLabels::HFDigiTime, and HcalCaloFlagLabels::HFLongShort.
|
private |
Definition at line 195 of file HFClusterAlgo.cc.
References funct::abs(), edm::SortedCollection< T, SORT >::end(), PV3DBase< T, PVType, FrameType >::eta(), eta(), edm::SortedCollection< T, SORT >::find(), CaloGeometry::getPosition(), HcalForward, i, customizeTrackingMonitorSeedNumber::idx, HcalDetId::ieta(), HcalDetId::ietaAbs(), indexByEta(), HcalDetId::iphi(), fff_deleter::log, M_PI, bookConverter::max, AlCaHLTBitMon_ParallelJobs::p, phi, PV3DBase< T, PVType, FrameType >::phi(), python.multivaluedict::sort(), w, PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), PV3DBase< T, PVType, FrameType >::z(), and HcalDetId::zside().
void HFClusterAlgo::resetForRun | ( | ) |
Definition at line 408 of file HFClusterAlgo.cc.
References cuy::ii.
Referenced by HFEMClusterProducer::beginRun().
void HFClusterAlgo::setup | ( | double | minTowerEnergy, |
double | seedThreshold, | ||
double | maximumSL, | ||
double | m_maximumRenergy, | ||
bool | usePMTflag, | ||
bool | usePulseflag, | ||
bool | forcePulseFlagMC, | ||
int | correctionSet | ||
) |
Definition at line 48 of file HFClusterAlgo.cc.
References cuy::ii, M_PI, and MCMaterialCorrections_3XX.
Referenced by HFEMClusterProducer::HFEMClusterProducer().
|
friend |
Definition at line 40 of file HFClusterAlgo.h.
|
friend |
Definition at line 41 of file HFClusterAlgo.h.
|
private |
Definition at line 49 of file HFClusterAlgo.h.
|
private |
Definition at line 47 of file HFClusterAlgo.h.
|
private |
Definition at line 48 of file HFClusterAlgo.h.
|
private |
Definition at line 45 of file HFClusterAlgo.h.
|
private |
Definition at line 46 of file HFClusterAlgo.h.
Referenced by isMC().
|
private |
Definition at line 43 of file HFClusterAlgo.h.
|
private |
Definition at line 43 of file HFClusterAlgo.h.
|
private |
Definition at line 43 of file HFClusterAlgo.h.
|
private |
Definition at line 50 of file HFClusterAlgo.h.
|
private |
Definition at line 52 of file HFClusterAlgo.h.
|
private |
Definition at line 51 of file HFClusterAlgo.h.
|
private |
Definition at line 53 of file HFClusterAlgo.h.
|
private |
Definition at line 43 of file HFClusterAlgo.h.
|
private |
Definition at line 44 of file HFClusterAlgo.h.
|
private |
Definition at line 45 of file HFClusterAlgo.h.