50 return check_min_status && check_max_status;
71 std::string min_msg = obj.
fMinState ? std::to_string(obj.
min_) :
"none";
72 std::string max_msg = obj.
fMaxState ? std::to_string(obj.
max_) :
"none";
73 out <<
"[Min: " << min_msg <<
" , Max: " << max_msg <<
"]";
friend fscal max(fscal x, fscal y)
friend fscal min(fscal x, fscal y)
CbmCut(T min, T max)
Add a CbmTarget object to the list of targets with a key as trg_name.
CbmCut()=default
Default constructor Any check done to a non-configured object CbmCut will pass.
void SetRange(T min_val, T max_val)
bool Check(T a) const
Check if the T is inside the configured ranges [min, max].
friend std::ostream & operator<<(std::ostream &out, const CbmCut< T > &obj)