Warning, file /include/root/RooBinningCategory.h was not indexed
or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016 #ifndef ROO_BINNING_CATEGORY
0017 #define ROO_BINNING_CATEGORY
0018
0019 #include "RooAbsCategory.h"
0020 #include "RooTemplateProxy.h"
0021 #include "TString.h"
0022
0023 class RooBinningCategory : public RooAbsCategory {
0024
0025 public:
0026 RooBinningCategory() = default;
0027 RooBinningCategory(const char *name, const char *title, RooAbsRealLValue& inputVar, const char* binningName=nullptr, const char* catTypeName=nullptr);
0028 RooBinningCategory(const RooBinningCategory& other, const char *name=nullptr) ;
0029 TObject* clone(const char* newname) const override { return new RooBinningCategory(*this, newname); }
0030
0031
0032 void printMultiline(std::ostream& os, Int_t content, bool verbose=false, TString indent="") const override ;
0033
0034 protected:
0035
0036 void initialize(const char* catTypeName=nullptr) ;
0037
0038 RooTemplateProxy<RooAbsRealLValue> _inputVar;
0039 TString _bname ;
0040
0041 value_type evaluate() const override;
0042
0043 void recomputeShape() override { }
0044
0045 ClassDefOverride(RooBinningCategory,1)
0046 };
0047
0048 #endif