Use the filter file from above


{

    //Please use "make_demo_pfilter.C" before

    makeDistributionManager()->Unpack("pluto_demo_filter.root");

    makeDistributionManager()->Startup("_filter_debug=1");
    makeDistributionManager()->Startup("_filter_exclusive=1");
    //makeDistributionManager()->Startup("_filter_smear_factor=1");

    PReaction my_reaction("2.2", "p", "p", "p p eta [dilepton [e+ e-] g]", "eta_dalitz", 1, 0, 0, 0);

    //for the exclusive version:
    TH1F *histo1 = new TH1F ("histo1", "pp missing mass", 100, 0.0, 1.);
    my_reaction.Do(histo1,"miss= [p + p]- ( [p,1]+ [p,2] );_x=miss->M()");    
    
    my_reaction.Print();   //The "Print()" statement is optional
    my_reaction.Loop(10000); 
}
 use_demo_pfilter.C:1
 use_demo_pfilter.C:2
 use_demo_pfilter.C:3
 use_demo_pfilter.C:4
 use_demo_pfilter.C:5
 use_demo_pfilter.C:6
 use_demo_pfilter.C:7
 use_demo_pfilter.C:8
 use_demo_pfilter.C:9
 use_demo_pfilter.C:10
 use_demo_pfilter.C:11
 use_demo_pfilter.C:12
 use_demo_pfilter.C:13
 use_demo_pfilter.C:14
 use_demo_pfilter.C:15
 use_demo_pfilter.C:16
 use_demo_pfilter.C:17
 use_demo_pfilter.C:18
 use_demo_pfilter.C:19
 use_demo_pfilter.C:20
 use_demo_pfilter.C:21