10#include "KVINDRAGeneDataAnalyser.h"
13#include "KVINDRAGeneDataSelector.h"
14#include <KVINDRADBRun.h>
66 cout <<
" to the TChain." << endl;
72 if (!selector || !selector->
InheritsFrom(
"KVINDRAGeneDataSelector")) {
73 cout <<
"The selector \"" <<
GetUserClass() <<
"\" is not valid." << endl;
74 cout <<
"Process aborted." << endl;
84 if (selector)
delete selector;
106 vector<int> triggers;
108 while (!all_runs.
End()) {
110 if (triggers.size() == 0
111 || std::find(triggers.begin(), triggers.end(), dbrun->
GetTrigger()) != triggers.end()) {
116 std::sort(triggers.begin(), triggers.end());
119 for (std::vector<int>::iterator it = triggers.begin(); it != triggers.end(); ++it) {
120 cout <<
" ---> Trigger M>" << *it << endl;
122 while (!all_runs.
End()) {
127 cout <<
"\t[File written: " << dbrun->
GetDatime().
char * Form(const char *fmt,...)
virtual Int_t GetNumber() const
const Char_t * GetComments() const
ULong64_t GetEvents() const
const TDatime & GetDatime() const
const Char_t * GetUserClass()
const KVString & GetDataType() const
Long64_t GetNbEventToRead(void) const
TObject * GetInstanceOfUserClass(const KVString &alternative_base_class="")
const KVNumberList & GetRunList() const
const KVDBSystem * GetSystem() const
const KVDataSet * GetDataSet() const
KVNumberList GetRunList(const Char_t *data_type, const KVDBSystem *sys=0) const
TString GetFullPathToRunfile(const Char_t *type, Int_t run) const
KVExpDB * GetDataBase(Option_t *opt="") const
KVDBRun * GetDBRun(Int_t number) const
Database entry for each run of an INDRA experiment.
For analysing INDRA gene (pulser) data.
virtual ~KVINDRAGeneDataAnalyser()
Destructor.
virtual KVNumberList PrintAvailableRuns(KVString &datatype)
virtual void SubmitTask()
For analysing INDRA pulser & laser data.
Strings used to represent a set of ranges of values.
Extension of ROOT TString class which allows backwards compatibility with ROOT v3....
virtual Int_t Add(const char *name, Long64_t nentries=TTree::kMaxEntries)
Long64_t Process(const char *filename, Option_t *option="", Long64_t nentries=kMaxEntries, Long64_t firstentry=0) override
void SetDirectory(TDirectory *dir) override
virtual Bool_t InheritsFrom(const char *classname) const
const char * Data() const