ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitHzz4l/Selection/src/applySelection.cc
(Generate patch)

Comparing UserCode/MitHzz4l/Selection/src/applySelection.cc (file contents):
Revision 1.29 by khahn, Thu May 24 17:56:51 2012 UTC vs.
Revision 1.32 by anlevin, Sat Jun 2 12:17:29 2012 UTC

# Line 353 | Line 353 | int main(int argc, char** argv)
353          //
354          // gen info
355          //
356 <        if(ctrl.fillGen)
356 >        if( ctrl.fillGen )
357            fillGenInfo( mcArr, mcEvtInfo, geninfo, ESampleType::kHZZ, ctrl);
358  
359          //
# Line 389 | Line 389 | int main(int argc, char** argv)
389            hltchain->SetBranchAddress(fTriggerTableName, &hltTableStrings);
390            hltchain->GetEntry(0);
391            hltTable->Clear();
392 <          fillTriggerBits(hltTable, hltTableStrings );
392 >          fillTriggerNames(hltTable, hltTableStrings );
393          }
394          if( ctrl.debug ) cout << "file is : " << currentFile  << endl;
395          fillTriggerBits( hltTable, trigMask, triggerBits );
# Line 416 | Line 416 | int main(int argc, char** argv)
416            hltchain->SetBranchAddress(fTriggerTableName, &hltTableStrings);
417            hltchain->GetEntry(0);
418            hltTable->Clear();
419 <          fillTriggerBits(hltTable, hltTableStrings );
419 >          fillTriggerNames(hltTable, hltTableStrings );
420          }
421          if( ctrl.debug ) cout << "file is : " << currentFile  << endl;
422          /*
# Line 496 | Line 496 | int main(int argc, char** argv)
496        if( ret4l.status.pass() ) {
497          fillAngles(ret4l,angles);
498          fillKinematics(ret4l,kinematics);
499 +        fillMassErrors(ret4l,muonArr,electronArr,kinematics);
500          fillEventInfo(info,evtinfo);
501          if( ctrl.mc) {
501        // fillGenInfo(ginfo,geninfo);
502            setEffiencyWeights(ret4l, weights);
503             if(ctrl.debug)
504               cout << "w: " << weights.w << "\t"

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines