1#ifndef __SIMPZBI_ANAPROCESSOR_H__
2#define __SIMPZBI_ANAPROCESSOR_H__
14#include "TEfficiency.h"
20#include "TLorentzVector.h"
66 virtual void initialize(std::string inFilename, std::string outFilename);
81 double round(
double var);
92 double Mbin = 30.0,
double dNdm_sf = 1.0);
Base classes for all user event processing components to extend.
OptimizationProcessor(const std::string &name, Process &process)
Read in flat TTree and create new cut variables for SIMP analysis.
All SIMP Equations for calculating expected signal.
IterativeCutSelector * persistentCutsSelector_
std::string variableHistCfgFilename_
std::string signalVtxMCSelection_
std::string tritrigFilename_
void fillEventHistograms(std::shared_ptr< ZBiHistos > histos, SimpAnaTTree *MTT)
description
virtual void configure(const ParameterSet ¶meters)
description
double countControlRegionBackgroundRate(std::string inFilename, std::string tree_name, double m_Ap, double Mbin=30.0, double dNdm_sf=1.0)
description
void getSignalMCAnaVtxZ_h(std::string signalMCAnaFilename, std::string signal_pdgid)
description
bool failTestCut(std::string cutname, SimpAnaTTree *MTT)
description
virtual void initialize(TTree *tree)
description
virtual void finalize()
description
double round(double var)
description
bool failPersistentCuts(SimpAnaTTree *MTT)
description
std::map< std::string, double * > tritrig_tuple_
std::string bkgControlRegionFilename_
void addNewVariables(SimpAnaTTree *MTT, std::string variable, double param)
description
~SimpZBiOptimizationProcessor()
SimpZBiOptimizationProcessor(const std::string &name, Process &process)
virtual bool process(IEvent *event)
description
SimpAnaTTree * signalMTT_
std::map< std::string, double > initialIntegrals_
std::string bkgControlRegionTreename_
virtual bool process()
description
IterativeCutSelector * testCutsSelector_