PageRenderTime 18ms CodeModel.GetById 11ms app.highlight 4ms RepoModel.GetById 1ms app.codeStats 0ms

/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
 4/** \class EgammaProbeSelector
 5 *
 6 *  
 7 *  Filter to select events passing 
 8 *  offline jets and superclusters
 9 *
10 *
11 */
12
13// system include files
14#include <memory>
15
16// user include files
17#include "FWCore/Framework/interface/Frameworkfwd.h"
18#include "FWCore/Framework/interface/EDFilter.h"
19
20#include "FWCore/Framework/interface/Event.h"
21#include "FWCore/Framework/interface/MakerMacros.h"
22#include "FWCore/ParameterSet/interface/ParameterSet.h"
23#include "FWCore/Utilities/interface/InputTag.h"
24
25
26
27
28#include <math.h>
29
30class EgammaProbeSelector : public edm::EDFilter {
31
32    public:
33        explicit EgammaProbeSelector(const edm::ParameterSet&);
34        ~EgammaProbeSelector();
35
36  	virtual bool filter(edm::Event&, const edm::EventSetup& );
37
38   private:
39	bool 		debug;
40
41	edm::InputTag	jetLabel;
42        int 		minNumberOfjets;
43        double 		jetEtMin;
44        double 		jetEtaMin;
45        double 		jetEtaMax;
46
47	edm::InputTag	scLabel;
48        edm::InputTag        scEELabel;
49        int 		minNumberOfSuperClusters;
50        double 		scEtMin;
51        double 		scEtaMin;
52        double 		scEtaMax;
53
54        int nEvents, nSelectedEvents;
55};
56#endif
57
58
59