47 for (
int i = 0;
i < 3;
i++) {
68 for (
int i = 0;
i < 3;
i++) {
69 string sub =
pat.substr(3 *
i, 3);
74 m_wheel[
i] = atoi(sub.substr(0, 2).c_str());
81 for (
int i = 0;
i < 3;
i++) {
105 for (
int i = 0;
i < 3;
i++) {
123 for (
int i = 0;
i < 3;
i++) {
142 for (
int i = 0;
i < 3;
i++) {
155 s.setf(ios::right, ios::adjustfield);
156 s <<
"ID = " << setw(8) <<
p.id() <<
" " 157 <<
"quality = " << setw(2) <<
p.quality() <<
" " 158 <<
"eta = " << setw(1) <<
p.eta() << endl;
159 for (
int i = 0;
i < 3;
i++) {
160 s <<
"station = " <<
i + 1 <<
" : ";
161 for (
int j = 0;
j < 5;
j++) {
163 if (
p.m_position[
i] && (
p.m_wheel[
i] ==
j - 2))
164 pos.set(
p.m_position[
i] - 1);
179 s >>
p.m_id >>
pat >>
p.m_qual >>
p.m_eta;
181 for (
int i = 0;
i < 3;
i++) {
182 string sub =
pat.substr(3 *
i, 3);
187 p.m_wheel[
i] = atoi(sub.substr(0, 2).c_str());
188 p.m_position[
i] = atoi(sub.substr(2, 1).c_str());
common ppss p3p6s2 common epss epspn46 common const1 w2
bool operator==(const L1MuDTEtaPattern &) const
equal operator
L1MuDTEtaPattern & operator=(const L1MuDTEtaPattern &)
assignment operator
ostream & operator<<(ostream &s, const L1MuDTEtaPattern &p)
bool operator!=(const L1MuDTEtaPattern &) const
unequal operator
L1MuDTEtaPattern()
default constructor
weight_default_t w1[2000]
istream & operator>>(istream &s, L1MuDTEtaPattern &p)
common ppss p3p6s2 common epss epspn46 common const1 w3
virtual ~L1MuDTEtaPattern()
destructor