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 |
|
|
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 |
|
} |
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 |
|
|