11 #include "TLorentzVector.h"
12 #include "TParticle.h"
13 #include "TVirtualMC.h"
31 : fPointCollection(NULL),
34 fPosIn(TLorentzVector(0,0,0,0)),
35 fPosOut(TLorentzVector(0,0,0,0)),
36 fMomIn(TLorentzVector(0,0,0,0)),
37 fMomOut(TLorentzVector(0,0,0,0)),
77 TParticle*
part = gMC->GetStack()->GetCurrentTrack();
78 fTrackID = gMC->GetStack()->GetCurrentTrackNumber();
79 gMC->TrackPosition(
fPosIn);
80 gMC->TrackMomentum(
fMomIn);
85 for (Int_t i=0; i<
fMeshList->GetEntriesFast(); i++ ) {
88 Double_t fDiag = aMesh->
GetDiag();
115 if ( part->P() > 0.02 ) {
128 TLorentzVector&
mom )
153 if ( (pos.X() >= aMesh->
GetXmin()) && (pos.X() <= aMesh->
GetXmax())