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 
42 
43 
49 
52 
53 
54 
55 namespace cms
56 {
57 
59  public:
60  //--- Constructor, virtual destructor (just in case)
62  virtual ~SiPixelClusterProducer();
63 
64  void setupClusterizer();
65 
66  // Begin Job
67  //virtual void beginJob( const edm::EventSetup& );
68  virtual void beginJob( );
69 
70  //--- The top-level event method.
71  virtual void produce(edm::Event& e, const edm::EventSetup& c);
72 
73  //--- Execute the algorithm(s).
77 
78  private:
80  // TO DO: maybe allow a map of pointers?
82  std::string clusterMode_; // user's choice of the clusterizer
83  PixelClusterizerBase * clusterizer_; // what we got (for now, one ptr to base class)
84  bool readyToCluster_; // needed clusterizers valid => good to go!
86 
89  };
90 }
91 
92 
93 #endif
PixelClusterizerBase * clusterizer_
tuple conf
Definition: dbtoconf.py:185
tuple input
Definition: collect_tpl.py:10
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_