File indexing completed on 2025-12-17 09:14:37
0001 int G4_Lepto(string filename)
0002 {
0003 cout << "G4 Lepto Loaded!!!" << endl;
0004
0005 cout << "**************************************" << endl;
0006 Fun4AllServer *se = Fun4AllServer::instance();
0007
0008 Leptoquarks *truthana = new Leptoquarks(filename+"_TruthEvent.root");
0009
0010
0011 LeptoquarksReco *mcana_r05 = new LeptoquarksReco(filename+"_r05.root");
0012 LeptoquarksReco *mcana_r10 = new LeptoquarksReco(filename+"_r10.root");
0013
0014 LeptoquarksReco *mcana_r05truth = new LeptoquarksReco(filename+"_r05truth.root");
0015 LeptoquarksReco *mcana_r10truth = new LeptoquarksReco(filename+"_r10truth.root");
0016
0017 mcana_r05->set_reco_jet_collection("AntiKt_Tower_r05");
0018 mcana_r05->set_save_towers( true );
0019 mcana_r05->set_save_tracks( true );
0020
0021 mcana_r10->set_reco_jet_collection("AntiKt_Tower_r10");
0022 mcana_r10->set_save_towers( true );
0023 mcana_r10->set_save_tracks( true );
0024
0025 mcana_r05truth->set_reco_jet_collection("AntiKt_Truth_r05");
0026 mcana_r05truth->set_save_towers( true );
0027 mcana_r05truth->set_save_tracks( true );
0028
0029 mcana_r10truth->set_reco_jet_collection("AntiKt_Truth_r10");
0030 mcana_r10truth->set_save_towers( true );
0031 mcana_r10truth->set_save_tracks( true );
0032
0033 se->registerSubsystem( mcana_r05 );
0034
0035
0036
0037 cout << "**************************************" << endl;
0038
0039 return 0;
0040 }