-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #239 from JeffersonLab/iss221
Iss221: Support readout of inactive Si regions in SVT sensors
- Loading branch information
Showing
18 changed files
with
20,593 additions
and
11 deletions.
There are no files selected for viewing
524 changes: 524 additions & 0 deletions
524
analysis/src/main/java/org/hps/analysis/MC/MCFullDetectorTruth.java
Large diffs are not rendered by default.
Oops, something went wrong.
467 changes: 467 additions & 0 deletions
467
analysis/src/main/java/org/hps/analysis/MC/TrackTruthMatching.java
Large diffs are not rendered by default.
Oops, something went wrong.
33 changes: 33 additions & 0 deletions
33
analysis/src/main/java/org/hps/analysis/tuple/FullTruthTupleDriver.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
package org.hps.analysis.tuple; | ||
|
||
import java.util.Arrays; | ||
|
||
import org.lcsim.event.EventHeader; | ||
|
||
public class FullTruthTupleDriver extends TupleDriver { | ||
|
||
@Override | ||
protected void setupVariables() { | ||
tupleVariables.clear(); | ||
addEventVariables(); | ||
addFullMCTridentVariables(); | ||
addFullMCWabVariables(); | ||
} | ||
|
||
protected void addEventVariables() { | ||
String[] newVars = new String[] {"run/I", "event/I", "tupleevent/I"}; | ||
tupleVariables.addAll(Arrays.asList(newVars)); | ||
} | ||
|
||
@Override | ||
public void process(EventHeader event) { | ||
|
||
fillTruthEventVariables(event); | ||
fillMCFullTruthVariables(event); | ||
fillMCWabVariables(event); | ||
|
||
if (tupleWriter != null) { | ||
writeTuple(); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.