CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions | Public Attributes | Protected Attributes
HGCalClusteringAlgoBase Class Referenceabstract

#include <HGCalClusteringAlgoBase.h>

Inheritance diagram for HGCalClusteringAlgoBase:
HGCalCLUEAlgoT< TILE > HGCalImagingAlgo

Public Types

enum  VerbosityLevel { pDEBUG = 0, pWARNING = 1, pINFO = 2, pERROR = 3 }
 

Public Member Functions

virtual std::vector< reco::BasicClustergetClusters (bool)=0
 
virtual hgcal_clustering::Density getDensity ()=0
 
void getEventSetup (const edm::EventSetup &es)
 
virtual void getEventSetupPerAlgorithm (const edm::EventSetup &es)
 
 HGCalClusteringAlgoBase (VerbosityLevel v, reco::CaloCluster::AlgoId algo)
 
virtual void makeClusters ()=0
 
virtual void populate (const HGCRecHitCollection &hits)=0
 
virtual void reset ()=0
 
void setAlgoId (reco::CaloCluster::AlgoId algo, bool isNose=false)
 
void setVerbosity (VerbosityLevel the_verbosity)
 
virtual ~HGCalClusteringAlgoBase ()
 

Public Attributes

unsigned int firstLayerBH_
 
bool isNose_
 
unsigned int lastLayerEE_
 
unsigned int lastLayerFH_
 
unsigned int maxlayer_
 
int scintMaxIphi_
 

Protected Attributes

reco::CaloCluster::AlgoId algoId_
 
std::vector< reco::BasicClusterclusters_v_
 
hgcal::RecHitTools rhtools_
 
VerbosityLevel verbosity_
 

Detailed Description

Definition at line 47 of file HGCalClusteringAlgoBase.h.

Member Enumeration Documentation

◆ VerbosityLevel

Enumerator
pDEBUG 
pWARNING 
pINFO 
pERROR 

Definition at line 49 of file HGCalClusteringAlgoBase.h.

49 { pDEBUG = 0, pWARNING = 1, pINFO = 2, pERROR = 3 };

Constructor & Destructor Documentation

◆ HGCalClusteringAlgoBase()

HGCalClusteringAlgoBase::HGCalClusteringAlgoBase ( VerbosityLevel  v,
reco::CaloCluster::AlgoId  algo 
)
inline

Definition at line 51 of file HGCalClusteringAlgoBase.h.

51 : verbosity_(v), algoId_(algo){};

◆ ~HGCalClusteringAlgoBase()

virtual HGCalClusteringAlgoBase::~HGCalClusteringAlgoBase ( )
inlinevirtual

Definition at line 52 of file HGCalClusteringAlgoBase.h.

52 {}

Member Function Documentation

◆ getClusters()

virtual std::vector<reco::BasicCluster> HGCalClusteringAlgoBase::getClusters ( bool  )
pure virtual

◆ getDensity()

virtual hgcal_clustering::Density HGCalClusteringAlgoBase::getDensity ( )
pure virtual

◆ getEventSetup()

void HGCalClusteringAlgoBase::getEventSetup ( const edm::EventSetup es)
inline

◆ getEventSetupPerAlgorithm()

virtual void HGCalClusteringAlgoBase::getEventSetupPerAlgorithm ( const edm::EventSetup es)
inlinevirtual

Reimplemented in HGCalCLUEAlgoT< TILE >, and HGCalImagingAlgo.

Definition at line 59 of file HGCalClusteringAlgoBase.h.

59 {}

Referenced by getEventSetup().

◆ makeClusters()

virtual void HGCalClusteringAlgoBase::makeClusters ( )
pure virtual

◆ populate()

virtual void HGCalClusteringAlgoBase::populate ( const HGCRecHitCollection hits)
pure virtual

◆ reset()

virtual void HGCalClusteringAlgoBase::reset ( )
pure virtual

◆ setAlgoId()

void HGCalClusteringAlgoBase::setAlgoId ( reco::CaloCluster::AlgoId  algo,
bool  isNose = false 
)
inline

Definition at line 73 of file HGCalClusteringAlgoBase.h.

73  {
74  algoId_ = algo;
75  isNose_ = isNose;
76  }

References algoId_, and isNose_.

◆ setVerbosity()

void HGCalClusteringAlgoBase::setVerbosity ( VerbosityLevel  the_verbosity)
inline

Definition at line 72 of file HGCalClusteringAlgoBase.h.

72 { verbosity_ = the_verbosity; }

References verbosity_.

Member Data Documentation

◆ algoId_

reco::CaloCluster::AlgoId HGCalClusteringAlgoBase::algoId_
protected

Definition at line 97 of file HGCalClusteringAlgoBase.h.

Referenced by setAlgoId().

◆ clusters_v_

std::vector<reco::BasicCluster> HGCalClusteringAlgoBase::clusters_v_
protected

Definition at line 92 of file HGCalClusteringAlgoBase.h.

Referenced by HGCalCLUEAlgoT< TILE >::reset().

◆ firstLayerBH_

unsigned int HGCalClusteringAlgoBase::firstLayerBH_

Definition at line 83 of file HGCalClusteringAlgoBase.h.

Referenced by getEventSetup().

◆ isNose_

bool HGCalClusteringAlgoBase::isNose_

Definition at line 85 of file HGCalClusteringAlgoBase.h.

Referenced by getEventSetup(), and setAlgoId().

◆ lastLayerEE_

unsigned int HGCalClusteringAlgoBase::lastLayerEE_

Definition at line 81 of file HGCalClusteringAlgoBase.h.

Referenced by getEventSetup().

◆ lastLayerFH_

unsigned int HGCalClusteringAlgoBase::lastLayerFH_

Definition at line 82 of file HGCalClusteringAlgoBase.h.

Referenced by getEventSetup().

◆ maxlayer_

unsigned int HGCalClusteringAlgoBase::maxlayer_

Definition at line 79 of file HGCalClusteringAlgoBase.h.

Referenced by getEventSetup().

◆ rhtools_

hgcal::RecHitTools HGCalClusteringAlgoBase::rhtools_
protected

Definition at line 94 of file HGCalClusteringAlgoBase.h.

Referenced by getEventSetup().

◆ scintMaxIphi_

int HGCalClusteringAlgoBase::scintMaxIphi_

Definition at line 84 of file HGCalClusteringAlgoBase.h.

Referenced by getEventSetup().

◆ verbosity_

VerbosityLevel HGCalClusteringAlgoBase::verbosity_
protected

Definition at line 89 of file HGCalClusteringAlgoBase.h.

Referenced by setVerbosity().

HGCalClusteringAlgoBase::pINFO
Definition: HGCalClusteringAlgoBase.h:49
HGCalClusteringAlgoBase::verbosity_
VerbosityLevel verbosity_
Definition: HGCalClusteringAlgoBase.h:89
CaloGeometryRecord
Definition: CaloGeometryRecord.h:30
findQualityFiles.v
v
Definition: findQualityFiles.py:179
cmsdt::algo
algo
Definition: constants.h:164
hgcal::RecHitTools::lastLayerFH
unsigned int lastLayerFH() const
Definition: RecHitTools.h:65
HGCalClusteringAlgoBase::lastLayerFH_
unsigned int lastLayerFH_
Definition: HGCalClusteringAlgoBase.h:82
edm::EventSetup::get
T get() const
Definition: EventSetup.h:80
HGCalClusteringAlgoBase::lastLayerEE_
unsigned int lastLayerEE_
Definition: HGCalClusteringAlgoBase.h:81
HGCalClusteringAlgoBase::firstLayerBH_
unsigned int firstLayerBH_
Definition: HGCalClusteringAlgoBase.h:83
edm::ESHandle< CaloGeometry >
relativeConstraints.geom
geom
Definition: relativeConstraints.py:72
HGCalClusteringAlgoBase::algoId_
reco::CaloCluster::AlgoId algoId_
Definition: HGCalClusteringAlgoBase.h:97
HGCalClusteringAlgoBase::rhtools_
hgcal::RecHitTools rhtools_
Definition: HGCalClusteringAlgoBase.h:94
hgcal::RecHitTools::lastLayerEE
unsigned int lastLayerEE(bool nose=false) const
Definition: RecHitTools.h:64
HGCalClusteringAlgoBase::maxlayer_
unsigned int maxlayer_
Definition: HGCalClusteringAlgoBase.h:79
get
#define get
hgcal::RecHitTools::lastLayer
unsigned int lastLayer(bool nose=false) const
Definition: RecHitTools.h:68
HGCalClusteringAlgoBase::pERROR
Definition: HGCalClusteringAlgoBase.h:49
hgcal::RecHitTools::firstLayerBH
unsigned int firstLayerBH() const
Definition: RecHitTools.h:66
hgcal::RecHitTools::setGeometry
void setGeometry(CaloGeometry const &)
Definition: RecHitTools.cc:68
HGCalClusteringAlgoBase::getEventSetupPerAlgorithm
virtual void getEventSetupPerAlgorithm(const edm::EventSetup &es)
Definition: HGCalClusteringAlgoBase.h:59
HGCalClusteringAlgoBase::pWARNING
Definition: HGCalClusteringAlgoBase.h:49
HGCalClusteringAlgoBase::pDEBUG
Definition: HGCalClusteringAlgoBase.h:49
HGCalClusteringAlgoBase::scintMaxIphi_
int scintMaxIphi_
Definition: HGCalClusteringAlgoBase.h:84
hgcal::RecHitTools::getScintMaxIphi
int getScintMaxIphi() const
Definition: RecHitTools.h:72
HGCalClusteringAlgoBase::isNose_
bool isNose_
Definition: HGCalClusteringAlgoBase.h:85