DataFormats
ParticleFlowReco
interface
PFLayer.h
Go to the documentation of this file.
1
#ifndef DataFormats_ParticleFlowReco_PFLayer_h
2
#define DataFormats_ParticleFlowReco_PFLayer_h
3
4
#include "
DataFormats/CaloRecHit/interface/CaloID.h
"
5
20
class
PFLayer
{
21
public
:
23
PFLayer
() {}
24
26
~PFLayer
() {}
27
29
enum
Layer
{
30
PS2
= -12,
31
PS1
= -11,
32
ECAL_ENDCAP
= -2,
33
ECAL_BARREL
= -1,
34
NONE
= 0,
35
HCAL_BARREL1
= 1,
36
HCAL_BARREL2
= 2,
37
HCAL_ENDCAP
= 3,
38
HF_EM
= 11,
39
HF_HAD
= 12,
40
HGCAL
= 13
// HGCal, could be EM or HAD
41
};
42
43
static
reco::CaloID
toCaloID
(
Layer
layer
);
44
45
static
Layer
fromCaloID
(
const
reco::CaloID
&
id
);
46
};
47
48
#endif
PFLayer::HF_EM
Definition:
PFLayer.h:38
PFLayer::HF_HAD
Definition:
PFLayer.h:39
PFLayer::HGCAL
Definition:
PFLayer.h:40
reco::CaloID
Definition:
CaloID.h:17
CaloID.h
pixelTopology::layer
constexpr std::array< uint8_t, layerIndexSize< TrackerTraits > > layer
Definition:
SimplePixelTopology.h:90
PFLayer::ECAL_ENDCAP
Definition:
PFLayer.h:32
PFLayer
layer definition for PFRecHit and PFCluster
Definition:
PFLayer.h:20
PFLayer::PS2
Definition:
PFLayer.h:30
PFLayer::Layer
Layer
layer definition
Definition:
PFLayer.h:29
PFLayer::HCAL_ENDCAP
Definition:
PFLayer.h:37
PFLayer::toCaloID
static reco::CaloID toCaloID(Layer layer)
Definition:
PFLayer.cc:11
PFLayer::PFLayer
PFLayer()
constructor
Definition:
PFLayer.h:23
PFLayer::HCAL_BARREL1
Definition:
PFLayer.h:35
PFLayer::PS1
Definition:
PFLayer.h:31
PFLayer::fromCaloID
static Layer fromCaloID(const reco::CaloID &id)
Definition:
PFLayer.cc:38
PFLayer::~PFLayer
~PFLayer()
destructor
Definition:
PFLayer.h:26
PFLayer::NONE
Definition:
PFLayer.h:34
PFLayer::HCAL_BARREL2
Definition:
PFLayer.h:36
PFLayer::ECAL_BARREL
Definition:
PFLayer.h:33
Generated for CMSSW Reference Manual by
1.8.14