CMS 3D CMS Logo

PFLayer.h
Go to the documentation of this file.
1 #ifndef DataFormats_ParticleFlowReco_PFLayer_h
2 #define DataFormats_ParticleFlowReco_PFLayer_h
3 
5 
20 class PFLayer {
21 public:
23  PFLayer() {}
24 
26  ~PFLayer() {}
27 
29  enum Layer {
30  PS2 = -12,
31  PS1 = -11,
34  NONE = 0,
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::toCaloID
static reco::CaloID toCaloID(Layer layer)
Definition: PFLayer.cc:11
PFLayer::HCAL_ENDCAP
Definition: PFLayer.h:37
CaloID.h
PFLayer::~PFLayer
~PFLayer()
destructor
Definition: PFLayer.h:26
PFLayer::ECAL_BARREL
Definition: PFLayer.h:33
PFLayer::PS1
Definition: PFLayer.h:31
PFLayer::HCAL_BARREL2
Definition: PFLayer.h:36
PFLayer::HF_EM
Definition: PFLayer.h:38
PFLayer::HCAL_BARREL1
Definition: PFLayer.h:35
PFLayer::HGCAL
Definition: PFLayer.h:40
PFLayer::NONE
Definition: PFLayer.h:34
PFLayer::Layer
Layer
layer definition
Definition: PFLayer.h:29
PFLayer::HF_HAD
Definition: PFLayer.h:39
PFLayer
layer definition for PFRecHit and PFCluster
Definition: PFLayer.h:20
reco::CaloID
Definition: CaloID.h:17
PFLayer::ECAL_ENDCAP
Definition: PFLayer.h:32
PFLayer::PS2
Definition: PFLayer.h:30
PFLayer::fromCaloID
static Layer fromCaloID(const reco::CaloID &id)
Definition: PFLayer.cc:38
PFLayer::PFLayer
PFLayer()
constructor
Definition: PFLayer.h:23