1 //////////////////////////////////////////////////////////
2 // This class has been automatically generated on
3 // Wed Aug 17 17:16:33 2005 by ROOT version 5.02/00
4 // from TTree esdTree/Tree with ESD objects
5 // found on file: AliESDs.root
6 // and modified by M. Ivanov
7 //////////////////////////////////////////////////////////
15 #include <TSelector.h>
19 #include "AliESDEvent.h"
20 #include "AliESDfriend.h"
21 class AliTrackPointArray;
23 class PointMaker : public TSelector {
26 PointMaker(char *outfil="AliTrackPoints.root");
27 virtual ~PointMaker();
29 virtual Int_t Version() const {return 1;}
30 virtual void Begin(TTree *tree);
31 virtual void SlaveBegin(TTree *tree);
32 virtual void Init(TTree *tree);
33 virtual Bool_t Notify();
34 virtual Bool_t Process(Long64_t entry);
35 virtual void SetOption(const char *option) { fOption = option; }
36 virtual void SetObject(TObject *obj) { fObject = obj; }
37 virtual void SetInputList(TList *input) {fInput = input;}
38 virtual TList *GetOutputList() const { return fOutput; }
39 virtual void SlaveTerminate();
40 virtual void Terminate();
43 Bool_t IsIdenticalWithOneOf(AliTrackPoint *p, AliTrackPointArray *parray, int nmax=kMaxInt);
44 TTree *fChain; //! pointer to the analyzed TTree or TChain
45 // Declaration of leave types
46 AliESDEvent *fESD; //!
47 AliESDfriend *fESDfriend; //!
48 TFile *fFile; //! output file
49 TTree *fTree; //! pointer to the output TTree
50 AliTrackPointArray *fArray; // pointer to the track points
51 Int_t fNevents; // number of events
52 Int_t fNtracks; // number of tracks
53 Int_t fNAcceptedTracks; // number of accepted tracks
54 TString fOutfil; // output filename
56 TH1D *fCuttra; // histogram for monitoring track cuts
57 TH1D *fCutpoi; // histogram for monitoring point cuts
58 TH2D *fModpop; // histogram for monitoring module population
60 ClassDef(PointMaker,0);