![]() |
AliRoot Core
a565103 (a565103)
|
Public Member Functions | |
TPCCmpTr () | |
TPCCmpTr (char *fnRecTracks, char *fnGenTracks="genTracks.root", char *fnCmpRes="cmpTracks.root", char *fnGalice="galice.root", Int_t nEvents=1, Int_t firstEvent=0) | |
virtual | ~TPCCmpTr () |
void | Reset () |
Int_t | Exec () |
Int_t | Exec (Int_t nEvents, Int_t firstEventNr) |
void | CreateTreeCmp () |
void | CloseOutputFile () |
Bool_t | ConnectGenTree () |
Int_t | TreeGenLoop (Int_t eventNr) |
Int_t | TreeTLoop (Int_t eventNr) |
void | SetFirstEventNr (Int_t i) |
void | SetNEvents (Int_t i) |
void | SetDebug (Int_t level) |
Float_t | TR2LocalX (AliTrackReference *trackRef, AliTPCParam *paramTPC) |
Private Attributes | |
digitRow * | fDigitRow |
pointer to the object saved in Branch More... | |
Int_t | fEventNr |
current event number More... | |
Int_t | fLabel |
track label More... | |
Int_t | fNEvents |
number of events to process More... | |
Int_t | fFirstEventNr |
first event to process More... | |
char * | fFnCmp |
output file name with cmp tracks More... | |
TFile * | fFileCmp |
output file with cmp tracks More... | |
TTree * | fTreeCmp |
output tree with cmp tracks More... | |
char * | fFnGenTracks |
input file name with gen tracks More... | |
TFile * | fFileGenTracks |
TTree * | fTreeGenTracks |
char * | fFnHits |
input file name with gAlice object (needed for B) More... | |
TFile * | fFileHits |
input file with gAlice More... | |
char * | fFnRecTracks |
input file name with tpc rec. tracks More... | |
TFile * | fFileRecTracks |
input file with reconstructed tracks More... | |
TTree * | fTreeRecTracks |
tree with reconstructed tracks More... | |
AliTPCtrack * | fTPCTrack |
pointer to TPC track to connect branch More... | |
Int_t * | fIndexRecTracks |
index of particle label in the TreeT_TPC More... | |
Int_t | fRowsWithDigitsInn |
number of rows with digits in the inner sectors More... | |
Int_t | fRowsWithDigits |
number of rows with digits in the outer sectors More... | |
Int_t | fRowsTrackLength |
last - first row with digit More... | |
Int_t | fDigitsInSeed |
digits in the default seed rows More... | |
TParticle * | fParticle |
generated particle More... | |
Double_t | fVDist [4] |
distance of the particle vertex from primary vertex More... | |
AliTrackReference * | fTrackRef |
track reference saved in the output tree More... | |
Int_t | fReconstructed |
flag if track was reconstructed More... | |
AliTPCParam * | fParamTPC |
AliTPCParam. More... | |
Int_t | fNParticles |
number of particles in the input tree genTracks More... | |
Int_t | fDebug |
debug flag More... | |
Int_t | fNextTreeGenEntryToRead |
last entry already read from genTracks tree More... | |
TPCGenInfo * | fGenInfo |
container for all the details More... | |
Double_t | fRecPhi |
reconstructed phi angle (0;2*kPI) More... | |
Double_t | fLambda |
reconstructed More... | |
Double_t | fRecPt_1 |
reconstructed More... | |
Float_t | fdEdx |
reconstructed dEdx More... | |
Definition at line 852 of file AliTPCCmpNG.C.
TPCCmpTr::TPCCmpTr | ( | ) |
Definition at line 933 of file AliTPCCmpNG.C.
TPCCmpTr::TPCCmpTr | ( | char * | fnRecTracks, |
char * | fnGenTracks = "genTracks.root" , |
||
char * | fnCmpRes = "cmpTracks.root" , |
||
char * | fnGalice = "galice.root" , |
||
Int_t | nEvents = 1 , |
||
Int_t | firstEvent = 0 |
||
) |
Definition at line 939 of file AliTPCCmpNG.C.
|
virtual |
Definition at line 983 of file AliTPCCmpNG.C.
void TPCCmpTr::CloseOutputFile | ( | ) |
Definition at line 1127 of file AliTPCCmpNG.C.
Referenced by Exec().
Bool_t TPCCmpTr::ConnectGenTree | ( | ) |
connect all branches from the genTracksTree use the same variables as for the new cmp tree, it may work
Definition at line 1063 of file AliTPCCmpNG.C.
Referenced by Exec().
void TPCCmpTr::CreateTreeCmp | ( | ) |
Definition at line 1097 of file AliTPCCmpNG.C.
Referenced by Exec().
Int_t TPCCmpTr::Exec | ( | ) |
Definition at line 996 of file AliTPCCmpNG.C.
Referenced by Exec().
Int_t TPCCmpTr::Exec | ( | Int_t | nEvents, |
Int_t | firstEventNr | ||
) |
Definition at line 988 of file AliTPCCmpNG.C.
void TPCCmpTr::Reset | ( | ) |
Definition at line 955 of file AliTPCCmpNG.C.
Referenced by TPCCmpTr().
|
inline |
Definition at line 872 of file AliTPCCmpNG.C.
|
inline |
Definition at line 870 of file AliTPCCmpNG.C.
|
inline |
Definition at line 871 of file AliTPCCmpNG.C.
Float_t TPCCmpTr::TR2LocalX | ( | AliTrackReference * | trackRef, |
AliTPCParam * | paramTPC | ||
) |
Definition at line 1142 of file AliTPCCmpNG.C.
Referenced by TreeGenLoop().
Int_t TPCCmpTr::TreeGenLoop | ( | Int_t | eventNr | ) |
loop over all entries for a given event, find corresponding rec. track and store in the fTreeCmp
Definition at line 1191 of file AliTPCCmpNG.C.
Referenced by Exec().
Int_t TPCCmpTr::TreeTLoop | ( | Int_t | eventNr | ) |
loop over all TPC reconstructed tracks and store info in memory
Definition at line 1153 of file AliTPCCmpNG.C.
Referenced by Exec().
|
private |
debug flag
Definition at line 915 of file AliTPCCmpNG.C.
Referenced by ConnectGenTree(), Exec(), Reset(), SetDebug(), TreeGenLoop(), and TreeTLoop().
|
private |
|
private |
pointer to the object saved in Branch
Definition at line 879 of file AliTPCCmpNG.C.
Referenced by CreateTreeCmp(), Exec(), and Reset().
|
private |
digits in the default seed rows
Definition at line 906 of file AliTPCCmpNG.C.
Referenced by ConnectGenTree(), CreateTreeCmp(), and Reset().
|
private |
current event number
Definition at line 880 of file AliTPCCmpNG.C.
Referenced by ConnectGenTree(), CreateTreeCmp(), Exec(), Reset(), TPCCmpTr(), and TreeGenLoop().
|
private |
output file with cmp tracks
Definition at line 886 of file AliTPCCmpNG.C.
Referenced by CloseOutputFile(), and CreateTreeCmp().
|
private |
Definition at line 890 of file AliTPCCmpNG.C.
Referenced by ConnectGenTree(), Reset(), and TreeGenLoop().
|
private |
input file with gAlice
Definition at line 894 of file AliTPCCmpNG.C.
|
private |
input file with reconstructed tracks
Definition at line 897 of file AliTPCCmpNG.C.
Referenced by Reset(), and TreeTLoop().
|
private |
first event to process
Definition at line 883 of file AliTPCCmpNG.C.
Referenced by Exec(), SetFirstEventNr(), and TPCCmpTr().
|
private |
output file name with cmp tracks
Definition at line 885 of file AliTPCCmpNG.C.
Referenced by CloseOutputFile(), CreateTreeCmp(), Reset(), and TPCCmpTr().
|
private |
input file name with gen tracks
Definition at line 889 of file AliTPCCmpNG.C.
Referenced by ConnectGenTree(), and TPCCmpTr().
|
private |
input file name with gAlice object (needed for B)
Definition at line 893 of file AliTPCCmpNG.C.
Referenced by Exec(), Reset(), and TPCCmpTr().
|
private |
input file name with tpc rec. tracks
Definition at line 896 of file AliTPCCmpNG.C.
Referenced by Reset(), TPCCmpTr(), and TreeTLoop().
|
private |
|
private |
index of particle label in the TreeT_TPC
Definition at line 901 of file AliTPCCmpNG.C.
Referenced by Exec(), TreeGenLoop(), and TreeTLoop().
|
private |
track label
Definition at line 881 of file AliTPCCmpNG.C.
Referenced by ConnectGenTree(), CreateTreeCmp(), and TreeGenLoop().
|
private |
|
private |
number of events to process
Definition at line 882 of file AliTPCCmpNG.C.
Referenced by Exec(), Reset(), SetNEvents(), and TPCCmpTr().
|
private |
last entry already read from genTracks tree
Definition at line 917 of file AliTPCCmpNG.C.
Referenced by Exec(), and TreeGenLoop().
|
private |
number of particles in the input tree genTracks
Definition at line 914 of file AliTPCCmpNG.C.
Referenced by Exec(), and TreeGenLoop().
|
private |
Definition at line 912 of file AliTPCCmpNG.C.
Referenced by Exec(), Reset(), and TreeGenLoop().
|
private |
generated particle
Definition at line 907 of file AliTPCCmpNG.C.
Referenced by ConnectGenTree(), CreateTreeCmp(), and Reset().
|
private |
flag if track was reconstructed
Definition at line 911 of file AliTPCCmpNG.C.
Referenced by CreateTreeCmp(), and TreeGenLoop().
|
private |
reconstructed phi angle (0;2*kPI)
Definition at line 920 of file AliTPCCmpNG.C.
Referenced by TreeGenLoop().
|
private |
|
private |
last - first row with digit
Definition at line 905 of file AliTPCCmpNG.C.
Referenced by ConnectGenTree(), CreateTreeCmp(), and Reset().
|
private |
number of rows with digits in the outer sectors
Definition at line 904 of file AliTPCCmpNG.C.
Referenced by ConnectGenTree(), CreateTreeCmp(), and Reset().
|
private |
number of rows with digits in the inner sectors
Definition at line 903 of file AliTPCCmpNG.C.
Referenced by ConnectGenTree(), CreateTreeCmp(), and Reset().
|
private |
pointer to TPC track to connect branch
Definition at line 900 of file AliTPCCmpNG.C.
Referenced by CreateTreeCmp(), Reset(), TreeGenLoop(), and TreeTLoop().
|
private |
track reference saved in the output tree
Definition at line 910 of file AliTPCCmpNG.C.
Referenced by ConnectGenTree(), CreateTreeCmp(), Reset(), and TreeGenLoop().
|
private |
output tree with cmp tracks
Definition at line 887 of file AliTPCCmpNG.C.
Referenced by CloseOutputFile(), CreateTreeCmp(), Exec(), Reset(), and TreeGenLoop().
|
private |
Definition at line 891 of file AliTPCCmpNG.C.
Referenced by ConnectGenTree(), and TreeGenLoop().
|
private |
tree with reconstructed tracks
Definition at line 898 of file AliTPCCmpNG.C.
Referenced by Exec(), Reset(), TreeGenLoop(), and TreeTLoop().
|
private |
distance of the particle vertex from primary vertex
Definition at line 908 of file AliTPCCmpNG.C.
Referenced by ConnectGenTree(), and CreateTreeCmp().