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(DTClass.thePoints(),
"RPCDTExtrapolatedPoints");
56 if(
debug)
std::cout<<
"RPCHLT Invalid DTSegments collection"<<std::endl;
65 iEvent.
put(CSCClass.thePoints(),
"RPCCSCExtrapolatedPoints");
67 if(
debug)
std::cout<<
"RPCHLT Invalid CSCSegments collection"<<std::endl;
73 if(!(alltracks->empty())){
75 iEvent.
put(
TrackClass.thePoints(),
"RPCTrackExtrapolatedPoints");
77 if(
debug)
std::cout<<
"RPCHLT Invalid Tracks collection"<<std::endl;
const double ExtrapolatedRegion
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
OrphanHandle< PROD > put(std::auto_ptr< PROD > product)
Put a new product.
const edm::InputTag tracks_
T const * product() const
RPCPointProducer(const edm::ParameterSet &)
const edm::EDGetTokenT< CSCSegmentCollection > cscSegments
const edm::EDGetTokenT< DTRecSegment4DCollection > dt4DSegments
volatile std::atomic< bool > shutdown_flag false