Commit in hps-java/src/main/java/org/lcsim/hps/users/meeg on MAIN | |||
HPSEcalDigitalPrintDriver.java | +3 | -5 | 1.1 -> 1.2 |
put in variable defaults
diff -u -r1.1 -r1.2 --- HPSEcalDigitalPrintDriver.java 21 Mar 2012 23:26:48 -0000 1.1 +++ HPSEcalDigitalPrintDriver.java 3 Apr 2012 18:28:10 -0000 1.2 @@ -17,15 +17,15 @@
/** * * @author Sho Uemura <[log in to unmask]>
- * @version $Id: HPSEcalDigitalPrintDriver.java,v 1.1 2012/03/21 23:26:48 meeg Exp $
+ * @version $Id: HPSEcalDigitalPrintDriver.java,v 1.2 2012/04/03 18:28:10 jeremy Exp $
*/ public class HPSEcalDigitalPrintDriver extends Driver { Subdetector ecal; IDDecoder dec;
- String ecalName;
+ String ecalName = "Ecal";
String ecalReadoutName = "EcalHits";
- String ecalCollectionName = null;
+ String ecalCollectionName = "EcalRawHits";
String outputFileName; PrintWriter outputStream = null; int timeScale = 1;
@@ -50,7 +50,6 @@
this.outputFileName = outputFileName; }
- @Override
public void startOfData() { if (ecalCollectionName == null) { throw new RuntimeException("The parameter ecalCollectionName was not set!");
@@ -75,7 +74,6 @@
dec = ecal.getIDDecoder(); }
- @Override
public void process(EventHeader event) { // Get the list of ECal hits. List<RawCalorimeterHit> hits = event.get(RawCalorimeterHit.class, ecalCollectionName);
Use REPLY-ALL to reply to list
To unsubscribe from the LCD-CVS list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=LCD-CVS&A=1