CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
EMEnrichingFilterAlgo.h
Go to the documentation of this file.
1 #ifndef EMEnrichingFilterAlgo_h
2 #define EMEnrichingFilterAlgo_h
3 
12 // system include files
13 #include <memory>
14 
15 // user include files
22 
24 
25 
27  public:
30 
31  bool filter(const edm::Event& iEvent, const edm::EventSetup& iSetup);
32 
33  private:
34  bool filterPhotonElectronSeed(float clusterthreshold,
35  float isoConeSize,
36  float hOverEMax,
37  float tkIsoMax,
38  float caloIsoMax,
39  bool requiretrackmatch,
40  const std::vector<reco::GenParticle> &genPars,
41  const std::vector<reco::GenParticle> &genParsCurved);
42 
43  std::vector<reco::GenParticle> applyBFieldCurv(const std::vector<reco::GenParticle> &genPars, const edm::EventSetup& iSetup);
44  bool filterIsoGenPar(float etmin, float conesize,const reco::GenParticleCollection &gph,
45  const reco::GenParticleCollection &gphCurved);
46  float deltaRxyAtEE(const reco::GenParticle &gp1, const reco::GenParticle &gp2);
47 
48 
49  private:
50 
51  //constants
58  float ECALENDCAPZ_;
59 
60  //parameters of the filter
61 
65  float isoConeSize_;
66  float hOverEMax_;
67  float tkIsoMax_;
68  float caloIsoMax_;
71 
72 };
73 #endif
std::vector< GenParticle > GenParticleCollection
collection of GenParticles
EMEnrichingFilterAlgo(const edm::ParameterSet &)
float deltaRxyAtEE(const reco::GenParticle &gp1, const reco::GenParticle &gp2)
int iEvent
Definition: GenABIO.cc:230
bool filterIsoGenPar(float etmin, float conesize, const reco::GenParticleCollection &gph, const reco::GenParticleCollection &gphCurved)
bool filter(const edm::Event &iEvent, const edm::EventSetup &iSetup)
std::vector< reco::GenParticle > applyBFieldCurv(const std::vector< reco::GenParticle > &genPars, const edm::EventSetup &iSetup)
bool filterPhotonElectronSeed(float clusterthreshold, float isoConeSize, float hOverEMax, float tkIsoMax, float caloIsoMax, bool requiretrackmatch, const std::vector< reco::GenParticle > &genPars, const std::vector< reco::GenParticle > &genParsCurved)