src
RecoEgamma
EgammaTools
interface
HGCalClusterTools.h
Go to the documentation of this file.
1
#ifndef RecoEgamma_EgammaTools_HGCalClusterTools_h
2
#define RecoEgamma_EgammaTools_HGCalClusterTools_h
3
4
#include "
DataFormats/CaloRecHit/interface/CaloClusterFwd.h
"
5
#include <vector>
6
7
class
HGCalClusterTools
{
8
public
:
9
enum class
EType
{
ET
,
ENERGY
};
10
11
static
float
energyInCone
(
const
float
eta
,
12
const
float
phi
,
13
const
std::vector<reco::CaloCluster>&
layerClusters
,
14
const
float
minDR
,
15
const
float
maxDR
,
16
const
float
minEt
,
17
const
float
minEnergy
,
18
const
std::vector<DetId::Detector>& subDets,
19
const
HGCalClusterTools::EType
& eType =
EType::ENERGY
);
20
21
static
float
hadEnergyInCone
(
const
float
eta
,
22
const
float
phi
,
23
const
std::vector<reco::CaloCluster>&
layerClusters
,
24
const
float
minDR
,
25
const
float
maxDR
,
26
const
float
minEt
,
27
const
float
minEnergy
,
28
const
HGCalClusterTools::EType
& eType =
EType::ENERGY
) {
29
return
energyInCone
(
30
eta
,
phi
,
layerClusters
,
minDR
,
maxDR
,
minEt
,
minEnergy
, {
DetId::HGCalHSi
,
DetId::HGCalHSc
}, eType);
31
}
32
static
float
emEnergyInCone
(
const
float
eta
,
33
const
float
phi
,
34
const
std::vector<reco::CaloCluster>&
layerClusters
,
35
const
float
minDR
,
36
const
float
maxDR
,
37
const
float
minEt
,
38
const
float
minEnergy
,
39
const
HGCalClusterTools::EType
& eType =
EType::ENERGY
) {
40
return
energyInCone
(
eta
,
phi
,
layerClusters
,
minDR
,
maxDR
,
minEt
,
minEnergy
, {
DetId::HGCalEE
}, eType);
41
}
42
};
43
44
#endif
HGCalClusterTools::EType::ET
hltEgammaHGCALIDVarsL1Seeded_cfi.layerClusters
layerClusters
Definition:
hltEgammaHGCALIDVarsL1Seeded_cfi.py:5
PVValHelper::eta
Definition:
PVValidationHelpers.h:70
HGCalClusterTools::emEnergyInCone
static float emEnergyInCone(const float eta, const float phi, const std::vector< reco::CaloCluster > &layerClusters, const float minDR, const float maxDR, const float minEt, const float minEnergy, const HGCalClusterTools::EType &eType=EType::ENERGY)
Definition:
HGCalClusterTools.h:32
DDAxes::phi
HGCalClusterTools::energyInCone
static float energyInCone(const float eta, const float phi, const std::vector< reco::CaloCluster > &layerClusters, const float minDR, const float maxDR, const float minEt, const float minEnergy, const std::vector< DetId::Detector > &subDets, const HGCalClusterTools::EType &eType=EType::ENERGY)
Definition:
HGCalClusterTools.cc:7
DetId::HGCalHSi
Definition:
DetId.h:33
particleFlowClusterECALTimeSelected_cfi.minEnergy
minEnergy
Definition:
particleFlowClusterECALTimeSelected_cfi.py:9
CaloClusterFwd.h
EgHLTOffEleSelection_cfi.minEt
minEt
Definition:
EgHLTOffEleSelection_cfi.py:10
HGCalClusterTools::EType::ENERGY
HGCalClusterTools
Definition:
HGCalClusterTools.h:7
DetId::HGCalEE
Definition:
DetId.h:32
HGCalClusterTools::EType
EType
Definition:
HGCalClusterTools.h:9
L1TPhase2MuonOffline_cfi.maxDR
maxDR
Definition:
L1TPhase2MuonOffline_cfi.py:51
HLT_2024v11_cff.minDR
minDR
Definition:
HLT_2024v11_cff.py:24320
DetId::HGCalHSc
Definition:
DetId.h:34
HGCalClusterTools::hadEnergyInCone
static float hadEnergyInCone(const float eta, const float phi, const std::vector< reco::CaloCluster > &layerClusters, const float minDR, const float maxDR, const float minEt, const float minEnergy, const HGCalClusterTools::EType &eType=EType::ENERGY)
Definition:
HGCalClusterTools.h:21
Generated for CMSSW Reference Manual by
1.8.14