14#ifndef HADRONINTERFACE_H
15#define HADRONINTERFACE_H
34#include "TApplication.h"
61 void AddParticle( TString particle, TString filename,
int nevents,
int bgbins,
double upperbg,
double lowerbg,
int cosbins,
double uppercos,
double lowercos );
78 void PrepareSample( TString outfilename,
bool correct,
int particle );
87 void BetaGammaFits( std::vector< TString > particles, TString filename );
90 void PlotBGCurve( std::vector< TString > particles, TString filename );
100 TString m_filenames[5];
105 std::string m_paramfile;
107 std::vector< TString > m_types;
108 std::map< TString, int > m_index;
109 std::map< TString, double > m_mass;
116 double m_uppercos[5];
117 double m_lowercos[5];
virtual ~HadronInterface()
void BetaGammaFits(std::vector< TString > particles, TString filename)
void SetParamFile(std::string paramfile)
void SimulateSample(TString infilename, TString particle)
void QualityCheck(TString outfilename)
void PrepareResults(TString outfilename, bool correct)
void PlotEfficiency(TString saveas)
void PrepareSample(TString outfilename, bool correct, int particle)
void SaturationCorrection(TString prepfilename, std::string parfile)
void PlotBGCurve(std::vector< TString > particles, TString filename)
void SetupFromConfigFile(std::string configfile)
void GenerateSample(TString particle)
void AddParticle(TString particle, TString filename, int nevents, int bgbins, double upperbg, double lowerbg, int cosbins, double uppercos, double lowercos)
void SigmaFits(TString filename)
void SimulateReconstruction(TString infilename, TString outfilename)