Difference between revisions of "CalibNtupleAnalysis1"

From Atlas Wiki
Jump to navigation Jump to search
 
Line 14: Line 14:
 
<font color = red><tt> cp ~zvankest/public/CalibNtupleAnalysis/MuonCalib_files/CalibNtupleAnalysis-00-00-01.tgz </tt></font>
 
<font color = red><tt> cp ~zvankest/public/CalibNtupleAnalysis/MuonCalib_files/CalibNtupleAnalysis-00-00-01.tgz </tt></font>
 
* 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.
 
* 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.
<font color = red><tt> cp ~zvankest/public/MuonSpectrometer.tgz </tt></font>
+
<font color = red><tt> cp ~zvankest/public/MuonCalib_files/MuonSpectrometer.tgz </tt></font>
 
* unpack the tarred files
 
* unpack the tarred files
 
<font color = red><tt> tar -xvfz <package>.tgz </tt></font>
 
<font color = red><tt> tar -xvfz <package>.tgz </tt></font>
  
 
*An example of an analysis is given in the executable ''exe/Main.cxx''. Try running it after building the package:
 
*An example of an analysis is given in the executable ''exe/Main.cxx''. Try running it after building the package:
<font color = red><tt>cd CalibNtupleAnalysis/v*/cmt/</tt>
+
<font color = red><tt>cd CalibNtupleAnalysis/CalibNtupleAnalysis-00-00-01/cmt/</tt>
  
 
<tt>cmt config</tt>
 
<tt>cmt config</tt>
Line 28: Line 28:
  
 
<tt>../i686-slc3-gcc323-opt/Run.exe</tt> </font>
 
<tt>../i686-slc3-gcc323-opt/Run.exe</tt> </font>
 +
 +
*Modify the ''Main.cxx'' routine in the ''exe'' directory if needed
 +
<temp>
 +
Change the maximum number of events processed
 +
Change the ntuple location to your favorite ntuple
 +
</temp>

Revision as of 08:34, 1 December 2005

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

<temp> Change the maximum number of events processed Change the ntuple location to your favorite ntuple </temp>