ra4_stats  0341147a0dc35f80f4e12c6003afb76a38e2ed6e
Public Member Functions | Private Member Functions | Private Attributes | List of all members
Cut Class Reference

#include <cut.hpp>

Public Member Functions

 Cut (const std::string &cut="1")
 
 Cut (const char *cut)
 
CutReplace (const Cut &orig, const Cut &rep)
 
CutRmCutOn (const Cut &to_rm, const Cut &rep=Cut())
 
Cutoperator&= (const Cut &cut)
 
Cutoperator|= (const Cut &cut)
 
Cutoperator+= (const Cut &cut)
 
Cutoperator-= (const Cut &cut)
 
Cutoperator*= (const Cut &cut)
 
Cutoperator/= (const Cut &cut)
 
Cutoperator%= (const Cut &cut)
 
Cutoperator^= (const Cut &cut)
 
Cutoperator<<= (const Cut &cut)
 
Cutoperator>>= (const Cut &cut)
 
 operator std::string () const
 
 operator const char * () const
 
bool operator< (const Cut &cut) const
 
bool operator== (const Cut &cut) const
 
std::string GetCut ()
 
void SetCut (std::string &cut)
 

Private Member Functions

void Clean ()
 

Private Attributes

std::string cut_
 

Detailed Description

Definition at line 8 of file cut.hpp.

Constructor & Destructor Documentation

Cut::Cut ( const std::string &  cut = "1")

Definition at line 7 of file cut.cpp.

References Clean().

Cut::Cut ( const char *  cut)

Definition at line 12 of file cut.cpp.

References Clean().

Member Function Documentation

void Cut::Clean ( )
private
string Cut::GetCut ( )

Definition at line 22 of file cut.cpp.

References cut_.

Referenced by YieldManager::ComputeYield().

Cut::operator const char * ( ) const
explicit

Definition at line 100 of file cut.cpp.

References cut_.

Cut::operator std::string ( ) const
explicit
Cut & Cut::operator%= ( const Cut cut)

Definition at line 72 of file cut.cpp.

References Clean(), and cut_.

Cut & Cut::operator&= ( const Cut cut)

Definition at line 36 of file cut.cpp.

References Clean(), and cut_.

Cut & Cut::operator*= ( const Cut cut)

Definition at line 60 of file cut.cpp.

References Clean(), and cut_.

Cut & Cut::operator+= ( const Cut cut)

Definition at line 48 of file cut.cpp.

References Clean(), and cut_.

Cut & Cut::operator-= ( const Cut cut)

Definition at line 54 of file cut.cpp.

References Clean(), and cut_.

Cut & Cut::operator/= ( const Cut cut)

Definition at line 66 of file cut.cpp.

References Clean(), and cut_.

bool Cut::operator< ( const Cut cut) const

Definition at line 104 of file cut.cpp.

References cut_.

Cut & Cut::operator<<= ( const Cut cut)

Definition at line 84 of file cut.cpp.

References Clean(), and cut_.

bool Cut::operator== ( const Cut cut) const

Definition at line 108 of file cut.cpp.

References cut_.

Cut & Cut::operator>>= ( const Cut cut)

Definition at line 90 of file cut.cpp.

References Clean(), and cut_.

Cut & Cut::operator^= ( const Cut cut)

Definition at line 78 of file cut.cpp.

References Clean(), and cut_.

Cut & Cut::operator|= ( const Cut cut)

Definition at line 42 of file cut.cpp.

References Clean(), and cut_.

Cut & Cut::Replace ( const Cut orig,
const Cut rep 
)

Definition at line 17 of file cut.cpp.

References cut_, and ReplaceAll().

Referenced by WorkspaceGenerator::MakeDileptonBin().

Cut & Cut::RmCutOn ( const Cut to_rm,
const Cut rep = Cut() 
)

Definition at line 31 of file cut.cpp.

References cut_.

Referenced by WorkspaceGenerator::MakeDileptonBin().

void Cut::SetCut ( std::string &  cut)

Definition at line 26 of file cut.cpp.

References Clean(), and cut_.

Member Data Documentation

std::string Cut::cut_
private

The documentation for this class was generated from the following files: