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

Comparing UserCode/UHHAnalysis/SFrameTools/include/Selection.h (file contents):
Revision 1.6 by peiffer, Wed Jun 13 09:37:33 2012 UTC vs.
Revision 1.7 by rkogler, Tue Jan 29 10:35:33 2013 UTC

# Line 63 | Line 63 | class Selection{
63    bool passSelection();
64    bool passInvertedSelection();
65  
66 +  /**
67 +   * enable or disable the selection, the selection is enabled by default
68 +   */
69 +  void DisableSelection(){m_isactive = false;}
70 +  void EnableSelection(){m_isactive = true;}
71 +  bool IsActive(){return m_isactive;}
72 +
73    /// print the cut-flow table for the booked SelectionModules, to be called in the EndInputData routine of a cycle
74    void printCutFlow();
75  
# Line 75 | Line 82 | class Selection{
82    std::vector<SelectionModule*> m_cuts;
83    std::vector<int> m_cutflow;
84    int Ntotal;
85 +  bool m_isactive;
86  
87   };
88  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines