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
|
#ifndef HLTTrigger_HLTL1MuonNoL2Selector_HLTL1MuonNoL2Selector_H
#define HLTTrigger_HLTL1MuonNoL2Selector_HLTL1MuonNoL2Selector_H
//-------------------------------------------------
//
/** \class HLTL1MuonNoL2Selector
*
* HLTL1MuonNoL2Selector:
* Simple selector to output a subset of L1 muon collection
*
* based on RecoMuon/L2MuonSeedGenerator
*
*
* \author S. Folgueras
*/
//
//--------------------------------------------------
#include "FWCore/Framework/interface/global/EDProducer.h"
#include "FWCore/Utilities/interface/InputTag.h"
// Data Formats
#include "DataFormats/TrajectoryState/interface/PTrajectoryStateOnDet.h"
#include "DataFormats/MuonDetId/interface/DTChamberId.h"
#include "DataFormats/MuonDetId/interface/CSCDetId.h"
#include "DataFormats/L1Trigger/interface/Muon.h"
#include "DataFormats/RecoCandidate/interface/RecoChargedCandidate.h"
#include "DataFormats/RecoCandidate/interface/RecoChargedCandidateFwd.h"
#include "DataFormats/Common/interface/Handle.h"
#include "DataFormats/GeometrySurface/interface/BoundCylinder.h"
#include "DataFormats/Math/interface/deltaR.h"
#include "HLTrigger/HLTcore/interface/HLTFilter.h"
#include "HLTMuonL2ToL1TMap.h"
namespace edm {
class ParameterSet;
class Event;
class EventSetup;
} // namespace edm
class HLTL1MuonNoL2Selector : public edm::global::EDProducer<> {
public:
/// Constructor
explicit HLTL1MuonNoL2Selector(const edm::ParameterSet&);
/// Destructor
~HLTL1MuonNoL2Selector() override;
static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
void produce(edm::StreamID, edm::Event&, const edm::EventSetup&) const override;
private:
edm::InputTag theL1Source_;
const double theL1MinPt_;
const double theL1MaxEta_;
const unsigned theL1MinQuality_;
bool centralBxOnly_;
edm::EDGetTokenT<l1t::MuonBxCollection> muCollToken_;
edm::InputTag theL2CandTag_;
edm::EDGetTokenT<reco::RecoChargedCandidateCollection> theL2CandToken_;
edm::InputTag seedMapTag_;
edm::EDGetTokenT<SeedMap> seedMapToken_;
};
#endif
|