CMS 3D CMS Logo

PFLayer.h

Go to the documentation of this file.
00001 #ifndef DataFormats_ParticleFlowReco_PFLayer_h
00002 #define DataFormats_ParticleFlowReco_PFLayer_h
00003 
00004 #include "DataFormats/CaloRecHit/interface/CaloID.h"
00005 
00006 
00021 class PFLayer {
00022 
00023  public:
00025   PFLayer();
00026 
00028   virtual ~PFLayer() = 0;
00029 
00031   enum Layer {PS2          = -12, 
00032               PS1          = -11,
00033               ECAL_ENDCAP  = -2,
00034               ECAL_BARREL  = -1,
00035               NONE         = 0,
00036               HCAL_BARREL1 = 1,
00037               HCAL_BARREL2 = 2,
00038               HCAL_ENDCAP  = 3,
00039               HCAL_HF      = 11 };
00040 
00041   static reco::CaloID  toCaloID( Layer layer);
00042   
00043   static Layer         fromCaloID( const reco::CaloID& id);
00044 };
00045 
00046 #endif

Generated on Tue Jun 9 17:31:22 2009 for CMSSW by  doxygen 1.5.4