Changeset 42 in svn for trunk/Utilities/Fastjet/plugins/CDFCones/interface/CalTower.hh
- Timestamp:
- Nov 18, 2008, 5:38:30 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Utilities/Fastjet/plugins/CDFCones/interface/CalTower.hh
r41 r42 4 4 // Modified by X. Rouby for integration in Delphes 5 5 // !!! the numbering of the towers (iEta, iPhi) is **NOT** following any convention of the corresponding experiment 6 // v3 -- not working 6 7 7 8 8 #include <cmath> 9 #include <iostream>10 9 11 10 #ifndef M_PI … … 15 14 const double pi = acos(-1); 16 15 17 static bool einmal=true;18 16 /* 19 17 // CDF data : 22 towers. step=2.7° at the beginning, and after, it changes … … 68 66 for(unsigned int j=0; j<ntower; j++) { 69 67 int wedge = int(360./tower_dphi[j]); 70 iPhi = 0;int(phi/(2.*pi)* wedge)%wedge;68 iPhi = int(phi/(2.*pi)* wedge)%wedge; 71 69 } 72 70 }
Note:
See TracChangeset
for help on using the changeset viewer.