Respected cool Pankaj,
 
Do your assignment on your own :). you will learn somethiing in the process btw 
i tried to figure out what your code is expected to do and got lost,I think  
your files did not get attached in mailing list.
 
 
cheers
abhishek
 

Date: Tue, 13 Mar 2012 00:13:28 +0530
From: coolpankaj.1...@gmail.com
To: ilugd@lists.linux-delhi.org; g...@mimirtech.com; iitd...@googlegroups.com
Subject: [ilugd] Please Help me in this code(c++)

Respected Sir,
 
Please check this code out and help me in this set of code.
 please check and Kindly write a code I want to  create and define  a
recotrack based on the InGrid Hits. I wrote the following code. But check
whether it is correct of not then correct it. It will store tracks in out
node table G4 RecoTrack
 
UDataTable* table = outNode->GetDataTable("G4Reco Tracks");
 
 
 //create and define RecoTrack
      UG4RecoTrack* track = new UG4RecoTrack();
      const int InGridhits = table->GetEntries();
      for(int j=0; j<InGridhits; j++){
         track= (UG4RecoTrack*)table->At(j);
         if(track) table->Add(track);
      }
   }
 
Please find both files attached here with. You have to write code in
NA61....cxx file where I have mentioned
 //create and define RecoTrack.  comment and make no changes in Accstepping
action. Just have a look on INGRID Hits.
 
 
I am sending you all three files. The file to work with is
NA61BYPASSG4RECOMODULE.cxx and its header file.
 
The other is the stepping file which has details of INGRID. I have tried to
create and define RECOTRACK but
Please check whether it is correct. You have to loop over the INGRID Hits.
 
Best wishes
 
-
*************************************
Pankaj Sharma
B.Tech Bio-Informatics(2009-13)
Dept. of BT & BI
Jaypee University of Information Technology
Waknaghat,Distt Solan, H.P.
India-173234
******************************************
Email:- coolpankaj.1...@gmail.com
           pankaj.sharma09151...@gmail.com
Mobile:- +91- 9736252370
*****************************************

_______________________________________________ Ilugd mailing list 
Ilugd@lists.linux-delhi.org http://frodo.hserus.net/mailman/listinfo/ilugd      
                               
_______________________________________________
Ilugd mailing list
Ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd

Reply via email to