CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_2_9/src/RecoLocalTracker/SubCollectionProducers/interface/PixelClusterSelectorTopBottom.h

Go to the documentation of this file.
00001 #ifndef RecoSelectors_PixelClusterSelectorTopBottom_h
00002 #define RecoSelectors_PixelClusterSelectorTopBottom_h
00003 
00004 /* \class PixelClusterSelectorTopBottom
00005 *
00006 * \author Giuseppe Cerati, INFN
00007 *
00008 *  $Date: 2011/01/14 01:24:51 $
00009 *  $Revision: 1.2 $
00010 *
00011 */
00012 
00013 #include "DataFormats/SiPixelCluster/interface/SiPixelCluster.h"
00014 
00015 #include "FWCore/Framework/interface/EDProducer.h"
00016 #include "FWCore/Framework/interface/Event.h"
00017 #include "DataFormats/Common/interface/Handle.h"
00018 #include "FWCore/Framework/interface/ESHandle.h"
00019 
00020 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00021 
00022 #include "DataFormats/SiPixelCluster/interface/SiPixelCluster.h"
00023 #include "Geometry/TrackerGeometryBuilder/interface/TrackerGeometry.h"
00024 #include "Geometry/Records/interface/TrackerDigiGeometryRecord.h"
00025 #include "Geometry/TrackerGeometryBuilder/interface/PixelGeomDetUnit.h"
00026 #include "Geometry/TrackerGeometryBuilder/interface/RectangularPixelTopology.h"
00027 #include "DataFormats/DetId/interface/DetId.h"
00028 #include "FWCore/Utilities/interface/InputTag.h"
00029 
00030 class PixelClusterSelectorTopBottom : public edm::EDProducer {
00031 
00032  public:
00033   explicit PixelClusterSelectorTopBottom( const edm::ParameterSet& cfg) :
00034     label_( cfg.getParameter<edm::InputTag>( "label" ) ),
00035     y_( cfg.getParameter<double>( "y" ) ) { produces<SiPixelClusterCollectionNew>(); }
00036   
00037   void produce( edm::Event& event, const edm::EventSetup& setup);
00038   
00039  private:
00040   edm::InputTag label_;
00041   double y_;
00042 };
00043 
00044 #endif