CMS 3D CMS Logo

Exercises.h

Go to the documentation of this file.
00001 //#ifndef EXERCISES_HH_
00002 //#define EXERCISES_HH_
00003 //
00004 //#include <TFile.h>
00005 //#include <TH1F.h>
00006 //#include <map>
00007 //#include <vector>
00008 //
00009 //#include "RecoParticleFlow/PFClusterTools/interface/SpaceVoxel.h"
00010 //#include "RecoParticleFlow/PFClusterTools/interface/Calibrator.h"
00011 //
00012 //#include "RecoParticleFlow/PFClusterTools/interface/ParticleDeposit.h"
00013 //
00014 //namespace pftools {
00016 // * \class Exercises
00017 // * \brief Simple test harness for the PFClusterTools package. 
00018 // * 
00019 // * Instantiate one of these classes, and call methods to exercise the objects in the PFClusterTools library.
00020 // * \author Jamie Balin
00021 // * \date April 2008
00022 // */
00023 //class Exercises {
00024 //public:
00025 //      Exercises();
00026 //      virtual ~Exercises();
00027 //
00028 //      /* 
00029 //       * This tries to recreate SingleParticleWrappers from the supplied TFile
00030 //       */
00031 //      void testTreeUtility(TFile& f) const;
00032 //
00033 //      /*
00034 //       * This does a test with random data that the calibration chain is working properly.
00035 //       */
00036 //      void testCalibrators() const;
00037 //
00038 //      /*
00039 //       * This calibrates SingleParticleWrappers found in the supplied TFile.
00040 //       */
00041 //      void testCalibrationFromTree(TFile& f) const;
00042 //
00043 //      /*
00044 //       * This (temporary) method evaluates the energy resolution before and after calibration.
00045 //       */
00046 //      void evaluatePerformance(
00047 //                      const std::map<SpaceVoxelPtr, CalibratorPtr>* const detectorMap,
00048 //                      TFile& treeFile) const;
00049 //
00050 //      void writeOutHistos(std::map<SpaceVoxelPtr, TH1F>& input) const;
00051 //      
00052 //      void calibrateParticlesAndWriteOut(TFile& f) const;
00053 //
00054 //};
00055 //}
00056 //
00057 //#endif /*EXERCISES_HH_*/

Generated on Tue Jun 9 17:44:40 2009 for CMSSW by  doxygen 1.5.4