CalibNtupleAnalysis1

From Atlas Wiki
Jump to navigation Jump to search

This package consists of a number of objects:

CalibNtupleAnalysis

                 NTReader                    Reads the ntuple and stores events in Calibration EDM classes
                 MuonCalibEvent              Container class for the MuonCalib::MuonGlobalPatterns
                 SegmentAnalysis             Steers the analysis performed on the ntuple

Setting up the analysis package

  • go to your work space at your ATLAS account

cd 10.5.0/ (or 11.0.0)

  • get the CalibNtupleAnalysis package (in the future this can be checked out from the release):

cp ~zvankest/public/CalibNtupleAnalysis/MuonCalib_files/CalibNtupleAnalysis-00-00-01.tgz

  • and get the hacked MuonSpectrometer/MuonCalib/MuonCalibEventBase package from the same place. This is needed because some incompatibility problems of the MuonCalibEvent class and the MuonGlobalPattern class. In the future this won't be needed, so bear with this for the moment.

cp ~zvankest/public/MuonCalib_files/MuonSpectrometer.tgz

  • unpack the tarred files

tar -xvfz <package>.tgz

  • An example of an analysis is given in the executable exe/Main.cxx. Try running it after building the package:

cd CalibNtupleAnalysis/CalibNtupleAnalysis-00-00-01/cmt/

cmt config

source setup.(c)sh

gmake

../i686-slc3-gcc323-opt/Run.exe

  • Modify the Main.cxx routine in the exe directory if needed
Change the maximum number of events processed
Change the ntuple location to your favorite ntuple