CMS 3D CMS Logo

SiStripClusterizerFactory.h

Go to the documentation of this file.
00001 #ifndef CommonTools_SiStripClusterization_SiStripClusterizerFactory_H
00002 #define CommonTools_SiStripClusterization_SiStripClusterizerFactory_H
00003 
00004 #include "CommonTools/SiStripClusterization/interface/SiStripClusterizerAlgo.h"
00005 #include "DataFormats/Common/interface/DetSetVector.h"
00006 #include "DataFormats/SiStripDigi/interface/SiStripDigi.h"
00007 #include "DataFormats/SiStripDigi/interface/SiStripRawDigi.h"
00008 #include "DataFormats/SiStripCluster/interface/SiStripCluster.h"
00009 #include "FWCore/Framework/interface/EventSetup.h"
00010 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00011 
00012 class SiStripDetCabling;
00013 class SiStripZeroSuppressorFactory; 
00014 
00021 class SiStripClusterizerFactory {
00022 
00023  public:
00024 
00025   typedef std::list<std::string> RegisteredAlgorithms; 
00026   
00027   SiStripClusterizerFactory( const edm::ParameterSet& );
00028   
00029   ~SiStripClusterizerFactory();
00030   
00032   void clusterize(const edm::DetSetVector<SiStripDigi>& digis, edm::DetSetVector<SiStripCluster>& clusters);
00033 
00035   void clusterize(const edm::DetSet<SiStripDigi>& digis, edm::DetSetVector<SiStripCluster>& clusters);
00036   
00038   void clusterize(const edm::DetSetVector<SiStripRawDigi>& raw_digis, edm::DetSetVector<SiStripCluster>& clusters);
00039   
00041   void clusterize(const edm::DetSet<SiStripRawDigi>& raw_digis, edm::DetSetVector<SiStripCluster>& clusters);
00042 
00044   void eventSetup(const edm::EventSetup&);
00045   
00047   inline SiStripClusterizerAlgo* const algorithm() const;
00048   
00049  private:
00050 
00051   RegisteredAlgorithms algorithms_;
00052 
00053   SiStripClusterizerAlgo* algorithm_;
00054   
00055   SiStripZeroSuppressorFactory* factory_;
00056 
00057 };
00058 
00059 SiStripClusterizerAlgo* const SiStripClusterizerFactory::algorithm() const { return algorithm_; }
00060 
00061 #endif // CommonTools_SiStripClusterization_SiStripClusterizerFactory_H

Generated on Tue Jun 9 17:25:58 2009 for CMSSW by  doxygen 1.5.4