Commit in hps-java/src/main/java/org/lcsim/hps/users/mgraham on MAIN | |||
FastTrackAnalysisDriver.java | +9 | -2 | 1.6 -> 1.7 |
make beam-spot size settable
diff -u -r1.6 -r1.7 --- FastTrackAnalysisDriver.java 30 Aug 2012 16:56:03 -0000 1.6 +++ FastTrackAnalysisDriver.java 5 Sep 2012 19:40:05 -0000 1.7 @@ -55,7 +55,7 @@
public String outputTextName = "myevents.txt"; FileWriter fw; PrintWriter pw;
- double[] beamsize = {0.001, 0.02, 0.02};
+ double[] beamsize = {0.001, 0.2, 0.02};
String _config = "Test"; // flipSign is a kludge... // HelicalTrackFitter doesn't deal with B-fields in -ive Z correctly
@@ -82,7 +82,14 @@
_minLayers = mintrkLayers; }
-
+ public void setBeamSigmaX(double sigma){ + beamsize[1]=sigma; //the beamsize[] array is in tracking frame + } + + public void setBeamSigmaY(double sigma){ + beamsize[2]=sigma; //the beamsize[] array is in tracking frame + } +
public void process( EventHeader event) {
Use REPLY-ALL to reply to list
To unsubscribe from the LCD-CVS list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=LCD-CVS&A=1