1#ifndef __OPTIMIZATION_ANAPROCESSOR_H__
2#define __OPTIMIZATION_ANAPROCESSOR_H__
11#include "TEfficiency.h"
17#include "TLorentzVector.h"
63 virtual void initialize(std::string inFilename, std::string outFilename);
68 double calculateZBi(
double n_on,
double n_off,
double tau);
73 void writeGraph(TFile* outF, std::string folder, TGraph* g);
78 void writeTH1F(TFile* outF, std::string folder, TH1F* h);
81 typedef std::map<std::string, std::pair<double, int>>::iterator
cut_iter_;
Base classes for all user event processing components to extend.
double calculateZBi(double n_on, double n_off, double tau)
description
std::string variableHistCfgFilename_
std::vector< double > new_variable_params_
std::string signalVtxAnaFilename_
std::shared_ptr< ZBiHistos > bkgHistos_
BaseSelector * testCutsSelector_
std::map< std::string, std::pair< double, int > >::iterator cut_iter_
virtual void configure(const ParameterSet ¶meters)
description
virtual void initialize(TTree *tree)
description
std::vector< std::string > cutVariables_
virtual void finalize()
description
std::vector< std::string > new_variables_
std::string signalVtxAnaTreename_
BaseSelector * persistentCutsSelector_
std::string bkgVtxAnaTreename_
std::map< std::string, std::pair< double, int > > * persistentCutsPtr_
std::string signalMCAnaTreename_
OptimizationProcessor(const std::string &name, Process &process)
void writeTH1F(TFile *outF, std::string folder, TH1F *h)
description
std::string cuts_cfgFile_
void writeGraph(TFile *outF, std::string folder, TGraph *g)
description
double mass_window_nsigma_
TFile * signalVtxAnaFile_
std::shared_ptr< ZBiHistos > processorHistos_
std::shared_ptr< ZBiHistos > signalHistos_
std::shared_ptr< ZBiHistos > testCutHistos_
std::string signal_pdgid_
std::string bkgVtxAnaFilename_
std::string signalMCAnaFilename_
virtual bool process(IEvent *event)
description
virtual bool process()
description
std::map< std::string, std::pair< double, int > > * testCutsPtr_
Processor(const std::string &name, Process &process)
Class constructor.