KaliVeda  1.13/01
Heavy-Ion Analysis Toolkit
KVINDRADstToRootTransfert.h
Go to the documentation of this file.
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 
20 class KVINDRAReconEvent;
21 class KVIDTelescope;
22 class KVDetector;
23 class TTree;
24 
32 
33 protected:
37  UInt_t ParNum[3000];
39 
40  virtual KVNumberList PrintAvailableRuns(KVString& datatype);
41 
50 
55 
56  Int_t events_in_file;//total number of events read from each file - for tests
57 
58  Int_t events_good, events_read;//totals of events read and trees filled
59 
60  TTree* data_tree;//tree for writing events
61  TTree* rawtree;//raw data tree
62 
63  Int_t fRunNumber;//run number of current file
65 
68 
69 
70  virtual void ProcessRun();
71 
72 public:
73 
76 
77  virtual void InitRun();
78  virtual void EndRun();
79 
80  virtual void SubmitTask();
81 
82  void DefineSHELLVariables();
83  void ReadDST();
84 
85  KVDetector* Code2and9and10(int ring, int mod);
86  KVDetector* Code3(int ring, int mod);
87  KVDetector* Code0(int ring, int mod);
88  KVDetector* Code1(int ring, int mod);
89  KVDetector* Code7(int ring, int mod);
90  KVDetector* Code4and5and6and8(int ring, int mod);
91 
92  void lire_evt(std::ifstream& f_in, KVINDRAReconEvent* evt);
93 
94  void FillRawTree();
95 
96  ClassDef(KVINDRADstToRootTransfert, 1) //Conversion of INDRA DST to KaliVeda ROOT format
97 };
98 
99 #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:159
Base class for all detectors or associations of detectors in array which can identify charged particl...
Definition: KVIDTelescope.h:83
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.
const KVSeqCollection * params
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.
Definition: KVNumberList.h:83
KaliVeda extensions to ROOT collection classes.
Extension of ROOT TString class which allows backwards compatibility with ROOT v3....
Definition: KVString.h:72