Changeset 3191 in Sophya for trunk/Cosmo/RadioBeam/treccyl.cc


Ignore:
Timestamp:
Mar 19, 2007, 9:29:05 AM (19 years ago)
Author:
legoff
Message:

Cylinders have different x positions (NS).
This is taken into account in the signal phase shift
and in the exp() term when combining cylinders.
We can have more bins in x than antennas in one cylinder
to see the gain in resolution along x due to several cylinders at different x

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Cosmo/RadioBeam/treccyl.cc

    r3165 r3191  
    7070int act = 1;
    7171int ncyl = 5;
    72 if (narg < 3) {
     72if (narg < 2) {
    7373  cout << "Usage: treccyl act ppfname [PrtLev=0] \n"
    7474       << " -act= X ou XY5 ou XY12  (5 ou 12 cylindres) \n"
     
    208208    for(int kkc=0; kkc<12; kkc++) {
    209209      cout << "..." << kkc << " - mcyl.AddCylinder(posY= " << 5.*kkc << " )" << endl;
    210       mcyl.AddCylinder(5.*kkc);
     210      mcyl.AddCylinder(5.*kkc,5.*kkc);
     211//      mcyl.AddCylinder(0.,5.*kkc);
    211212    }
    212213  }
     
    216217    for(int kkc=0; kkc<5; kkc++) {
    217218      cout << "..." << kkc << " - mcyl.AddCylinder(posY= " << posyc[kkc] << " )" << endl;
    218       mcyl.AddCylinder(posyc[kkc]);
     219      mcyl.AddCylinder(posyc[kkc],posyc[kkc]);
    219220    }
    220221  }
Note: See TracChangeset for help on using the changeset viewer.