hpstr
The Heavy Photon Search Toolkit for Reconstruction (hpstr) provides an interface to physics data from the HPS experiment saved in the LCIO format and converts it into an ROOT based format.
|
Insert description here. more details. More...
#include <BhToysHistoProcessor.h>
Public Member Functions | |
BhToysHistoProcessor (const std::string &name, Process &process) | |
Constructor. | |
~BhToysHistoProcessor () | |
virtual void | configure (const ParameterSet ¶meters) |
Configure using given parameters. | |
virtual void | initialize (std::string inFilename, std::string outFilename) |
description | |
virtual bool | process () |
description | |
virtual void | initialize (TTree *tree) |
description | |
virtual bool | process (IEvent *event) |
description | |
virtual void | finalize () |
description | |
![]() | |
Processor (const std::string &name, Process &process) | |
Class constructor. | |
virtual | ~Processor () |
virtual void | setFile (TFile *outFile) |
Set output TFile for AnaProcessors. | |
Private Attributes | |
TFile * | inF_ {nullptr} |
description | |
BumpHunter * | bump_hunter_ {nullptr} |
The bump hunter manager. | |
FlatTupleMaker * | flat_tuple_ {nullptr} |
The flat tuple manager. | |
std::string | massSpectrum_ {"testSpectrum_h"} |
The name of the mass spectrum to fit. | |
TH1 * | mass_spec_h {nullptr} |
The mass spectrum to fit. | |
std::string | signal_shape_h_name_ {""} |
The signal shape histogram name to use, if defined. | |
std::string | signal_shape_h_file_ {""} |
The signal shpae histogram file path, if defined. | |
TH1 * | signal_shape_h_ {nullptr} |
The signal shape histogram to use. | |
double | mass_hypo_ {100.0} |
The signal hypothesis to use in the fit. | |
int | poly_order_ {3} |
Order of polynomial used to model the background. | |
int | toy_poly_order_ {-1} |
Order of polynomial used to create the toy generator function. | |
int | win_factor_ {10} |
int | seed_ {10} |
int | nToys_ {50} |
Number of toys to throw and fit. | |
int | toy_sig_samples_ {0} |
int | bkg_mult_ {1} |
double | res_scale_ {1.00} |
The factor by which to scale the mass resolution function. | |
bool | asymptotic_limit_ {true} |
Whether to use the asymptotic upper limit or the power constrained. Defaults to asymptotic. | |
int | bkg_model_ {1} |
What background model type to use. | |
int | debug_ {0} |
Debug Level. | |
Additional Inherited Members | |
![]() | |
static void | declare (const std::string &classname, ProcessorMaker *) |
Internal function which is part of the ProcessorFactory machinery. | |
![]() | |
Process & | process_ |
TFile * | outF_ {nullptr} |
std::string | name_ |
Insert description here. more details.
Definition at line 20 of file BhToysHistoProcessor.h.
BhToysHistoProcessor | ( | const std::string & | name, |
Process & | process | ||
) |
~BhToysHistoProcessor | ( | ) |
Definition at line 13 of file BhToysHistoProcessor.cxx.
|
virtual |
Configure using given parameters.
parameters | The parameters used for configuration. |
Reimplemented from Processor.
Definition at line 15 of file BhToysHistoProcessor.cxx.
|
virtual |
|
virtual |
description
inFilename | |
outFilename |
Reimplemented from Processor.
Definition at line 38 of file BhToysHistoProcessor.cxx.
|
inlinevirtual |
description
tree |
Implements Processor.
Definition at line 61 of file BhToysHistoProcessor.h.
|
virtual |
description
Reimplemented from Processor.
Definition at line 136 of file BhToysHistoProcessor.cxx.
|
inlinevirtual |
description
event |
Implements Processor.
Definition at line 70 of file BhToysHistoProcessor.h.
|
private |
Whether to use the asymptotic upper limit or the power constrained. Defaults to asymptotic.
Definition at line 129 of file BhToysHistoProcessor.h.
|
private |
What background model type to use.
Definition at line 130 of file BhToysHistoProcessor.h.
|
private |
Toy background events are by default equal in number to the integral of the invariant mass distribution. The number of events may be modified by a multiplicative factor.
Definition at line 126 of file BhToysHistoProcessor.h.
|
private |
The bump hunter manager.
Definition at line 82 of file BhToysHistoProcessor.h.
|
private |
Debug Level.
Definition at line 131 of file BhToysHistoProcessor.h.
|
private |
The flat tuple manager.
Definition at line 84 of file BhToysHistoProcessor.h.
|
private |
description
Definition at line 80 of file BhToysHistoProcessor.h.
|
private |
The signal hypothesis to use in the fit.
Definition at line 97 of file BhToysHistoProcessor.h.
|
private |
The mass spectrum to fit.
Definition at line 88 of file BhToysHistoProcessor.h.
|
private |
The name of the mass spectrum to fit.
Definition at line 86 of file BhToysHistoProcessor.h.
|
private |
Number of toys to throw and fit.
Definition at line 113 of file BhToysHistoProcessor.h.
|
private |
Order of polynomial used to model the background.
Definition at line 98 of file BhToysHistoProcessor.h.
|
private |
The factor by which to scale the mass resolution function.
Definition at line 128 of file BhToysHistoProcessor.h.
|
private |
The seed used in generating random numbers. The default of 0 causes the generator to use the system time.
Definition at line 111 of file BhToysHistoProcessor.h.
|
private |
The signal shape histogram to use.
Definition at line 95 of file BhToysHistoProcessor.h.
|
private |
The signal shpae histogram file path, if defined.
Definition at line 93 of file BhToysHistoProcessor.h.
|
private |
The signal shape histogram name to use, if defined.
Definition at line 91 of file BhToysHistoProcessor.h.
|
private |
Order of polynomial used to create the toy generator function.
Definition at line 99 of file BhToysHistoProcessor.h.
|
private |
Number of samples for signal to employ in toy model generation. Defaults to zero.
Definition at line 119 of file BhToysHistoProcessor.h.
|
private |
The factor that determines the size of the mass window as window_size = (mass_resolution*win_factor)
Definition at line 105 of file BhToysHistoProcessor.h.