1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
#ifndef Muon_MuonPtFilter_h
#define Muon_MuonPtFilter_h
/** \class MuonPtFilter
*
* EDFilter to select muons above certain Pt
*
* $Date: 2012/01/21 17:11:58 $
* $Revision: 1.3 $
* \author Silvia Goy Lopez - CERN <silvia.goy.lopez@cern.ch>
*
*/
/* Base Class Headers */
#include "FWCore/Framework/interface/Frameworkfwd.h"
#include "FWCore/Framework/interface/stream/EDFilter.h"
#include "FWCore/Framework/interface/Event.h"
#include "FWCore/ParameterSet/interface/ParameterSet.h"
/* Collaborating Class Declarations */
class Propagator;
/* C++ Headers */
#include <string>
/* ====================================================================== */
/* Class MuonPtFilter Interface */
class MuonPtFilter : public edm::stream::EDFilter<> {
public:
/// Constructor
MuonPtFilter(const edm::ParameterSet &);
/// Destructorquer
~MuonPtFilter() override;
/* Operations */
bool filter(edm::Event &, const edm::EventSetup &) override;
private:
std::string theSTAMuonLabel; // label of muons
double theMinPt; // minimum pt required
};
#endif // Muon_MuonPtFilter_h
|