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:- [email protected]
           [email protected]
Mobile:- +91- 9736252370
*****************************************
_______________________________________________
Ilugd mailing list
[email protected]
http://frodo.hserus.net/mailman/listinfo/ilugd

Reply via email to