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 
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
ConfigurationDescriptions.h
Handle.h
SiPixelClusterProducer::tPixelClusters
edm::EDGetTokenT< SiPixelClusterCollectionNew > tPixelClusters
Definition: SiPixelClusterProducer.h:72
input
static const std::string input
Definition: EdmProvDump.cc:48
TrackerGeometry.h
ESHandle.h
convertSQLitetoXML_cfg.output
output
Definition: convertSQLitetoXML_cfg.py:72
edm::EDGetTokenT
Definition: EDGetToken.h:33
edm::EDPutTokenT
Definition: EDPutToken.h:33
TrackerTopology
Definition: TrackerTopology.h:16
SiPixelCluster.h
EDProducer.h
SiPixelClusterProducer::clusterMode_
const std::string clusterMode_
Definition: SiPixelClusterProducer.h:79
PixelClusterizerBase.h
PixelDigi.h
SiPixelClusterProducer::tPutPixelClusters
edm::EDPutTokenT< SiPixelClusterCollectionNew > tPutPixelClusters
Definition: SiPixelClusterProducer.h:74
TrackerTopology.h
SiPixelClusterProducer::tTopo_
const TrackerTopology * tTopo_
Definition: SiPixelClusterProducer.h:81
fillDescriptions
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
edm::ESHandle< TrackerGeometry >
relativeConstraints.geom
geom
Definition: relativeConstraints.py:72
SiPixelClusterProducer::tPixelDigi
edm::EDGetTokenT< edm::DetSetVector< PixelDigi > > tPixelDigi
Definition: SiPixelClusterProducer.h:73
dso_hidden
#define dso_hidden
Definition: Visibility.h:12
edm::ConfigurationDescriptions
Definition: ConfigurationDescriptions.h:28
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
TrackerDigiGeometryRecord.h
SiPixelClusterProducer::trackerTopoToken_
edm::ESGetToken< TrackerTopology, TrackerTopologyRcd > trackerTopoToken_
Definition: SiPixelClusterProducer.h:75
edm::ParameterSet
Definition: ParameterSet.h:47
Event.h
SiPixelClusterProducer::trackerGeomToken_
edm::ESGetToken< TrackerGeometry, TrackerDigiGeometryRecord > trackerGeomToken_
Definition: SiPixelClusterProducer.h:76
edm::stream::EDProducer
Definition: EDProducer.h:38
SiPixelClusterProducer::clusterizer_
std::unique_ptr< PixelClusterizerBase > clusterizer_
Definition: SiPixelClusterProducer.h:80
edm::EventSetup
Definition: EventSetup.h:58
DetSetVector.h
edm::ESGetToken< TrackerTopology, TrackerTopologyRcd >
InputTag.h
edmNew::DetSetVector
Definition: DetSetNew.h:13
writedatasetfile.run
run
Definition: writedatasetfile.py:27
SiPixelClusterProducer::maxTotalClusters_
const int32_t maxTotalClusters_
Optional limit on the total number of clusters.
Definition: SiPixelClusterProducer.h:84
T
long double T
Definition: Basic3DVectorLD.h:48
SiPixelClusterProducer
EDProducer to cluster PixelDigis into SiPixelClusters.
Definition: SiPixelClusterProducer.h:54
EventSetup.h
ParameterSet.h
c
auto & c
Definition: CAHitNtupletGeneratorKernelsImpl.h:46
edm::Event
Definition: Event.h:73
SiPixelClusterProducer::theSiPixelGainCalibration_
std::unique_ptr< SiPixelGainCalibrationServiceBase > theSiPixelGainCalibration_
Definition: SiPixelClusterProducer.h:78
DetSetVectorNew.h
MillePedeFileConverter_cfg.e
e
Definition: MillePedeFileConverter_cfg.py:37