CMS 3D CMS Logo

Phase2ITPixelClusterProducer.h
Go to the documentation of this file.
1 #ifndef RecoLocalTracker_Phase2ITPixelClusterizer_Phase2ITPixelClusterProducer_h
2 #define RecoLocalTracker_Phase2ITPixelClusterizer_Phase2ITPixelClusterProducer_h
3 
4 //---------------------------------------------------------------------------
28 //---------------------------------------------------------------------------
29 
30 #include "Phase2ITPixelClusterizerBase.h"
31 
32 //#include "Geometry/CommonDetUnit/interface/TrackingGeometry.h"
33 
35 
45 
48 
50  public:
51  //--- Constructor, virtual destructor (just in case)
52  explicit Phase2ITPixelClusterProducer(const edm::ParameterSet& conf);
54 
55  void setupClusterizer();
56 
57  //--- The top-level event method.
58  virtual void produce(edm::Event& e, const edm::EventSetup& c) override;
59 
60  //--- Execute the algorithm(s).
64 
65  private:
68  // TO DO: maybe allow a map of pointers?
70  std::string clusterMode_; // user's choice of the clusterizer
71  Phase2ITPixelClusterizerBase * clusterizer_; // what we got (for now, one ptr to base class)
72  bool readyToCluster_; // needed clusterizers valid => good to go!
74 
77  };
78 
79 
80 #endif
#define dso_hidden
edm::EDGetTokenT< edm::DetSetVector< PixelDigi > > tPixelDigi
int32_t maxTotalClusters_
Optional limit on the total number of clusters.
static std::string const input
Definition: EdmProvDump.cc:44
SiPixelGainCalibrationServiceBase * theSiPixelGainCalibration_
Phase2ITPixelClusterizerBase * clusterizer_
EDProducer to cluster PixelDigis into Phase2ITPixelClusters.