29 : incldt(iConfig.getUntrackedParameter<bool>(
"incldt",
true)),
30 inclcsc(iConfig.getUntrackedParameter<bool>(
"inclcsc",
true)),
31 incltrack(iConfig.getUntrackedParameter<bool>(
"incltrack",
true)),
32 debug(iConfig.getUntrackedParameter<bool>(
"debug",
false)),
33 MinCosAng(iConfig.getUntrackedParameter<double>(
"MinCosAng", 0.95)),
34 MaxD(iConfig.getUntrackedParameter<double>(
"MaxD", 80.)),
35 MaxDrb4(iConfig.getUntrackedParameter<double>(
"MaxDrb4", 150.)),
36 ExtrapolatedRegion(iConfig.getUntrackedParameter<double>(
"ExtrapolatedRegion", 0.5)) {
39 dtSegtoRPC = std::make_unique<DTSegtoRPC>(consumesCollector());
43 cscSegtoRPC = std::make_unique<CSCSegtoRPC>(consumesCollector());
52 produces<RPCRecHitCollection>(
"RPCDTExtrapolatedPoints");
53 produces<RPCRecHitCollection>(
"RPCCSCExtrapolatedPoints");
54 produces<RPCRecHitCollection>(
"RPCTrackExtrapolatedPoints");
63 "RPCDTExtrapolatedPoints");
66 std::cout <<
"RPCHLT Invalid DTSegments collection" << std::endl;
75 "RPCCSCExtrapolatedPoints");
78 std::cout <<
"RPCHLT Invalid CSCSegments collection" << std::endl;
84 if (!(alltracks->empty())) {
88 std::cout <<
"RPCHLT Invalid Tracks collection" << std::endl;
const double ExtrapolatedRegion
std::unique_ptr< TracktoRPC > tracktoRPC
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
void produce(edm::Event &, const edm::EventSetup &) override
edm::EDGetTokenT< CSCSegmentCollection > cscSegments
bool getByToken(EDGetToken token, Handle< PROD > &result) const
edm::EDGetTokenT< DTRecSegment4DCollection > dt4DSegments
std::unique_ptr< CSCSegtoRPC > cscSegtoRPC
T const * product() const
RPCPointProducer(const edm::ParameterSet &)
edm::EDGetTokenT< reco::TrackCollection > tracks
T getParameter(std::string const &) const
std::unique_ptr< DTSegtoRPC > dtSegtoRPC