Skip to content

Commit bdffce9

Browse files
raffaelladevitabaltzell
authored andcommitted
Iss1006 vtx speed3 (#1012)
* set max pathlength in swimming for vertexing to 50 cm * add REC::VertDoca to dst schema
1 parent 9a50fd7 commit bdffce9

File tree

3 files changed

+12
-1
lines changed

3 files changed

+12
-1
lines changed

common-tools/swim-tools/src/main/java/org/jlab/clas/swimtools/Swim.java

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,15 @@ public Swim() {
6363
}
6464
}
6565

66+
/**
67+
* Set max swimming path length
68+
*
69+
* @param maxPathLength
70+
*/
71+
public void setMaxPathLength(double _maxPathLength) {
72+
this._maxPathLength = _maxPathLength;
73+
}
74+
6675
/**
6776
*
6877
* @param direction

etc/bankdefs/util/bankSplit.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ def create(dirname, banklist):
5555
tag1 = ["RUN::config", "RAW::epics", "RAW::scaler", "RUN::scaler", "HEL::scaler", "COAT::config", "HEL::flip", "HEL::online", "HEL::decoder"]
5656

5757
# these are the output of the event builder:
58-
rectb = ["REC::Event","REC::Particle","REC::Calorimeter","REC::CaloExtras","REC::Cherenkov","REC::CovMat","REC::ForwardTagger","REC::Scintillator","REC::ScintExtras","REC::Track","REC::UTrack","REC::FTrack","REC::Traj","RECFT::Event","RECFT::Particle"]
58+
rectb = ["REC::Event","REC::Particle","REC::Calorimeter","REC::CaloExtras","REC::Cherenkov","REC::CovMat","REC::ForwardTagger","REC::Scintillator","REC::ScintExtras","REC::Track","REC::UTrack","REC::FTrack","REC::Traj","REC::VertDoca","RECFT::Event","RECFT::Particle"]
5959
rechb = ["RECHB::Event","RECHB::Particle","RECHB::Calorimeter","RECHB::CaloExtras","RECHB::Cherenkov","RECHB::ForwardTagger","RECHB::Scintillator","RECHB::ScintExtras","RECHB::Track","RECHB::FTrack"]
6060
rectbai = ["RECAI::Event","RECAI::Particle","RECAI::Calorimeter","RECAI::CaloExtras","RECAI::Cherenkov","RECAI::CovMat","RECAI::ForwardTagger","RECAI::Scintillator","RECAI::ScintExtras","RECAI::Track","RECAI::Traj","RECAIFT::Event","RECAIFT::Particle"]
6161
rechbai = ["RECHBAI::Event","RECHBAI::Particle","RECHBAI::Calorimeter","RECHBAI::CaloExtras","RECHBAI::Cherenkov","RECHBAI::ForwardTagger","RECHBAI::Scintillator","RECHBAI::ScintExtras","RECHBAI::Track"]

reconstruction/vtx/src/main/java/org/jlab/rec/vtx/DoubleSwim.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ public DoubleSwim() {
3939
swim2.stepSize= 500.00* 1.e-6; // 500 microns
4040
swim1.distanceBetweenSaves=500.00 * 1.e-6; // 500 microns
4141
swim2.distanceBetweenSaves=500.00 * 1.e-6; // 500 microns
42+
swim1.setMaxPathLength(0.5); // m
43+
swim2.setMaxPathLength(0.5); // m
4244
}
4345

4446
public void init(double x01, double y01, double z01, double px01, double py01, double pz01, int charge1,

0 commit comments

Comments
 (0)