Commit in hps-java/src/main/java/org/lcsim/hps/recon/tracking on MAIN | |||
HelicalTrackHitResidualsDriver.java | +8 | -11 | 1.3 -> 1.4 |
Removed track direction update and some plot changes.
diff -u -r1.3 -r1.4 --- HelicalTrackHitResidualsDriver.java 20 Apr 2013 04:01:44 -0000 1.3 +++ HelicalTrackHitResidualsDriver.java 21 Apr 2013 23:38:32 -0000 1.4 @@ -120,10 +120,7 @@
for (Track track : tracklist) {
- if(TrackUtils.passTrackSelection(track, tracklist, EventQuality.Quality.MEDIUM)) { - //System.out.printf("%s: passed track selections\n",this.getClass().getSimpleName()); - } else { - //System.out.printf("%s: failed track selections\n",this.getClass().getSimpleName());
+ if(!TrackUtils.passTrackSelection(track, tracklist, EventQuality.Quality.MEDIUM)) {
continue; }
@@ -133,9 +130,9 @@
List<TrackerHit> hitsOnTrack = track.getTrackerHits(); for(TrackerHit hit : hitsOnTrack) { HelicalTrackHit hth = (HelicalTrackHit) hit;
- HelicalTrackCross htc = (HelicalTrackCross) hth; - //System.out.printf("%s: getHitMap: hth position before trkdir: (%.3f,%.3f,%.3f)\n",this.getClass().getSimpleName(),hth.x(),hth.y(),hth.z()); - htc.setTrackDirection(trk);
+ //HelicalTrackCross htc = (HelicalTrackCross) hth; + //System.out.printf("%s: getHitMap: hth position before trkdir: (%.3f,%.3f,%.3f)\n",this.getClass().getSimpleName(),hth.x(),hth.y(),hth.z()); + //htc.setTrackDirection(trk);
Map<String,Double> res_track = TrackUtils.calculateTrackHitResidual(hth, trk, this._includeMS); boolean isTop = false; if(SvtUtils.getInstance().isTopLayer((SiSensor)((RawTrackerHit)hth.getRawHits().get(0)).getDetectorElement())) {
@@ -196,10 +193,10 @@
private void makePlots() { int nbins = 50;
- double bins_resz_min[] = {-0.2,-0.4,-0.4,-0.4,-0.4}; - double bins_resz_max[] = {0.2,0.4,0.4,0.4,0.4}; - double bins_resy_min[] = {-1,-1,-2,-2,-3}; - double bins_resy_max[] = {1,1,2,2,3};
+ double bins_resz_min[] = {-0.15,-0.4,-0.6,-1.0,-1.5}; + double bins_resz_max[] = {0.15,0.4,0.6,1.0,1.5}; + double bins_resy_min[] = {-0.4,-0.6,-1.0,-1.5,-1.8}; + double bins_resy_max[] = {0.4,0.6,1.0,1.5,1.8};
_plotter_resz_top = aida.analysisFactory().createPlotterFactory().create();
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