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 
44 
45  static Layer fromCaloID(const reco::CaloID& id);
46 };
47 
48 #endif
constexpr std::array< uint8_t, layerIndexSize< TrackerTraits > > layer
layer definition for PFRecHit and PFCluster
Definition: PFLayer.h:20
Layer
layer definition
Definition: PFLayer.h:29
static reco::CaloID toCaloID(Layer layer)
Definition: PFLayer.cc:11
PFLayer()
constructor
Definition: PFLayer.h:23
static Layer fromCaloID(const reco::CaloID &id)
Definition: PFLayer.cc:38
~PFLayer()
destructor
Definition: PFLayer.h:26