15 : m_minStations(iConfig.getParameter<unsigned int>(
"minStations")),
16 m_minHitsPerStation(iConfig.getParameter<unsigned int>(
"minHitsPerStation")) {
19 <<
" different CSC stations." << std::endl;
32 for (
auto const &
track : tracks) {
33 std::map<int, unsigned int> station_map;
35 for (
auto const &
hit :
track->recHits()) {
41 std::map<int, unsigned int>::const_iterator station_iter = station_map.find(station);
42 if (station_iter == station_map.end()) {
50 for (std::map<int, unsigned int>::const_iterator station_iter = station_map.begin();
51 station_iter != station_map.end();
57 result.push_back(
track);
auto const & tracks
cannot be loose
Tracks select(const Tracks &tracks, const edm::Event &iEvent) const
select tracks
unsigned int m_minHitsPerStation
Log< level::Info, false > LogInfo
~AlignmentCSCBeamHaloSelector()
destructor
unsigned int m_minStations
AlignmentCSCBeamHaloSelector(const edm::ParameterSet &iConfig, edm::ConsumesCollector &iC)
constructor
std::vector< const reco::Track * > Tracks