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  May 2016

HPS-SVN May 2016

Subject:

r4360 - in /java/branches/HPSJAVA-409/detector-model/src/main/java/org/hps/detector/ecal: CrystalRange.java CrystalTaitBryanAngleCalculator.java EcalCrystal.java GVector.java Geant4Position.java HPSEcalDetectorElement.java StatFunUtils.java

From:

[log in to unmask]

Reply-To:

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

Date:

Wed, 18 May 2016 00:47:26 -0000

Content-Type:

text/plain

Parts/Attachments:

Parts/Attachments

text/plain (141 lines)

Author: [log in to unmask]
Date: Tue May 17 17:47:24 2016
New Revision: 4360

Log:
Minor cleanup.

Modified:
    java/branches/HPSJAVA-409/detector-model/src/main/java/org/hps/detector/ecal/CrystalRange.java
    java/branches/HPSJAVA-409/detector-model/src/main/java/org/hps/detector/ecal/CrystalTaitBryanAngleCalculator.java
    java/branches/HPSJAVA-409/detector-model/src/main/java/org/hps/detector/ecal/EcalCrystal.java
    java/branches/HPSJAVA-409/detector-model/src/main/java/org/hps/detector/ecal/GVector.java
    java/branches/HPSJAVA-409/detector-model/src/main/java/org/hps/detector/ecal/Geant4Position.java
    java/branches/HPSJAVA-409/detector-model/src/main/java/org/hps/detector/ecal/HPSEcalDetectorElement.java
    java/branches/HPSJAVA-409/detector-model/src/main/java/org/hps/detector/ecal/StatFunUtils.java

Modified: java/branches/HPSJAVA-409/detector-model/src/main/java/org/hps/detector/ecal/CrystalRange.java
 =============================================================================
--- java/branches/HPSJAVA-409/detector-model/src/main/java/org/hps/detector/ecal/CrystalRange.java	(original)
+++ java/branches/HPSJAVA-409/detector-model/src/main/java/org/hps/detector/ecal/CrystalRange.java	Tue May 17 17:47:24 2016
@@ -2,6 +2,11 @@
 
 import org.jdom.Element;
 
+/**
+ * Simplistic representation of a range of ECal XY crystal indices.
+ * 
+ * @author Jeremy McCormick
+ */
 public class CrystalRange {
 
     int xIndexMax;

Modified: java/branches/HPSJAVA-409/detector-model/src/main/java/org/hps/detector/ecal/CrystalTaitBryanAngleCalculator.java
 =============================================================================
--- java/branches/HPSJAVA-409/detector-model/src/main/java/org/hps/detector/ecal/CrystalTaitBryanAngleCalculator.java	(original)
+++ java/branches/HPSJAVA-409/detector-model/src/main/java/org/hps/detector/ecal/CrystalTaitBryanAngleCalculator.java	Tue May 17 17:47:24 2016
@@ -6,15 +6,12 @@
 
 
 /**
- * Calculates Euler(actually Tait-Bryan) angles for a rotation, that transfers the crystal from it's initial
- * state-parallel to Z axis To final state-defined by 2 center points in front and back faces of the crystal.
- * for information about Tait-Bryan angles look here: http://sedris.org/wg8home/Documents/WG80485.pdf
+ * Calculates Euler (actually Tait-Bryan) angles for a rotation which transfers the crystal from it's initial
+ * state parallel to the Z axis into the center position defined by the center points of the front and back faces.
+ * <p>
+ * For information about Tait-Bryan angles <a href="http://sedris.org/wg8home/Documents/WG80485.pdf">look here</a>. 
  * 
- * phi - rotation angle around x
- * theta - rotation angle around y
- * psi - rotation angle around z
- * 
- * @author Annie Simonyan [log in to unmask]
+ * @author Annie Simonyan
  */
 class CrystalTaitBryanAngleCalculator {
     
@@ -22,7 +19,7 @@
     private double theta = 0;
     private final double psi = 0;
 
-    // final state vector
+    /* Vector representing final position. */
     private GVector fin; 
 
     private double sinTheta = 0;

Modified: java/branches/HPSJAVA-409/detector-model/src/main/java/org/hps/detector/ecal/EcalCrystal.java
 =============================================================================
--- java/branches/HPSJAVA-409/detector-model/src/main/java/org/hps/detector/ecal/EcalCrystal.java	(original)
+++ java/branches/HPSJAVA-409/detector-model/src/main/java/org/hps/detector/ecal/EcalCrystal.java	Tue May 17 17:47:24 2016
@@ -12,7 +12,8 @@
 
 /**
  * This class implements the geometry API for ECal crystals in the HPS experiment. 
- * @author Jeremy McCormick <[log in to unmask]>
+ * 
+ * @author Jeremy McCormick
  */
 public class EcalCrystal extends DetectorElement {
     

Modified: java/branches/HPSJAVA-409/detector-model/src/main/java/org/hps/detector/ecal/GVector.java
 =============================================================================
--- java/branches/HPSJAVA-409/detector-model/src/main/java/org/hps/detector/ecal/GVector.java	(original)
+++ java/branches/HPSJAVA-409/detector-model/src/main/java/org/hps/detector/ecal/GVector.java	Tue May 17 17:47:24 2016
@@ -6,7 +6,7 @@
  * Defines a vector in (XYZ) coordinate system as a geometrical object.
  * This class is similar to HepVector 
  * 
- * CrystalTaitBryanAngleCalculator.java
+ * @author Annie Simonyan
  */
 public class GVector {
 

Modified: java/branches/HPSJAVA-409/detector-model/src/main/java/org/hps/detector/ecal/Geant4Position.java
 =============================================================================
--- java/branches/HPSJAVA-409/detector-model/src/main/java/org/hps/detector/ecal/Geant4Position.java	(original)
+++ java/branches/HPSJAVA-409/detector-model/src/main/java/org/hps/detector/ecal/Geant4Position.java	Tue May 17 17:47:24 2016
@@ -12,7 +12,7 @@
  * theta-rotation around Y
  * psi-rotation around Z
  * 
- * @author Annie Simonyan [log in to unmask]
+ * @author Annie Simonyan
  */
 public class Geant4Position {
     

Modified: java/branches/HPSJAVA-409/detector-model/src/main/java/org/hps/detector/ecal/HPSEcalDetectorElement.java
 =============================================================================
--- java/branches/HPSJAVA-409/detector-model/src/main/java/org/hps/detector/ecal/HPSEcalDetectorElement.java	(original)
+++ java/branches/HPSJAVA-409/detector-model/src/main/java/org/hps/detector/ecal/HPSEcalDetectorElement.java	Tue May 17 17:47:24 2016
@@ -16,7 +16,6 @@
 import org.lcsim.detector.identifier.IIdentifierHelper;
 
 /**
- * <p>
  * This is an implementation of a basic geometry API for the HPS ECAL.
  * <p>
  * The neighboring API and conventions are based on the page 7 diagram from the 

Modified: java/branches/HPSJAVA-409/detector-model/src/main/java/org/hps/detector/ecal/StatFunUtils.java
 =============================================================================
--- java/branches/HPSJAVA-409/detector-model/src/main/java/org/hps/detector/ecal/StatFunUtils.java	(original)
+++ java/branches/HPSJAVA-409/detector-model/src/main/java/org/hps/detector/ecal/StatFunUtils.java	Tue May 17 17:47:24 2016
@@ -7,9 +7,9 @@
  */
 class StatFunUtils {
 
-    /*****
+    /**
      * Function for double to round up the arg. value to 'places' digits after the semicolon 
-     ******/
+     */
     public static double round(double value, int places) {
         if (places < 0 || places > 16) {
             throw new IllegalArgumentException();

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