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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
|
#ifndef HLTMuonL2PreFilter_h
#define HLTMuonL2PreFilter_h
/** \class HLTMuonL2PreFilter
*
*
* This class is an HLTFilter (-> EDFilter) implementing a first
* filtering for HLT muons
*
* \author J. Alcaraz
*
*/
#include "HLTrigger/HLTcore/interface/HLTFilter.h"
#include "DataFormats/BeamSpot/interface/BeamSpot.h"
#include "DataFormats/RecoCandidate/interface/RecoChargedCandidateFwd.h"
#include "HLTMuonL2ToL1Map.h"
namespace edm {
class ConfigurationDescriptions;
}
class HLTMuonL2PreFilter : public HLTFilter {
public:
explicit HLTMuonL2PreFilter(const edm::ParameterSet&);
~HLTMuonL2PreFilter() override;
static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
bool hltFilter(edm::Event&,
const edm::EventSetup&,
trigger::TriggerFilterObjectWithRefs& filterproduct) const override;
private:
/// input tag of the beam spot
edm::InputTag beamSpotTag_;
edm::EDGetTokenT<reco::BeamSpot> beamSpotToken_;
/// input tag of L2 muons
edm::InputTag candTag_;
edm::EDGetTokenT<reco::RecoChargedCandidateCollection> candToken_;
/// input tag of the preceeding L1 filter in the path
edm::InputTag previousCandTag_;
edm::EDGetTokenT<trigger::TriggerFilterObjectWithRefs> previousCandToken_;
/// input tag of the map from the L2 seed to the sister L2 seeds of cleaned tracks
edm::InputTag seedMapTag_;
edm::EDGetTokenT<SeedMap> seedMapToken_;
/// minimum number of muons to fire the trigger
int minN_;
/// maxEta cut
double maxEta_;
/// |eta| bins for minNstations cut
/// (#bins must match #minNstations cuts and #minNhits cuts)
std::vector<double> absetaBins_;
/// minimum number of muon stations used
std::vector<int> minNstations_;
/// minimum number of valid muon hits
std::vector<int> minNhits_;
/// choose whether to apply cut on number of chambers (DT+CSC)
bool cutOnChambers_;
/// minimum number of valid chambers
std::vector<int> minNchambers_;
/// cut on impact parameter wrt to the beam spot
double maxDr_;
/// cut on impact parameter wrt to the beam spot
double minDr_;
/// cut on dz wrt to the beam spot
double maxDz_;
/// dxy significance cut
double min_DxySig_;
/// pt threshold in GeV
double minPt_;
/// pt uncertainty margin (in number of sigmas)
double nSigmaPt_;
};
#endif //HLTMuonL2PreFilter_h
|