tests/src/ExtractEfficiencies.cpp File Reference

#include "MapsTrackManager.hh"
#include "MapsTrack.hh"
#include "MapsSensor.hh"
#include "MapsException.hh"
#include <cmath>
#include <algorithm>
#include <functional>
#include <iostream>
#include "TRandom2.h"
#include "TFile.h"
#include "TH1F.h"
#include "Operators.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 
)

ExtractEfficiencies.cpp

Workhorse for determining sensor efficiency once tracks have been processed and you're happy with the alignment.

Exports plots to supplied outpufile name.

This is a good place to start to understand the general code structure, and as a general example for how you could write your own tool.

Usage: ExtractEfficiencies input file outputfile

Jamie Ballin, Imperial College London February 2008

Definition at line 31 of file ExtractEfficiencies.cpp.

References MapsTrack::chiSqProb(), MapsSensor::convertPhysicalToHit(), MapsTrackManager::getSensors(), MapsTrackManager::getTracks(), MapsSensor::isDeadArea(), MapsSensor::mutualSensorMask(), MapsTrackManager::recreateFromRootFile(), MapsSensor::registerTrackConfirm(), MapsSensor::registerTrackMiss(), MapsTrack::setTrackError(), and MapsSensor::zPosition().


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