CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Types | Public Member Functions | Private Member Functions | Private Attributes
HiBremRecoveryClusterAlgo Class Reference

#include <HiBremRecoveryClusterAlgo.h>

Public Types

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

Public Member Functions

 HiBremRecoveryClusterAlgo (double eb_sc_road_etasize=0.06, double eb_sc_road_phisize=0.80, double ec_sc_road_etasize=0.14, double ec_sc_road_phisize=0.40, double theSeedTransverseEnergyThreshold=0.40, double theBarrelBremEnergyThreshold=2.3, double theEndcapBremEnergyThreshold=5.7, VerbosityLevel the_verbosity=pERROR)
 
reco::SuperClusterCollection makeSuperClusters (reco::CaloClusterPtrVector &clusters)
 
void setVerbosity (VerbosityLevel the_verbosity)
 

Private Member Functions

void makeIslandSuperClusters (reco::CaloClusterPtrVector &clusters_v, double etaRoad, double phiRoad)
 
bool match (reco::CaloClusterPtr seed_p, reco::CaloClusterPtr cluster_p, double etaRoad, double phiRoad)
 

Private Attributes

double BarrelBremEnergyThreshold
 
double eb_rdeta_
 
double eb_rdphi_
 
double ec_rdeta_
 
double ec_rdphi_
 
double EndcapBremEnergyThreshold
 
double seedTransverseEnergyThreshold
 
reco::SuperClusterCollection superclusters_v
 
VerbosityLevel verbosity
 

Detailed Description

Definition at line 22 of file HiBremRecoveryClusterAlgo.h.

Member Enumeration Documentation

Constructor & Destructor Documentation

HiBremRecoveryClusterAlgo::HiBremRecoveryClusterAlgo ( double  eb_sc_road_etasize = 0.06,
double  eb_sc_road_phisize = 0.80,
double  ec_sc_road_etasize = 0.14,
double  ec_sc_road_phisize = 0.40,
double  theSeedTransverseEnergyThreshold = 0.40,
double  theBarrelBremEnergyThreshold = 2.3,
double  theEndcapBremEnergyThreshold = 5.7,
VerbosityLevel  the_verbosity = pERROR 
)
inline

Definition at line 28 of file HiBremRecoveryClusterAlgo.h.

References BarrelBremEnergyThreshold, eb_rdeta_, eb_rdphi_, ec_rdeta_, ec_rdphi_, EndcapBremEnergyThreshold, seedTransverseEnergyThreshold, and verbosity.

37  {
38  // e*_rdeta_ and e*_rdphi_ are half the total window
39  // because they correspond to one direction (positive or negative)
40  eb_rdeta_ = eb_sc_road_etasize / 2;
41  eb_rdphi_ = eb_sc_road_phisize / 2;
42  ec_rdeta_ = ec_sc_road_etasize / 2;
43  ec_rdphi_ = ec_sc_road_phisize / 2;
44 
45  seedTransverseEnergyThreshold = theSeedTransverseEnergyThreshold;
46  BarrelBremEnergyThreshold = theBarrelBremEnergyThreshold;
47  EndcapBremEnergyThreshold = theEndcapBremEnergyThreshold;
48  verbosity = the_verbosity;
49  }

Member Function Documentation

void HiBremRecoveryClusterAlgo::makeIslandSuperClusters ( reco::CaloClusterPtrVector clusters_v,
double  etaRoad,
double  phiRoad 
)
private

Definition at line 47 of file HiBremRecoveryClusterAlgo.cc.

reco::SuperClusterCollection HiBremRecoveryClusterAlgo::makeSuperClusters ( reco::CaloClusterPtrVector clusters)

Definition at line 5 of file HiBremRecoveryClusterAlgo.cc.

bool HiBremRecoveryClusterAlgo::match ( reco::CaloClusterPtr  seed_p,
reco::CaloClusterPtr  cluster_p,
double  etaRoad,
double  phiRoad 
)
private

Definition at line 155 of file HiBremRecoveryClusterAlgo.cc.

void HiBremRecoveryClusterAlgo::setVerbosity ( VerbosityLevel  the_verbosity)
inline

Definition at line 51 of file HiBremRecoveryClusterAlgo.h.

References verbosity.

52  {
53  verbosity = the_verbosity;
54  }

Member Data Documentation

double HiBremRecoveryClusterAlgo::BarrelBremEnergyThreshold
private

Definition at line 80 of file HiBremRecoveryClusterAlgo.h.

Referenced by HiBremRecoveryClusterAlgo().

double HiBremRecoveryClusterAlgo::eb_rdeta_
private

Definition at line 72 of file HiBremRecoveryClusterAlgo.h.

Referenced by HiBremRecoveryClusterAlgo().

double HiBremRecoveryClusterAlgo::eb_rdphi_
private

Definition at line 73 of file HiBremRecoveryClusterAlgo.h.

Referenced by HiBremRecoveryClusterAlgo().

double HiBremRecoveryClusterAlgo::ec_rdeta_
private

Definition at line 74 of file HiBremRecoveryClusterAlgo.h.

Referenced by HiBremRecoveryClusterAlgo().

double HiBremRecoveryClusterAlgo::ec_rdphi_
private

Definition at line 75 of file HiBremRecoveryClusterAlgo.h.

Referenced by HiBremRecoveryClusterAlgo().

double HiBremRecoveryClusterAlgo::EndcapBremEnergyThreshold
private

Definition at line 81 of file HiBremRecoveryClusterAlgo.h.

Referenced by HiBremRecoveryClusterAlgo().

double HiBremRecoveryClusterAlgo::seedTransverseEnergyThreshold
private

Definition at line 77 of file HiBremRecoveryClusterAlgo.h.

Referenced by HiBremRecoveryClusterAlgo().

reco::SuperClusterCollection HiBremRecoveryClusterAlgo::superclusters_v
private

Definition at line 83 of file HiBremRecoveryClusterAlgo.h.

VerbosityLevel HiBremRecoveryClusterAlgo::verbosity
private

Definition at line 70 of file HiBremRecoveryClusterAlgo.h.

Referenced by HiBremRecoveryClusterAlgo(), and setVerbosity().