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.20 by paus, Mon Mar 21 15:58:37 2011 UTC vs.
Revision 1.21 by bendavid, Sun May 15 20:40:30 2011 UTC

# Line 58 | Line 58 | void HLTMod::AddTrigObjs(UInt_t tid)
58   {
59    // Add trigger objects corresponding to trigger id.
60  
61 <  const BitMask256 &ba = fTrigBitsAnd.at(tid);
62 <  const BitMask256 &bm = fTrigBitsCmp.at(tid);
61 >  const BitMask1024 &ba = fTrigBitsAnd.at(tid);
62 >  const BitMask1024 &bm = fTrigBitsCmp.at(tid);
63    for (UInt_t i=0; i<bm.Size(); ++i) {
64      if (ba.TestBit(i)==0 && !fIgnoreBits)
65        continue; // not an active trigger bit
# Line 109 | Line 109 | void HLTMod::BeginRun()
109           ( runNumber<firstRun || runNumber>lastRun ) )
110        continue;
111      
112 <    BitMask256 tmask; //trigger mask
113 <    BitMask256 amask; //bitand mask
112 >    BitMask1024 tmask; //trigger mask
113 >    BitMask1024 amask; //bitand mask
114      TString names(fTrigNames.at(i).first.c_str());
115  
116      TObjArray *arr = names.Tokenize("&");
# Line 170 | Line 170 | void HLTMod::Process()
170    fBitsDone.Clear();
171    Bool_t accept = kFALSE;
172    for (UInt_t i = 0; i<fTrigBitsAnd.size(); ++i) {
173 <    BitMask256 bitmask(fBits->Get());
173 >    BitMask1024 bitmask(fBits->Get());
174      bitmask &= fTrigBitsAnd.at(i);
175      if (bitmask==fTrigBitsCmp.at(i)) {
176        accept = kTRUE;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines