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  October 2015

HPS-SVN October 2015

Subject:

r3810 - /java/trunk/evio/src/main/java/org/hps/evio/AbstractSvtEvioReader.java

From:

[log in to unmask]

Reply-To:

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

Date:

Thu, 8 Oct 2015 20:19:07 -0000

Content-Type:

text/plain

Parts/Attachments:

Parts/Attachments

text/plain (128 lines)

Author: [log in to unmask]
Date: Thu Oct  8 13:19:05 2015
New Revision: 3810

Log:
Change debug message levels to FINEST.

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

Modified: java/trunk/evio/src/main/java/org/hps/evio/AbstractSvtEvioReader.java
 =============================================================================
--- java/trunk/evio/src/main/java/org/hps/evio/AbstractSvtEvioReader.java	(original)
+++ java/trunk/evio/src/main/java/org/hps/evio/AbstractSvtEvioReader.java	Thu Oct  8 13:19:05 2015
@@ -156,7 +156,7 @@
      */
     public boolean makeHits(EvioEvent event, EventHeader lcsimEvent) throws SvtEvioReaderException {
 
-        LOGGER.fine("Physics Event: " + event.toString());
+        LOGGER.finest("Physics Event: " + event.toString());
         
         // Retrieve the ROC banks encapsulated by the physics bank.  The ROC
         // bank range is set in the subclass.
@@ -164,15 +164,15 @@
         for (int rocBankTag = this.getMinRocBankTag(); 
                 rocBankTag <= this.getMaxRocBankTag(); rocBankTag++) { 
             
-            LOGGER.fine("Retrieving ROC bank: " + rocBankTag);
+            LOGGER.finest("Retrieving ROC bank: " + rocBankTag);
             List<BaseStructure> matchingRocBanks = this.getMatchingBanks(event, rocBankTag);
             if (matchingRocBanks == null) { 
-                LOGGER.fine("ROC bank " + rocBankTag + " was not found!");
+                LOGGER.finest("ROC bank " + rocBankTag + " was not found!");
                 continue;
             }
             rocBanks.addAll(matchingRocBanks);
         }
-        LOGGER.fine("Total ROC banks found: " + rocBanks.size());
+        LOGGER.finest("Total ROC banks found: " + rocBanks.size());
         
         // Return false if ROC banks weren't found
         if (rocBanks.isEmpty()) return false;  
@@ -191,9 +191,9 @@
         // Loop over the SVT ROC banks and process all samples
         for (BaseStructure rocBank : rocBanks) { 
             
-            LOGGER.fine("ROC bank: " + rocBank.toString());
-            
-            LOGGER.fine("Processing ROC bank " + rocBank.getHeader().getTag());
+            LOGGER.finest("ROC bank: " + rocBank.toString());
+            
+            LOGGER.finest("Processing ROC bank " + rocBank.getHeader().getTag());
             
             // If the ROC bank doesn't contain any data, raise an exception
             if (rocBank.getChildCount() == 0) { 
@@ -203,25 +203,25 @@
             
             // Get the data banks containing the SVT samples.  
             List<BaseStructure> dataBanks = rocBank.getChildren(); 
-            LOGGER.fine("Total data banks found: " + dataBanks.size());
+            LOGGER.finest("Total data banks found: " + dataBanks.size());
             
             // Loop over all of the data banks contained by the ROC banks and 
             // processed them
             for (BaseStructure dataBank : dataBanks) { 
         
-                LOGGER.fine("Processing data bank: " + dataBank.toString());
+                LOGGER.finest("Processing data bank: " + dataBank.toString());
                 
                 // Check that the bank is valid
                 if (!this.isValidDataBank(dataBank)) continue;
                 
                 // Get the int data encapsulated by the data bank
                 int[] data = dataBank.getIntData();
-                LOGGER.fine("Total number of integers contained by the data bank: " + data.length);
+                LOGGER.finest("Total number of integers contained by the data bank: " + data.length);
         
                 // Check that a complete set of samples exist
                 int sampleCount = data.length - this.getDataHeaderLength()
                         - this.getDataTailLength();
-                LOGGER.fine("Total number of  samples: " + sampleCount);
+                LOGGER.finest("Total number of  samples: " + sampleCount);
                 if (sampleCount % 4 != 0) {
                     throw new SvtEvioReaderException("[ "
                             + this.getClass().getSimpleName()
@@ -244,7 +244,7 @@
                 int multisampleHeaderData[] = new int[sampleCount];
                 int multisampleHeaderIndex = 0;
 
-                LOGGER.fine("sampleCount " + sampleCount);
+                LOGGER.finest("sampleCount " + sampleCount);
                 
                 // Loop through all of the samples and make hits
                 for (int samplesN = 0; samplesN < sampleCount; samplesN += 4) {
@@ -252,11 +252,11 @@
                     int[] samples = new int[4];
                     System.arraycopy(data, this.getDataHeaderLength() + samplesN, samples, 0, samples.length);
                     
-                    LOGGER.fine("samplesN " + samplesN + " multisampleHeaderCount " + multisampleHeaderIndex);
+                    LOGGER.finest("samplesN " + samplesN + " multisampleHeaderCount " + multisampleHeaderIndex);
                     if(SvtEvioUtils.isMultisampleHeader(samples))
-                        LOGGER.fine("this is a header multisample for apv " + SvtEvioUtils.getApvFromMultiSample(samples) + " ch " + SvtEvioUtils.getChannelNumber(samples));
+                        LOGGER.finest("this is a header multisample for apv " + SvtEvioUtils.getApvFromMultiSample(samples) + " ch " + SvtEvioUtils.getChannelNumber(samples));
                     else 
-                        LOGGER.fine("this is a data   multisample for apv " + SvtEvioUtils.getApvFromMultiSample(samples) + " ch " + SvtEvioUtils.getChannelNumber(samples));
+                        LOGGER.finest("this is a data multisample for apv " + SvtEvioUtils.getApvFromMultiSample(samples) + " ch " + SvtEvioUtils.getChannelNumber(samples));
                     
                     
                     // Extract data words from multisample header 
@@ -267,7 +267,7 @@
                     rawHits.add(this.makeHit(samples));
                 }
                 
-                LOGGER.fine("got " +  multisampleHeaderIndex + " multisampleHeaderIndex for " + sampleCount + " sampleCount");
+                LOGGER.finest("got " +  multisampleHeaderIndex + " multisampleHeaderIndex for " + sampleCount + " sampleCount");
                 
                 // add multisample header tails to header data object
                 this.setMultiSampleHeaders(headerData, multisampleHeaderIndex, multisampleHeaderData);
@@ -275,7 +275,7 @@
             }
         }
         
-        LOGGER.fine("Total number of RawTrackerHits created: " + rawHits.size());
+        LOGGER.finest("Total number of RawTrackerHits created: " + rawHits.size());
 
         // Turn on 64-bit cell ID.
         int flag = LCIOUtil.bitSet(0, 31, true);

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