Difference between revisions of "CalibNtupleAnalysis2"

From Atlas Wiki
Jump to navigation Jump to search
 
 
Line 1: Line 1:
 +
 +
 
This package consists of a number of objects:
 
This package consists of a number of objects:
 
<pre>
 
<pre>
Line 14: Line 16:
 
<font color = red><tt> cd 11.0.0/ </tt></font> (or 11.X.0)
 
<font color = red><tt> cd 11.0.0/ </tt></font> (or 11.X.0)
 
* get the CalibNtupleAnalysis package (in the future this can be checked out from the release):
 
* get the CalibNtupleAnalysis package (in the future this can be checked out from the release):
<font color = red><tt> cp ~zvankest/public/CalibNtupleAnalysis.tgz </tt></font>
+
<font color = red><tt> cp ~zvankest/public/CalibNtupleAnalysis/MuonCalib_files/CalibNtupleAnalysis-00-00-02.tgz </tt></font>
* unpack the tarred CalibNtupleAnalysis
+
* If you're working in release 11.0.0: 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. If you're working with release 11.X.0 (X>0) this should not be needed.
 +
<font color = red><tt> cp ~zvankest/public/MuonCalib_files/MuonSpectrometer.tgz </tt></font>
 +
* 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-02/cmt/</tt>
  
 
<tt>cmt config</tt>
 
<tt>cmt config</tt>
Line 28: Line 32:
  
 
<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
 +
<pre>
 +
Change the maximum number of events processed
 +
Change the ntuple location to your favorite ntuple
 +
</pre>

Latest revision as of 08:39, 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
                 MuonCalibTruth              Class for truth information (not present in Calibration Framework)
                 MuonCalibTruthCollection    Container class for the MuonCalibTruth              
                 SegmentAnalysis             Steers the analysis performed on the ntuple

Setting up the analysis package

  • go to your work space at your ATLAS account

cd 11.0.0/ (or 11.X.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-02.tgz

  • If you're working in release 11.0.0: 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. If you're working with release 11.X.0 (X>0) this should not be needed.

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-02/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