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>
69 
70 private:
74  // TO DO: maybe allow a map of pointers?
75  std::unique_ptr<SiPixelGainCalibrationServiceBase> theSiPixelGainCalibration_;
76  const std::string clusterMode_; // user's choice of the clusterizer
77  std::unique_ptr<PixelClusterizerBase> clusterizer_; // what we got (for now, one ptr to base class)
78  const TrackerTopology* tTopo_; // needed to get correct layer number
79 
81  const int32_t maxTotalClusters_;
82 };
83 
84 #endif
ConfigurationDescriptions.h
Handle.h
SiPixelClusterProducer::tPixelClusters
edm::EDGetTokenT< SiPixelClusterCollectionNew > tPixelClusters
Definition: SiPixelClusterProducer.h:71
input
static const std::string input
Definition: EdmProvDump.cc:48
TrackerGeometry.h
ESHandle.h
convertSQLitetoXML_cfg.output
output
Definition: convertSQLitetoXML_cfg.py:32
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:76
PixelClusterizerBase.h
PixelDigi.h
SiPixelClusterProducer::tPutPixelClusters
edm::EDPutTokenT< SiPixelClusterCollectionNew > tPutPixelClusters
Definition: SiPixelClusterProducer.h:73
TrackerTopology.h
SiPixelClusterProducer::tTopo_
const TrackerTopology * tTopo_
Definition: SiPixelClusterProducer.h:78
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:72
dso_hidden
#define dso_hidden
Definition: Visibility.h:12
edm::ConfigurationDescriptions
Definition: ConfigurationDescriptions.h:28
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
edm::ParameterSet
Definition: ParameterSet.h:36
Event.h
edm::stream::EDProducer
Definition: EDProducer.h:38
SiPixelClusterProducer::clusterizer_
std::unique_ptr< PixelClusterizerBase > clusterizer_
Definition: SiPixelClusterProducer.h:77
edm::EventSetup
Definition: EventSetup.h:57
DetSetVector.h
HltBtagPostValidation_cff.c
c
Definition: HltBtagPostValidation_cff.py:31
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:81
T
long double T
Definition: Basic3DVectorLD.h:48
SiPixelClusterProducer
EDProducer to cluster PixelDigis into SiPixelClusters.
Definition: SiPixelClusterProducer.h:53
EventSetup.h
ParameterSet.h
edm::Event
Definition: Event.h:73
SiPixelClusterProducer::theSiPixelGainCalibration_
std::unique_ptr< SiPixelGainCalibrationServiceBase > theSiPixelGainCalibration_
Definition: SiPixelClusterProducer.h:75
DetSetVectorNew.h
MillePedeFileConverter_cfg.e
e
Definition: MillePedeFileConverter_cfg.py:37