Message: some question about Beagg peak Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None some question about Beagg peak 

Forum: Event and Track Management
Date: 24 Jun, 2013
From: Scarlett <Scarlett>

I write my program in steppingAction.cc as below:

    {G4double aa2=(astep->GetPostStepPoint()->GetPosition().z())*100/mm;      

     for(G4int i=0;i<6500;i++)
     { if(aa2<i+1&&aa2>=i) 
      ((*theRun).Z[i])++;};}

and in RunAction.cc:

   {G4cout<<"the interval is 0.01mm and the unit is cm"<<G4endl;      
   for (int i=0;i<6500;i++)
   {G4cout<<i*0.001<<"\t"<<Z[i]<<G4endl;};    }

Why the relational graph of Z[i] with i is Bragg peak ? Tanks for your time to read this text.

 Add Message Add Message
to: "some question about Beagg peak"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews


[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]