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 |
|
TString customString; ///< String passed to ProcessingInfo |
313 |
|
|
314 |
// ------------------------------------------- |
// ------------------------------------------- |
315 |
// variables to store total live and dead time |
// variables to store total live and dead time |
316 |
// ------------------------------------------- |
// ------------------------------------------- |
362 |
OrbitalInfo* orb2_obj; |
OrbitalInfo* orb2_obj; |
363 |
GL_RUN* run_obj; |
GL_RUN* run_obj; |
364 |
SoftInfo* soft_obj; // Emiliano |
SoftInfo* soft_obj; // Emiliano |
365 |
|
ProcInfo* proc_obj; //EM |
366 |
|
|
367 |
|
|
368 |
|
|
446 |
Bool_t EXT;//get tracks from extended tracking algorythm |
Bool_t EXT;//get tracks from extended tracking algorythm |
447 |
Bool_t NUC;//get tracks from nuclei algorythm |
Bool_t NUC;//get tracks from nuclei algorythm |
448 |
|
|
449 |
char* trkAlg; |
Bool_t PROC;//EM |
450 |
|
|
451 |
|
const char* trkAlg; |
452 |
|
|
453 |
// ----------- |
// ----------- |
454 |
// other flags |
// other flags |
524 |
Long64_t GetEntries(){return pam_tree->GetEntries();}; |
Long64_t GetEntries(){return pam_tree->GetEntries();}; |
525 |
TChain* GetPamTree(){return pam_tree;}; |
TChain* GetPamTree(){return pam_tree;}; |
526 |
TChain* GetRunTree(){return run_tree;}; |
TChain* GetRunTree(){return run_tree;}; |
527 |
|
TChain* GetProcessingInfoTree(){return proc_tree;}; |
528 |
TTree* GetYodaTree(); |
TTree* GetYodaTree(); |
529 |
|
|
530 |
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 |
563 |
OrbitalInfo *GetOrbitalInfo(){ return orb2_obj; }; |
OrbitalInfo *GetOrbitalInfo(){ return orb2_obj; }; |
564 |
GL_RUN *GetRunInfo() { return run_obj; }; |
GL_RUN *GetRunInfo() { return run_obj; }; |
565 |
SoftInfo *GetSoftInfo() { return soft_obj; }; // Emiliano |
SoftInfo *GetSoftInfo() { return soft_obj; }; // Emiliano |
566 |
|
ProcInfo *GetProcInfo() { return proc_obj; }; // Emiliano |
567 |
GPamela *GetGPamela() { return gp_obj; }; |
GPamela *GetGPamela() { return gp_obj; }; |
568 |
|
|
569 |
// ============================================== |
// ============================================== |
587 |
void SortTracks(); //assign value to variable sorted_tracks |
void SortTracks(); //assign value to variable sorted_tracks |
588 |
// TRefArray* GetTracks(); //return sorted_tracks |
// TRefArray* GetTracks(); //return sorted_tracks |
589 |
TClonesArray* GetTracks(); //return sorted_tracks |
TClonesArray* GetTracks(); //return sorted_tracks |
590 |
PamTrack* GetTrack(int); |
PamTrack* GetTrackOld(int); |
591 |
PamTrack* GetTrackImage(int); |
PamTrack* GetTrackImageOld(int); |
592 |
void SetSortingMethod(TString how); |
PamTrack* GetTrack(int i){ return GetTrackOld(i); }; |
593 |
|
PamTrack* GetTrackImage(int i){ return GetTrackImageOld(i); }; |
594 |
|
void SetSortingMethod(TString how); |
595 |
TString GetSortingMethod(){return howtosort;}; |
TString GetSortingMethod(){return howtosort;}; |
596 |
void SetNucleiSortingThreshold(Float_t nucleithr){ sortthr = nucleithr; return;}; |
void SetNucleiSortingThreshold(Float_t nucleithr){ sortthr = nucleithr; return;}; |
597 |
Float_t GetNucleiSortingThreshold(){ return sortthr;}; |
Float_t GetNucleiSortingThreshold(){ return sortthr;}; |
602 |
// ================================= |
// ================================= |
603 |
// methods to handle new tracking algorythms |
// methods to handle new tracking algorythms |
604 |
// ================================= |
// ================================= |
605 |
Int_t GetTrackingAlgorythmFlag(){return extAlgFlag;}; |
/* Int_t GetTrackingAlgorythmFlag(){return extAlgFlag;}; */ |
606 |
void SetTrakingAlgorythm(char *); |
/* void SetTrackingAlgorythm(const char * alg); */ |
607 |
char* GetTrakingAlgorythm(); |
/* const char* GetTrackingAlgorythm(); */ |
608 |
|
|
609 |
Int_t GetNTracks(char*); |
Int_t GetNTracks(const char*); |
610 |
// Int_t GetNTracks(){ return GetNTracks(trkAlg); }; |
PamTrack* GetTrack(int,const char*); |
611 |
PamTrack* GetTrack(int,char*); |
PamTrack* GetTrackImage(int, const char*); |
612 |
PamTrack* GetTrackImage(int, char*); |
|
613 |
|
|
614 |
|
/* Int_t GetNTracks(){return GetNTracks(trkAlg); }; */ |
615 |
|
/* PamTrack* GetTrack(int i) { return GetTrack(i,trkAlg); }; */ |
616 |
|
/* PamTrack* GetTrackImage(int i){ return GetTrackImage(i,trkAlg); }; */ |
617 |
|
|
618 |
void SortTracksNew(); //assign value to variable sorted_tracks |
void SortTracksNew(); //assign value to variable sorted_tracks |
|
// PamTrack* GetTrackImage(int,char*); |
|
619 |
|
|
620 |
|
|
621 |
// ================================= |
// ================================= |
658 |
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) |
659 |
void SetSELLI(Int_t selli){SELLI=selli;}; |
void SetSELLI(Int_t selli){SELLI=selli;}; |
660 |
|
|
661 |
|
Bool_t IsPROC(){return PROC;};//EM |
662 |
|
|
663 |
|
Bool_t HasDiscardedFiles(){return fDiscarded;}; ///< true if something went wrong and not all files were processed |
664 |
|
|
665 |
Bool_t IsGP(){return ISGP;}; |
Bool_t IsGP(){return ISGP;}; |
666 |
|
|
667 |
void SetGP(Bool_t tt){ISGP=tt;}; |
void SetGP(Bool_t tt){ISGP=tt;}; |
668 |
|
|
669 |
void SetDebug(Bool_t set){ DBG=set; TrkParams::SetVerboseMode(); }; |
void SetDebug(Bool_t set){ DBG=set; TrkParams::SetVerboseMode(); }; |
670 |
|
|
671 |
|
void SetCustomString(TString cus){customString=cus;}; |
672 |
|
TString GetCustomString(){return customString;}; |
673 |
|
|
674 |
ClassDef(PamLevel2,2); |
ClassDef(PamLevel2,4); |
675 |
}; |
}; |
676 |
|
|
677 |
//=============================================================================================== |
//=============================================================================================== |