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
46
47
48
49
50
51
52
53
54
55
56
|
#ifndef HLTMuonL1TFilter_h
#define HLTMuonL1TFilter_h
/* \class HLTMuonL1TFilter
*
* This is an HLTFilter implementing filtering on L1T Stage2 GMT objects
*
* \author: V. Rekovic
*/
// user include files
#include "HLTrigger/HLTcore/interface/HLTFilter.h"
#include "DataFormats/L1Trigger/interface/Muon.h"
class HLTMuonL1TFilter : public HLTFilter {
public:
explicit HLTMuonL1TFilter(const edm::ParameterSet&);
~HLTMuonL1TFilter() override;
static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
bool hltFilter(edm::Event&,
const edm::EventSetup&,
trigger::TriggerFilterObjectWithRefs& filterproduct) const override;
private:
//input tag identifying the product containing muons
edm::InputTag candTag_;
edm::EDGetTokenT<l1t::MuonBxCollection> candToken_;
/// input tag identifying the product containing refs to muons passing the previous level
edm::InputTag previousCandTag_;
edm::EDGetTokenT<trigger::TriggerFilterObjectWithRefs> previousCandToken_;
/// max Eta cut
const double maxEta_;
/// pT threshold
const double minPt_;
/// max dRs for L1 candidate matching
const double maxDR_;
const double maxDR2_;
/// Quality codes:
/// to be updated with new L1 quality definitions
int qualityBitMask_;
/// min N objects
const double minN_;
/// use central bx only muons
const bool centralBxOnly_;
};
#endif //HLTMuonL1TFilter_h
|