90 produces< DetIdCollection >() ;
131 for(TrackCollection::const_iterator itTrack = tkTracks->begin();
132 itTrack != tkTracks->end();
142 const std::vector<DetId>& ids = topology->
getWindow(centerId, 5, 5);
143 for ( std::vector<DetId>::const_iterator
id = ids.begin();
id != ids.end(); ++
id )
144 if(
std::find(interestingDetIdCollection->begin(), interestingDetIdCollection->end(), *
id)
145 == interestingDetIdCollection->end())
146 interestingDetIdCollection->push_back(*
id);
T getParameter(std::string const &) const
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
CaloTopology const * topology(0)
bool getByToken(EDGetToken token, Handle< PROD > &result) const
#define DEFINE_FWK_MODULE(type)
~HighPtTrackEcalDetIdProducer()
std::vector< DetId > crossedEcalIds
HighPtTrackEcalDetIdProducer(const edm::ParameterSet &)
interestingDetIdCollection
void useDefaultPropagator()
use the default propagator
std::vector< Track > TrackCollection
collection of Tracks
void loadParameters(const edm::ParameterSet &, edm::ConsumesCollector &)
TrackAssociatorParameters parameters_
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
void produce(edm::Event &, const edm::EventSetup &) override
TrackDetectorAssociator trackAssociator_
ConsumesCollector consumesCollector()
Use a ConsumesCollector to gather consumes information from helper functions.
const CaloTopology * caloTopology_
int subdetId() const
get the contents of the subdetector field (not cast into any detector's numbering enum) ...
virtual std::vector< DetId > getWindow(const DetId &id, const int &northSouthSize, const int &eastWestSize) const
const CaloSubdetectorTopology * getSubdetectorTopology(const DetId &id) const
access the subdetector Topology for the given subdetector directly
TrackDetMatchInfo associate(const edm::Event &, const edm::EventSetup &, const FreeTrajectoryState &, const AssociatorParameters &)
edm::EDCollection< DetId > DetIdCollection
edm::EDGetTokenT< reco::TrackCollection > inputCollectionToken_
void beginRun(const edm::Run &, const edm::EventSetup &) override