ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitAna/TreeMod/src/HLTFwkMod.cc
(Generate patch)

Comparing UserCode/MitAna/TreeMod/src/HLTFwkMod.cc (file contents):
Revision 1.1 by loizides, Sun Sep 28 02:38:40 2008 UTC vs.
Revision 1.3 by loizides, Tue Nov 25 15:12:33 2008 UTC

# Line 187 | Line 187 | void HLTFwkMod::Process()
187  
188    fTrigObjs->Delete();
189  
190 <  LoadBranch(fObjsName.Data());
191 <  LoadBranch(fRelsName.Data());
190 >  LoadBranch(fObjsName);
191 >  LoadBranch(fRelsName);
192  
193    for (UInt_t i=0; i<fRels->Entries(); ++i) {
194      const TriggerObjectRel *rel = fRels->At(i);
195 <    if(!rel) continue;
195 >    if (!rel) continue;
196  
197      const TriggerObjectBase *ob = fObjs->At(rel->ObjInd());
198 <    if(!ob) continue;
198 >    if (!ob) continue;
199  
200      TriggerObject *obj = new TriggerObject(rel->TrgId(), rel->Type(), ob->Id(),
201                                             ob->Pt(), ob->Eta(), ob->Phi(), ob->Mass());
# Line 212 | Line 212 | void HLTFwkMod::SlaveBegin()
212   {
213    // Request branches for trigger objects and relation, and publish our tables.
214  
215 <  ReqBranch(fObjsName.Data(), fObjs);
216 <  ReqBranch(fRelsName.Data(), fRels);
215 >  ReqBranch(fObjsName, fObjs);
216 >  ReqBranch(fRelsName, fRels);
217  
218    if (!PublishObj(fTriggers)) {
219      SendError(kAbortAnalysis, "SlaveBegin",

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines