CMS 3D CMS Logo

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules 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 
37 
43 
49 
53 
55 public:
56  //--- Constructor, virtual destructor (just in case)
57  explicit SiPixelClusterProducer(const edm::ParameterSet& conf);
58  ~SiPixelClusterProducer() override;
59 
60  static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
61 
62  void setupClusterizer(const edm::ParameterSet& conf);
63 
64  //--- The top-level event method.
65  void produce(edm::Event& e, const edm::EventSetup& c) override;
66 
67  //--- Execute the algorithm(s).
68  template <typename T>
70 
71 private:
77  // TO DO: maybe allow a map of pointers?
78  std::unique_ptr<SiPixelGainCalibrationServiceBase> theSiPixelGainCalibration_;
79  const std::string clusterMode_; // user's choice of the clusterizer
80  std::unique_ptr<PixelClusterizerBase> clusterizer_; // what we got (for now, one ptr to base class)
81  const TrackerTopology* tTopo_; // needed to get correct layer number
82 
84  const int32_t maxTotalClusters_;
85 };
86 
87 #endif
edm::ESGetToken< TrackerTopology, TrackerTopologyRcd > trackerTopoToken_
static std::string const input
Definition: EdmProvDump.cc:50
std::unique_ptr< PixelClusterizerBase > clusterizer_
std::unique_ptr< SiPixelGainCalibrationServiceBase > theSiPixelGainCalibration_
edm::EDPutTokenT< SiPixelClusterCollectionNew > tPutPixelClusters
const int32_t maxTotalClusters_
Optional limit on the total number of clusters.
EDProducer to cluster PixelDigis into SiPixelClusters.
#define dso_hidden
Definition: Visibility.h:12
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
edm::EDGetTokenT< edm::DetSetVector< PixelDigi > > tPixelDigi
edm::EDGetTokenT< SiPixelClusterCollectionNew > tPixelClusters
Definition: output.py:1
long double T
edm::ESGetToken< TrackerGeometry, TrackerDigiGeometryRecord > trackerGeomToken_
const TrackerTopology * tTopo_
const std::string clusterMode_