15 : m_station(iConfig.getParameter<
int>(
"station"))
16 , m_minHitsPerChamber(iConfig.getParameter<unsigned
int>(
"minHitsPerChamber"))
20 <<
"Acceptable tracks must have " <<
m_minHitsPerChamber <<
" in two chambers on all stations." << std::endl;
38 for (Tracks::const_iterator
track = tracks.begin();
track != tracks.end(); ++
track) {
39 unsigned int MEminus4_even = 0;
40 unsigned int MEminus4_odd = 0;
41 unsigned int MEminus3_even = 0;
42 unsigned int MEminus3_odd = 0;
43 unsigned int MEminus2_even = 0;
44 unsigned int MEminus2_odd = 0;
45 unsigned int MEminus1_even = 0;
46 unsigned int MEminus1_odd = 0;
48 unsigned int MEplus1_even = 0;
49 unsigned int MEplus1_odd = 0;
50 unsigned int MEplus2_even = 0;
51 unsigned int MEplus2_odd = 0;
52 unsigned int MEplus3_even = 0;
53 unsigned int MEplus3_odd = 0;
54 unsigned int MEplus4_even = 0;
55 unsigned int MEplus4_odd = 0;
58 DetId id = (*hit)->geographicalId();
64 if (cscid.
chamber() % 2 == 0) MEminus4_even++;
67 else if (station == -3) {
68 if (cscid.
chamber() % 2 == 0) MEminus3_even++;
71 else if (station == -2) {
72 if (cscid.
chamber() % 2 == 0) MEminus2_even++;
75 else if (station == -1) {
76 if (cscid.
chamber() % 2 == 0) MEminus1_even++;
80 else if (station == 1) {
81 if (cscid.
chamber() % 2 == 0) MEplus1_even++;
84 else if (station == 2) {
85 if (cscid.
chamber() % 2 == 0) MEplus2_even++;
88 else if (station == 3) {
89 if (cscid.
chamber() % 2 == 0) MEplus3_even++;
92 else if (station == 4) {
93 if (cscid.
chamber() % 2 == 0) MEplus4_even++;
unsigned int m_minHitsPerChamber
AlignmentCSCOverlapSelector(const edm::ParameterSet &iConfig)
constructor
std::vector< const reco::Track * > Tracks
~AlignmentCSCOverlapSelector()
destructor
Tracks select(const Tracks &tracks, const edm::Event &iEvent) const
select tracks