[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: hub n' spoke algorithm in CVS



Error: G__getvariable: expression 
/afs/rhic.bnl.gov/phenix/PHENIX_LIB/sys/i386_sl4/new.1/include/boost/config.hpp:23:
Error: operator '/' divided by zero
/afs/rhic.bnl.gov/phenix/PHENIX_LIB/sys/i386_sl4/new.1/include/boost/config.hpp:23:
Error: operator '/' divided by zero
/afs/rhic.bnl.gov/phenix/PHENIX_LIB/sys/i386_sl4/new.1/include/boost/config.hpp:23:
Syntax Error: <boost/config/user.hpp>
/afs/rhic.bnl.gov/phenix/PHENIX_LIB/sys/i386_sl4/new.1/include/boost/config.hpp:23:

and much more ...

Ilia

On Fri, October 24, 2008 8:02, Sky Rolnick said:
> Hi Ilia,
>
> Sorry I wasn't more clear about this. I hadn't tested what changes
> need to be made in order to get the code to compile when I sent the
> last email.
>
> The files modified in the libhbd.so include
> HbdFinalSimulator.C
> HbdFinalSimSupport.C
> HbdFinalSimSupport.h
>
> Try updating these three files from my workarea and then compiling. I
> believe the other code should compile then as well. I could have
> updated these into cvs but I was concerned that it would break other
> people's code and I didn't want to be responsible for that.
>
> Let me know if this works.
> Cheers,
> Sky
>
>
> On Fri, Oct 24, 2008 at 1:35 AM, Ilia Ravinovich
> <Ilia.Ravinovich@weizmann.ac.il> wrote:
>> Hi Sky,
>>
>> On Thu, October 23, 2008 22:37, Sky Rolnick said:
>>> Hi everyone,
>>>
>>> I have just checked in an interactive version of hub n' spoke
>>> algorithm into CVS. This is a first attempt and the code has not been
>>> optimized nor is it very pretty. It does appear to have the correct
>>> behavior and can identify the hub n' spoke for a given track.
>>> Currently, code has been hard linked to a simulation file located at
>>> /direct/phenix+u/workarea/skymeson/hbd/simDST.root. Note, you may need
>>> an updated version of HbdFinalSimSupport.C as this now uses the boost
>>> libraries in order to get this to compile. This can be found
>>> /direct/phenix+u/workarea/skymeson/offline/packages/hbd. Let me know
>>> if you have any problems.
>>
>> Yes, I do have a problem: I copied 'HbdFinalSimSupport.C' from your
>> working area and during the compilation of the HBD library got an error:
>>
>> ../HbdFinalSimulator.C: In member function `int
>> HbdFinalSimulator::fillGhitList(PHCompositeNode*)':
>> ../HbdFinalSimulator.C:768: error: cannot convert
>> `boost::tuples::tuple<float, float, float, float,
>> boost::tuples::null_type, boost::tuples::null_type,
>> boost::tuples::null_type, boost::tuples::null_type,
>> boost::tuples::null_type, boost::tuples::null_type>' to `float*' in
>> assignment
>> ../HbdFinalSimulator.C:818: error: cannot convert
>> `boost::tuples::tuple<float, float, float, float,
>> boost::tuples::null_type, boost::tuples::null_type,
>> boost::tuples::null_type, boost::tuples::null_type,
>> boost::tuples::null_type, boost::tuples::null_type>' to `float*' in
>> assignment
>> ../HbdFinalSimulator.C: In member function `int
>> HbdFinalSimulator::PulseSimAndfillCell()':
>> ../HbdFinalSimulator.C:1049: error: cannot convert
>> `boost::tuples::tuple<float, float, float, float,
>> boost::tuples::null_type, boost::tuples::null_type,
>> boost::tuples::null_type, boost::tuples::null_type,
>> boost::tuples::null_type, boost::tuples::null_type>' to `float*' in
>> assignment
>> make: *** [HbdFinalSimulator.lo] Error 1
>>
>> Ilia
>>
>>> It can be checked out of cvs via
>>> cvs co offline/analysis/HbdHnSDisplay/
>>>
>>> mkdir build
>>> cd build
>>> ../autogen.sh --prefix=$MYINSTALLDIR
>>>
>>>
>>> Usage:
>>>
>>> root -l
>>> gSystem->Load("libhbdhnsdisplay.so") ;       // Used to load hub n'
>>> spoke libs
>>> HbdHnSDisplay::HbdHnSDisplay() ;             // Initialize global
>>> objects
>>> HbdHnSDisplay::DrawEvent(7);                   // Draw event 7 from
>>> simDST.root
>>> HbdHnSDisplay::TrackAssociation(7);         // Perform track
>>> association for event 7
>>> HbdHnSDisplay::getThreeTupleHub(11.2561, -4.83685, 3, 0);  // Get hub
>>> from track.
>>> HbdHnSDisplay::getThreeTupleSpoke() ;     // Get Spoke.
>>>
>>> I am currently working on a standalone version of hub n' spoke that
>>> can run over many events. This should be completed by the end of the
>>> day. I will try to give a presentation at next weeks meeting
>>> demonstrating the effectiveness of the algorithm.
>>>
>>> Cheers,
>>> Sky
>>> _______________________________________________
>>> Phenix-electron-l mailing list
>>> Phenix-electron-l@lists.bnl.gov
>>> https://lists.bnl.gov/mailman/listinfo/phenix-electron-l
>>>
>>
>>
>> ================================
>> Ilia Ravinovich
>> Department of Particle Physics
>> Weizmann Institute of Science
>> Rehovot 76100
>> Israel
>> Phone: 972 8 934 3187
>> FAX:    972 8 934 4166
>> E-mail: Ilia.Ravinovich@weizmann.ac.il
>> ===============================
>>
>> _______________________________________________
>> Phenix-electron-l mailing list
>> Phenix-electron-l@lists.bnl.gov
>> https://lists.bnl.gov/mailman/listinfo/phenix-electron-l
>>
>


================================                                          
Ilia Ravinovich
Department of Particle Physics
Weizmann Institute of Science
Rehovot 76100
Israel
Phone: 972 8 934 3187
FAX:    972 8 934 4166
E-mail: Ilia.Ravinovich@weizmann.ac.il
===============================

_______________________________________________
Phenix-electron-l mailing list
Phenix-electron-l@lists.bnl.gov
https://lists.bnl.gov/mailman/listinfo/phenix-electron-l