Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 11:57:00

0001 // template to run Extended Offline Validation Plots plots
0002 void runExtendedOfflineValidationPlots()
0003 {
0004   // load framework lite just to find the CMSSW libs...
0005   gSystem->Load("libFWCoreFWLite");
0006   FWLiteEnabler::enable();
0007   //compile the makro
0008   gROOT->ProcessLine(".L PlotAlignmentValidation.C++");
0009 
0010 
0011   ///CRAFT////
0012   ///add file that you want to overlay following the syntax below
0013   ///(std::string "fileName", std::string legName="", int color=1, int style=1)
0014      PlotAlignmentValidation p("/afs/cern.ch/cms/CAF/CMSALCA/ALCA_TRACKERALIGN/CRAFT_Note/draft0_27may2009/data/FinalIdeal.root","Design",1,1);
0015      p.loadFileList("/afs/cern.ch/cms/CAF/CMSALCA/ALCA_TRACKERALIGN/CRAFT_Note/draft0_27may2009/data/FinalHIP.root","HIP",3,1);
0016      p.loadFileList("/afs/cern.ch/cms/CAF/CMSALCA/ALCA_TRACKERALIGN/CRAFT_Note/draft0_27may2009/data/FinalMP.root","Millepede",6,1);
0017      p.loadFileList("/afs/cern.ch/cms/CAF/CMSALCA/ALCA_TRACKERALIGN/CRAFT_Note/draft0_27may2009/data/FinalSHMPmerged.root","SuperHipMPmerged",4,1);
0018     
0019   p.setOutputDir("$TMPDIR");
0020   //  p.setTreeBaseDir("TrackHitFilter");  //if the tree TkOffValidation is not in TrackerOfflineValidation directory
0021   //  p.useFitForDMRplots(true); //if the width adn mean value of the DMR shall be taken from fit
0022   p.plotDMR("medianY",30);
0023 }