Back to home page

sPhenix code displayed by LXR

 
 

    


File indexing completed on 2025-08-05 08:11:58

0001 #include <filesystem>
0002 #include <iostream>
0003 #include <string>
0004 
0005 void printnode(                                     //
0006     const string dstfile = "./DST_INTTCluster.root" //
0007 )
0008 {
0009     TFile *f = new TFile(dstfile.c_str(), "read");
0010     TTree *T = (TTree *)f->Get("T");
0011     T->Print("toponly");
0012     std::cout << "Number of entries: " << T->GetEntries() << std::endl;
0013 }