Changeset 14744 for fact/tools


Ignore:
Timestamp:
12/13/12 18:16:57 (12 years ago)
Author:
Jens Buss
Message:
changed random number generator to uniform numbers, add func
BootstrapVector, add func BootstrapTH1
File:
1 edited

Legend:

Unmodified
Added
Removed
  • fact/tools/rootmacros/PulseTemplates/Sample.h

    r14706 r14744  
    3737// PROJECT INCLUDES
    3838#include <TRandom3.h>
     39#include <TH1.h>
    3940//
    4041
     
    8081    void    GenerateSample(vector<int>* sampleVector, int min, int max, int size);
    8182    void    BootstrapSample();
     83    int     BootstrapVector(vector<double> *inVector, vector<double> *outVector);
     84    int     BootstrapTH1(TH1* inputHisto, TH1 *outHisto);
    8285    void    BootstrapSample(vector<int>* sampleVector, int min, int max, int size);
    8386
Note: See TracChangeset for help on using the changeset viewer.