Project

General

Profile

Bug #1394

SciFi track points with tracker=0 and station=0 showing up in simulation data

Added by Lane, Peter about 9 years ago. Updated about 8 years ago.

Status:
Closed
Priority:
Normal
Category:
Tracker
Target version:
Start date:
04 January 2014
Due date:
% Done:

100%

Estimated time:
Workflow:
New Issue

Description

I found this trying to extract space points for global reconstruction. I add my mapper (MapCppGlobalRawTracks) to the simulate_mice workflow. Here's the condensed code snipet:

void MapCppGlobalRawTracks::LoadSciFiTracks(
MAUS::ReconEvent const * const recon_event,
GlobalDS::TrackPArray & tracks) {
...
SciFiEvent const * const scifi_event = recon_event->GetSciFiEvent();
SciFiTrackPArray scifi_tracks = scifi_event->scifitracks();
...
SciFiTrackPArray::const_iterator scifi_track = scifi_tracks.begin();
for (; scifi_track != scifi_tracks.end(); ++scifi_track) {
SciFiTrackPointPArray scifi_track_points = (*scifi_track)->scifitrackpoints();
SciFiTrackPointPArray::const_iterator scifi_track_point = scifi_track_points.begin();
for (; scifi_track_point != scifi_track_points.end(); ++scifi_track_point) {
const int tracker = (*scifi_track_point)->tracker();
const int station = (*scifi_track_point)->station();
std::cout << "DEBUG MapCppGlobalRawTracks::LoadSciFiTrack: " << std::endl
<< "\tTracker: " << tracker << "\tStation: " << station << std::endl;
...

In my output I get

DEBUG MapCppGlobalRawTracks::LoadSciFiTrack:
Tracker: 0 Station: 0

The problem is that stations are numbered from 1-5 in the geometry, and track points are showing up with station = 5 as well.

Also available in: Atom PDF