lcsim-contrib/src/main/java/org/lcsim/contrib/SteveMagill
diff -u -r1.1.1.1 -r1.2
--- HighPTemplate.java 10 Dec 2008 22:03:06 -0000 1.1.1.1
+++ HighPTemplate.java 14 Feb 2012 19:37:15 -0000 1.2
@@ -126,12 +126,16 @@
// ***************PFA Utility Algorithm****************************************
// Utility to get some Track/SpacePoint maps of extrapolated track
- // positions - So far, 3 output maps <Track, SpacePoint>
- // TrkXE0Map (Track pos at ECAL layer 0)
- // TrkXEShMaxMap (Track pos at ECAL Shower Max)
- // TrkXH0Map (Track pos at HCAL layer 0)
- TrkXPosDriver txpdriver = new TrkXPosDriver();
+ // positions - So far, 3 output maps <Track, SpacePoint>
+ int layer = 7; // for BGO, shower max is beginning of layer 1
+ String tre0name = ("TrackXE0Map"); // map for extrapolation to front face of ECAL
+ String trshmname = ("TrackXEShMaxMap"); // map for extrapolation to shower max or other
+ String trh0name = ("TrackXH0Map"); // map for extrapolation to front face of HCAL
+ TrkXPosDriver txpdriver = new TrkXPosDriver(layer);
txpdriver.setInputTrackList(Trname);
+ txpdriver.setTrackECAL0Map(tre0name);
+ txpdriver.setTrackShMaxMap(trshmname);
+ txpdriver.setTrackHCAL0Map(trh0name);
add(txpdriver);
// *******************TRACK-MIP ASSOCIATION algorithm*****************************