42 desc.addUntracked<
double>(
"ptmin", 0.);
43 desc.addUntracked<
double>(
"pmin", 0.);
44 desc.addUntracked<
double>(
"etamin", -4.);
45 desc.addUntracked<
double>(
"etamax", 4.);
46 desc.addUntracked<
unsigned int>(
"nhits", 1);
53 ptmin_(ps.getUntrackedParameter<double>(
"ptmin", 0.)),
54 pmin_(ps.getUntrackedParameter<double>(
"pmin", 0.)),
55 etamin_(ps.getUntrackedParameter<double>(
"etamin", -4.)),
56 etamax_(ps.getUntrackedParameter<double>(
"etamax", 4.)),
57 nhits_(ps.getUntrackedParameter<uint32_t>(
"nhits", 1)) {
58 produces<reco::TrackCollection>(
"");
69 for (
auto const& trk : *
tracks) {
80 outputTColl->push_back(trk);
83 edm::LogError(
"AlcaRecoTrackSelector") <<
"Error >> Failed to get AlcaRecoTrackSelector for label: " <<
tracksTag_;
void addWithDefaultLabel(ParameterSetDescription const &psetDescription)
std::vector< Track > TrackCollection
collection of Tracks
Log< level::Error, false > LogError
void produce(edm::StreamID streamID, edm::Event &iEvent, edm::EventSetup const &iSetup) const override
#define DEFINE_FWK_MODULE(type)
const edm::EDGetTokenT< reco::TrackCollection > tracksToken_
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
const edm::InputTag tracksTag_
~AlcaRecoTrackSelector() override=default
AlcaRecoTrackSelector(const edm::ParameterSet &)