// $Id$ // // File: DEventWriterROOT_AddST.h // Created: Mon Apr 24 15:32:17 EDT 2017 // Creator: davidl (on Linux gluon112.jlab.org 2.6.32-642.3.1.el6.x86_64 x86_64) // #ifndef _DEventWriterROOT_AddST_ #define _DEventWriterROOT_AddST_ #include #include #include using namespace std; using namespace jana; class DEventWriterROOT_AddST : public DEventWriterROOT { public: virtual ~DEventWriterROOT_AddST(void){}; protected: //CUSTOM FUNCTIONS: //Inherit from this class and write custom code in these functions virtual void Create_CustomBranches_ThrownTree(DTreeBranchRegister& locBranchRegister, JEventLoop* locEventLoop) const; virtual void Fill_CustomBranches_ThrownTree(DTreeFillData* locTreeFillData, JEventLoop* locEventLoop, const DMCReaction* locMCReaction, const vector& locMCThrowns) const; virtual void Create_CustomBranches_DataTree(DTreeBranchRegister& locBranchRegister, JEventLoop* locEventLoop, const DReaction* locReaction, bool locIsMCDataFlag) const; virtual void Fill_CustomBranches_DataTree(DTreeFillData* locTreeFillData, JEventLoop* locEventLoop, const DMCReaction* locMCReaction, const vector& locMCThrowns, const DMCThrownMatching* locMCThrownMatching, const DDetectorMatches* locDetectorMatches, const vector& locBeamPhotons, const vector& locChargedHypos, const vector& locNeutralHypos, const deque& locParticleCombos) const; }; #endif //_DEventWriterROOT_AddST_