Skip to content

Commit

Permalink
switched to double to accomodate getparameter
Browse files Browse the repository at this point in the history
  • Loading branch information
folguera committed May 12, 2023
1 parent eaa2c4c commit e7798ed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions L1Trigger/Phase2L1GMT/plugins/Phase2L1TGMTFilter.cc
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,15 @@ class Phase2L1TGMTFilter : public edm::stream::EDProducer<> {
bool applyLowPtFilter_;
int ptBarrelMin_;
int ptEndcapMin_;
float etaBE_;
double etaBE_;
};

Phase2L1TGMTFilter::Phase2L1TGMTFilter(const edm::ParameterSet& iConfig)
: srcMuons_(consumes<std::vector<l1t::TrackerMuon> >(iConfig.getParameter<edm::InputTag>("srcMuons"))),
applyLowPtFilter_(iConfig.getParameter<bool>("applyLowPtFilter")),
ptBarrelMin_(iConfig.getParameter<int>("ptBarrelMin")),
ptEndcapMin_(iConfig.getParameter<int>("ptEndcapMin")),
etaBE_(iConfig..getParameter<float>("etaBE")) {
etaBE_(iConfig.getParameter<double>("etaBE")) {
produces<std::vector<l1t::TrackerMuon> >("l1tTkMuonsGmtLowPtFix").setBranchAlias("tkMuLowPtFix");
}

Expand Down

0 comments on commit e7798ed

Please sign in to comment.