KaliVeda
1.13/01
Heavy-Ion Analysis Toolkit
|
Conversion of INDRA DST file to KaliVeda ROOT format.
Definition at line 31 of file KVINDRADstToRootTransfert.h.
Public Member Functions | |
KVINDRADstToRootTransfert () | |
Default constructor. More... | |
virtual | ~KVINDRADstToRootTransfert () |
Destructor. More... | |
KVDetector * | Code0 (int ring, int mod) |
KVDetector * | Code1 (int ring, int mod) |
KVDetector * | Code2and9and10 (int ring, int mod) |
KVDetector * | Code3 (int ring, int mod) |
KVDetector * | Code4and5and6and8 (int ring, int mod) |
KVDetector * | Code7 (int ring, int mod) |
void | DefineSHELLVariables () |
virtual void | EndRun () |
void | FillRawTree () |
virtual void | InitRun () |
void | lire_evt (std::ifstream &f_in, KVINDRAReconEvent *evt) |
void | ReadDST () |
virtual void | SubmitTask () |
Public Member Functions inherited from KVINDRADSTReader | |
KVINDRADSTReader () | |
virtual | ~KVINDRADSTReader () |
Public Member Functions inherited from KVDataSetAnalyser | |
KVDataSetAnalyser () | |
Default constructor. More... | |
virtual | ~KVDataSetAnalyser () |
Destructor. More... | |
virtual void | AddJobDescriptionList (TList *) |
virtual void | ChooseAnalysisTask () |
void | ChooseDataSet () |
void | ChooseDataType () |
void | ChooseRuns (KVDBSystem *system=nullptr, const Char_t *data_type="") |
void | ChooseSystem (const Char_t *data_type="") |
void | ClearRunList () |
TString | ExpandAutoBatchName (const Char_t *format) const |
KVDBRun * | GetAnalysedRun () const |
KVDBSystem * | GetAnalysedSystem () const |
const KVDataSet * | GetDataSet () const |
const KVNumberList & | GetFullRunList () const |
const KV2Body * | GetKinematics () const |
Return pointer to kinematics of analysed system if defined. More... | |
Int_t | GetNumberOfFilesToAnalyse () const |
const Char_t * | GetRecognisedAutoBatchNameKeywords () const |
KVString | GetRootDirectoryOfDataToAnalyse () const |
Returns path to data to be analysed. More... | |
const KVNumberList & | GetRunList () const |
Int_t | GetRunNumberFromFileName (const Char_t *) |
Get the run number from the filename. More... | |
const KVDBSystem * | GetSystem () const |
Bool_t | IsChooseDataSet () const |
Bool_t | IsChooseRuns () const |
Bool_t | IsChooseSystem () const |
Bool_t | IsChooseTask () const |
Bool_t | ReadBatchEnvFile (const Char_t *filename) |
void | Reset () |
void | SetChooseDataSet (Bool_t yes=kTRUE) |
void | SetChooseRuns (Bool_t yes=kTRUE) |
void | SetChooseSystem (Bool_t yes=kTRUE) |
void | SetChooseTask (Bool_t yes=kTRUE) |
void | SetDataSet (const Char_t *name) |
void | SetDataSet (KVDataSet *ds) |
void | SetFullRunList (const KVNumberList &nl) |
void | SetRuns (const KVNumberList &nl, Bool_t check=kTRUE) |
void | SetSystem (KVDBSystem *syst) |
Set the System used in the analysis. More... | |
TString | SystemBatchName () const |
void | WriteBatchEnvFile (const Char_t *jobname, Bool_t save=kTRUE) |
Public Member Functions inherited from KVDataAnalyser | |
KVDataAnalyser () | |
Default constructor. More... | |
virtual | ~ KVDataAnalyser () |
Bool_t | BatchMode () const |
virtual Bool_t | CheckStatusUpdateInterval (Long64_t nevents) const |
virtual Bool_t | CheckTaskVariables () |
void | ChooseNbEventToRead () |
Ask user to set number of events to read. More... | |
void | ChooseRunningMode () |
void | ChooseUserClass () |
Choose the user's analysis class. More... | |
void | DeleteBatchStatusFile () const |
Delete batch status file (and backup - '.bak') for batch job. More... | |
void | DoStatusUpdate (Long64_t nevents) const |
Print infos on events treated, disk usage, memory usage. More... | |
Bool_t | DoUserClassFilesExist () |
virtual TTree * | GetAnalysedTree () const |
KVDataAnalysisTask * | GetAnalysisTask () const |
const Char_t * | GetBatchName () |
const Char_t * | GetBatchStatusFileName () const |
Returns full path to file used to store status of running batch jobs. More... | |
virtual const KVBatchSystem * | GetBatchSystem () |
const KVString & | GetDataType () const |
const Char_t * | GetLaunchDirectory () const |
Long64_t | GetNbEventToRead (void) const |
KVDataAnalyser * | GetParent () const |
TString | GetPathToFileInLaunchDirectory (const TString &) const |
EProofMode | GetProofMode () const |
Double_t | GetStatusUpdateInterval () const |
virtual Long64_t | GetTotalEntriesToRead () const |
const Char_t * | GetUserClass () |
const KVString & | GetUserClassDec () const |
const KVString & | GetUserClassImp () const |
const KVString & | GetUserClassOptions () const |
const KVString & | GetUserIncludes () const |
const KVString & | GetUserLibraries () const |
Bool_t | IsMenus () const |
Bool_t | IsQuit () const |
Bool_t | IsSubmit () const |
Bool_t | IsUserClassValid () const |
virtual void | postAnalysis () |
virtual void | postEndAnalysis () |
virtual void | postEndRun () |
virtual void | postInitAnalysis () |
virtual void | postInitRun () |
virtual void | preAnalysis () |
virtual void | preEndAnalysis () |
virtual void | preEndRun () |
virtual void | preInitAnalysis () |
virtual void | preInitRun () |
virtual void | RegisterUserClass (TObject *) |
virtual void | Run () |
Check all task variables, then run analyser. More... | |
virtual void | RunMenus () |
Run data analyser in menu-driven mode. More... | |
Bool_t | RunningInLaunchDirectory () |
virtual void | SetAnalysedTree (TTree *) |
void | SetAnalysisTask (KVDataAnalysisTask *at) |
virtual void | SetAuxFileList (TList *) |
void | SetBatchMode (Bool_t on=kTRUE) |
void | SetBatchName (const Char_t *batchname) |
void | SetBatchSystem (KVBatchSystem *bs) |
void | SetDataType (const Char_t *name) |
virtual void | SetFileList (TList *) |
void | SetMenus (Bool_t on=kTRUE) |
void | SetNbEventToRead (Long64_t nb=0) |
void | SetParent (KVDataAnalyser *da) |
void | SetProofMode (EProofMode e) |
void | SetQuit (Bool_t yes=kTRUE) |
void | SetStatusUpdateInterval (double t) |
void | SetSubmit (Bool_t yes=kTRUE) |
virtual void | SetTriggerConditionsForRun (int) |
void | SetUserClass (const Char_t *kvs, Bool_t check=kTRUE) |
void | SetUserClassOptions (const Char_t *o="") |
void | SetUserIncludes (const Char_t *incDirs=0) |
void | SetUserLibraries (const Char_t *libs=0) |
void | UpdateBatchStatusFile (Int_t totev, Int_t evread, TString disk) const |
Update infos in batch status file. More... | |
void | UseBaseClassSubmitTask () |
void | WriteBatchInfo (TTree *) |
Public Member Functions inherited from TObject | |
TObject () | |
TObject (const TObject &object) | |
virtual | ~TObject () |
void | AbstractMethod (const char *method) const |
virtual void | AppendPad (Option_t *option="") |
virtual void | Browse (TBrowser *b) |
ULong_t | CheckedHash () |
virtual const char * | ClassName () const |
virtual void | Clear (Option_t *="") |
virtual TObject * | Clone (const char *newname="") const |
virtual Int_t | Compare (const TObject *obj) const |
virtual void | Copy (TObject &object) const |
virtual void | Delete (Option_t *option="") |
virtual Int_t | DistancetoPrimitive (Int_t px, Int_t py) |
virtual void | Draw (Option_t *option="") |
virtual void | DrawClass () const |
virtual TObject * | DrawClone (Option_t *option="") const |
virtual void | Dump () const |
virtual void | Error (const char *method, const char *msgfmt,...) const |
virtual void | Execute (const char *method, const char *params, Int_t *error=0) |
virtual void | Execute (TMethod *method, TObjArray *params, Int_t *error=0) |
virtual void | ExecuteEvent (Int_t event, Int_t px, Int_t py) |
virtual void | Fatal (const char *method, const char *msgfmt,...) const |
virtual TObject * | FindObject (const char *name) const |
virtual TObject * | FindObject (const TObject *obj) const |
virtual Option_t * | GetDrawOption () const |
virtual const char * | GetIconName () const |
virtual const char * | GetName () const |
virtual char * | GetObjectInfo (Int_t px, Int_t py) const |
virtual Option_t * | GetOption () const |
virtual const char * | GetTitle () const |
virtual UInt_t | GetUniqueID () const |
virtual Bool_t | HandleTimer (TTimer *timer) |
virtual ULong_t | Hash () const |
Bool_t | HasInconsistentHash () const |
virtual void | Info (const char *method, const char *msgfmt,...) const |
virtual Bool_t | InheritsFrom (const char *classname) const |
virtual Bool_t | InheritsFrom (const TClass *cl) const |
virtual void | Inspect () const |
void | InvertBit (UInt_t f) |
virtual Bool_t | IsEqual (const TObject *obj) const |
virtual Bool_t | IsFolder () const |
R__ALWAYS_INLINE Bool_t | IsOnHeap () const |
virtual Bool_t | IsSortable () const |
R__ALWAYS_INLINE Bool_t | IsZombie () const |
virtual void | ls (Option_t *option="") const |
void | MayNotUse (const char *method) const |
virtual Bool_t | Notify () |
void | Obsolete (const char *method, const char *asOfVers, const char *removedFromVers) const |
void | operator delete (void *ptr) |
void | operator delete[] (void *ptr) |
void * | operator new (size_t sz) |
void * | operator new (size_t sz, void *vp) |
void * | operator new[] (size_t sz) |
void * | operator new[] (size_t sz, void *vp) |
TObject & | operator= (const TObject &rhs) |
virtual void | Paint (Option_t *option="") |
virtual void | Pop () |
virtual void | Print (Option_t *option="") const |
virtual Int_t | Read (const char *name) |
virtual void | RecursiveRemove (TObject *obj) |
void | ResetBit (UInt_t f) |
virtual void | SaveAs (const char *filename="", Option_t *option="") const |
virtual void | SavePrimitive (std::ostream &out, Option_t *option="") |
void | SetBit (UInt_t f) |
void | SetBit (UInt_t f, Bool_t set) |
virtual void | SetDrawOption (Option_t *option="") |
virtual void | SetUniqueID (UInt_t uid) |
virtual void | SysError (const char *method, const char *msgfmt,...) const |
R__ALWAYS_INLINE Bool_t | TestBit (UInt_t f) const |
Int_t | TestBits (UInt_t f) const |
virtual void | UseCurrentStyle () |
virtual void | Warning (const char *method, const char *msgfmt,...) const |
virtual Int_t | Write (const char *name=0, Int_t option=0, Int_t bufsize=0) |
virtual Int_t | Write (const char *name=0, Int_t option=0, Int_t bufsize=0) const |
Additional Inherited Members | |
Public Types inherited from KVDataAnalyser | |
enum | EProofMode { None , Lite , Proof } |
Public Types inherited from TObject | |
enum | EDeprecatedStatusBits |
enum | EStatusBits |
Static Public Member Functions inherited from KVDataAnalyser | |
static Bool_t | AbortProcessingLoop () |
static KVDataAnalyser * | GetAnalyser (const Char_t *plugin) |
static Bool_t | IsRunningBatchAnalysis () |
static void | RunAnalyser (const Char_t *plugin="") |
static void | SetAbortProcessingLoop (Bool_t now=kTRUE) |
Static Public Member Functions inherited from TObject | |
static Longptr_t | GetDtorOnly () |
static Bool_t | GetObjectStat () |
static void | SetDtorOnly (void *obj) |
static void | SetObjectStat (Bool_t stat) |
Public Attributes inherited from TObject | |
kBitMask | |
kCanDelete | |
kCannotPick | |
kHasUUID | |
kInconsistent | |
kInvalidObject | |
kIsOnHeap | |
kIsReferenced | |
kMustCleanup | |
kNoContextMenu | |
kNotDeleted | |
kObjInCanvas | |
kOverwrite | |
kSingleKey | |
kWriteDelete | |
kZombie | |
#include <KVINDRADstToRootTransfert.h>
KVINDRADstToRootTransfert::KVINDRADstToRootTransfert | ( | ) |
Default constructor.
Definition at line 44 of file KVINDRADstToRootTransfert.cpp.
|
virtual |
Destructor.
Definition at line 54 of file KVINDRADstToRootTransfert.cpp.
KVDetector * KVINDRADstToRootTransfert::Code0 | ( | int | ring, |
int | mod | ||
) |
cout << "Code0" << endl; code = 0 : gamma ** Mention speciale pour les Gammas :
Pour ceux-ci, on ne stocke que certaines infos disponibles :
Definition at line 694 of file KVINDRADstToRootTransfert.cpp.
KVDetector * KVINDRADstToRootTransfert::Code1 | ( | int | ring, |
int | mod | ||
) |
cout << "Code1" << endl; code = 1 : neutron (seulement couronnes 2 a 9)
Definition at line 728 of file KVINDRADstToRootTransfert.cpp.
KVDetector * KVINDRADstToRootTransfert::Code2and9and10 | ( | int | ring, |
int | mod | ||
) |
code = 2 : part. ident. dans CsI for 1st campaign: code=2 for phoswich (ring 1) also code = 9 : ident. incomplete dans CsI ou Phoswich (Z.min) code =10 : ident. "entre les lignes" dans CsI set coder values of detectors concerned by a particle with ID code 2 Les codes 9 et 10 sont des codes qui ont ete ajoutes pour donner au code 2 la notion d'identification sans ambiguites. returns pointer of the detector for which KVINDRAReconNuc::Reconstruct must be called. cout << "Code2and9and10" << endl;
Definition at line 479 of file KVINDRADstToRootTransfert.cpp.
KVDetector * KVINDRADstToRootTransfert::Code3 | ( | int | ring, |
int | mod | ||
) |
cout << "Code3" << endl; code = 3 : fragment identifie dans Si-CsI ou fragment ident. dans Si75-SiLi ou SiLi-CsI set coder values of detectors concerned by a particle with ID code 3 returns pointer of the detector for which KVINDRAReconNuc::Reconstruct must be called. First Ring if GSI Campaign
Definition at line 597 of file KVINDRADstToRootTransfert.cpp.
KVDetector * KVINDRADstToRootTransfert::Code4and5and6and8 | ( | int | ring, |
int | mod | ||
) |
code = 4 : fragment identifie dans ChIo-Si ou fragment ou part. identifie dans ChIo-Si75 for 2nd campaign: code=4 => phoswich (ring 1) also code = 5 : fragment non-ident. (montee de Bragg)(Z min.) ou stoppe dans Chio (Z min) code = 6 : frag. cree par la coherence CsI (stoppe ds Si.) En general, lorsqu'il n'y a pas "multiple hit" dans un module INDRA, canal contient les valeurs bruts de codeurs. Dans le cas d'un "multiple hit" avec creation de particule , canal contient les valeurs estimees de la contribution CHIO ou SI obtenues par la coherence. code = 8 : multiple comptage dans ChIo avec arret
09/2012 pour la 2e campagne presence de code14 qui semble etre des codes 4 donc on les traite comme tels
Definition at line 769 of file KVINDRADstToRootTransfert.cpp.
KVDetector * KVINDRADstToRootTransfert::Code7 | ( | int | ring, |
int | mod | ||
) |
cout << "Code7" << endl; code = 7 : frag. cree par la coherence ChIo (stoppe ds ChIo)
Definition at line 865 of file KVINDRADstToRootTransfert.cpp.
void KVINDRADstToRootTransfert::DefineSHELLVariables | ( | ) |
Definition at line 400 of file KVINDRADstToRootTransfert.cpp.
|
virtual |
Reimplemented from KVINDRADSTReader.
Definition at line 357 of file KVINDRADstToRootTransfert.cpp.
void KVINDRADstToRootTransfert::FillRawTree | ( | ) |
Put values of all "fired" acquisition parameters into the arrays ParNum/ParVal and store them in the raw data tree
Definition at line 1173 of file KVINDRADstToRootTransfert.cpp.
Reimplemented from KVINDRADSTReader.
Definition at line 63 of file KVINDRADstToRootTransfert.cpp.
void KVINDRADstToRootTransfert::lire_evt | ( | std::ifstream & | f_in, |
KVINDRAReconEvent * | evt | ||
) |
Lire un evenement
Definition at line 893 of file KVINDRADstToRootTransfert.cpp.
|
protectedvirtual |
Prints list of available runs, sorted according to multiplicity trigger, for selected dataset, data type/analysis task, and system Returns list containing all run numbers
Reimplemented from KVDataSetAnalyser.
Definition at line 1124 of file KVINDRADstToRootTransfert.cpp.
|
protectedvirtual |
Convert DST file for 1 run to KaliVeda ROOT format. By default the new ROOT file will be written in the same data repository as the DST file we are reading. This can be changed by setting the environment variable(s):
DSTtoROOT.DataAnalysisTask.OutputRepository: [name of repository] [name of dataset].DSTtoROOT.DataAnalysisTask.OutputRepository: [name of repository]
If no value is set for the current dataset (second variable), the value of the first variable will be used. If neither is defined, the new file will be written in the same repository as the DST file (if possible, i.e. if repository is not remote).
Reimplemented from KVINDRADSTReader.
Definition at line 138 of file KVINDRADstToRootTransfert.cpp.
void KVINDRADstToRootTransfert::ReadDST | ( | ) |
Definition at line 115 of file KVINDRADstToRootTransfert.cpp.
|
virtual |
In interactive mode, the data analysis task is performed by instanciating and initialising the KVDataAnalyser child class specified by the task, and then calling its Run() method. In batch mode, the job is submitted to the chosen batch system.
Reimplemented from KVINDRADSTReader.
Definition at line 369 of file KVINDRADstToRootTransfert.cpp.
|
protected |
Definition at line 52 of file KVINDRADstToRootTransfert.h.
|
protected |
Definition at line 53 of file KVINDRADstToRootTransfert.h.
|
protected |
Definition at line 67 of file KVINDRADstToRootTransfert.h.
|
protected |
Definition at line 67 of file KVINDRADstToRootTransfert.h.
|
protected |
Definition at line 67 of file KVINDRADstToRootTransfert.h.
|
protected |
Definition at line 60 of file KVINDRADstToRootTransfert.h.
|
protected |
de1: energie Phoswich pour couronne1 campagne 1,2,3 energie ChIo pour couronne > 1 de2: energie Si de3: energie CsI de4: energie Si75 pour etalons de5: energie SiLi pour etalons de_mylar: contribution mylar pour la ChIo
Definition at line 51 of file KVINDRADstToRootTransfert.h.
|
protected |
Definition at line 51 of file KVINDRADstToRootTransfert.h.
|
protected |
Definition at line 51 of file KVINDRADstToRootTransfert.h.
|
protected |
Definition at line 51 of file KVINDRADstToRootTransfert.h.
|
protected |
Definition at line 51 of file KVINDRADstToRootTransfert.h.
|
protected |
Definition at line 51 of file KVINDRADstToRootTransfert.h.
|
protected |
Definition at line 58 of file KVINDRADstToRootTransfert.h.
|
protected |
Definition at line 56 of file KVINDRADstToRootTransfert.h.
|
protected |
Definition at line 58 of file KVINDRADstToRootTransfert.h.
|
protected |
Definition at line 64 of file KVINDRADstToRootTransfert.h.
|
protected |
Definition at line 34 of file KVINDRADstToRootTransfert.h.
|
protected |
Definition at line 63 of file KVINDRADstToRootTransfert.h.
|
protected |
Definition at line 54 of file KVINDRADstToRootTransfert.h.
|
protected |
Definition at line 42 of file KVINDRADstToRootTransfert.h.
|
protected |
Definition at line 35 of file KVINDRADstToRootTransfert.h.
|
protected |
Definition at line 38 of file KVINDRADstToRootTransfert.h.
|
protected |
Definition at line 37 of file KVINDRADstToRootTransfert.h.
|
protected |
Definition at line 36 of file KVINDRADstToRootTransfert.h.
|
protected |
Definition at line 61 of file KVINDRADstToRootTransfert.h.
|
protected |
Definition at line 66 of file KVINDRADstToRootTransfert.h.
|
protected |
Definition at line 66 of file KVINDRADstToRootTransfert.h.
|
protected |
Definition at line 66 of file KVINDRADstToRootTransfert.h.