Back to home page

sPhenix code displayed by LXR

 
 

    


File indexing completed on 2026-07-16 08:12:44

0001 #include "AnalyzeEvent.h"
0002 #include "INTT_Calo_trkReco.h"
0003 #include "INTT_Calo_trkUser.h"
0004 
0005 TFile *hfile;
0006 
0007 void AnalyzeInit(void) {
0008   //  hfile = new TFile("INTT_Calo_Ana.root","RECREATE");
0009   hfile = new TFile(rootfile.c_str(),"RECREATE");
0010   INTT_Calo_trkReco_Init();
0011 
0012   // *** user code are below 
0013   INTT_Calo_trkUser_Init();
0014 }
0015 
0016 void AnalyzeEnd(void) {
0017 
0018   INTT_Calo_trkReco_End();
0019 
0020   // *** user code are below
0021   INTT_Calo_trkUser_End();
0022   hfile->Close();
0023 }
0024 
0025 void AnalyzeEvent(void) {
0026 
0027   INTT_Calo_trkReco();
0028 
0029   // ***
0030   INTT_Calo_trkUser();
0031 }
0032