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.
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Public Member Functions | Private Attributes | List of all members
BhMassResSystematicsProcessor Class Reference

Insert description here. more details. More...

#include <BhMassResSystematicsProcessor.h>

Inheritance diagram for BhMassResSystematicsProcessor:
Processor

Public Member Functions

 BhMassResSystematicsProcessor (const std::string &name, Process &process)
 Constructor.
 
 ~BhMassResSystematicsProcessor ()
 
virtual void configure (const ParameterSet &parameters)
 Configure using given parameters.
 
virtual void initialize (std::string inFilename, std::string outFilename)
 Initialize processor.
 
virtual bool process ()
 description
 
virtual void initialize (TTree *tree)
 description
 
virtual bool process (IEvent *event)
 description
 
virtual void finalize ()
 description
 
- Public Member Functions inherited from Processor
 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
 
TFile * function_file_ {nullptr}
 The file that contains the mass resolution error parameterization.
 
std::string function_name_ {""}
 The name of the function object in the error file.
 
BumpHunterbump_hunter_ {nullptr}
 The bump hunter manager.
 
FlatTupleMakerflat_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.
 
double mass_hypo_ {100.0}
 The signal hypothesis to use in the fit.
 
double seed_ = 0.0
 The toy generator seed. This is always zero.
 
int poly_order_ {3}
 Order of polynomial used to model the background.
 
int win_factor_ {10}
 The factor that determines the size of the mass window as.
 
bool asymptotic_limit_ {true}
 Whether to use the asymptotic upper limit or the power constrained. Defaults to asymptotic.
 
int bkg_model_ {3}
 What background model type to use.
 
double res_width_ {0.05}
 The width of the resolution Gaussian.
 
int res_runs_ {1000}
 How many resolution variance runs to make.
 
int toy_res_runs_ {100}
 How many resolution variance runs to make.
 
int nToys_ {1000}
 How many toys to generated.
 
int debug_ {0}
 Debug Level.
 

Additional Inherited Members

- Static Public Member Functions inherited from Processor
static void declare (const std::string &classname, ProcessorMaker *)
 Internal function which is part of the ProcessorFactory machinery.
 
- Protected Attributes inherited from Processor
Processprocess_
 
TFile * outF_ {nullptr}
 
std::string name_
 

Detailed Description

Insert description here. more details.

Definition at line 21 of file BhMassResSystematicsProcessor.h.

Constructor & Destructor Documentation

◆ BhMassResSystematicsProcessor()

BhMassResSystematicsProcessor ( const std::string &  name,
Process process 
)

Constructor.

Parameters
name
process

Definition at line 4 of file BhMassResSystematicsProcessor.cxx.

◆ ~BhMassResSystematicsProcessor()

Definition at line 8 of file BhMassResSystematicsProcessor.cxx.

Member Function Documentation

◆ configure()

void configure ( const ParameterSet parameters)
virtual

Configure using given parameters.

Parameters
parametersThe parameters used for configuration.

Reimplemented from Processor.

Definition at line 10 of file BhMassResSystematicsProcessor.cxx.

◆ finalize()

void finalize ( )
virtual

description

Implements Processor.

Definition at line 415 of file BhMassResSystematicsProcessor.cxx.

◆ initialize() [1/2]

void initialize ( std::string  inFilename,
std::string  outFilename 
)
virtual

Initialize processor.

Parameters
inFilename
outFilename

Reimplemented from Processor.

Definition at line 36 of file BhMassResSystematicsProcessor.cxx.

◆ initialize() [2/2]

virtual void initialize ( TTree *  tree)
inlinevirtual

description

Parameters
tree

Implements Processor.

Definition at line 61 of file BhMassResSystematicsProcessor.h.

◆ process() [1/2]

bool process ( )
virtual

description

Returns
true
false

Reimplemented from Processor.

Definition at line 145 of file BhMassResSystematicsProcessor.cxx.

◆ process() [2/2]

virtual bool process ( IEvent event)
inlinevirtual

description

Parameters
event
Returns
true
false

Implements Processor.

Definition at line 70 of file BhMassResSystematicsProcessor.h.

Member Data Documentation

◆ asymptotic_limit_

bool asymptotic_limit_ {true}
private

Whether to use the asymptotic upper limit or the power constrained. Defaults to asymptotic.

Definition at line 90 of file BhMassResSystematicsProcessor.h.

◆ bkg_model_

int bkg_model_ {3}
private

What background model type to use.

Definition at line 91 of file BhMassResSystematicsProcessor.h.

◆ bump_hunter_

BumpHunter* bump_hunter_ {nullptr}
private

The bump hunter manager.

Definition at line 82 of file BhMassResSystematicsProcessor.h.

◆ debug_

int debug_ {0}
private

Debug Level.

Definition at line 96 of file BhMassResSystematicsProcessor.h.

◆ flat_tuple_

FlatTupleMaker* flat_tuple_ {nullptr}
private

The flat tuple manager.

Definition at line 83 of file BhMassResSystematicsProcessor.h.

◆ function_file_

TFile* function_file_ {nullptr}
private

The file that contains the mass resolution error parameterization.

Definition at line 80 of file BhMassResSystematicsProcessor.h.

◆ function_name_

std::string function_name_ {""}
private

The name of the function object in the error file.

Definition at line 81 of file BhMassResSystematicsProcessor.h.

◆ inF_

TFile* inF_ {nullptr}
private

description

Definition at line 79 of file BhMassResSystematicsProcessor.h.

◆ mass_hypo_

double mass_hypo_ {100.0}
private

The signal hypothesis to use in the fit.

Definition at line 86 of file BhMassResSystematicsProcessor.h.

◆ mass_spec_h

TH1* mass_spec_h {nullptr}
private

The mass spectrum to fit.

Definition at line 85 of file BhMassResSystematicsProcessor.h.

◆ massSpectrum_

std::string massSpectrum_ {"testSpectrum_h"}
private

The name of the mass spectrum to fit.

Definition at line 84 of file BhMassResSystematicsProcessor.h.

◆ nToys_

int nToys_ {1000}
private

How many toys to generated.

Definition at line 95 of file BhMassResSystematicsProcessor.h.

◆ poly_order_

int poly_order_ {3}
private

Order of polynomial used to model the background.

Definition at line 88 of file BhMassResSystematicsProcessor.h.

◆ res_runs_

int res_runs_ {1000}
private

How many resolution variance runs to make.

Definition at line 93 of file BhMassResSystematicsProcessor.h.

◆ res_width_

double res_width_ {0.05}
private

The width of the resolution Gaussian.

Definition at line 92 of file BhMassResSystematicsProcessor.h.

◆ seed_

double seed_ = 0.0
private

The toy generator seed. This is always zero.

Definition at line 87 of file BhMassResSystematicsProcessor.h.

◆ toy_res_runs_

int toy_res_runs_ {100}
private

How many resolution variance runs to make.

Definition at line 94 of file BhMassResSystematicsProcessor.h.

◆ win_factor_

int win_factor_ {10}
private

The factor that determines the size of the mass window as.

Definition at line 89 of file BhMassResSystematicsProcessor.h.


The documentation for this class was generated from the following files: