15 : m_station(iConfig.getParameter<
int>(
"station")),
16 m_minHitsPerChamber(iConfig.getParameter<unsigned
int>(
"minHitsPerChamber")) {
19 <<
"Acceptable tracks must have " <<
m_minHitsPerChamber <<
" in two chambers on all stations." << std::endl;
22 <<
" in two chambers on station " <<
m_station <<
"." << std::endl;
36 for (
auto const &
track : tracks) {
37 unsigned int MEminus4_even = 0;
38 unsigned int MEminus4_odd = 0;
39 unsigned int MEminus3_even = 0;
40 unsigned int MEminus3_odd = 0;
41 unsigned int MEminus2_even = 0;
42 unsigned int MEminus2_odd = 0;
43 unsigned int MEminus1_even = 0;
44 unsigned int MEminus1_odd = 0;
46 unsigned int MEplus1_even = 0;
47 unsigned int MEplus1_odd = 0;
48 unsigned int MEplus2_even = 0;
49 unsigned int MEplus2_odd = 0;
50 unsigned int MEplus3_even = 0;
51 unsigned int MEplus3_odd = 0;
52 unsigned int MEplus4_even = 0;
53 unsigned int MEplus4_odd = 0;
55 for (
auto const &
hit :
track->recHits()) {
66 }
else if (station == -3) {
71 }
else if (station == -2) {
76 }
else if (station == -1) {
83 else if (station == 1) {
88 }
else if (station == 2) {
93 }
else if (station == 3) {
98 }
else if (station == 4) {
110 result.push_back(
track);
114 result.push_back(
track);
118 result.push_back(
track);
122 result.push_back(
track);
126 result.push_back(
track);
130 result.push_back(
track);
134 result.push_back(
track);
138 result.push_back(
track);
unsigned int m_minHitsPerChamber
std::vector< const reco::Track * > Tracks
AlignmentCSCOverlapSelector(const edm::ParameterSet &iConfig)
constructor
~AlignmentCSCOverlapSelector()
destructor
Tracks select(const Tracks &tracks, const edm::Event &iEvent) const
select tracks