Commit in projects/lcsim/trunk/analysis/src/main/java/org/lcsim/analysis on MAIN | |||
CalorimeterOccupancyDriver.java | +3 | 3149 -> 3150 |
plot rate vs position
--- projects/lcsim/trunk/analysis/src/main/java/org/lcsim/analysis/CalorimeterOccupancyDriver.java 2014-05-30 20:36:19 UTC (rev 3149) +++ projects/lcsim/trunk/analysis/src/main/java/org/lcsim/analysis/CalorimeterOccupancyDriver.java 2014-06-05 07:40:36 UTC (rev 3150) @@ -102,12 +102,15 @@
for (Long key : keys) { idDecoder.setID(key); int layer = idDecoder.getLayer();
+ double[] pos = idDecoder.getPosition();
Integer hitCount = map.get(key); // and fill the histogram if (hitCount > 3) { System.out.println(collectionName + " id " + key + " has " + hitCount + " hits."); } aida.histogram1D(collectionName + "layer " + layer + " occupancy rates", 100, 0., 100.).fill(hitCount);
+ aida.cloud2D(collectionName + "layer " + layer + " occupancy rates vs position").fill(pos[0],pos[1],hitCount); +
} } }
Use REPLY-ALL to reply to list
To unsubscribe from the LCDET-SVN list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=LCDET-SVN&A=1