1 #ifndef ALIDIELECTRONDEBUGTREE_H
2 #define ALIDIELECTRONDEBUGTREE_H
4 /* Copyright(c) 1998-2009, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
7 //#############################################################
9 //# Class AliDielectronDebugTree #
12 //# Anton Andronic, GSI / A.Andronic@gsi.de #
13 //# Ionut C. Arsene, GSI / I.C.Arsene@gsi.de #
14 //# Julian Book, Uni Ffm / Julian.Book@cern.ch #
15 //# Frederick Kramer, Uni Ffm, / Frederick.Kramer@cern.ch #
16 //# Magnus Mager, CERN / Magnus.Mager@cern.ch #
17 //# WooJin J. Park, GSI / W.J.Park@gsi.de #
18 //# Jens Wiechula, Uni HD / Jens.Wiechula@cern.ch #
20 //#############################################################
25 #include "AliDielectronVarManager.h"
27 class TTreeSRedirector;
28 class AliDielectronPair;
31 class AliDielectronDebugTree : public TNamed {
33 AliDielectronDebugTree();
34 AliDielectronDebugTree(const char*name, const char* title);
36 virtual ~AliDielectronDebugTree();
38 void SetOutputFileName(const char* file) { fFileName=file; }
40 void AddPairVariable(AliDielectronVarManager::ValueTypes type) { fVariables[fNVars++]=(Int_t)type; }
41 void AddLegVariable(AliDielectronVarManager::ValueTypes type) { fVariablesLeg[fNVarsLeg++]=(Int_t)type; }
43 void Fill(AliDielectronPair *pair);
45 void SetDielectron(AliDielectron * const dielectron) { fDielectron=dielectron; }
47 void DeleteStreamer();
50 TString fFileName; //output file name
52 Int_t fNVars; //number of configured variables
53 Int_t fVariables[AliDielectronVarManager::kNMaxValues]; //configured variables
54 Int_t fNVarsLeg; //number of configured variables
55 Int_t fVariablesLeg[AliDielectronVarManager::kNMaxValues]; //configured variables for the legs
57 TTreeSRedirector *fStreamer; //! Tree Redirector
58 AliDielectron *fDielectron; //! pointer to mother dielectron manager
60 AliDielectronDebugTree(const AliDielectronDebugTree &c);
61 AliDielectronDebugTree &operator=(const AliDielectronDebugTree &c);
64 ClassDef(AliDielectronDebugTree,1) // Dielectron DebugTree