#include "simpleAnalysis.hxx" //******************************************************************** // Constructor for the simpleAnalysis class simpleAnalysis::simpleAnalysis(AnalysisAlgorithm* ana) : baseTrackerAnalysis(ana) { // Add the package version ND::versioning().AddPackage("simpleAnalysis", anaUtils::GetSoftwareVersionFromPath((std::string)getenv("SIMPLEANALYSISROOT"))); } //******************************************************************** //******************************************************************** bool simpleAnalysis::Initialize(){ // Initialize for instantiating inherited analysis, setting parameters, adding custom categories, etc. // Initialize the baseTrackerAnalysis if(!baseTrackerAnalysis::Initialize()) return false; return true; } //******************************************************************** //******************************************************************** void simpleAnalysis::DefineSelections(){ // DefineSelections for adding the selections you wish to run to the analysis sel().AddSelection("kSimpleAnalysis", "Simple Analysis", new simpleSelection(false)); } //******************************************************************** //******************************************************************** bool simpleAnalysis::CheckFillTruthTree(const AnaTrueVertex& vtx){ // CheckFillTruthTree for defining which event vertices are true signal for this analysis return false; } //******************************************************************** //******************************************************************** void simpleAnalysis::FillTruthTree(const AnaTrueVertex& vtx){ // FillTruthTree for filling the truth tree category information for true signal events return; } //********************************************************************