lcsim/sandbox/Partridge/JetOccupancy
diff -u -r1.1 -r1.2
--- JetOccupancy.java 2 Nov 2007 17:49:04 -0000 1.1
+++ JetOccupancy.java 29 Nov 2007 19:43:57 -0000 1.2
@@ -98,7 +98,7 @@
int layer = simhit.getLayer();
String name = simhit.getSubdetector().getName();
BarrelEndcapFlag flag = simhit.getIDDecoder().getBarrelEndcapFlag();
- if (flag == BarrelEndcapFlag.BARREL && simhit.getPathLength()>10 {
+ if (flag == BarrelEndcapFlag.BARREL && simhit.getPathLength()>10) {
System.out.println(" Long path length: "+simhit.getPathLength());
}
if (flag == BarrelEndcapFlag.BARREL && simhit.getPathLength()<10) {
@@ -111,19 +111,19 @@
// aida.cloud2D("rm vs zm"+name).fill(rm,pos[2]);
// aida.cloud2D("rs vs zs"+name).fill(rs,simhit.getPoint()[2]);
- double dsmax = 0.5;
- double dzmax = 0.5;
+ double dsmax = 1.;
+ double dzmax = 1.;
if (r>15) {
- dsmax = 1;
- dzmax = 1.;
+ dsmax = 2;
+ dzmax = 2.;
}
if (r>100) {
- dsmax = 2;
- dzmax = 50.;
+ dsmax = 40;
+ dzmax = 40.;
}
if (r>300) {
- dsmax = 5;
- dzmax = 50.;
+ dsmax = 100;
+ dzmax = 100.;
}
if (Math.abs(ds)<dsmax && Math.abs(dz)<dzmax) {
aida.cloud1D("ds "+name+" "+layer).fill(ds);