Skip to content

Commit

Permalink
HELLO BING BONG
Browse files Browse the repository at this point in the history
  • Loading branch information
[email protected] committed Jul 19, 2024
1 parent 7da7d3e commit 9563c85
Show file tree
Hide file tree
Showing 3 changed files with 69 additions and 2 deletions.
64 changes: 64 additions & 0 deletions detector-model/dependency-reduced-pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<parent>
<artifactId>hps-java</artifactId>
<groupId>org.hps</groupId>
<version>5.2.2-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>hps-detector-model</artifactId>
<name>detector-model</name>
<description>detector modeling code based on lcsim framework</description>
<build>
<plugins>
<plugin>
<artifactId>maven-shade-plugin</artifactId>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<shadedArtifactAttached>true</shadedArtifactAttached>
<shadedClassifierName>bin</shadedClassifierName>
<transformers>
<transformer />
<transformer>
<mainClass>org.hps.detector.DetectorConverter</mainClass>
</transformer>
</transformers>
<artifactSet>
<excludes>
<exclude>hep.testdata.aida:*</exclude>
</excludes>
</artifactSet>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<excludes>
<exclude>**/*Test.java</exclude>
</excludes>
</configuration>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.13.1</version>
<scope>test</scope>
<exclusions>
<exclusion>
<artifactId>hamcrest-core</artifactId>
<groupId>org.hamcrest</groupId>
</exclusion>
</exclusions>
</dependency>
</dependencies>
</project>
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,8 @@
<readoutCollections>SVTRawTrackerHits</readoutCollections>
</driver>
<driver name="RawTrackerHitFitterDriver" type="org.hps.recon.tracking.RawTrackerHitFitterDriver">
<chisqrThresh>.75</chisqrThresh>
<doOldDT>0</doOldDT>
<chiSqrThresh>.5</chiSqrThresh>
<doOldDT>1</doOldDT>
<fitAlgorithm>Pileup</fitAlgorithm>
<fitTimeMinimizer>Migrad</fitTimeMinimizer>
<useTimestamps>false</useTimestamps>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -340,6 +340,7 @@ private ArrayList<List<LCRelation>> hasV(List<LCRelation> cluster){
}
vloc.add(maxChan);
ArrayList<List<LCRelation>> clusters = new ArrayList<List<LCRelation>>();
//System.out.println("Start of New Clustering");
for(int I=0;I<vloc.size()-1;I++){
List<LCRelation> clusterS = new ArrayList<LCRelation>();
for(int II=vloc.get(I);II<=vloc.get(I+1);II++){
Expand All @@ -350,9 +351,11 @@ private ArrayList<List<LCRelation>> hasV(List<LCRelation> cluster){
int channel_number = sid_helper.getElectrodeValue(id);
if(channel_number==II){
clusterS.add(cluster.get(III));
//System.out.println(channel_number);
}
}
}
//System.out.print("\n\n");
clusters.add(clusterS);
}
if(clusters.size()==0){
Expand Down

0 comments on commit 9563c85

Please sign in to comment.