209 |
TString objname = c; |
TString objname = c; |
210 |
|
|
211 |
if(!objname.CompareTo("TrkLevel1")) { |
if(!objname.CompareTo("TrkLevel1")) { |
212 |
if(!trk1_obj) trk1_obj = new TrkLevel1(); |
if(!trk1_obj){ |
213 |
|
trk1_obj = new TrkLevel1(); |
214 |
|
trk1_obj->Set(); |
215 |
|
} |
216 |
return &trk1_obj; |
return &trk1_obj; |
217 |
}; |
}; |
218 |
if(!objname.CompareTo("TrkLevel2")) { |
if(!objname.CompareTo("TrkLevel2")) { |
219 |
if(!trk2_obj) trk2_obj = new TrkLevel2(); |
if(!trk2_obj){ |
220 |
|
trk2_obj = new TrkLevel2(); |
221 |
|
trk2_obj->Set(); |
222 |
|
} |
223 |
return &trk2_obj; |
return &trk2_obj; |
224 |
}; |
}; |
225 |
if(!objname.CompareTo("TrkHough")) { |
if(!objname.CompareTo("TrkHough")) { |
231 |
return &calo1_obj; |
return &calo1_obj; |
232 |
}; |
}; |
233 |
if(!objname.CompareTo("CaloLevel2")) { |
if(!objname.CompareTo("CaloLevel2")) { |
234 |
if(!calo2_obj) calo2_obj = new CaloLevel2(); |
if(!calo2_obj){ |
235 |
|
calo2_obj = new CaloLevel2(); |
236 |
|
calo2_obj->Set(); |
237 |
|
}; |
238 |
return &calo2_obj; |
return &calo2_obj; |
239 |
}; |
}; |
240 |
if(!objname.CompareTo("ToFLevel2")) { |
if(!objname.CompareTo("ToFLevel2")) { |
241 |
if(!tof_obj) tof_obj = new ToFLevel2(); |
if(!tof_obj){ |
242 |
|
tof_obj = new ToFLevel2(); |
243 |
|
tof_obj->Set(); |
244 |
|
} |
245 |
return &tof_obj; |
return &tof_obj; |
246 |
}; |
}; |
247 |
if(!objname.CompareTo("TrigLevel2")) { |
if(!objname.CompareTo("TrigLevel2")) { |