40 |
#include <TChain.h> |
#include <TChain.h> |
41 |
#include <TChainElement.h> |
#include <TChainElement.h> |
42 |
#include <TFile.h> |
#include <TFile.h> |
43 |
|
#include <TTimeStamp.h> |
44 |
#include <TList.h> |
#include <TList.h> |
45 |
#include <TKey.h> |
#include <TKey.h> |
46 |
#include <TSystemFile.h> |
#include <TSystemFile.h> |
246 |
PamTrack(const PamTrack&); |
PamTrack(const PamTrack&); |
247 |
~PamTrack(){ Delete(); }; |
~PamTrack(){ Delete(); }; |
248 |
|
|
249 |
void Clear(); |
void Clear(Option_t *option); |
250 |
void Clear(Option_t *option){Clear();}; |
void Clear(){Clear("");}; |
251 |
void Delete(); |
void Delete(); |
252 |
|
|
253 |
Bool_t IsSolved(){if ((pscore-iscore)>0) return true; return false;}; |
Bool_t IsSolved(){if ((pscore-iscore)>0) return true; return false;}; |
299 |
Long64_t il0entry; ///< entry of level0 file in selection list |
Long64_t il0entry; ///< entry of level0 file in selection list |
300 |
TChain* run_tree; |
TChain* run_tree; |
301 |
TTree* run_tree_clone; |
TTree* run_tree_clone; |
302 |
|
TChain* proc_tree; |
303 |
|
TTree* proc_tree_clone; |
304 |
TChain* sel_tree; |
TChain* sel_tree; |
305 |
TTree* sel_tree_clone; |
TTree* sel_tree_clone; |
306 |
int *irunoffset; |
int *irunoffset; |
308 |
Bool_t fUpdateRunInfo; // Emiliano |
Bool_t fUpdateRunInfo; // Emiliano |
309 |
Bool_t fUseDBinRunInfo; // Emiliano |
Bool_t fUseDBinRunInfo; // Emiliano |
310 |
|
|
311 |
|
Bool_t fDiscarded; ///< true if any file from a list is missing |
312 |
|
|
313 |
// ------------------------------------------- |
// ------------------------------------------- |
314 |
// variables to store total live and dead time |
// variables to store total live and dead time |
315 |
// ------------------------------------------- |
// ------------------------------------------- |
361 |
OrbitalInfo* orb2_obj; |
OrbitalInfo* orb2_obj; |
362 |
GL_RUN* run_obj; |
GL_RUN* run_obj; |
363 |
SoftInfo* soft_obj; // Emiliano |
SoftInfo* soft_obj; // Emiliano |
364 |
|
ProcInfo* proc_obj; //EM |
365 |
|
|
366 |
|
|
367 |
|
|
445 |
Bool_t EXT;//get tracks from extended tracking algorythm |
Bool_t EXT;//get tracks from extended tracking algorythm |
446 |
Bool_t NUC;//get tracks from nuclei algorythm |
Bool_t NUC;//get tracks from nuclei algorythm |
447 |
|
|
448 |
char* trkAlg; |
Bool_t PROC;//EM |
449 |
|
|
450 |
|
const char* trkAlg; |
451 |
|
|
452 |
// ----------- |
// ----------- |
453 |
// other flags |
// other flags |
523 |
Long64_t GetEntries(){return pam_tree->GetEntries();}; |
Long64_t GetEntries(){return pam_tree->GetEntries();}; |
524 |
TChain* GetPamTree(){return pam_tree;}; |
TChain* GetPamTree(){return pam_tree;}; |
525 |
TChain* GetRunTree(){return run_tree;}; |
TChain* GetRunTree(){return run_tree;}; |
526 |
|
TChain* GetProcessingInfoTree(){return proc_tree;}; |
527 |
TTree* GetYodaTree(); |
TTree* GetYodaTree(); |
528 |
|
|
529 |
TFile* GetYodaFile(){return l0_file;}; // can be useful to know the name of level0 file we are using or similar things |
TFile* GetYodaFile(){return l0_file;}; // can be useful to know the name of level0 file we are using or similar things |
562 |
OrbitalInfo *GetOrbitalInfo(){ return orb2_obj; }; |
OrbitalInfo *GetOrbitalInfo(){ return orb2_obj; }; |
563 |
GL_RUN *GetRunInfo() { return run_obj; }; |
GL_RUN *GetRunInfo() { return run_obj; }; |
564 |
SoftInfo *GetSoftInfo() { return soft_obj; }; // Emiliano |
SoftInfo *GetSoftInfo() { return soft_obj; }; // Emiliano |
565 |
|
ProcInfo *GetProcInfo() { return proc_obj; }; // Emiliano |
566 |
GPamela *GetGPamela() { return gp_obj; }; |
GPamela *GetGPamela() { return gp_obj; }; |
567 |
|
|
568 |
// ============================================== |
// ============================================== |
586 |
void SortTracks(); //assign value to variable sorted_tracks |
void SortTracks(); //assign value to variable sorted_tracks |
587 |
// TRefArray* GetTracks(); //return sorted_tracks |
// TRefArray* GetTracks(); //return sorted_tracks |
588 |
TClonesArray* GetTracks(); //return sorted_tracks |
TClonesArray* GetTracks(); //return sorted_tracks |
589 |
PamTrack* GetTrack(int); |
PamTrack* GetTrackOld(int); |
590 |
PamTrack* GetTrackImage(int); |
PamTrack* GetTrackImageOld(int); |
591 |
void SetSortingMethod(TString how); |
PamTrack* GetTrack(int i){ return GetTrackOld(i); }; |
592 |
|
PamTrack* GetTrackImage(int i){ return GetTrackImageOld(i); }; |
593 |
|
void SetSortingMethod(TString how); |
594 |
TString GetSortingMethod(){return howtosort;}; |
TString GetSortingMethod(){return howtosort;}; |
595 |
void SetNucleiSortingThreshold(Float_t nucleithr){ sortthr = nucleithr; return;}; |
void SetNucleiSortingThreshold(Float_t nucleithr){ sortthr = nucleithr; return;}; |
596 |
Float_t GetNucleiSortingThreshold(){ return sortthr;}; |
Float_t GetNucleiSortingThreshold(){ return sortthr;}; |
601 |
// ================================= |
// ================================= |
602 |
// methods to handle new tracking algorythms |
// methods to handle new tracking algorythms |
603 |
// ================================= |
// ================================= |
604 |
Int_t GetTrackingAlgorythmFlag(){return extAlgFlag;}; |
/* Int_t GetTrackingAlgorythmFlag(){return extAlgFlag;}; */ |
605 |
void SetTrakingAlgorythm(char *); |
/* void SetTrackingAlgorythm(const char * alg); */ |
606 |
char* GetTrakingAlgorythm(); |
/* const char* GetTrackingAlgorythm(); */ |
607 |
|
|
608 |
Int_t GetNTracks(char*); |
Int_t GetNTracks(const char*); |
609 |
// Int_t GetNTracks(){ return GetNTracks(trkAlg); }; |
PamTrack* GetTrack(int,const char*); |
610 |
PamTrack* GetTrack(int,char*); |
PamTrack* GetTrackImage(int, const char*); |
611 |
PamTrack* GetTrackImage(int, char*); |
|
612 |
|
|
613 |
|
/* Int_t GetNTracks(){return GetNTracks(trkAlg); }; */ |
614 |
|
/* PamTrack* GetTrack(int i) { return GetTrack(i,trkAlg); }; */ |
615 |
|
/* PamTrack* GetTrackImage(int i){ return GetTrackImage(i,trkAlg); }; */ |
616 |
|
|
617 |
void SortTracksNew(); //assign value to variable sorted_tracks |
void SortTracksNew(); //assign value to variable sorted_tracks |
|
// PamTrack* GetTrackImage(int,char*); |
|
618 |
|
|
619 |
|
|
620 |
// ================================= |
// ================================= |
657 |
Int_t IsSELLI(){return SELLI;}; //trees of selected events (there is a selection list) |
Int_t IsSELLI(){return SELLI;}; //trees of selected events (there is a selection list) |
658 |
void SetSELLI(Int_t selli){SELLI=selli;}; |
void SetSELLI(Int_t selli){SELLI=selli;}; |
659 |
|
|
660 |
|
Bool_t IsPROC(){return PROC;};//EM |
661 |
|
|
662 |
|
Bool_t HasDiscardedFiles(){return fDiscarded;}; ///< true if something went wrong and not all files were processed |
663 |
|
|
664 |
Bool_t IsGP(){return ISGP;}; |
Bool_t IsGP(){return ISGP;}; |
665 |
|
|
666 |
void SetGP(Bool_t tt){ISGP=tt;}; |
void SetGP(Bool_t tt){ISGP=tt;}; |
668 |
void SetDebug(Bool_t set){ DBG=set; TrkParams::SetVerboseMode(); }; |
void SetDebug(Bool_t set){ DBG=set; TrkParams::SetVerboseMode(); }; |
669 |
|
|
670 |
|
|
671 |
ClassDef(PamLevel2,2); |
ClassDef(PamLevel2,4); |
672 |
}; |
}; |
673 |
|
|
674 |
//=============================================================================================== |
//=============================================================================================== |