File NPVUserAnalysis.h
File List > core > NPVUserAnalysis.h
Go to the documentation of this file
#ifndef NPVUserAnalysis_h
#define NPVUserAnalysis_h
#include "NPVDataInput.h"
#include "NPVDataOutput.h"
namespace nptool {
class VUserAnalysis {
public:
VUserAnalysis(){};
~VUserAnalysis(){};
public:
// Init variable
virtual void Init(){};
// Treat Event
virtual void TreatEvent(){};
// Check if event should be filled to tree
virtual bool FillOutputCondition() { return true; };
// Input
virtual void SetDataInput(std::shared_ptr<nptool::VDataInput> input){};
// Attach to output
virtual void SetDataOutput(std::shared_ptr<nptool::VDataOutput> output){};
// Call at the end of the run
virtual void End(){};
};
} // namespace nptool
#endif