Contents
Class DictionaryGenerator
java.lang.Object
org.jlab.analysis.roads.DictionaryGenerator
Trigger Roads Generator: it uses a fast-MC approach to generate the list
of detector components 'hit' by a track.
Input parameters, defining the kinematics to be covered and detector
configurations, are set via command line options. The found tracks are
save to a text file.
Uses detector geometry packages and swimming.
- Author:
- devita, ziegler
-
Constructor Summary
ConstructorsConstructorDescriptionDictionaryGenerator
(String variation, double torusScale, double solenoidScale, long seed, int duplicates) -
Method Summary
Modifier and TypeMethodDescriptionvoid
configure
(int charge, double pMin, double pMax, double thMin, double thMax, double phiMin, double phiMax, double vzMin, double vzMax, double vr) void
generate
(int n) static void
void
static eu.mihosoft.vrl.v3d.Vector3d
rotateToSectorCoordSys
(double x, double y, double z) org.jlab.geom.prim.Point3D
rotateToTiltedCoordSys
(int sector, org.jlab.geom.prim.Point3D lab)
-
Constructor Details
-
DictionaryGenerator
public DictionaryGenerator() -
DictionaryGenerator
public DictionaryGenerator(String variation, double torusScale, double solenoidScale, long seed, int duplicates)
-
-
Method Details
-
configure
public void configure(int charge, double pMin, double pMax, double thMin, double thMax, double phiMin, double phiMax, double vzMin, double vzMax, double vr) -
generate
public void generate(int n) -
printConfiguration
public void printConfiguration() -
rotateToSectorCoordSys
public static eu.mihosoft.vrl.v3d.Vector3d rotateToSectorCoordSys(double x, double y, double z) -
rotateToTiltedCoordSys
public org.jlab.geom.prim.Point3D rotateToTiltedCoordSys(int sector, org.jlab.geom.prim.Point3D lab) -
main
-