tests/src/Realignment.cpp File Reference

#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)


Function Documentation

int main ( int  argc,
const char **  argv 
)

Realignment.cpp

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

j.ballin06@imperial.ac.uk

Definition at line 27 of file Realignment.cpp.

References MapsTrackManager::exportToRootFile(), MapsTrackManager::getSensors(), MapsTrackManager::getTracks(), MapsTrackManager::recreateFromRootFile(), MapsTrackManager::setRequiredLeftSensor(), and MapsTrackManager::setRequiredRightSensor().


Generated on Wed Mar 19 17:47:58 2008 for MapsTracks by  doxygen 1.5.2