KaliVeda
Toolkit for HIC analysis
Loading...
Searching...
No Matches
KVINDRADstToRootTransfert.h
1/*
2$Id: KVINDRADstToRootTransfert.h,v 1.3 2007/05/31 09:59:22 franklan Exp $
3$Revision: 1.3 $
4$Date: 2007/05/31 09:59:22 $
5*/
6
9
10#ifndef __KVINDRADSTTOROOTTRANSFERT_H
11#define __KVINDRADSTTOROOTTRANSFERT_H
12
13#include "KVString.h"
14#include "KVNumberList.h"
15#include "KVIntegerList.h"
16#include "KVDataSet.h"
17#include "KVINDRADSTReader.h"
18#include "TString.h"
19
21class KVIDTelescope;
22class KVDetector;
23class TTree;
24
33
34protected:
40
41 virtual KVNumberList PrintAvailableRuns(KVString& datatype);
42
51
56
57 Int_t events_in_file;//total number of events read from each file - for tests
58
59 Int_t events_good, events_read;//totals of events read and trees filled
60
61 TTree* data_tree;//tree for writing events
62 TTree* rawtree;//raw data tree
63
64 Int_t fRunNumber;//run number of current file
66
69
70
71 virtual void ProcessRun();
72
73public:
74
77
78 virtual void InitRun();
79 virtual void EndRun();
80
81 virtual void SubmitTask();
82
84 void ReadDST();
85
86 KVDetector* Code2and9and10(int ring, int mod);
87 KVDetector* Code3(int ring, int mod);
88 KVDetector* Code0(int ring, int mod);
89 KVDetector* Code1(int ring, int mod);
90 KVDetector* Code7(int ring, int mod);
91 KVDetector* Code4and5and6and8(int ring, int mod);
92
93 void lire_evt(std::ifstream& f_in, KVINDRAReconEvent* evt);
94
95 void FillRawTree();
96
97 ClassDef(KVINDRADstToRootTransfert, 1) //Conversion of INDRA DST to KaliVeda ROOT format
98};
99
100#endif
int Int_t
unsigned int UInt_t
unsigned short UShort_t
double Double_t
#define ClassDef(name, id)
Base class for detector geometry description.
Definition KVDetector.h:160
Base class for all detectors or associations of detectors in array which can identify charged particl...
Read INDRA DST file and fill a TTree.
Conversion of INDRA DST file to KaliVeda ROOT format.
KVDetector * Code1(int ring, int mod)
KVDetector * Code2and9and10(int ring, int mod)
virtual ~KVINDRADstToRootTransfert()
Destructor.
KVDetector * Code0(int ring, int mod)
void lire_evt(std::ifstream &f_in, KVINDRAReconEvent *evt)
KVINDRADstToRootTransfert()
Default constructor.
virtual KVNumberList PrintAvailableRuns(KVString &datatype)
KVDetector * Code4and5and6and8(int ring, int mod)
KVDetector * Code3(int ring, int mod)
KVDetector * Code7(int ring, int mod)
Event reconstructed from energy losses in INDRA multidetector.
Strings used to represent a set of ranges of values.
KaliVeda extensions to ROOT collection classes.
Extension of ROOT TString class which allows backwards compatibility with ROOT v3....
Definition KVString.h:73