LISTSERV mailing list manager LISTSERV 16.5

Help for HPS-SVN Archives


HPS-SVN Archives

HPS-SVN Archives


HPS-SVN@LISTSERV.SLAC.STANFORD.EDU


View:

Message:

[

First

|

Previous

|

Next

|

Last

]

By Topic:

[

First

|

Previous

|

Next

|

Last

]

By Author:

[

First

|

Previous

|

Next

|

Last

]

Font:

Proportional Font

LISTSERV Archives

LISTSERV Archives

HPS-SVN Home

HPS-SVN Home

HPS-SVN  November 2014

HPS-SVN November 2014

Subject:

r1566 - /java/trunk/evio/src/main/java/org/hps/evio/EventConstants.java

From:

[log in to unmask]

Reply-To:

Notification of commits to the hps svn repository <[log in to unmask]>

Date:

Tue, 18 Nov 2014 20:21:43 -0000

Content-Type:

text/plain

Parts/Attachments:

Parts/Attachments

text/plain (67 lines)

Author: [log in to unmask]
Date: Tue Nov 18 12:21:40 2014
New Revision: 1566

Log:
Just format this a bit better.

Modified:
    java/trunk/evio/src/main/java/org/hps/evio/EventConstants.java

Modified: java/trunk/evio/src/main/java/org/hps/evio/EventConstants.java
 =============================================================================
--- java/trunk/evio/src/main/java/org/hps/evio/EventConstants.java	(original)
+++ java/trunk/evio/src/main/java/org/hps/evio/EventConstants.java	Tue Nov 18 12:21:40 2014
@@ -3,41 +3,42 @@
 
 public final class EventConstants {
 
-    //event type tag
-    //public static final int PHYSICS_EVENT_TAG = 1;
-    //public static final int SYNC_EVENT_TAG = 16;
-    //public static final int PRESTART_EVENT_TAG = 17;
-    //public static final int GO_EVENT_TAG = 18;
-    //public static final int PAUSE_EVENT_TAG = 19;
-    //public static final int END_EVENT_TAG = 20;
     //event type tag    
     public static final int EVENT_BANK_NUM = 0xCC;
+    
     // These correspond to ROC (readout crate) IDs from the DAQ.
     public static final int ECAL_TOP_BANK_TAG = 0x1;
     public static final int ECAL_BOTTOM_BANK_TAG = 0x2;
     public static final int SVT_BANK_TAG = 0x3;
+    
     // These values are put into the number field of the banks.
-    // FIXME Bank numbers should actually be sequentially numbered and not hard-coded.
     public static final int SVT_BANK_NUMBER = 1;
     public static final int ECAL_BANK_NUMBER = 1;
     public static final int TRIGGER_BANK_NUMBER = 1;
     public static final int ECAL_WINDOW_MODE = 1;
     public static final int ECAL_PULSE_MODE = 2;
     public static final int ECAL_PULSE_INTEGRAL_MODE = 3;
+    
     // The composite data format for window ecal data.
     public static final String ECAL_WINDOW_FORMAT = "c,i,l,N(c,Ns)";
+    
     // The composite data format for pulse ecal data.
     public static final String ECAL_PULSE_FORMAT = "c,i,l,N(c,N(c,Ns))";
+    
     // The composite data format for pulse integral ecal data.
     public static final String ECAL_PULSE_INTEGRAL_FORMAT = "c,i,l,N(c,N(s,i))";
+    
     // The tag for ECal window data.
     public static final int ECAL_WINDOW_BANK_TAG = 0xe101;
+    
     // The tag for ECal pulse data.
     public static final int ECAL_PULSE_BANK_TAG = 0xe102;
+    
     // The tag for ECal pulse integral data.
     public static final int ECAL_PULSE_INTEGRAL_BANK_TAG = 0xe103;
+    
     // The tag for trigger data.
     public static final int TRIGGER_BANK_TAG = 0xe106;
     public static final int SVT_TOTAL_NUMBER_FPGAS = 8;
-    public static final int MC_TIME = 2019686400; //Unix time (in seconds) used for Monte Carlo data - 1/1/2034
+    public static final int MC_TIME = 2019686400; //Unix time (in seconds) used for Monte Carlo data 
 }

Top of Message | Previous Page | Permalink

Advanced Options


Options

Log In

Log In

Get Password

Get Password


Search Archives

Search Archives


Subscribe or Unsubscribe

Subscribe or Unsubscribe


Archives

November 2017
August 2017
July 2017
January 2017
December 2016
November 2016
October 2016
September 2016
August 2016
July 2016
June 2016
May 2016
April 2016
March 2016
February 2016
January 2016
December 2015
November 2015
October 2015
September 2015
August 2015
July 2015
June 2015
May 2015
April 2015
March 2015
February 2015
January 2015
December 2014
November 2014
October 2014
September 2014
August 2014
July 2014
June 2014
May 2014
April 2014
March 2014
February 2014
January 2014
December 2013
November 2013

ATOM RSS1 RSS2



LISTSERV.SLAC.STANFORD.EDU

Secured by F-Secure Anti-Virus CataList Email List Search Powered by the LISTSERV Email List Manager

Privacy Notice, Security Notice and Terms of Use