Author: [log in to unmask]
Date: Fri Sep 25 13:34:23 2015
New Revision: 3715
Log:
set defaults
Modified:
java/trunk/recon/src/main/java/org/hps/recon/filtering/EventFlagFilter.java
Modified: java/trunk/recon/src/main/java/org/hps/recon/filtering/EventFlagFilter.java
=============================================================================
--- java/trunk/recon/src/main/java/org/hps/recon/filtering/EventFlagFilter.java (original)
+++ java/trunk/recon/src/main/java/org/hps/recon/filtering/EventFlagFilter.java Fri Sep 25 13:34:23 2015
@@ -3,14 +3,15 @@
import org.lcsim.event.EventHeader;
/**
- * Accept only events where all of the specified flags have a value of 1.
+ * Accept only events where all of the specified flags exist and have a value of
+ * 1.
*
* @author Sho Uemura <[log in to unmask]>
* @version $Id: $
*/
public class EventFlagFilter extends EventReconFilter {
- String[] flagNames = null;
+ String[] flagNames = {"svt_bias_good", "svt_position_good", "svt_burstmode_noise_good"};
public void setFlagNames(String[] flagNames) {
this.flagNames = flagNames;
|