AliRecInfoMaker(const char* fnGenTracks, const char* fnCmpRes = "cmpTracks.root", const char* fnGalice = "galice.root", Int_t nEvents = 1, Int_t firstEvent = 0) | |
virtual | ~AliRecInfoMaker() |
Int_t | BuildKinkInfo0(Int_t eventNr) |
Int_t | BuildV0Info(Int_t eventNr) |
static TClass* | Class() |
void | CloseOutputFile() |
Bool_t | ConnectGenTree() |
void | CreateTreeCmp() |
Int_t | Exec() |
Int_t | Exec(Int_t nEvents, Int_t firstEventNr) |
static AliTPCParam* | GetTPCParam() |
virtual TClass* | IsA() const |
static void | MakeAliases(TTree* tree) |
void | Reset() |
void | SetDebug(Int_t level) |
void | SetFirstEventNr(Int_t i) |
Int_t | SetIO() |
Int_t | SetIO(Int_t eventNr) |
void | SetNEvents(Int_t i) |
virtual void | ShowMembers(TMemberInspector&) |
virtual void | Streamer(TBuffer&) |
void | StreamerNVirtual(TBuffer& ClassDef_StreamerNVirtual_b) |
static TVector3 | TR2Local(AliTrackReference* trackRef, AliTPCParam* paramTPC) |
Int_t | TreeGenLoop(Int_t eventNr) |
Int_t | TreeTLoop() |
AliRecInfoMaker(const AliRecInfoMaker&) | |
AliRecInfoMaker& | operator=(const AliRecInfoMaker&) |
Int_t | fDebug | ! debug flag |
AliESDfriend* | fESDfriend | !event friend |
AliESDEvent* | fEvent | !event |
Int_t | fEventNr | ! current event number |
Short_t* | fFakeRecTracks | ! number of fake tracks |
TFile* | fFileCmp | ! output file with cmp tracks |
TFile* | fFileGenTracks | ! input files with generated tracks |
Int_t | fFirstEventNr | ! first event to process |
char | fFnCmp[1000] | ! output file name with cmp tracks |
char | fFnGenTracks[1000] | ! input file name with gen tracks |
AliESDfriendTrack* | fFriend | ! friend track |
AliGenKinkInfo* | fGenKinkInfo | ! MC information writen per Kink |
AliGenV0Info* | fGenV0Info | ! MC information writen per Kink |
Short_t* | fIndexRecKinks | ! index of particle label in treeesd |
Short_t* | fIndexRecTracks | ! index of particle label in the TreeT_ESD |
Short_t* | fIndexRecV0 | ! index of particle label in treeesd |
AliRunLoader* | fLoader | ! pointer to the run loader |
AliMCInfo* | fMCInfo | ! MC information writen per particle |
Short_t* | fMultiRecKinks | ! number of multiple reconstructions |
Short_t* | fMultiRecTracks | ! number of multiple reconstructions |
Short_t* | fMultiRecV0 | ! number of multiple reconstructions |
Int_t | fNEvents | ! number of events to process |
Int_t | fNParticles | ! number of particles in the input tree genTracks |
Int_t | fNextKinkToRead | ! last entry already read from genKinks tree |
Int_t | fNextTreeGenEntryToRead | ! last entry already read from genTracks tree |
Int_t | fNextV0ToRead | ! last entry already read from genV0 tree |
AliTPCParam* | fParamTPC | ! AliTPCParam |
TObjArray* | fRecArray | container with rec infos |
AliESDRecInfo* | fRecInfo | ! Rec. information writen per particle |
AliESDRecKinkInfo* | fRecKinkInfo | ! reconstructed kink info |
AliESDRecV0Info* | fRecV0Info | ! reconstructed kink info |
Short_t* | fSignedKinks | ! indicator that kink was not fake |
Short_t* | fSignedV0 | ! indicator that kink was not fake |
TTree* | fTreeCmp | ! output tree with cmp tracks |
TTree* | fTreeCmpKinks | ! output tree with cmp Kinks |
TTree* | fTreeCmpV0 | ! output tree with cmp V0 |
TTree* | fTreeGenKinks | tree with gen kinks |
TTree* | fTreeGenTracks | ! tree with generated tracks |
TTree* | fTreeGenV0 | tree with gen V0 |
Inheritance Chart: | |||||
|
AliRecInfoMaker - connencts the MC information with reconstructed information fnGenTracks - file with MC to be created before using AliGenInfoMaker fnCmp - file name to be created fnGalice - file with Loaders - usualy galice.root nEvent - number of event s to be analyzed AliRecInfoMaker *t2 = new AliRecInfoMaker("genTracks.root","cmpESDTracks.root","galice.root",0,0);
connect all branches from the genTracksTree use the same variables as for the new cmp tree, it may work
Transform position to the local coord frame
{ trackRef->X(),trackRef->Y(),trackRef->Z()}
loop over all ESD reconstructed tracks and store info in memory + loop over all reconstructed kinks
loop over all entries for a given event, find corresponding rec. track and store in the fTreeCmp
loop over all entries for a given event, find corresponding rec. track and store in the fTreeCmp
loop over all entries for a given event, find corresponding rec. track and store in the fTreeCmp