test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
PFLayer.h
Go to the documentation of this file.
1 #ifndef DataFormats_ParticleFlowReco_PFLayer_h
2 #define DataFormats_ParticleFlowReco_PFLayer_h
3 
5 
6 
21 class PFLayer {
22 
23  public:
25  PFLayer() {}
26 
28  ~PFLayer() {}
29 
31  enum Layer {PS2 = -12,
32  PS1 = -11,
35  NONE = 0,
39  HF_EM = 11,
40  HF_HAD = 12,
41  HGCAL = 13 // HGCal, could be EM or HAD
42  };
43 
44  static reco::CaloID toCaloID( Layer layer);
45 
46  static Layer fromCaloID( const reco::CaloID& id);
47 };
48 
49 #endif
layer definition for PFRecHit and PFCluster
Definition: PFLayer.h:21
Layer
layer definition
Definition: PFLayer.h:31
static reco::CaloID toCaloID(Layer layer)
Definition: PFLayer.cc:11
PFLayer()
constructor
Definition: PFLayer.h:25
static Layer fromCaloID(const reco::CaloID &id)
Definition: PFLayer.cc:29
~PFLayer()
destructor
Definition: PFLayer.h:28