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 
32 
33 //#include "Geometry/CommonDetUnit/interface/TrackingGeometry.h"
34 
36 
41 
42 
48 
51 
52 
53 
54 namespace cms
55 {
56 
58  public:
59  //--- Constructor, virtual destructor (just in case)
61  virtual ~SiPixelClusterProducer();
62 
63  void setupClusterizer();
64 
65  // Begin Job
66  //virtual void beginJob( const edm::EventSetup& );
67  virtual void beginJob( );
68 
69  //--- The top-level event method.
70  virtual void produce(edm::Event& e, const edm::EventSetup& c);
71 
72  //--- Execute the algorithm(s).
76 
77  private:
79  // TO DO: maybe allow a map of pointers?
81  std::string clusterMode_; // user's choice of the clusterizer
82  PixelClusterizerBase * clusterizer_; // what we got (for now, one ptr to base class)
83  bool readyToCluster_; // needed clusterizers valid => good to go!
85 
88  };
89 }
90 
91 
92 #endif
PixelClusterizerBase * clusterizer_
tuple conf
Definition: dbtoconf.py:185
SiPixelClusterProducer(const edm::ParameterSet &conf)
Constructor: set the ParameterSet and defer all thinking to setupClusterizer().
void run(const edm::DetSetVector< PixelDigi > &input, edm::ESHandle< TrackerGeometry > &geom, edmNew::DetSetVector< SiPixelCluster > &output)
Iterate over DetUnits, and invoke the PixelClusterizer on each.
virtual void produce(edm::Event &e, const edm::EventSetup &c)
The &quot;Event&quot; entrypoint: gets called by framework for every event.
int32_t maxTotalClusters_
Optional limit on the total number of clusters.
SiPixelGainCalibrationServiceBase * theSiPixelGainCalibration_