CMS 3D CMS Logo

L2MuonSeedGeneratorFromL1T.h
Go to the documentation of this file.
1 #ifndef RecoMuon_L2MuonSeedGenerator_L2MuonSeedGeneratorFromL1T_H
2 #define RecoMuon_L2MuonSeedGenerator_L2MuonSeedGeneratorFromL1T_H
3 
4 //-------------------------------------------------
5 //
20 //L2MuonSeedGeneratorFromL1T
21 //--------------------------------------------------
22 
25 
26 // Data Formats
36 
37 #include "CLHEP/Vector/ThreeVector.h"
38 
40 
41 class MuonServiceProxy;
43 class TrajectorySeed;
45 
46 namespace edm {
47  class ParameterSet;
48  class Event;
49  class EventSetup;
50 } // namespace edm
51 
53 public:
56 
58  ~L2MuonSeedGeneratorFromL1T() override;
59 
60  static void fillDescriptions(edm::ConfigurationDescriptions &descriptions);
61  void produce(edm::Event &, const edm::EventSetup &) override;
62 
63 private:
68 
71 
72  const double theL1MinPt;
73  const double theL1MaxEta;
74  const unsigned theL1MinQuality;
75  const double theMinPtBarrel;
76  const double theMinPtEndcap;
77  const bool useOfflineSeed;
78  const bool useUnassociatedL1;
79  std::vector<double> matchingDR;
80  std::vector<double> etaBins;
81 
84  const unsigned matchType;
85  const unsigned sortType;
86 
89 
91 
92  const TrajectorySeed *associateOfflineSeedToL1(edm::Handle<edm::View<TrajectorySeed> > &,
93  std::vector<int> &,
95  double);
96 
97  bool isAssociateOfflineSeedToL1(edm::Handle<edm::View<TrajectorySeed> > &,
98  std::vector<std::vector<double> > &,
100  unsigned int,
101  std::vector<std::vector<const TrajectorySeed *> > &,
102  double);
103 };
104 
105 #endif
edm::EDGetTokenT< edm::View< TrajectorySeed > > offlineSeedToken_
bool centralBxOnly_
use central bx only muons
MuonServiceProxy * theService
the event setup proxy, it takes care the services update
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
edm::EDGetTokenT< l1t::MuonBxCollection > muCollToken_
HLT enums.