31 desc.add<
bool>(
"produceTrackCollection",
true);
32 desc.add<
bool>(
"produceMask",
true);
33 descriptions.
add(
"trackSelectorByRegion",
desc);
55 for (
size_t i = 0;
i <
mask.size();
i++) {
58 output_tracks.reserve(
size);
59 for (
size_t i = 0;
i <
mask.size();
i++) {
61 output_tracks.push_back(
tracks[
i]);
const edm::EDPutTokenT< std::vector< bool > > outputMaskToken_
TrackSelectorByRegion(const edm::ParameterSet &conf)
std::vector< Track > TrackCollection
collection of Tracks
const edm::EDPutTokenT< reco::TrackCollection > outputTracksToken_
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
const bool produceCollection_
#define DEFINE_FWK_MODULE(type)
void produce(edm::StreamID, edm::Event &iEvent, const edm::EventSetup &) const override
void add(std::string const &label, ParameterSetDescription const &psetDescription)
const edm::EDGetTokenT< reco::TrackCollection > tracksToken_
std::vector< bool > MaskCollection
const edm::EDGetTokenT< std::vector< std::unique_ptr< TrackingRegion > > > inputTrkRegionToken_
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)