32 tracks_( iConfig.getParameter<
edm::InputTag>(
"tracks") ),
33 incldt( iConfig.getUntrackedParameter<bool>(
"incldt",
true) ),
34 inclcsc( iConfig.getUntrackedParameter<bool>(
"inclcsc",
true) ),
35 incltrack( iConfig.getUntrackedParameter<bool>(
"incltrack",
true) ),
36 debug( iConfig.getUntrackedParameter<bool>(
"debug",
false) ),
37 MinCosAng( iConfig.getUntrackedParameter<double>(
"MinCosAng", 0.95) ),
38 MaxD( iConfig.getUntrackedParameter<double>(
"MaxD", 80.) ),
39 MaxDrb4( iConfig.getUntrackedParameter<double>(
"MaxDrb4", 150.) ),
40 ExtrapolatedRegion( iConfig.getUntrackedParameter<double>(
"ExtrapolatedRegion", 0.5) ),
41 trackTransformerParam( iConfig.getParameter<
edm::
ParameterSet>(
"TrackTransformer") )
43 produces<RPCRecHitCollection>(
"RPCDTExtrapolatedPoints");
44 produces<RPCRecHitCollection>(
"RPCCSCExtrapolatedPoints");
45 produces<RPCRecHitCollection>(
"RPCTrackExtrapolatedPoints");
54 iEvent.
put(
std::move(DTClass.thePoints()),
"RPCDTExtrapolatedPoints");
56 if(
debug)
std::cout<<
"RPCHLT Invalid DTSegments collection"<<std::endl;
65 iEvent.
put(
std::move(CSCClass.thePoints()),
"RPCCSCExtrapolatedPoints");
67 if(
debug)
std::cout<<
"RPCHLT Invalid CSCSegments collection"<<std::endl;
73 if(!(alltracks->empty())){
77 if(
debug)
std::cout<<
"RPCHLT Invalid Tracks collection"<<std::endl;
const double ExtrapolatedRegion
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
const std::vector< reco::PFCandidatePtr > & tracks_
bool getByToken(EDGetToken token, Handle< PROD > &result) const
std::vector< Track > TrackCollection
collection of Tracks
virtual void produce(edm::StreamID, edm::Event &, const edm::EventSetup &) const override
const edm::ParameterSet trackTransformerParam
const edm::EDGetTokenT< reco::TrackCollection > tracks
const edm::InputTag tracks_
T const * product() const
RPCPointProducer(const edm::ParameterSet &)
const edm::EDGetTokenT< CSCSegmentCollection > cscSegments
const edm::EDGetTokenT< DTRecSegment4DCollection > dt4DSegments