比如, typedef G4THitsCollection<B2TrackerHit> B2TrackerHitsCollection; 将 G4THitsCollection<B2TrackerHit> 重命名为 B2TrackerHitsCollection
1 void fitshape(std::ofstream &ffo, TString fitfunc, Int_t start, Int_t stop); 2 3 std::ofstream ffo; 4 ffo.open("test.tt", std::fstream::app); TString sss("test"); 6 fd_tmp->fitshape(ffo, sss, 0, 4000);