32void rf401_importttreethx()
48 RooCategory c(
"c",
"c", {{
"SampleA",0}, {
"SampleB",1}, {
"SampleC",2}});
56 std::map<std::string, TH1 *>
hmap;
90 icat.defineType(
"State0", 0);
91 icat.defineType(
"State1", 1);
102 std::unique_ptr<RooAbsData>
dsA{
ds2.reduce({
x,
y},
"z<-5")};
103 std::unique_ptr<RooAbsData>
dsB{
ds2.reduce({
x,
y},
"abs(z)<5")};
104 std::unique_ptr<RooAbsData>
dsC{
ds2.reduce({
x,
y},
"z>5")};
118 for (
int i = 0; i < 1000; i++) {
137 for (
int i = 0; i < 100; i++) {
138 *px =
trnd.Gaus(0, 3);
139 *py =
trnd.Uniform() * 30 - 15;
140 *pz =
trnd.Gaus(0, 5);
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
RooArgSet is a container object that can hold multiple RooAbsArg objects.
Object to represent discrete states.
Container class to hold N-dimensional binned data.
Container class to hold unbinned data.
Variable that can be changed from the outside.
1-D histogram with a double per channel (see TH1 documentation)
TH1 is the base class of all histogram classes in ROOT.
Random number generator class based on M.
This is the base class for the ROOT Random number generators.
A TTree represents a columnar dataset.
RooCmdArg Import(const char *state, TH1 &histo)
RooCmdArg Cut(const char *cutSpec)
The namespace RooFit contains mostly switches that change the behaviour of functions of PDFs (or othe...