brief description  
 More...
#include <BaseSelector.h>
|  | 
|  | BaseSelector () | 
|  | 
|  | BaseSelector (const std::string &inputName) | 
|  | 
|  | BaseSelector (const std::string &inputName, const std::string &cfgFile) | 
|  | 
| virtual | ~BaseSelector () | 
|  | 
| void | setCfgFile (const std::string &cfgFile) | 
|  | Set the Cfg File object. 
 | 
|  | 
| void | setDebug (bool val) | 
|  | Set Debug. 
 | 
|  | 
| bool | hasCut (const std::string &cutname) | 
|  | description 
 | 
|  | 
| bool | LoadSelection () | 
|  | description 
 | 
|  | 
| float | getCut (const std::string &cutname) | 
|  | Get cut values ? 
 | 
|  | 
| std::map< std::string, std::pair< double, int > > | getCuts () | 
|  | description 
 | 
|  | 
| void | makeCutFlowHisto () | 
|  | description 
 | 
|  | 
| std::shared_ptr< TH1F > | getCutFlowHisto () | 
|  | Get the Cut Flow Histo. 
 | 
|  | 
| bool | passCut (const std::string &cutname, double val, double weight) | 
|  | description 
 | 
|  | 
| bool | passCutEq (const std::string &cutname, double val, double weight) | 
|  | description 
 | 
|  | 
| bool | passCutLt (const std::string &cutname, double val, double weight) | 
|  | description 
 | 
|  | 
| bool | passCutGt (const std::string &cutname, double val, double weight) | 
|  | description 
 | 
|  | 
| void | clearSelector () | 
|  | description 
 | 
|  | 
|  | 
| typedef std::map< std::string, std::pair< double, int > >::iterator | cut_it | 
|  | description 
 | 
|  | 
|  | 
| std::map< std::string, std::pair< double, int > > | cuts | 
|  | description 
 | 
|  | 
| bool | debug_ {false} | 
|  | description 
 | 
|  | 
brief description 
more details 
Definition at line 21 of file BaseSelector.h.
◆ cut_it
  
  | 
        
          | typedef std::map<std::string,std::pair<double,int>>::iterator cut_it |  | protected | 
 
 
◆ BaseSelector() [1/3]
◆ BaseSelector() [2/3]
◆ BaseSelector() [3/3]
      
        
          | BaseSelector | ( | const std::string & | inputName, | 
        
          |  |  | const std::string & | cfgFile | 
        
          |  | ) |  |  | 
      
 
 
◆ ~BaseSelector()
◆ clearSelector()
◆ getCut()
  
  | 
        
          | float getCut | ( | const std::string & | cutname | ) |  |  | inline | 
 
Get cut values ? 
- Parameters
- 
  
  
- Returns
- float 
Definition at line 68 of file BaseSelector.h.
 
 
◆ getCutFlowHisto()
  
  | 
        
          | std::shared_ptr< TH1F > getCutFlowHisto | ( |  | ) |  |  | inline | 
 
Get the Cut Flow Histo. 
- Returns
- std::shared_ptr<TH1F> 
Definition at line 94 of file BaseSelector.h.
 
 
◆ getCuts()
  
  | 
        
          | std::map< std::string, std::pair< double, int > > getCuts | ( |  | ) |  |  | inline | 
 
description 
- Returns
- std::map<std::string, std::pair<double,int> > 
Definition at line 81 of file BaseSelector.h.
 
 
◆ hasCut()
  
  | 
        
          | bool hasCut | ( | const std::string & | cutname | ) |  |  | inline | 
 
description 
- Parameters
- 
  
  
- Returns
- true 
- 
false 
Definition at line 49 of file BaseSelector.h.
 
 
◆ LoadSelection()
◆ makeCutFlowHisto()
      
        
          | void makeCutFlowHisto | ( |  | ) |  | 
      
 
 
◆ passCut()
  
  | 
        
          | bool passCut | ( | const std::string & | cutname, |  
          |  |  | double | val, |  
          |  |  | double | weight |  
          |  | ) |  |  |  | inline | 
 
description 
- Parameters
- 
  
  
- Returns
- true 
- 
false 
Definition at line 105 of file BaseSelector.h.
 
 
◆ passCutEq()
      
        
          | bool passCutEq | ( | const std::string & | cutname, | 
        
          |  |  | double | val, | 
        
          |  |  | double | weight | 
        
          |  | ) |  |  | 
      
 
 
◆ passCutGt()
      
        
          | bool passCutGt | ( | const std::string & | cutname, | 
        
          |  |  | double | val, | 
        
          |  |  | double | weight | 
        
          |  | ) |  |  | 
      
 
 
◆ passCutLt()
      
        
          | bool passCutLt | ( | const std::string & | cutname, | 
        
          |  |  | double | val, | 
        
          |  |  | double | weight | 
        
          |  | ) |  |  | 
      
 
 
◆ setCfgFile()
      
        
          | void setCfgFile | ( | const std::string & | cfgFile | ) |  | 
      
 
 
◆ setDebug()
      
        
          | void setDebug | ( | bool | val | ) |  | 
      
 
 
◆ _h_selections
◆ cuts
  
  | 
        
          | std::map<std::string,std::pair<double, int> > cuts |  | protected | 
 
 
◆ debug_
◆ h_cf_
  
  | 
        
          | std::shared_ptr<TH1F> h_cf_ |  | private | 
 
 
◆ labels
  
  | 
        
          | std::map<std::string,std::string> labels |  | private | 
 
 
◆ m_cfgFile
  
  | 
        
          | std::string m_cfgFile {""} |  | private | 
 
 
◆ m_name
◆ ncuts_
◆ passSelection
  
  | 
        
          | bool passSelection {false} |  | private | 
 
 
The documentation for this class was generated from the following files: