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.9 by loizides, Mon Jun 15 15:00:17 2009 UTC vs.
Revision 1.12 by loizides, Tue Aug 11 15:24:39 2009 UTC

# Line 6 | Line 6
6   #include "MitAna/DataUtil/interface/Debug.h"
7   #include "MitAna/DataTree/interface/Names.h"
8   #include "MitAna/DataTree/interface/TriggerName.h"
9 < #include "MitAna/DataTree/interface/TriggerObject.h"
9 > #include "MitAna/DataTree/interface/TriggerTable.h"
10 > #include "MitAna/DataTree/interface/TriggerObjectBaseCol.h"
11 > #include "MitAna/DataTree/interface/TriggerObjectRelCol.h"
12   #include "MitAna/DataTree/interface/TriggerObjectCol.h"
13 + #include "MitAna/DataTree/interface/TriggerObjectsTable.h"
14  
15   using namespace mithep;
16  
# Line 217 | Line 220 | void HLTFwkMod::Process()
220      obj->SetTrigName(fHLTTab->at(rel->TrgId()).c_str());
221      obj->SetModuleName(fHLTLab->at(rel->ModInd()).c_str());
222      obj->SetFilterName(fHLTLab->at(rel->FilterInd()).c_str());
223 +    if (obj->TagInd()>=0)
224 +      obj->SetTagName(fHLTLab->at(obj->TagInd()).c_str());
225 +    else
226 +      obj->SetTagName("Unknown");
227 +
228      fTrigObjs->Add(obj);
229    }
230   }
# Line 226 | Line 234 | void HLTFwkMod::SlaveBegin()
234   {
235    // Request branches for trigger objects and relation, and publish our tables.
236  
237 +  if (fObjsName != Names::gkHltObjBrn)
238 +    fRelsName = Form("%sRelation",fObjsName.Data());
239 +
240    ReqBranch(fObjsName, fObjs);
241    ReqBranch(fRelsName, fRels);
242  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines