2 |
|
|
3 |
|
#include "MitAna/DataTree/interface/TriggerObject.h" |
4 |
|
|
5 |
– |
ClassImp(mithep::TriggerObjectRel) |
6 |
– |
ClassImp(mithep::TriggerObjectBase) |
5 |
|
ClassImp(mithep::TriggerObject) |
6 |
|
|
7 |
|
using namespace mithep; |
12 |
|
printf("%03d: %s %2d %.2f %.2f %.2f (%s/%s)\n", |
13 |
|
TrgId(), TrigName(), Int_t(Type()), Pt(), Eta(), Phi(), ModuleName(), FilterName()); |
14 |
|
} |
17 |
– |
|
18 |
– |
//-------------------------------------------------------------------------------------------------- |
19 |
– |
void TriggerObjectsTable::Print(Option_t *opt) const |
20 |
– |
{ |
21 |
– |
// Print trigger objects table content. |
22 |
– |
|
23 |
– |
TIter iter(MakeIterator()); |
24 |
– |
const TriggerObject *to = dynamic_cast<const TriggerObject*>(iter.Next()); |
25 |
– |
while (to) { |
26 |
– |
to->Print(); |
27 |
– |
to = dynamic_cast<const TriggerObject*>(iter.Next()); |
28 |
– |
} |
29 |
– |
} |