16 : m_src(cfg.getParameter<edm::
InputTag>(
"src")),
17 m_stationA(cfg.getParameter<int>(
"stationA")),
18 m_stationB(cfg.getParameter<int>(
"stationB")),
19 m_minHitsDT(cfg.getParameter<int>(
"minHitsDT")),
20 m_minHitsPerStation(cfg.getParameter<int>(
"minHitsPerStation")),
21 m_maxHitsPerStation(cfg.getParameter<int>(
"maxHitsPerStation")) {}
32 for (
auto const&
track : tracks) {
33 int hitsOnStationA = 0;
34 int hitsOnStationB = 0;
36 for (
auto const&
hit :
track->recHits()) {
68 if (stationAokay && stationBokay) {
69 result.push_back(
track);
~AlignmentCSCTrackSelector()
destructor
auto const & tracks
cannot be loose
std::vector< const reco::Track * > Tracks
AlignmentCSCTrackSelector(const edm::ParameterSet &cfg)
constructor
Tracks select(const Tracks &tracks, const edm::Event &evt) const
select tracks