CMS 3D CMS Logo

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 
42 
48 
52 
54  public:
55  //--- Constructor, virtual destructor (just in case)
56  explicit SiPixelClusterProducer(const edm::ParameterSet& conf);
57  ~SiPixelClusterProducer() override;
58 
59  static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
60 
61  void setupClusterizer(const edm::ParameterSet& conf);
62 
63  //--- The top-level event method.
64  void produce(edm::Event& e, const edm::EventSetup& c) override;
65 
66  //--- Execute the algorithm(s).
67  template<typename T>
68  void run(const T & input,
71 
72  private:
76  // TO DO: maybe allow a map of pointers?
77  std::unique_ptr<SiPixelGainCalibrationServiceBase> theSiPixelGainCalibration_;
78  const std::string clusterMode_; // user's choice of the clusterizer
79  std::unique_ptr<PixelClusterizerBase> clusterizer_; // what we got (for now, one ptr to base class)
80  const TrackerTopology* tTopo_; // needed to get correct layer number
81 
83  const int32_t maxTotalClusters_;
84  };
85 
86 
87 #endif
static std::string const input
Definition: EdmProvDump.cc:48
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
long double T
const TrackerTopology * tTopo_
const std::string clusterMode_