ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/algomez/test/fixColourReconection.awk
(Generate patch)

Comparing UserCode/algomez/test/fixColourReconection.awk (file contents):
Revision 1.1 by algomez, Wed Apr 24 13:00:46 2013 UTC vs.
Revision 1.2 by algomez, Wed Apr 24 13:17:48 2013 UTC

# Line 65 | Line 65 | BEGIN{
65                  if($3!=$4){                                     # For decaying particles right after initial state
66                          if($5!=$6){                             # If the colour is the same something is wrong or if 0 we do not care about colour
67                                  if($1>0){                       # For particles
68 +                                        mother1=linecount;      # Record number of mother particle
69                                          $5=initialcolour1;      # Assign colour of initial particle
70                                          $6=0;
71                                  }
72                                  else{                           # Assign colour of initial ANTIparticle
73 +                                        mother2=linecount;
74                                          $6=initialcolour2;
75                                          $5=0;
76                                  }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines