Author: [log in to unmask]
Date: Wed Apr 1 14:05:19 2015
New Revision: 2651
Log:
The GTP and CTP clusterers were set so that they do not persist clusters to LCIO. LCIO was having issues with saving these clusters due to their use of hits from multiple events. Since these clusters are not typically used for analysis, there is no pressing need to persist them in a saved LCIO file. Note that this change does not prevent drivers from reading the GTP or CTP cluster collections during the initial runtime; it just doesn't save them to an output LCIO file.
Modified:
java/trunk/ecal-recon/src/main/java/org/hps/recon/ecal/cluster/CTPClusterDriver.java
java/trunk/ecal-recon/src/main/java/org/hps/recon/ecal/cluster/GTPClusterDriver.java
Modified: java/trunk/ecal-recon/src/main/java/org/hps/recon/ecal/cluster/CTPClusterDriver.java
=============================================================================
--- java/trunk/ecal-recon/src/main/java/org/hps/recon/ecal/cluster/CTPClusterDriver.java (original)
+++ java/trunk/ecal-recon/src/main/java/org/hps/recon/ecal/cluster/CTPClusterDriver.java Wed Apr 1 14:05:19 2015
@@ -13,6 +13,7 @@
public CTPClusterDriver() {
clusterer = ClustererFactory.create("CTPClusterer");
+ setWriteClusterCollection(false);
}
public void setClusterWindow(int clusterWindow) {
Modified: java/trunk/ecal-recon/src/main/java/org/hps/recon/ecal/cluster/GTPClusterDriver.java
=============================================================================
--- java/trunk/ecal-recon/src/main/java/org/hps/recon/ecal/cluster/GTPClusterDriver.java (original)
+++ java/trunk/ecal-recon/src/main/java/org/hps/recon/ecal/cluster/GTPClusterDriver.java Wed Apr 1 14:05:19 2015
@@ -23,6 +23,7 @@
public GTPClusterDriver() {
clusterer = ClustererFactory.create("GTPClusterer");
gtp = (GTPClusterer) clusterer;
+ setWriteClusterCollection(false);
}
/**
|