Changeset 247 in Idarraga
- Timestamp:
- Oct 31, 2011, 1:15:34 PM (13 years ago)
- Location:
- mafalda/MAFTools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
mafalda/MAFTools/MAFTools.cpp
r240 r247 76 76 return true; 77 77 } 78 79 Int_t XYtoC(pair<Int_t, Int_t> position, Int_t dimX) { 80 return XYtoC(position.first, position.second, dimX); 81 } 82 83 Int_t XYtoC(int x, int y, Int_t dimX){ 84 return y * dimX + x; 85 } 86 78 87 79 88 Int_t ConvertXYPositionToInteger(pair<Int_t, Int_t> position, Int_t dimX, Int_t dimY){ -
mafalda/MAFTools/MAFTools.h
r240 r247 27 27 Float_t initslope, Float_t initycross, 28 28 std::set< std::pair<Int_t, Int_t> > blobContent); 29 30 Int_t XYtoC(pair<Int_t, Int_t>, Int_t); 31 Int_t XYtoC(Int_t, Int_t, Int_t); 29 32 30 33 Int_t ConvertXYPositionToInteger(std::pair<Int_t, Int_t> position, Int_t dimX, Int_t dimY);
Note: See TracChangeset
for help on using the changeset viewer.