8#ifndef KVOldINDRASelector_h
9#define KVOldINDRASelector_h
15#include "KVINDRAReconEvent.h"
21#include "KVDataSelector.h"
22#include "KVParticleCondition.h"
24#include "KVLockfile.h"
26#include "KVDataAnalyser.h"
27#include "KVHashList.h"
28#include "KVNameValueList.h"
29#include "KVINDRADBRun.h"
36#include "KVDalitzPlot.h"
71#ifdef __WITHOUT_TSELECTOR_LONG64_T
78#ifdef __WITHOUT_TSELECTOR_LONG64_T
133 virtual ~ KVOldINDRASelector();
159#ifdef __WITHOUT_TSELECTOR_LONG64_T
210#ifdef __WITHOUT_TSELECTOR_LONG64_T
249 static void Make(
const Char_t* kvsname =
"MyOwnKVOldINDRASelector");
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void input
Fill 3D observables in a dalitz plot ,.
Class handling event lists for KVOldINDRASelector analysis of data chains.
#define KVGVLIST_OPTIMIZE_GVLIST
Extended version of ROOT THashList.
Database entry for each run of an INDRA experiment.
Event reconstructed from energy losses in INDRA multidetector.
Interface to (Linux) system lockfile command.
Handles lists of named parameters with different types, a list of KVNamedParameter objects.
Former base analysis class for INDRA data.
KVINDRADBRun * fCurrentRun
current run
virtual const Char_t * GetDataSelectorFileName(void)
virtual void WriteTreeToFile(KVString filename="FileFromKVOldINDRASelector.root", Option_t *option="recreate")
If no filename is specified, assume that the current directory is writable.
KVINDRAReconEvent * data
Declaration of leaves types.
virtual void UnsetOpt(const Char_t *opt)
Removes the option 'opt' from the internal lists, as if it had never been set.
TList * GetOutputList() const
void FillTH3(TH3 *h3, Double_t one, Double_t two, Double_t three, Double_t four)
void SetObject(TObject *obj)
void SetOption(const char *option)
virtual TString GetOpt(const Char_t *option) const
TH1 * GetHisto(const Char_t *name)
KVNameValueList fOptionList
parsed list of options given to TTree::Process
void FillTH2(TH2 *h2, Double_t one, Double_t two, Double_t three)
virtual void AddGV(KVVarGlob *)
Long64_t fTreeEntry
this is the current TTree entry number, i.e. the argument passed to TSelector::Process(Long64_t entry...
Int_t fCurrentTreeNumber
This is the current tree number.
void FillHisto(KVString sname, Double_t one, Double_t two=1, Double_t three=1, Double_t four=1)
virtual void SaveCurrentDataSelection(void)
virtual void RecalculateGlobalVariables()
static KVString fBranchName
name of branch which contains KVINDRAReconEvent objects in the TTree
virtual void CreateHistos()
KVGVList * gvlist
List of global variables.
KVINDRAReconEvent ** GetEventReference()
TString fDataSelector
Name of the KVDataSelector.
UInt_t fNewMassFormula
new mass formula to apply to fragments, if required
virtual KVGVList * GetGVList(void)
void FillKVDalitz(KVDalitzPlot *h2, Double_t one, Double_t two, Double_t three)
virtual void SetParticleConditions(const KVParticleCondition &)
virtual Bool_t Analysis()
virtual Bool_t AtEndOfRun(void)
void FillTProfile2D(TProfile2D *h2, Double_t one, Double_t two, Double_t three, Double_t four)
virtual void SetGVList(KVGVList *list)
handling global variables for analysis
TTree * fChain
pointer to the analyzed TTree or TChain
Bool_t Process(Long64_t entry)
void FillTree(KVString sname="")
TTree * GetTree(const Char_t *name)
void FillTH1(TH1 *h1, Double_t one, Double_t two)
virtual void SetOpt(const Char_t *option, const Char_t *value)
Set a value for an option.
KVDataSelector * fKVDataSelector
KVDataSelector.
void SetInputList(TList *input)
TStopwatch * fTimer
used to time analysis
KVINDRAReconEvent * GetEvent()
KVHashList * GetHistoList()
virtual void CreateTrees()
void SlaveTerminate()
Function called at the end of the event loop in each PROOF slave.
virtual void ChangeFragmentMasses(UInt_t mass_formula)
virtual const Char_t * GetDataSelector(void)
TEventList * fEvtList
this is the current event list.
Bool_t * fTEVLexist
tells if the TEventList exist for each run
virtual Long64_t GetTreeEntry() const
Long64_t * fTreeOffset
this is the current TTree offset table
virtual KVINDRADBRun * GetCurrentRun() const
void FillTProfile(TProfile *h1, Double_t one, Double_t two, Double_t three)
static void Make(const Char_t *kvsname="MyOwnKVOldINDRASelector")
Automatic generation of KVOldINDRASelector-derived class for KaliVeda analysis.
ClassDef(KVOldINDRASelector, 0)
virtual Bool_t IsOptGiven(const Char_t *option)
Returns kTRUE if the option 'opt' has been set.
virtual void LoadDataSelector(void)
virtual void SetDataSelector(const Char_t *dataSel="")
virtual KVVarGlob * GetGV(const Char_t *) const
void SetCurrentRun(KVINDRADBRun *r)
Bool_t needToSelect
tells if one needs to build the TEventList
TBranch * b_data
List of branches.
KVParticleCondition * fPartCond
(optional) conditions for selecting particles
virtual void EndAnalysis()
void SetINDRAReconEventBranchName(const Char_t *br_name)
KVLockfile dataselector_lock
for locking user's data selector file
KVHashList * GetTreeList()
void SlaveBegin(TTree *tree)
virtual void WriteHistoToFile(KVString filename="FileFromKVOldINDRASelector.root", Option_t *option="recreate")
virtual void InitAnalysis()
virtual void BuildEventList(void)
Bool_t needToCallEndRun
tells if one needs to call EndRun
Extension of ROOT TString class which allows backwards compatibility with ROOT v3....
Base class for all global variable implementations.
const char * Data() const