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

Comparing UserCode/MitAna/TreeMod/src/HLTMod.cc (file contents):
Revision 1.22 by bendavid, Fri Nov 18 00:02:02 2011 UTC vs.
Revision 1.23 by paus, Wed Mar 28 12:15:38 2012 UTC

# Line 49 | Line 49 | void HLTMod::AddTrigger(const char *expr
49    // "A", "!A", "A&B", "A&!B" or "A&B&C"  
50  
51    string tname(expr);
52 <  std::pair<std::string,std::pair<UInt_t,UInt_t> > element(tname,std::pair<UInt_t,UInt_t>(firstRun,lastRun));
52 >  std::pair<std::string,std::pair<UInt_t,UInt_t> >
53 >    element(tname,std::pair<UInt_t,UInt_t>(firstRun,lastRun));
54    fTrigNames.push_back(element);
55   }
56  
# Line 73 | Line 74 | void HLTMod::AddTrigObjs(UInt_t tid)
74        TIter iter(list->MakeIterator());
75        const TriggerObject *to = dynamic_cast<const TriggerObject*>(iter.Next());
76        while (to) {
77 <        if ( (fObjMode == kAll) ||
78 <             ((fObjMode==kHlt) && (to->IsHLT())) ||
79 <             ((fObjMode==kL1) && (to->IsL1())) )
77 >        if ( (fObjMode == kAll)  ||
78 >             ((fObjMode == kHlt) && (to->IsHLT())) ||
79 >             ((fObjMode == kL1)  && (to->IsL1())) )
80            fMyTrgObjs->Add(to);    
81          to = dynamic_cast<const TriggerObject*>(iter.Next());
82        }
# Line 94 | Line 95 | void HLTMod::BeginRun()
95  
96    if (fPrintTable) {
97      Info("BeginRun", "Get trigger table for run %d", GetEventHeader()->RunNum());
98 +    printf(" Trigger table for run %d:\n",GetEventHeader()->RunNum());
99      fTriggers->Print();
100    }
101    

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines