CMS 3D CMS Logo

TrackingRegionEDProducerT.h
Go to the documentation of this file.
1 #ifndef RecoTracker_TkTrackingRegions_TrackingRegionEDProducerT_H
2 #define RecoTracker_TkTrackingRegions_TrackingRegionEDProducerT_H
3 
8 
10 
11 #include <memory>
12 #include <vector>
13 
14 template <typename T_TrackingRegionProducer>
16 public:
18  : regionsPutToken_{produces()}, regionProducer_(iConfig, consumesCollector()) {}
19 
20  ~TrackingRegionEDProducerT() override = default;
21 
22  static void fillDescriptions(edm::ConfigurationDescriptions& descriptions) {
24  }
25 
26  void produce(edm::Event& iEvent, const edm::EventSetup& iSetup) override {
27  auto regions = regionProducer_.regions(iEvent, iSetup);
29  }
30 
31 private:
33  T_TrackingRegionProducer regionProducer_;
34 };
35 
36 #endif
edm::EDPutTokenT< std::vector< std::unique_ptr< TrackingRegion > > > regionsPutToken_
T_TrackingRegionProducer regionProducer_
~TrackingRegionEDProducerT() override=default
TrackingRegionEDProducerT(const edm::ParameterSet &iConfig)
int iEvent
Definition: GenABIO.cc:224
void produce(edm::Event &iEvent, const edm::EventSetup &iSetup) override
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
def move(src, dest)
Definition: eostools.py:511