/EgammaAnalysis/CSA07Skims/interface/EgammaProbeSelector.h

https://github.com/aivanov-cern/cmssw · C Header · 59 lines · 31 code · 18 blank · 10 comment · 0 complexity · 64991adccbf21d2c9bb6672af06cbaf8 MD5 · raw file

  1. #ifndef EgammaProbeSelector_h
  2. #define EgammaProbeSelector_h
  3. /** \class EgammaProbeSelector
  4. *
  5. *
  6. * Filter to select events passing
  7. * offline jets and superclusters
  8. *
  9. *
  10. */
  11. // system include files
  12. #include <memory>
  13. // user include files
  14. #include "FWCore/Framework/interface/Frameworkfwd.h"
  15. #include "FWCore/Framework/interface/EDFilter.h"
  16. #include "FWCore/Framework/interface/Event.h"
  17. #include "FWCore/Framework/interface/MakerMacros.h"
  18. #include "FWCore/ParameterSet/interface/ParameterSet.h"
  19. #include "FWCore/Utilities/interface/InputTag.h"
  20. #include <math.h>
  21. class EgammaProbeSelector : public edm::EDFilter {
  22. public:
  23. explicit EgammaProbeSelector(const edm::ParameterSet&);
  24. ~EgammaProbeSelector();
  25. virtual bool filter(edm::Event&, const edm::EventSetup& );
  26. private:
  27. bool debug;
  28. edm::InputTag jetLabel;
  29. int minNumberOfjets;
  30. double jetEtMin;
  31. double jetEtaMin;
  32. double jetEtaMax;
  33. edm::InputTag scLabel;
  34. edm::InputTag scEELabel;
  35. int minNumberOfSuperClusters;
  36. double scEtMin;
  37. double scEtaMin;
  38. double scEtaMax;
  39. int nEvents, nSelectedEvents;
  40. };
  41. #endif