ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/UHHAnalysis/SFrameTools/src/Selection.cxx
(Generate patch)

Comparing UserCode/UHHAnalysis/SFrameTools/src/Selection.cxx (file contents):
Revision 1.3 by peiffer, Wed Jun 6 15:29:09 2012 UTC vs.
Revision 1.4 by peiffer, Fri Jun 8 14:01:43 2012 UTC

# Line 10 | Line 10 | Selection::Selection(std::string name):
10    Ntotal=0;
11   }
12  
13 + void Selection::resetCutFlow(){
14 +  Ntotal=0;
15 +  for(unsigned int i=0; i<m_cuts.size(); ++i){
16 +    m_cutflow[i]=0;
17 +  }
18 + }
19 +
20   void Selection::addSelectionModule(SelectionModule* sel){
21 +  m_logger << DEBUG << "Adding selection module: " << sel->description() << SLogger::endmsg;
22    m_cuts.push_back(sel);
23    m_cutflow.push_back(0);
24   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines