Go to the documentation of this file.
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]);
ParameterDescriptionBase * add(U const &iLabel, T const &value)
const edm::EDPutTokenT< std::vector< bool > > outputMaskToken_
const edm::EDGetTokenT< edm::OwnVector< TrackingRegion > > inputTrkRegionToken_
const edm::EDGetTokenT< reco::TrackCollection > tracksToken_
#define DEFINE_FWK_MODULE(type)
void add(std::string const &label, ParameterSetDescription const &psetDescription)
const edm::EDPutTokenT< reco::TrackCollection > outputTracksToken_
const bool produceCollection_
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
std::vector< bool > MaskCollection
void produce(edm::StreamID, edm::Event &iEvent, const edm::EventSetup &) const override
TrackSelectorByRegion(const edm::ParameterSet &conf)
BranchAliasSetterT< ProductType > produces()
declare what type of product will make and with which optional label
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
std::vector< Track > TrackCollection
collection of Tracks