CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
HLTElectronPixelMatchFilter.h
Go to the documentation of this file.
1 #ifndef HLTElectronPixelMatchFilter_h
2 #define HLTElectronPixelMatchFilter_h
3 
14 namespace edm {
16 }
17 
19 
20  public:
23  virtual bool hltFilter(edm::Event&, const edm::EventSetup&, trigger::TriggerFilterObjectWithRefs & filterproduct) const override;
24  static void fillDescriptions(edm::ConfigurationDescriptions & descriptions);
25 
26  private:
27  float calDPhi1Sq(reco::ElectronSeedCollection::const_iterator seed, int charge)const;
28  float calDPhi2Sq(reco::ElectronSeedCollection::const_iterator seed, int charge)const;
29  float calDZ2Sq(reco::ElectronSeedCollection::const_iterator seed, int charge)const;
31  reco::SuperClusterRef& candSCRef)const;
32 
33 
34  edm::InputTag candTag_; // input tag identifying product contains filtered egammas
36 
37  edm::InputTag L1IsoPixelSeedsTag_; // input tag for the pixel seed - supercluster map
38  //edm::InputTag L1IsoPixelmapendcapTag_; // input tag for the pixel seed - supercluster map
40 
41  edm::InputTag L1NonIsoPixelSeedsTag_; // input tag for the pixel seed - supercluster map
42  //edm::InputTag L1NonIsoPixelmapendcapTag_; // input tag for the pixel seed - supercluster map
44 
45  double npixelmatchcut_; // number of pixelmatch hits
46  int ncandcut_; // number of electrons required
47 
51 
52 
53  // cuts on s2
57 
58  //parameters to create s (divide by param)
59  float sPhi1B_ ;
60  float sPhi1I_ ;
61  float sPhi1F_ ;
62  float sPhi2B_ ;
63  float sPhi2I_ ;
64  float sPhi2F_ ;
65  float sZ2B_ ;
66  float sR2I_ ;
67  float sR2F_ ;
68 
70  bool useS_ ;
71 };
72 
73 #endif //HLTElectronPixelMatchFilter_h
74 
75 
float calDPhi1Sq(reco::ElectronSeedCollection::const_iterator seed, int charge) const
edm::EDGetTokenT< trigger::TriggerFilterObjectWithRefs > candToken_
edm::EDGetTokenT< reco::ElectronSeedCollection > L1IsoPixelSeedsToken_
HLTElectronPixelMatchFilter(const edm::ParameterSet &)
virtual bool hltFilter(edm::Event &, const edm::EventSetup &, trigger::TriggerFilterObjectWithRefs &filterproduct) const override
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
edm::EDGetTokenT< reco::ElectronSeedCollection > L1NonIsoPixelSeedsToken_
int getNrOfMatches(edm::Handle< reco::ElectronSeedCollection > &eleSeeds, reco::SuperClusterRef &candSCRef) const
float calDZ2Sq(reco::ElectronSeedCollection::const_iterator seed, int charge) const
float calDPhi2Sq(reco::ElectronSeedCollection::const_iterator seed, int charge) const