CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Functions
Stage1Layer2JetAlgorithmImpHI.cc File Reference
#include "L1Trigger/L1TCalorimeter/interface/Stage1Layer2JetAlgorithmImp.h"
#include "L1Trigger/L1TCalorimeter/interface/JetFinderMethods.h"
#include "L1Trigger/L1TCalorimeter/interface/PUSubtractionMethods.h"
#include "L1Trigger/L1TCalorimeter/interface/legacyGtHelper.h"
#include "L1Trigger/L1TCalorimeter/interface/HardwareSortingMethods.h"

Go to the source code of this file.

Functions

void verboseDumpJets (const std::vector< l1t::Jet > &jets)
 

Function Documentation

void verboseDumpJets ( const std::vector< l1t::Jet > &  jets)

Definition at line 112 of file Stage1Layer2JetAlgorithmImpHI.cc.

References gather_cfg::cout, and jetcorrextractor::sign().

113 {
114  int fwPhi[18] = { 4,
115  3 ,
116  2 ,
117  1 ,
118  0 ,
119  17 ,
120  16 ,
121  15 ,
122  14 ,
123  13 ,
124  12 ,
125  11 ,
126  10 ,
127  9 ,
128  8 ,
129  7 ,
130  6 ,
131  5 };
132 
133  int fwEta[22] = {0,
134  1,
135  2,
136  3,
137  0,
138  1,
139  2,
140  3,
141  4,
142  5,
143  6,
144  0,
145  1,
146  2,
147  3,
148  4,
149  5,
150  6,
151  0,
152  1,
153  2,
154  3};
155 
156 
157  std::cout << "pt eta phi sign" << std::endl;
158  for(std::vector<l1t::Jet>::const_iterator itJet = jets.begin();
159  itJet != jets.end(); ++itJet){
160 
161  std::cout << itJet->hwPt() << " ";
162  std::cout << fwEta[itJet->hwEta()] << " " ;
163  std::cout << fwPhi[itJet->hwPhi()] << " ";
164  bool sign = (itJet->hwEta() < 11);
165  std::cout << sign << std::endl;
166 
167  }
168 }
double sign(double x)
vector< PseudoJet > jets
tuple cout
Definition: gather_cfg.py:121