CbmRoot
|
Enumerations | |
enum class | Eidx { kRaw = 100 , kBgrd , kSig , kFit , kCocktail , kNidx } |
enum class | Epalette { kDefault = 0 , kGoodBad } |
enum class | EfillMark { kOpenMarker = 1 , kFullMarker , kDontCare } |
enum class | Estyle { kNMaxMarker = 13 , kNMaxLine = 4 , kNMaxColor = 17 } |
Functions | |
void | SetStyle (TStyle *userStyle) |
void | SetStyle (Eidx idx, Int_t col=kBlack, Int_t marker=kOpenCircle, Double_t size=1.5, Int_t line=kSolid, Double_t width=2., Int_t fill=kFEmpty) |
void | LoadStyle () |
void | Style (TObject *obj, Int_t idx=0) |
void | SetForceLineStyle (Int_t line=kSolid) |
void | SetForceColor (Int_t color=kBlack) |
void | SetForceFillStyle (Int_t fill=kFSolid) |
void | SetForceMarkerFillStyle (EfillMark fill) |
void | SetPalette (Epalette colors=Epalette::kDefault, Bool_t reverse=kFALSE) |
void | SetLegendAlign (UInt_t align) |
void | SetLegendAttributes (TLegend *leg, Bool_t fill=kFALSE) |
TH1 * | GetFirstHistogram () |
TLegendEntry * | GetLegendEntry (Int_t idx) |
Variables | |
static Int_t | fCol [static_cast< Int_t >(PairAnalysisStyler::Eidx::kNidx) - static_cast< Int_t >(PairAnalysisStyler::Eidx::kRaw)] |
static Int_t | fMrk [static_cast< Int_t >(PairAnalysisStyler::Eidx::kNidx) - static_cast< Int_t >(PairAnalysisStyler::Eidx::kRaw)] |
static Double_t | fSze [static_cast< Int_t >(PairAnalysisStyler::Eidx::kNidx) - static_cast< Int_t >(PairAnalysisStyler::Eidx::kRaw)] = {1., 1., 1., 1., 1.} |
static Int_t | fLne [static_cast< Int_t >(PairAnalysisStyler::Eidx::kNidx) - static_cast< Int_t >(PairAnalysisStyler::Eidx::kRaw)] = {kSolid, kSolid, kSolid, kSolid, kSolid} |
static Double_t | fWdt [static_cast< Int_t >(PairAnalysisStyler::Eidx::kNidx) - static_cast< Int_t >(PairAnalysisStyler::Eidx::kRaw)] = {2., 2., 2., 2., 2.} |
static Int_t | fFll [static_cast< Int_t >(PairAnalysisStyler::Eidx::kNidx) - static_cast< Int_t >(PairAnalysisStyler::Eidx::kRaw)] = {0, 0, 0, 0, 0} |
static Int_t | Marker [] |
static Int_t | Line [] |
static Int_t | Color [] |
static Int_t | Fill [] = {-1} |
static UInt_t | fLegAlign = 22 |
static TStyle * | fUserDielStyle = nullptr |
|
strong |
Enumerator | |
---|---|
kOpenMarker | |
kFullMarker | |
kDontCare |
Definition at line 44 of file PairAnalysisStyler.h.
|
strong |
Enumerator | |
---|---|
kRaw | |
kBgrd | |
kSig | |
kFit | |
kCocktail | |
kNidx |
Definition at line 30 of file PairAnalysisStyler.h.
|
strong |
Enumerator | |
---|---|
kDefault | |
kGoodBad |
Definition at line 39 of file PairAnalysisStyler.h.
|
strong |
Enumerator | |
---|---|
kNMaxMarker | |
kNMaxLine | |
kNMaxColor |
Definition at line 50 of file PairAnalysisStyler.h.
TH1 * PairAnalysisStyler::GetFirstHistogram | ( | ) |
Definition at line 605 of file PairAnalysisStyler.cxx.
References Error.
Referenced by PairAnalysisHelper::SetPDGBinLabels().
TLegendEntry * PairAnalysisStyler::GetLegendEntry | ( | Int_t | idx | ) |
Definition at line 627 of file PairAnalysisStyler.cxx.
References Error.
void PairAnalysisStyler::LoadStyle | ( | ) |
Definition at line 50 of file PairAnalysisStyler.cxx.
Referenced by ClassImp(), PairAnalysisSignalExt::Draw(), PairAnalysisHF::ReadFromFile(), and SetStyle().
void PairAnalysisStyler::SetForceColor | ( | Int_t | color = kBlack | ) |
Definition at line 368 of file PairAnalysisStyler.cxx.
void PairAnalysisStyler::SetForceFillStyle | ( | Int_t | fill = kFSolid | ) |
Definition at line 379 of file PairAnalysisStyler.cxx.
void PairAnalysisStyler::SetForceLineStyle | ( | Int_t | line = kSolid | ) |
Definition at line 357 of file PairAnalysisStyler.cxx.
void PairAnalysisStyler::SetForceMarkerFillStyle | ( | EfillMark | fill | ) |
Definition at line 391 of file PairAnalysisStyler.cxx.
void PairAnalysisStyler::SetLegendAlign | ( | UInt_t | align | ) |
Definition at line 463 of file PairAnalysisStyler.cxx.
void PairAnalysisStyler::SetLegendAttributes | ( | TLegend * | leg, |
Bool_t | fill = kFALSE ) |
Definition at line 466 of file PairAnalysisStyler.cxx.
Referenced by PairAnalysisSignalExt::Draw().
void PairAnalysisStyler::SetPalette | ( | Epalette | colors = Epalette::kDefault, |
Bool_t | reverse = kFALSE ) |
Definition at line 569 of file PairAnalysisStyler.cxx.
void PairAnalysisStyler::SetStyle | ( | Eidx | idx, |
Int_t | col = kBlack, | ||
Int_t | marker = kOpenCircle, | ||
Double_t | size = 1.5, | ||
Int_t | line = kSolid, | ||
Double_t | width = 2., | ||
Int_t | fill = kFEmpty ) |
Definition at line 447 of file PairAnalysisStyler.cxx.
References size().
void PairAnalysisStyler::SetStyle | ( | TStyle * | userStyle | ) |
Definition at line 40 of file PairAnalysisStyler.cxx.
References LoadStyle().
void PairAnalysisStyler::Style | ( | TObject * | obj, |
Int_t | idx = 0 ) |
Definition at line 261 of file PairAnalysisStyler.cxx.
Referenced by PairAnalysisSignalExt::Draw().
|
static |
Definition at line 56 of file PairAnalysisStyleDefs.h.
|
static |
Definition at line 34 of file PairAnalysisStyleDefs.h.
|
static |
Definition at line 46 of file PairAnalysisStyleDefs.h.
|
static |
Definition at line 60 of file PairAnalysisStyleDefs.h.
|
static |
Definition at line 62 of file PairAnalysisStyleDefs.h.
|
static |
Definition at line 42 of file PairAnalysisStyleDefs.h.
|
static |
Definition at line 37 of file PairAnalysisStyleDefs.h.
|
static |
Definition at line 40 of file PairAnalysisStyleDefs.h.
|
static |
Definition at line 64 of file PairAnalysisStyleDefs.h.
|
static |
Definition at line 44 of file PairAnalysisStyleDefs.h.
|
static |
Definition at line 52 of file PairAnalysisStyleDefs.h.
|
static |
Definition at line 49 of file PairAnalysisStyleDefs.h.