CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
SiPixelClusterProducer.h
Go to the documentation of this file.
1 #ifndef RecoLocalTracker_SiPixelClusterizer_SiPixelClusterProducer_h
2 #define RecoLocalTracker_SiPixelClusterizer_SiPixelClusterProducer_h
3 
4 //---------------------------------------------------------------------------
29 //---------------------------------------------------------------------------
30 
31 #include "PixelClusterizerBase.h"
32 
33 //#include "Geometry/CommonDetUnit/interface/TrackingGeometry.h"
34 
36 
41 
42 
48 
51 
53  public:
54  //--- Constructor, virtual destructor (just in case)
55  explicit SiPixelClusterProducer(const edm::ParameterSet& conf);
56  virtual ~SiPixelClusterProducer();
57 
58  void setupClusterizer();
59 
60  //--- The top-level event method.
61  virtual void produce(edm::Event& e, const edm::EventSetup& c) override;
62 
63  //--- Execute the algorithm(s).
67 
68  private:
71  // TO DO: maybe allow a map of pointers?
73  std::string clusterMode_; // user's choice of the clusterizer
74  PixelClusterizerBase * clusterizer_; // what we got (for now, one ptr to base class)
75  bool readyToCluster_; // needed clusterizers valid => good to go!
77 
80  };
81 
82 
83 #endif
PixelClusterizerBase * clusterizer_
#define dso_hidden
virtual void produce(Event &, EventSetup const &)=0
static std::string const input
Definition: EdmProvDump.cc:44
int32_t maxTotalClusters_
Optional limit on the total number of clusters.
EDProducer to cluster PixelDigis into SiPixelClusters.
edm::EDGetTokenT< edm::DetSetVector< PixelDigi > > tPixelDigi
SiPixelGainCalibrationServiceBase * theSiPixelGainCalibration_