Fork me on GitHub

Changeset 42 in svn for trunk/Utilities/Fastjet/plugins


Ignore:
Timestamp:
Nov 18, 2008, 5:38:30 PM (16 years ago)
Author:
Xavier Rouby
Message:

iPhi not anymore always zero

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Utilities/Fastjet/plugins/CDFCones/interface/CalTower.hh

    r41 r42  
    44// Modified by X. Rouby for integration in Delphes
    55// !!! the numbering of the towers (iEta, iPhi) is **NOT** following any convention of the corresponding experiment
    6 // v3 -- not working
     6
    77
    88#include <cmath>
    9 #include <iostream>
    109
    1110#ifndef M_PI
     
    1514const double pi = acos(-1);
    1615
    17 static bool einmal=true;
    1816/*
    1917 // CDF data : 22 towers. step=2.7° at the beginning, and after, it changes
     
    6866                for(unsigned int j=0; j<ntower; j++) {
    6967                        int wedge = int(360./tower_dphi[j]);
    70                         iPhi = 0; int(phi/(2.*pi)* wedge)%wedge;
     68                        iPhi = int(phi/(2.*pi)* wedge)%wedge;
    7169                }
    7270        }
Note: See TracChangeset for help on using the changeset viewer.