test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
ElectronSeedProducer.h
Go to the documentation of this file.
1 #ifndef ElectronSeedProducer_h
2 #define ElectronSeedProducer_h
3 
4 //
5 // Package: RecoEgamma/ElectronTrackSeedProducers
6 // Class: ElectronSeedProducer
7 //
8 // Description: Calls ElectronSeedGenerator
9 // to find TrackingSeeds.
10 
11 
13 class SeedFilter ;
14 class EgammaHcalIsolation ;
15 class ElectronHcalHelper ;
16 
21 
25 
27 namespace edm
28  {
30  }
31 
38 
40 
42  {
43  public:
44 
45  //static void fillDescriptions( edm::ConfigurationDescriptions & ) ;
46 
47  explicit ElectronSeedProducer( const edm::ParameterSet & ) ;
48  virtual void beginRun( edm::Run const&, edm::EventSetup const & ) override final;
49  virtual void endRun( edm::Run const&, edm::EventSetup const & ) override final;
50  virtual ~ElectronSeedProducer() ;
51 
52  virtual void produce( edm::Event &, const edm::EventSetup & ) override final;
53 
54  static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
55  private:
56 
57  void filterClusters
58  ( const reco::BeamSpot & bs,
59  const edm::Handle<reco::SuperClusterCollection> & superClusters,
61  std::vector<float> & hoe1s, std::vector<float> & hoe2s, edm::Event& e, const edm::EventSetup& setup ) ;
62  void filterSeeds(edm::Event& e, const edm::EventSetup& setup, reco::SuperClusterRefVector &sclRefs);
63 
70 
73  std::unique_ptr<SeedFilter> seedFilter_;
74 
76 
77  // for the filter
78  // H/E
79  // edm::InputTag hcalRecHits_;
82  // edm::ESHandle<CaloGeometry> caloGeom_ ;
83  // unsigned long long caloGeomCacheId_ ;
85  unsigned long long caloGeomCacheId_ ;
87  unsigned long long caloTopoCacheId_;
88  // EgammaHcalIsolation * hcalIso_ ;
90  // double maxHOverE_ ;
93  double maxHBarrel_ ;
94  double maxHEndcaps_ ;
95  // double hOverEConeSize_;
96  // double hOverEHBMinE_;
97  // double hOverEHFMinE_;
98  // super cluster Et cut
99  double SCEtCut_;
100 
104 
107 
108  } ;
109 
110 #endif
111 
112 
113 
void filterClusters(const reco::BeamSpot &bs, const edm::Handle< reco::SuperClusterCollection > &superClusters, reco::SuperClusterRefVector &sclRefs, std::vector< float > &hoe1s, std::vector< float > &hoe2s, edm::Event &e, const edm::EventSetup &setup)
virtual void endRun(edm::Run const &, edm::EventSetup const &) overridefinal
virtual void beginRun(edm::Run const &, edm::EventSetup const &) overridefinal
unsigned long long caloGeomCacheId_
edm::EDGetTokenT< std::vector< reco::Vertex > > filterVtxTag_
edm::EDGetTokenT< TrajectorySeedCollection > initialSeeds_
edm::EDGetTokenT< EcalRecHitCollection > eeRecHitCollection_
edm::ESHandle< CaloTopology > caloTopo_
std::vector< TrajectorySeed > TrajectorySeedCollection
edm::EDGetTokenT< EcalRecHitCollection > ebRecHitCollection_
ElectronSeedProducer(const edm::ParameterSet &)
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
std::unique_ptr< SeedFilter > seedFilter_
edm::ParameterSet conf_
edm::ESHandle< CaloGeometry > caloGeom_
ElectronSeedGenerator * matcher_
TrajectorySeedCollection * theInitialSeedColl
edm::EDGetTokenT< reco::SuperClusterCollection > superClusters_[2]
unsigned long long caloTopoCacheId_
void filterSeeds(edm::Event &e, const edm::EventSetup &setup, reco::SuperClusterRefVector &sclRefs)
edm::EDGetTokenT< reco::BeamSpot > beamSpotTag_
ElectronHcalHelper * hcalHelper_
Definition: Run.h:43
virtual void produce(edm::Event &, const edm::EventSetup &) overridefinal