#include "MapsTrackManager.hh"
#include "MapsTrack.hh"
#include "MapsSensor.hh"
#include "MapsException.hh"
#include <cmath>
#include <algorithm>
#include <iostream>
#include "TRandom2.h"
#include "TFile.h"
#include "TH1F.h"
Go to the source code of this file.
Functions | |
int | main (int argc, const char **argv) |
int main | ( | int | argc, | |
const char ** | argv | |||
) |
Extremely useful tool for reprocessing stored tracks, without having to recreate them from a DAQ binary file. One reads in a file of stored tracks, realigns the sensors, and writes the new data in a new ROOT file.
At the moment, all parameters are hardcoded, except for the filenames; copy and edit this file as requried.
Jamie Ballin, Imperial College London February 2008
Definition at line 27 of file Realignment.cpp.
References MapsTrackManager::exportToRootFile(), MapsTrackManager::getSensors(), MapsTrackManager::getTracks(), MapsTrackManager::recreateFromRootFile(), MapsTrackManager::setRequiredLeftSensor(), and MapsTrackManager::setRequiredRightSensor().