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 
26 
28 namespace edm
29  {
31  }
32 
39 
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  private:
55 
56  void filterClusters
57  ( const reco::BeamSpot & bs,
58  const edm::Handle<reco::SuperClusterCollection> & superClusters,
59  /*HBHERecHitMetaCollection*mhbhe,*/ reco::SuperClusterRefVector &sclRefs,
60  std::vector<float> & hoe1s, std::vector<float> & hoe2s ) ;
62 
67 
71 
73 
74  // for the filter
75 
76  // H/E
77  // edm::InputTag hcalRecHits_;
80  // edm::ESHandle<CaloGeometry> caloGeom_ ;
81  // unsigned long long caloGeomCacheId_ ;
83  unsigned long long caloGeomCacheId_ ;
85  unsigned long long caloTopoCacheId_;
86  // EgammaHcalIsolation * hcalIso_ ;
88  // HBHERecHitMetaCollection * mhbhe_ ;
89  // double maxHOverE_ ;
92  double maxHBarrel_ ;
93  double maxHEndcaps_ ;
94  // double hOverEConeSize_;
95  // double hOverEHBMinE_;
96  // double hOverEHFMinE_;
97 
98  // super cluster Et cut
99  double SCEtCut_;
100 
101 
104 
105  } ;
106 
107 #endif
108 
109 
110 
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::ESHandle< CaloTopology > caloTopo_
void filterClusters(const reco::BeamSpot &bs, const edm::Handle< reco::SuperClusterCollection > &superClusters, reco::SuperClusterRefVector &sclRefs, std::vector< float > &hoe1s, std::vector< float > &hoe2s)
std::vector< TrajectorySeed > TrajectorySeedCollection
ElectronSeedProducer(const edm::ParameterSet &)
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_
void setup(std::vector< TH2F > &depth, std::string name, std::string units="")
Definition: Run.h:41
virtual void produce(edm::Event &, const edm::EventSetup &) overridefinal