CMS 3D CMS Logo

SeedingRegionByTracks.h
Go to the documentation of this file.
1 // Author: Felice Pantaleo,Marco Rovere - felice.pantaleo@cern.ch, marco.rovere@cern.ch
2 // Date: 09/2018
3 
4 #ifndef RecoHGCal_TICL_SeedingRegionByTracks_h
5 #define RecoHGCal_TICL_SeedingRegionByTracks_h
6 #include <memory> // unique_ptr
7 #include <string>
9 
29 
30 namespace ticl {
32  public:
34  ~SeedingRegionByTracks() override;
35 
36  void initialize(const edm::EventSetup& es) override;
37 
38  void makeRegions(const edm::Event& ev, const edm::EventSetup& es, std::vector<TICLSeedingRegion>& result) override;
39 
41 
42  private:
43  void buildFirstLayers();
44 
46  std::once_flag initializeGeometry_;
53  std::unique_ptr<GeomDet> firstDisk_[2];
57  };
58 } // namespace ticl
59 #endif
edm::ESHandle< MagneticField > bfield_
edm::ESGetToken< HGCalDDDConstants, IdealGeometryRecord > hdc_token_
edm::ESGetToken< Propagator, TrackingComponentsRecord > propagator_token_
static void fillPSetDescription(edm::ParameterSetDescription &desc)
const HGCalDDDConstants * hgcons_
edm::EDGetTokenT< reco::TrackCollection > tracks_token_
edm::ESHandle< Propagator > propagator_
const StringCutObjectSelector< reco::Track > cutTk_
edm::ESGetToken< MagneticField, IdealMagneticFieldRecord > bfield_token_
SeedingRegionByTracks(const edm::ParameterSet &conf, edm::ConsumesCollector &sumes)
Definition: Common.h:10
std::unique_ptr< GeomDet > firstDisk_[2]
void initialize(const edm::EventSetup &es) override
void makeRegions(const edm::Event &ev, const edm::EventSetup &es, std::vector< TICLSeedingRegion > &result) override