96 printf(
"\n -------------------------------------- \n");
97 printf(
" *********** New Event ************** \n");
98 printf(
" -------------------------------------- \n");
102 cout <<
" ========== BX = " <<
std::dec <<
i <<
" =============================" << endl;
106 cout <<
" ------ EGammas -------- " << endl;
108 if (
i >= egammas->getFirstBX() &&
i <= egammas->getLastBX()) {
109 for (std::vector<l1t::EGamma>::const_iterator eg = egammas->begin(
i); eg != egammas->end(
i); ++eg) {
110 cout <<
" " <<
std::dec << std::setw(2) << std::setfill(
' ') << nObj << std::setfill(
'0') <<
")";
111 cout <<
" Pt " <<
std::dec << std::setw(3) << eg->hwPt() <<
" (0x" << std::hex << std::setw(3)
112 << std::setfill(
'0') << eg->hwPt() <<
")";
113 cout <<
" Eta " <<
std::dec << std::setw(3) << eg->hwEta() <<
" (0x" << std::hex << std::setw(2)
114 << std::setfill(
'0') << (eg->hwEta() & 0xff) <<
")";
115 cout <<
" Phi " <<
std::dec << std::setw(3) << eg->hwPhi() <<
" (0x" << std::hex << std::setw(2)
116 << std::setfill(
'0') << eg->hwPhi() <<
")";
117 cout <<
" Iso " <<
std::dec << std::setw(1) << eg->hwIso();
118 cout <<
" Qual " <<
std::dec << std::setw(1) << eg->hwQual();
123 cout <<
"No EG stored for this bx " <<
i << endl;
126 cout <<
"No EG Data in this event " << endl;
131 cout <<
" ------ Muons --------" << endl;
133 if (
i >= muons->getFirstBX() &&
i <= muons->getLastBX()) {
134 for (std::vector<l1t::Muon>::const_iterator
mu = muons->begin(
i);
mu != muons->end(
i); ++
mu) {
135 cout <<
" " <<
std::dec << std::setw(2) << std::setfill(
' ') << nObj << std::setfill(
'0') <<
")";
136 cout <<
" Pt " <<
std::dec << std::setw(3) <<
mu->hwPt() <<
" (0x" << std::hex << std::setw(3)
137 << std::setfill(
'0') <<
mu->hwPt() <<
")";
138 cout <<
" EtaAtVtx " <<
std::dec << std::setw(3) <<
mu->hwEtaAtVtx() <<
" (0x" << std::hex << std::setw(3)
139 << std::setfill(
'0') << (
mu->hwEtaAtVtx() & 0x1ff) <<
")";
140 cout <<
" Eta " <<
std::dec << std::setw(3) <<
mu->hwEta() <<
" (0x" << std::hex << std::setw(3)
141 << std::setfill(
'0') << (
mu->hwEta() & 0x1ff) <<
")";
142 cout <<
" PhiAtVtx " <<
std::dec << std::setw(3) <<
mu->hwPhiAtVtx() <<
" (0x" << std::hex << std::setw(3)
143 << std::setfill(
'0') <<
mu->hwPhiAtVtx() <<
")";
144 cout <<
" Phi " <<
std::dec << std::setw(3) <<
mu->hwPhi() <<
" (0x" << std::hex << std::setw(3)
145 << std::setfill(
'0') <<
mu->hwPhi() <<
")";
152 cout <<
"No Muons stored for this bx " <<
i << endl;
155 cout <<
"No Muon Data in this event " << endl;
160 cout <<
" ------ Taus ----------" << endl;
162 if (
i >= taus->getFirstBX() &&
i <= taus->getLastBX()) {
163 for (std::vector<l1t::Tau>::const_iterator
tau = taus->begin(
i);
tau != taus->end(
i); ++
tau) {
164 cout <<
" " <<
std::dec << std::setw(2) << std::setfill(
' ') << nObj << std::setfill(
'0') <<
")";
165 cout <<
" Pt " <<
std::dec << std::setw(3) <<
tau->hwPt() <<
" (0x" << std::hex << std::setw(3)
166 << std::setfill(
'0') <<
tau->hwPt() <<
")";
167 cout <<
" Eta " <<
std::dec << std::setw(3) <<
tau->hwEta() <<
" (0x" << std::hex << std::setw(2)
168 << std::setfill(
'0') << (
tau->hwEta() & 0xff) <<
")";
169 cout <<
" Phi " <<
std::dec << std::setw(3) <<
tau->hwPhi() <<
" (0x" << std::hex << std::setw(2)
170 << std::setfill(
'0') <<
tau->hwPhi() <<
")";
177 cout <<
"No Taus stored for this bx " <<
i << endl;
180 cout <<
"No Tau Data in this event " << endl;
185 cout <<
" ------ Jets ----------" << endl;
187 if (
i >= jets->getFirstBX() &&
i <= jets->getLastBX()) {
188 for (std::vector<l1t::Jet>::const_iterator
jet = jets->begin(
i);
jet != jets->end(
i); ++
jet) {
189 cout <<
" " <<
std::dec << std::setw(2) << std::setfill(
' ') << nObj << std::setfill(
'0') <<
")";
190 cout <<
" Pt " <<
std::dec << std::setw(3) <<
jet->hwPt() <<
" (0x" << std::hex << std::setw(3)
191 << std::setfill(
'0') <<
jet->hwPt() <<
")";
192 cout <<
" Eta " <<
std::dec << std::setw(3) <<
jet->hwEta() <<
" (0x" << std::hex << std::setw(2)
193 << std::setfill(
'0') << (
jet->hwEta() & 0xff) <<
")";
194 cout <<
" Phi " <<
std::dec << std::setw(3) <<
jet->hwPhi() <<
" (0x" << std::hex << std::setw(2)
195 << std::setfill(
'0') <<
jet->hwPhi() <<
")";
201 cout <<
"No Jets stored for this bx " <<
i << endl;
204 cout <<
"No jet Data in this event " << endl;
208 cout <<
" ------ EtSums ----------" << endl;
210 if (
i >= etsums->getFirstBX() &&
i <= etsums->getLastBX()) {
211 for (std::vector<l1t::EtSum>::const_iterator etsum = etsums->begin(
i); etsum != etsums->end(
i); ++etsum) {
212 switch (etsum->getType()) {
226 cout <<
" Unknown: ";
229 cout <<
" Et " <<
std::dec << std::setw(3) << etsum->hwPt() <<
" (0x" << std::hex << std::setw(3)
230 << std::setfill(
'0') << etsum->hwPt() <<
")";
233 cout <<
" Phi " <<
std::dec << std::setw(3) << etsum->hwPhi() <<
" (0x" << std::hex << std::setw(2)
234 << std::setfill(
'0') << etsum->hwPhi() <<
")";
238 cout <<
"No EtSums stored for this bx " <<
i << endl;
241 cout <<
"No EtSum Data in this event " << endl;
bool getByToken(EDGetToken token, Handle< PROD > &result) const
printf("params %d %f %f %f\n", minT, eps, errmax, chi2max)