Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,15 @@ public Swim() {
}
}

/**
* Set max swimming path length
*
* @param maxPathLength
*/
public void setMaxPathLength(double _maxPathLength) {
this._maxPathLength = _maxPathLength;
}

/**
*
* @param direction
Expand Down
2 changes: 1 addition & 1 deletion etc/bankdefs/util/bankSplit.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def create(dirname, banklist):
tag1 = ["RUN::config", "RAW::epics", "RAW::scaler", "RUN::scaler", "HEL::scaler", "COAT::config", "HEL::flip", "HEL::online", "HEL::decoder"]

# these are the output of the event builder:
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"]
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"]
rechb = ["RECHB::Event","RECHB::Particle","RECHB::Calorimeter","RECHB::CaloExtras","RECHB::Cherenkov","RECHB::ForwardTagger","RECHB::Scintillator","RECHB::ScintExtras","RECHB::Track","RECHB::FTrack"]
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"]
rechbai = ["RECHBAI::Event","RECHBAI::Particle","RECHBAI::Calorimeter","RECHBAI::CaloExtras","RECHBAI::Cherenkov","RECHBAI::ForwardTagger","RECHBAI::Scintillator","RECHBAI::ScintExtras","RECHBAI::Track"]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ public DoubleSwim() {
swim2.stepSize= 500.00* 1.e-6; // 500 microns
swim1.distanceBetweenSaves=500.00 * 1.e-6; // 500 microns
swim2.distanceBetweenSaves=500.00 * 1.e-6; // 500 microns
swim1.setMaxPathLength(0.5); // m
swim2.setMaxPathLength(0.5); // m
}

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