CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Functions
IntegralOverPhiFunction.cc File Reference
#include "PhysicsTools/IsolationUtils/interface/IntegralOverPhiFunction.h"
#include <iostream>
#include <iomanip>
#include <vector>
#include <TMath.h>
#include "FWCore/MessageLogger/interface/MessageLogger.h"
#include "DataFormats/Math/interface/normalizedPhi.h"

Go to the source code of this file.

Functions

void checkSolutions (unsigned int i, unsigned int &numSolution1, unsigned int &numSolution2, unsigned int &numSolution3, unsigned int &numSolution4)
 

Function Documentation

void checkSolutions ( unsigned int  i,
unsigned int &  numSolution1,
unsigned int &  numSolution2,
unsigned int &  numSolution3,
unsigned int &  numSolution4 
)

Definition at line 256 of file IntegralOverPhiFunction.cc.

Referenced by IntegralOverPhiFunction::DoEval().

260  {
261  switch (i) {
262  case 0:
263  ++numSolution1;
264  break;
265  case 1:
266  ++numSolution2;
267  break;
268  case 2:
269  ++numSolution3;
270  break;
271  case 3:
272  ++numSolution4;
273  break;
274  }
275 }