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

Comparing UserCode/MitAna/DataTree/src/TriggerName.cc (file contents):
Revision 1.1 by loizides, Wed Sep 17 04:07:28 2008 UTC vs.
Revision 1.2 by loizides, Sat Sep 27 06:06:36 2008 UTC

# Line 9 | Line 9 | using namespace mithep;
9   //--------------------------------------------------------------------------------------------------
10   void TriggerName::Print(Option_t *opt) const
11   {
12 +  // Print trigger id and name.
13 +
14    printf("%03d: %s\n", fId, fName.Data());
15   }
16 +
17 + //--------------------------------------------------------------------------------------------------
18 + void TriggerTable::Print(Option_t *opt) const
19 + {
20 +  // Print trigger table content (not ordered!)
21 +
22 +  TIterator *iter = MakeIterator();
23 +  const TriggerName *tn = dynamic_cast<const TriggerName *>(iter->Next());
24 +  while (tn) {
25 +    tn->Print();
26 +    tn = dynamic_cast<const TriggerName *>(iter->Next());
27 +  }
28 + }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines