CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_14/src/RecoLocalTracker/SubCollectionProducers/interface/StripClusterSelectorTopBottom.h

Go to the documentation of this file.
00001 #ifndef RecoSelectors_StripClusterSelectorTopBottom_h
00002 #define RecoSelectors_StripClusterSelectorTopBottom_h
00003 
00004 /* \class StripClusterSelectorTopBottom
00005 *
00006 * \author Giuseppe Cerati, INFN
00007 *
00008 *  $Date: 2009/08/18 14:10:32 $
00009 *  $Revision: 1.1 $
00010 *
00011 */
00012 
00013 #include "DataFormats/SiStripCluster/interface/SiStripCluster.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/SiStripCluster/interface/SiStripCluster.h"
00023 #include "Geometry/TrackerGeometryBuilder/interface/TrackerGeometry.h"
00024 #include "Geometry/Records/interface/TrackerDigiGeometryRecord.h"
00025 #include "Geometry/TrackerGeometryBuilder/interface/StripGeomDetUnit.h"
00026 #include "Geometry/CommonTopologies/interface/StripTopology.h"
00027 #include "DataFormats/DetId/interface/DetId.h"
00028 #include "FWCore/Utilities/interface/InputTag.h"
00029 #include "DataFormats/Common/interface/DetSetVectorNew.h"
00030 
00031 class StripClusterSelectorTopBottom : public edm::EDProducer {
00032 
00033  public:
00034   explicit StripClusterSelectorTopBottom( const edm::ParameterSet& cfg) :
00035     label_( cfg.getParameter<edm::InputTag>( "label" ) ),
00036     y_( cfg.getParameter<double>( "y" ) ) { produces<edmNew::DetSetVector<SiStripCluster> >(); }
00037   
00038   void produce( edm::Event& event, const edm::EventSetup& setup);
00039   
00040  private:
00041   edm::InputTag label_;
00042   double y_;
00043 };
00044 
00045 #endif