32 desc.add<
bool>(
"produceTrackCollection",
true);
33 desc.add<
bool>(
"produceMask",
true);
34 descriptions.
add(
"trackSelectorByRegion",
desc);
56 for (
size_t i = 0;
i <
mask.size();
i++) {
59 output_tracks.reserve(
size);
60 for (
size_t i = 0;
i <
mask.size();
i++) {
62 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_
const edm::EDGetTokenT< edm::OwnVector< TrackingRegion > > inputTrkRegionToken_
#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
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)