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
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ public void setApplyClusterCorrections(boolean val) {
/**
* LCIO collection name for tracks.
*/
protected String trackCollectionName = "GBLTracks";
protected String matcherTrackCollectionName = "GBLTracks";
/**
* Track Cluster Algorithm set to Kalman or GBL Tracks
*/
Expand Down Expand Up @@ -353,10 +353,10 @@ public void setTargetConV0VerticesColName(String targetConV0VerticesColName) {
/**
* Sets the LCIO collection name for particle track data.
*
* @param trackCollectionName - The LCIO collection name.
* @param matcherTrackCollectionName - The LCIO collection name.
*/
public void setTrackCollectionName(String trackCollectionName) {
this.trackCollectionName = trackCollectionName;
public void setMatcherTrackCollectionName(String matcherTrackCollectionName) {
this.matcherTrackCollectionName = matcherTrackCollectionName;
}

/**
Expand Down Expand Up @@ -445,7 +445,7 @@ protected void detectorChanged(Detector detector) {
matcher = TrackClusterMatcherFactory.create(trackClusterMatcherAlgo);
matcher.initializeParameterization(clusterParamFileName);
matcher.setBFieldMap(detector.getFieldMap());
matcher.setTrackCollectionName(trackCollectionName);
matcher.setTrackCollectionName(matcherTrackCollectionName);
matcher.enablePlots(enableTrackClusterMatchPlots);

// Set the magnetic field parameters to the appropriate values.
Expand Down Expand Up @@ -675,7 +675,7 @@ protected void process(EventHeader event) {
}

// VERBOSE :: Note that a new event is being read.
printDebug("\n" + trackCollectionName+"Processing Event..." + event.getEventNumber());
printDebug("\n" + matcherTrackCollectionName+"Processing Event..." + event.getEventNumber());

// Get the list of Ecal clusters from an event.
List<Cluster> clusters = event.get(Cluster.class, ecalClustersCollectionName);
Expand Down Expand Up @@ -809,9 +809,6 @@ protected void startOfData() {
if (ecalClustersCollectionName == null) {
ecalClustersCollectionName = "EcalClusters";
}
if (trackCollectionName == null) {
trackCollectionName = "GBLTracks";
}
if (finalStateParticlesColName == null) {
finalStateParticlesColName = "FinalStateParticles";
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public class TrackClusterMatcherMinDistance extends AbstractTrackClusterMatcher{
protected HashMap<Cluster, Track> clusterToTrack;
protected RelationalTable hitToRotated = null;
protected RelationalTable hitToStrips = null;
protected RelationalTable trackToData = new BaseRelationalTable(RelationalTable.Mode.ONE_TO_ONE, RelationalTable.Weighting.UNWEIGHTED);
protected RelationalTable trackToData;
protected String trackClusterCollectionName = "GBLTracks";
protected String rootFile = String.format("%s_TrackClusterMatching.root",this.trackCollectionName);
//Keep false. May be used in future 03.19.21
Expand Down Expand Up @@ -364,6 +364,7 @@ private HashMap<Track,Cluster> trackClusterMatcher(List<List<Track>> trackCollec
* This matcher works for both GBL and KF Tracks.
* Returns Map of Tracks matched do unique Clusters
*/
trackToData = new BaseRelationalTable(RelationalTable.Mode.ONE_TO_ONE, RelationalTable.Weighting.UNWEIGHTED);

//define cuts
this.maxMatchDt = cuts.getMaxMatchDt();
Expand Down
Loading