Skip to Content.
Sympa Menu

sphenix-software-l - Re: [Sphenix-software-l] sPHENIX-software-l Digest, Vol 64, Issue 3

sphenix-software-l AT lists.bnl.gov

Subject: sPHENIX discussion of software

List archive

Chronological Thread  
  • From: pinkenburg <pinkenburg AT bnl.gov>
  • To: sphenix-software-l AT lists.bnl.gov
  • Subject: Re: [Sphenix-software-l] sPHENIX-software-l Digest, Vol 64, Issue 3
  • Date: Sun, 9 Aug 2020 10:49:21 -0400

Hi Evgeny,

in our tutorials is a simple perl script which will generated a generic subsysreco module with just couts in all available methods including autogen.sh, configure.ac and Makefile.am:

https://github.com/sPHENIX-Collaboration/tutorials/tree/master/CreateSubsysRecoModule

That should give you a good start with a functioning build environment. In my pre workfest tutorial under https://indico.bnl.gov/event/7254/ on slide 24 is a picture how this plays together. We have a similar script if you want to have a template for a new G4 detector:

https://github.com/sPHENIX-Collaboration/g4exampledetector/tree/master/template

We have quite a few examples which go over various containers (hits, cells, towers) and dump the content into ntuples:
https://github.com/sPHENIX-Collaboration/coresoftware/tree/master/simulation/g4simulation/g4histos

you can cut and paste the loops from there

Chris

On 8/9/2020 6:41 AM, Evgeny Shulga wrote:
Dear All,
I have a question.
I am quite new to the sPHENIX SW structure.
And I want to write a simple compilable C++ code to read GEANT4 simulation files. It needs these includes:
#include <g4main/PHG4HitContainer.h>
#include <g4main/PHG4Hit.h> 
and load: 
gSystem->Load("libg4testbench.so"); gSystem->Load("libphg4hit.so"); 

How can I do it?
I am doing all the code on rcas2062.

I have looked through the following links:
https://github.com/sPHENIX-Collaboration/analysis/tree/master/SimpleTrackingAnalysis
https://github.com/sPHENIX-Collaboration/analysis/tree/master/Ana

I understand now that I need to use automake infrastructure, which is completely new for me.
Is there a tutorial on how to write an analysis code from scratch in the sPHENIX environment on something simple?
For example, reading hits from Geant4 files (which I am trying to do)?
The idea is to use compiled code, not root/CINT scripting.

Cheers,
Evgeny
Department of Particle Physics and Astrophysics
Weizmann Institute of Science
E-mail: evgeny.shulga AT weizmann.ac.il
Phone: +972536120793
Address: 234 Herzl St. PO Box 26, Rehovot 7610001 Israel


On Wed, Aug 5, 2020 at 7:01 PM sphenix-software-l-request AT lists.bnl.gov <sphenix-software-l-request AT lists.bnl.gov> wrote:
Send sPHENIX-software-l mailing list submissions to
        sphenix-software-l AT lists.bnl.gov

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.bnl.gov/mailman/listinfo/sphenix-software-l
or, via email, send a message with subject or body 'help' to
        sphenix-software-l-request AT lists.bnl.gov

You can reach the person managing the list at
        sphenix-software-l-owner AT lists.bnl.gov

When replying, please edit your Subject line so it is more specific
than "Re: Contents of sPHENIX-software-l digest..."


Today's Topics:

   1. Tracking software meeting Wednesday August 5      at 10:30 am ET
      (Anthony Frawley)


----------------------------------------------------------------------

Message: 1
Date: Wed, 5 Aug 2020 02:44:18 +0000
From: Anthony Frawley <afrawley AT fsu.edu>
To: "sphenix-tracking-l AT lists.bnl.gov"
        <sphenix-tracking-l AT lists.bnl.gov>, "sphenix-software-l AT lists.bnl.gov"
        <sphenix-software-l AT lists.bnl.gov>
Subject: [Sphenix-software-l] Tracking software meeting Wednesday
        August 5        at 10:30 am ET
Message-ID:
        <BL0PR02MB458043C37B1C1110D371A6AED34B0 AT BL0PR02MB4580.namprd02.prod.outlook.com>

Content-Type: text/plain; charset="iso-8859-1"

Hi All,

We will meet to discuss tracking software tomorrow, Wednesday August 5, at 10:30 am ET. The agenda page is at:

https://indico.bnl.gov/event/9107/

The Blujeans connection is:

https://bluejeans.com/553808487/

I will show some slides on track matching to the silicon detectors. We should also have a discussion about how we will integrate track seeding, vertexing, and track fitting as we move forward.

Best regards
Tony

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.bnl.gov/pipermail/sphenix-software-l/attachments/20200805/ed6a621d/attachment-0001.html>

------------------------------

Subject: Digest Footer

_______________________________________________
sPHENIX-software-l mailing list
sPHENIX-software-l AT lists.bnl.gov
https://lists.bnl.gov/mailman/listinfo/sphenix-software-l

------------------------------

End of sPHENIX-software-l Digest, Vol 64, Issue 3
*************************************************

_______________________________________________
sPHENIX-software-l mailing list
sPHENIX-software-l AT lists.bnl.gov
https://lists.bnl.gov/mailman/listinfo/sphenix-software-l

-- 
*************************************************************

Christopher H. Pinkenburg	;    pinkenburg AT bnl.gov
				;    http://www.phenix.bnl.gov/~pinkenbu

Brookhaven National Laboratory	;    phone: (631) 344-5692
Physics Department Bldg 510 C	;    fax:   (631) 344-3253
Upton, NY 11973-5000

*************************************************************



Archive powered by MHonArc 2.6.24.

Top of Page