#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 & | geomO, | ||
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, PVValHelper::eta, edm::SortedCollection< T, SORT >::find(), relativeConstraints::geom, CaloGeometry::getGeometry(), CaloGeometry::getPosition(), HcalForward, photonIsolationHIProducer_cfi::hf, mps_fire::i, HFClusterAlgo::HFCompleteHit::id, indexByEta(), gen::k, SimDataFormats::CaloAnalysis::sc, and EZArrayFL< T >::size().
Referenced by isMC(), and HFEMClusterProducer::produce().
|
inline |
Definition at line 28 of file HFClusterAlgo.h.
References clusterize(), fastPrimaryVertexProducer_cfi::clusters, relativeConstraints::geom, photonIsolationHIProducer_cfi::hf, isMC(), m_isMC, and resetForRun().
Referenced by isMC(), and HFEMClusterProducer::produce().
|
private |
Definition at line 399 of file HFClusterAlgo.cc.
References CaloRecHit::flagField(), HcalCaloFlagLabels::HFDigiTime, and HcalCaloFlagLabels::HFLongShort.
|
private |
Definition at line 196 of file HFClusterAlgo.cc.
References funct::abs(), edm::SortedCollection< T, SORT >::end(), PVValHelper::eta, PV3DBase< T, PVType, FrameType >::eta(), edm::SortedCollection< T, SORT >::find(), CaloGeometry::getPosition(), HcalForward, training_settings::idx, HcalDetId::ieta(), HcalDetId::ietaAbs(), indexByEta(), HcalDetId::iphi(), cmsBatch::log, M_PI, SiStripPI::max, AlCaHLTBitMon_ParallelJobs::p, PV3DBase< T, PVType, FrameType >::phi(), 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 409 of file HFClusterAlgo.cc.
References cuy::ii.
Referenced by HFEMClusterProducer::beginRun(), and isMC().
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 hfClusterShapes_cfi::forcePulseFlagMC, cuy::ii, M_PI, hfClusterShapes_cfi::maximumRenergy, hfClusterShapes_cfi::maximumSL, MCMaterialCorrections_3XX, hfClusterShapes_cfi::minTowerEnergy, and UEAnalysisJets_cfi::seedThreshold.
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.