Back to home page

sPhenix code displayed by LXR

 
 

    


File indexing completed on 2025-12-16 09:18:02

0001 #include "../src/InttSeedTrackPerformance.h"
0002 #include "../src/InttSeedTrackPerformance.cxx"
0003 
0004 #include "../src/InttSeedTracking.h"
0005 #include "../src/InttSeedTracking.cxx"
0006 #include "../src/SPHTracKuma.h"
0007 
0008 #include <typeinfo>
0009 
0010 void jyTrackPerformance(Int_t runNum=0)
0011 {
0012     // work area
0013     // std::string fDir = "/mnt/e/sphenix/INTT-EMCAL/InttSeedingTrackDev/ParticleGen/output";
0014     std::string fDir = "/sphenix/user/jzhang1/INTT-EMCAL/InttSeedingTrackDev/InttSeedTrackPerformance/output";
0015 
0016     // input file
0017     TChain *tc = new TChain("tree");  
0018     // std::string fInputName = fDir + "/ana457_e_1_10GeV.root";
0019     tc->Add(fInputName.c_str()); 
0020 
0021     // output file
0022     std::string fOutputName = fDir+"/trackingWInttCalClu1000to10000MeVEtaWide_v2"; 
0023 
0024     TTree *tt = (TTree*)tc;
0025     InttSeedTrackPerformance *h = new InttSeedTrackPerformance(tt, fInputName, fOutputName, runNum);
0026 
0027     h->Loop(runNum);
0028 
0029     return;
0030 }