1#define KVINDRAGeneDataSelector_cxx
3#include "KVINDRAGeneDataSelector.h"
6#include "KVClassFactory.h"
168 KVClassFactory cf(kvsname,
"User gene data analysis class",
"KVINDRAGeneDataSelector");
176 body =
" //Initialisation of e.g. histograms, performed once at beginning of analysis";
179 body =
" //Initialisation performed at beginning of each run\n";
180 body +=
" //Int RunNumber holds number of current run\n";
183 body =
" //Analysis method called for each event\n";
184 body +=
" //Int RunNumber holds number of current run\n";
185 body +=
" //Int EventNumber holds number of current event\n";
186 body +=
" //KVINDRATriggerInfo* TriggerInfo holds info on INDRA trigger for current event\n";
187 body +=
" return kTRUE;";
190 body =
" //Method called at end of each run";
193 body =
" //Method called at end of analysis: save/display histograms etc.";
Factory class for generating skeleton files for new classes.
void GenerateCode()
Generate header and implementation file for currently-defined class.
void AddMethodBody(const Char_t *method_name, const KVString &body)
KVClassMethod * AddMethod(const Char_t *name, const Char_t *return_type, const Char_t *access="public", Bool_t isVirtual=kFALSE, Bool_t isConst=kFALSE)
For analysing INDRA pulser & laser data.
virtual Bool_t Analysis()
Bool_t needToCallEndRun
tells if one needs to call EndRun
virtual Bool_t Process(Long64_t entry)
TTree * fChain
pointer to the analyzed TTree or TChain
virtual Bool_t AtEndOfRun(void)
virtual Int_t GetEntry(Long64_t entry, Int_t getall=0)
virtual void SlaveBegin(TTree *tree)
static void Make(const Char_t *kvsname)
Automatic generation of derived class for gene data analysis.
virtual void EndAnalysis()
Long64_t fTreeEntry
this is the current TTree entry number, i.e. the argument passed to TSelector::Process(Long64_t entry...
virtual void SlaveTerminate()
Extension of ROOT TString class which allows backwards compatibility with ROOT v3....
const char * GetOption() const override
virtual Long64_t GetEntries() const
virtual TTree * GetTree() const